/* =========================================================
   ЭКО КОНТРАКТ — Eco-premium
   Cormorant (display/headings) + Manrope (body/UI)
   ========================================================= */

:root {
  /* Brand palette */
  --green-900: #0f3d2e;
  --green-800: #11472f;
  --green-700: #15803d;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --lime-400: #a3e635;
  --lime-300: #bef264;

  --ink: #0b1f17;
  --slate: #46695a;
  --on-dark-soft: #cfe7d8; /* crisp body copy on the green/dark sections (≥8:1) */
  --bg: #fbfdfb;
  --bg-soft: #f3f9f4;
  --card: #ffffff;
  --border: #e1ece4;
  --border-strong: #cfe2d4;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-sm: 0 4px 14px -8px rgba(16, 80, 40, .22);
  --shadow: 0 10px 30px -12px rgba(16, 80, 40, .18);
  --shadow-lg: 0 30px 70px -30px rgba(11, 60, 36, .35);

  --container: 1160px;
  --pad: 20px;

  --font-display: "Cormorant", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  /* Cormorant максимум 700: запросы 800 ложатся на 700 без синтетического жирного */
  font-synthesis: none;
}

/* Paper grain texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2.5px solid var(--green-600);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--green-700);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
  position: relative;
  z-index: 1;
}
.section { padding: 88px 0; position: relative; }
.section--soft { background: var(--bg-soft); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--lime-300); }

/* Numbered kicker (with rule) */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--green-700);
  letter-spacing: 0;
}
.kicker--light { color: var(--lime-300); }
.kicker__line { width: 40px; height: 1px; background: currentColor; opacity: .55; }
.kicker--center { justify-content: center; }

.section__head { max-width: 720px; margin-bottom: 52px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.35rem, 5.4vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--green-900);
}
.section__title--light { color: #fff; }
.section__sub {
  margin-top: 16px;
  font-size: 1.075rem;
  color: var(--slate);
  max-width: 56ch;
}
.section__head--center .section__sub { margin-inline: auto; }
.section__sub--light { color: var(--on-dark-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: .96rem;
  letter-spacing: .005em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn .ico { flex: none; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--green-700); /* white text = 5.0:1 → WCAG AA (green-600 was 3.3:1) */
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--green-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--green-900);
}
.btn--ghost:hover { border-color: var(--green-600); background: rgba(22, 163, 74, .06); transform: translateY(-2px); }

/* on dark / hero — ghost variant adjusts via context */
.hero .btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.hero .btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 253, 251, .8);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px -20px rgba(16, 80, 40, .4);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: .005em;
  color: var(--green-900);
}
.brand__tag {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--slate);
}

.nav { display: flex; gap: 2px; margin-left: 6px; }
.nav__link {
  position: relative;
  padding: 8px 10px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 6px;
  height: 1.5px;
  background: var(--green-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav__link:hover { color: var(--green-700); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--green-700); }

.header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--card);
}
.lang__btn {
  min-width: 40px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--slate);
  transition: background .2s var(--ease), color .2s var(--ease);
}
@media (max-width: 1024px) {
  .lang__btn { min-width: 44px; min-height: 44px; }
}
.lang__btn[aria-pressed="true"] { background: var(--green-600); color: #fff; }
.lang__btn:not([aria-pressed="true"]):hover { color: var(--green-700); }
.lang__sep { width: 1px; height: 18px; background: var(--border); }

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--green-900);
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.phone-link:hover { color: var(--green-700); }
.phone-link .ico { color: var(--green-600); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin-inline: auto;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  overflow: hidden;
  max-height: 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
  transition: max-height .4s var(--ease);
}
.mobile-nav.is-open { max-height: 560px; }
.mobile-nav nav { display: flex; flex-direction: column; padding: 12px var(--pad) 22px; gap: 2px; }
.mobile-nav__link {
  padding: 14px 8px;
  font-size: 1.05rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-nav__cta { margin-top: 16px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 12% 8%, var(--green-800) 0%, transparent 55%),
    radial-gradient(120% 120% at 100% 100%, var(--green-900) 0%, transparent 60%),
    linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 100%);
}
.hero__mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 80% 20%, rgba(163, 230, 53, .18) 0%, transparent 70%);
}
.hero__leaf { position: absolute; color: rgba(255, 255, 255, .14); }
.hero__leaf--1 { width: 280px; top: -40px; left: -60px; transform: rotate(-18deg); }
.hero__leaf--2 { width: 340px; bottom: -90px; right: -40px; transform: rotate(12deg); }

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  padding-block: 72px 96px;
}
.hero__content { max-width: 620px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime-400);
  box-shadow: 0 0 0 4px rgba(163, 230, 53, .25);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(163, 230, 53, .35); } 50% { box-shadow: 0 0 0 7px rgba(163, 230, 53, 0); } }

.hero__title {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.9rem, 6.6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.015em;
}
.hero__subtitle {
  margin-top: 22px;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.62;
  color: #fff;
  max-width: 52ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .btn--primary { background: #fff; color: var(--green-800); }
.hero .btn--primary:hover { background: var(--lime-300); color: var(--green-900); }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--lime-300);
}
.stat__label {
  margin-top: 6px;
  font-size: .84rem;
  color: #fff;
}

.hero__art { display: flex; justify-content: center; }
.hero__truck { width: 100%; max-width: 420px; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero__rule {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service-card--wide { grid-column: span 4; flex-direction: row; align-items: center; gap: 28px; flex-wrap: wrap; }
.service-card--wide .service-card__ico { margin-bottom: 0; }
.service-card--wide .service-card__title { flex: 0 1 auto; }
.service-card--wide .service-card__text { flex: 1 1 auto; max-width: 62ch; margin-top: 0; }

.service-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--green-600), var(--lime-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: var(--r);
  background: var(--bg-soft);
  color: var(--green-600);
  margin-bottom: 22px;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.service-card:hover .service-card__ico { background: var(--green-600); color: #fff; }
.service-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--green-900);
}
.service-card__text { margin-top: 12px; color: var(--slate); font-size: .98rem; }
.service-card__no {
  position: absolute;
  right: 22px; top: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--border-strong);
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 44px; right: -14px;
  width: 28px; height: 1px;
  background: var(--border-strong);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--green-600);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-700);
  margin-bottom: 18px;
}
.step__title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.18; letter-spacing: -.01em; color: var(--green-900); }
.step__text { margin-top: 10px; color: var(--slate); font-size: .95rem; }

/* ============================================================
   ADVANTAGES
   ============================================================ */
.advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.adv {
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.adv:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.adv__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: rgba(22, 163, 74, .1);
  color: var(--green-700);
  margin-bottom: 18px;
}
.adv__title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.18; letter-spacing: -.01em; color: var(--green-900); }
.adv__text { margin-top: 10px; color: var(--slate); font-size: .95rem; }

/* ============================================================
   AREAS (dark)
   ============================================================ */
.section--dark {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
  color: #fff;
  overflow: hidden;
}
.areas__bg { position: absolute; inset: 0; z-index: 0; }
.areas__leaf { position: absolute; right: -50px; top: 50%; transform: translateY(-50%); width: 460px; color: rgba(255, 255, 255, .07); }
.areas__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.areas__note { margin-top: 22px; color: var(--on-dark-soft); font-size: 1rem; max-width: 42ch; }
.areas__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.area {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r);
  transition: background .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.area:hover { background: rgba(255, 255, 255, .1); transform: translateX(4px); border-color: rgba(163, 230, 53, .5); }
.area__bullet {
  flex: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--lime-400);
  box-shadow: 0 0 0 4px rgba(163, 230, 53, .18);
}
.area__name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.18; letter-spacing: -.01em; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  padding: 44px;
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(163, 230, 53, .1) 0%, transparent 55%),
    var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}
.pricing__main .section__title { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.pricing__note { margin: 20px 0 28px; color: var(--slate); font-size: 1.05rem; max-width: 46ch; }
.pricing__factors {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.pricing__factors-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -.01em;
  color: var(--green-900);
  margin-bottom: 18px;
}
.factor-list { display: flex; flex-direction: column; gap: 14px; }
.factor {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-weight: 500;
}
.factor:last-child { border-bottom: none; padding-bottom: 0; }
.factor__num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--green-600);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
}

/* ============================================================
   FORM
   ============================================================ */
.formwrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.formwrap__head { position: sticky; top: calc(var(--header-h) + 24px); }
.formwrap__aside { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.contact-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--green-900);
  transition: color .2s var(--ease);
}
.contact-row .ico { color: var(--green-600); }
.contact-row:hover { color: var(--green-700); }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 36px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.form__error {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  padding: 12px 16px;
  background: rgba(212, 80, 60, .08);
  border: 1px solid rgba(212, 80, 60, .35);
  border-radius: var(--r-sm);
  color: #a8331f;
  font-size: .9rem;
  font-weight: 600;
}
.field__err { font-size: .82rem; font-weight: 600; color: #a8331f; }
.field__label { font-size: .88rem; font-weight: 700; color: var(--green-900); letter-spacing: .01em; }
.field__input {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-sm);
  font-size: .98rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
textarea.field__input { resize: vertical; min-height: 92px; line-height: 1.55; }
.field__input::placeholder { color: #5c7b6e; opacity: 1; }
.field__input:hover { border-color: var(--green-500); }
.field__input:focus {
  outline: none;
  border-color: var(--green-600);
  background: var(--card);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, .12);
}
.field__input.is-invalid { border-color: #d4503c; box-shadow: 0 0 0 4px rgba(212, 80, 60, .12); }

.field__select { position: relative; }
.field__select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.field__chevron { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--green-700); pointer-events: none; }

/* consent */
.consent__label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.consent__check { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent__box {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border: 1.5px solid var(--border-strong);
  border-radius: 7px;
  background: var(--bg);
  color: #fff;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.consent__box svg { opacity: 0; transform: scale(.6); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.consent__check:checked + .consent__box { background: var(--green-600); border-color: var(--green-600); }
.consent__check:checked + .consent__box svg { opacity: 1; transform: scale(1); }
.consent__check:focus-visible + .consent__box { outline: 2.5px solid var(--green-600); outline-offset: 3px; }
.consent.is-invalid .consent__box { border-color: #d4503c; }
.consent__text { font-size: .92rem; color: var(--slate); line-height: 1.5; }
.consent__link { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.consent__link:hover { color: var(--green-600); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, .82);
  padding-top: 72px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__tag { color: rgba(255, 255, 255, .6); }
.footer__about { margin-top: 20px; font-size: .95rem; line-height: 1.7; max-width: 44ch; color: rgba(255, 255, 255, .72); }
.footer__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -.01em;
  color: #fff;
  margin-bottom: 20px;
}
.footer__list { display: flex; flex-direction: column; gap: 16px; }
.footer__list li { display: flex; flex-direction: column; gap: 3px; font-size: .95rem; }
.footer__label { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--lime-300); font-weight: 700; }
.footer__list a { transition: color .2s var(--ease); }
.footer__list a:hover { color: var(--lime-300); }
.footer__list--legal li { gap: 0; line-height: 1.55; }
.footer__areas { margin-top: 6px; color: rgba(255, 255, 255, .6); font-size: .9rem; }
.footer__privacy {
  display: inline-block;
  margin-top: 22px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  padding-bottom: 2px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer__privacy:hover { color: var(--lime-300); border-color: var(--lime-300); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 24px 0; }
.footer__rights { font-size: .86rem; color: rgba(255, 255, 255, .55); }

/* ============================================================
   FLOATING WHATSAPP + TOAST
   ============================================================ */
.fab {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 60px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  background: #25d366; /* WhatsApp brand green */
  color: #073b25;
  box-shadow: 0 14px 34px -10px rgba(15, 61, 46, .6);
  transform: translateY(120px) scale(.8);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease), background .25s var(--ease), gap .35s var(--ease);
}
.fab svg { flex: none; }
.fab__txt {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 700;
  font-size: .95rem;
  opacity: 0;
  transition: max-width .4s var(--ease), opacity .3s var(--ease);
}
.fab.is-visible { transform: translateY(0) scale(1); opacity: 1; }
.fab::before {
  content: "";
  position: absolute;
  left: 6px; top: 50%;
  width: 48px; height: 48px;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: ring 2.6s ease-out infinite;
}
@keyframes ring { 0% { transform: translateY(-50%) scale(1); opacity: .7; } 100% { transform: translateY(-50%) scale(1.7); opacity: 0; } }
.fab:hover, .fab:focus-visible { background: #1ebe5b; transform: translateY(-3px); }
.fab:hover { gap: 10px; }
.fab:hover .fab__txt, .fab:focus-visible .fab__txt { max-width: 220px; opacity: 1; }
.fab:focus-visible { gap: 10px; }

.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translate(-50%, 30px);
  z-index: 200;
  max-width: calc(100vw - 40px);
  padding: 14px 22px;
  background: var(--green-900);
  color: #fff;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-lg);
  font-size: .92rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.privacy-hero {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-600) 100%);
  color: #fff;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.privacy-hero .container { position: relative; z-index: 1; }
.privacy-hero__leaf { position: absolute; right: -40px; top: -30px; width: 280px; color: rgba(255, 255, 255, .12); }
.privacy-hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 5.5vw, 3.2rem); line-height: 1.08; letter-spacing: -.02em; }
.privacy-hero__updated { margin-top: 14px; color: rgba(255, 255, 255, .82); }
.privacy-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
  transition: gap .2s var(--ease);
}
.privacy-back:hover { gap: 12px; color: #fff; }

.privacy-body { padding: 0 0 88px; }
.privacy-body .container { max-width: 840px; }
.legal-content {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  padding: 48px clamp(24px, 5vw, 56px) 56px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
}
@media (max-width: 560px) {
  .legal-content { margin-top: -24px; padding: 32px 20px 40px; }
}
.privacy-intro {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink);
  padding: 28px 30px;
  background: var(--bg-soft);
  border-left: 3px solid var(--green-600);
  border-radius: var(--r-sm);
  white-space: pre-line;
}
.privacy-section { margin-top: 40px; }
.privacy-section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--green-900);
  margin-bottom: 14px;
}
.privacy-section__text { color: var(--slate); line-height: 1.75; white-space: pre-line; }
.privacy-section__text a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   REVEAL (load + scroll motion)
   ============================================================ */
/* Hidden-initial state applies ONLY when JS is running (html.js set in init).
   With JS off/broken/slow, content renders at its natural opacity — never blank. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* staggered children inside grids */
.services [data-reveal]:nth-child(1) { --reveal-delay: 0ms; }
.services [data-reveal]:nth-child(2) { --reveal-delay: 80ms; }
.services [data-reveal]:nth-child(3) { --reveal-delay: 160ms; }
.services [data-reveal]:nth-child(4) { --reveal-delay: 240ms; }
.services [data-reveal]:nth-child(5) { --reveal-delay: 320ms; }
.process [data-reveal]:nth-child(2) { --reveal-delay: 90ms; }
.process [data-reveal]:nth-child(3) { --reveal-delay: 180ms; }
.process [data-reveal]:nth-child(4) { --reveal-delay: 270ms; }
.areas__list [data-reveal]:nth-child(2) { --reveal-delay: 80ms; }
.areas__list [data-reveal]:nth-child(3) { --reveal-delay: 160ms; }
.areas__list [data-reveal]:nth-child(4) { --reveal-delay: 240ms; }
.advantages [data-reveal]:nth-child(2) { --reveal-delay: 80ms; }
.advantages [data-reveal]:nth-child(3) { --reveal-delay: 160ms; }
.advantages [data-reveal]:nth-child(4) { --reveal-delay: 240ms; }
.advantages [data-reveal]:nth-child(5) { --reveal-delay: 320ms; }
.advantages [data-reveal]:nth-child(6) { --reveal-delay: 400ms; }

/* hero load stagger */
.hero [data-reveal] { transition-duration: .85s; }
.hero__content [data-reveal]:nth-child(1) { --reveal-delay: 120ms; }
.hero__content [data-reveal]:nth-child(2) { --reveal-delay: 220ms; }
.hero__content [data-reveal]:nth-child(3) { --reveal-delay: 340ms; }
.hero__content [data-reveal]:nth-child(4) { --reveal-delay: 460ms; }
.hero__content [data-reveal]:nth-child(5) { --reveal-delay: 580ms; }
.hero__art { --reveal-delay: 380ms; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 1025px) {
  :root { --pad: 40px; }
}

/* mid-width: keep the full header but tighten so it never crowds the row */
@media (max-width: 1340px) {
  .header__inner { gap: 12px; }
  .nav { gap: 0; margin-left: 0; }
  .nav__link { padding: 9px 10px; font-size: .88rem; }
  .header__actions { gap: 10px; }
}

/* below this the horizontal nav + CTA can't fit (esp. the longer KZ labels) → burger */
@media (max-width: 1140px) {
  .nav { display: none; }
  .header__cta { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: block; }
}

@media (max-width: 1024px) {
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }

  .hero__inner { grid-template-columns: 1fr; gap: 8px; padding-block: 48px 72px; }
  .hero__art { order: -1; max-width: 340px; margin-inline: auto; }
  .hero__truck { max-width: 320px; }

  /* tablet/small-laptop: 4 steps would be cramped — go 2×2 and drop connectors */
  .process { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }

  .pricing { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
  .formwrap { grid-template-columns: 1fr; gap: 32px; }
  .formwrap__head { position: static; }
  .areas__grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service-card { grid-column: span 1; }
  .service-card--wide { grid-column: span 1; flex-direction: column; align-items: flex-start; gap: 16px; }
  .service-card--wide .service-card__text { margin-top: 4px; }
  .process { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }
  .advantages { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__col--about { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .section__head { margin-bottom: 32px; }
  .brand__tag { display: none; }
  .lang { padding: 3px; }
  .services { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: span 1; flex-direction: column; align-items: flex-start; gap: 16px; }
  .service-card--wide .service-card__text { margin-top: 4px; }
  .process { grid-template-columns: 1fr; }
  .advantages { grid-template-columns: 1fr; }
  .areas__list { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; gap: 18px; text-align: left; }
  .hero__stats .stat { display: flex; align-items: baseline; gap: 14px; }
  .stat__label { margin-top: 0; }
  .form { grid-template-columns: 1fr; padding: 26px 20px; }
  .field--full, .field { grid-column: 1 / -1; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__col--about { grid-column: auto; }
  .pricing { padding: 28px 22px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .fab { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}

@media (max-width: 360px) {
  :root { --pad: 16px; }
  .hero__title { font-size: 2.3rem; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .fab { opacity: 1 !important; transform: none !important; }
  .hero__truck, .badge__dot { animation: none; }
}
