/* ==========================================================================
   Астарта — сайт-визитка производителя био-минеральных удобрений
   ========================================================================== */

/* ---------- Токены ---------- */
:root {
  --green-950: #071c11;
  --green-900: #0a2417;
  --green-800: #0d2b1a;
  --green-700: #14432a;
  --green-600: #1c5c38;
  --green-500: #2b7a4b;
  --lime-400: #a3e635;
  --lime-500: #84cc16;
  --lime-600: #65a30d;
  --cream: #f7faf5;
  --cream-2: #eef4ea;
  --white: #ffffff;
  --ink: #10231a;
  --muted: #5d7264;
  --muted-light: #b7cdbd;
  --line: rgba(16, 35, 26, .1);
  --line-light: rgba(255, 255, 255, .14);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;

  --shadow-sm: 0 2px 8px rgba(10, 36, 23, .06);
  --shadow: 0 14px 40px rgba(10, 36, 23, .10);
  --shadow-lg: 0 30px 80px rgba(10, 36, 23, .18);
  --glow: 0 18px 44px rgba(132, 204, 22, .32);

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

/* ---------- Сброс и база ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 800;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--lime-400); color: var(--green-900); }

:focus-visible {
  outline: 3px solid var(--lime-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--lime-400);
  color: var(--green-900);
  padding: 12px 18px;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 860px; }

.muted { color: var(--muted); }
.muted--light { color: var(--muted-light); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--accent {
  background: linear-gradient(135deg, var(--lime-400), var(--lime-500));
  color: var(--green-900);
  box-shadow: var(--glow);
}
.btn--accent:hover { box-shadow: 0 24px 54px rgba(132, 204, 22, .42); }

.btn--ghost {
  border-color: rgba(255, 255, 255, .34);
  color: var(--white);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); }

.btn--dark {
  background: var(--green-800);
  color: var(--white);
}
.btn--dark:hover { background: var(--green-700); box-shadow: var(--shadow); }

.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn--full { width: 100%; }

/* ---------- Плашки ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(163, 230, 53, .34);
  background: rgba(163, 230, 53, .12);
  color: var(--lime-400);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.badge__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime-400);
  box-shadow: 0 0 0 4px rgba(163, 230, 53, .18);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(163, 230, 53, .18); }
  50% { box-shadow: 0 0 0 9px rgba(163, 230, 53, .04); }
}

.pill {
  display: inline-block;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid var(--line-light);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--white);
}
.pill--soft {
  background: var(--cream-2);
  border-color: transparent;
  color: var(--green-700);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lime-600);
}
.eyebrow--light { color: var(--lime-400); }

.chip {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  font-size: .84rem;
  font-weight: 600;
  color: var(--green-700);
}
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }

/* ---------- Шапка ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(10, 36, 23, .07);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.1vw, 24px);
  width: 100%;
  /* шапке нужен более широкий контейнер, чем секциям: меню, телефон
     и переключатель языков должны помещаться в одну строку */
  max-width: 1520px;
  flex-wrap: nowrap;
}

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__mark { color: var(--lime-400); display: block; transition: transform .3s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.06); }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text strong {
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--white);
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.logo__text small {
  font-size: .62rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.header.is-scrolled .logo__text strong { color: var(--green-800); }
.header.is-scrolled .logo__text small { color: var(--muted); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  position: relative;
  padding: 9px clamp(9px, .75vw, 13px);
  border-radius: 999px;
  font-size: clamp(.8rem, .58vw + .4rem, .9rem);
  font-weight: 600;
  color: rgba(255, 255, 255, .84);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, .1); }
.nav a.is-current { color: var(--lime-400); }
.header.is-scrolled .nav a { color: var(--green-700); }
.header.is-scrolled .nav a:hover { color: var(--green-900); background: var(--cream-2); }
.header.is-scrolled .nav a.is-current { color: var(--lime-600); }
.nav__cta { margin-left: 10px; }
/* phone is duplicated in the mobile menu */
.nav__phone { display: none; }
.nav__cta,
.header.is-scrolled .nav__cta { color: var(--green-900) !important; }
.nav__cta:hover { background: var(--lime-500) !important; }

.header__actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header__phone {
  font-weight: 700;
  font-size: clamp(.85rem, .55vw + .4rem, .95rem);
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .3s var(--ease);
}
.header__phone:hover { color: var(--lime-400); }
.header.is-scrolled .header__phone { color: var(--green-800); }

/* ---------- Переключатель языков ---------- */
.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .16);
  flex-shrink: 0;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.lang a {
  padding: 5px 10px;
  font-weight: 800;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  color: rgba(255, 255, 255, .76);
  white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.lang a:hover { color: var(--white); background: rgba(255, 255, 255, .14); }
.lang a.is-active { background: var(--lime-400); color: var(--green-900); }
.header.is-scrolled .lang { border-color: var(--line); background: var(--cream-2); }
.header.is-scrolled .lang a { color: var(--muted); }
.header.is-scrolled .lang a:hover { color: var(--green-900); background: rgba(16, 35, 26, .06); }
.header.is-scrolled .lang a.is-active { background: var(--green-800); color: var(--white); }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .25s var(--ease), background-color .3s var(--ease);
}
.header.is-scrolled .burger { border-color: var(--line); background: var(--cream-2); }
.header.is-scrolled .burger span { background: var(--green-800); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 70px) 0 0;
  background:
    radial-gradient(900px 620px at 82% 8%, rgba(132, 204, 22, .22), transparent 62%),
    radial-gradient(700px 520px at 8% 92%, rgba(43, 122, 75, .34), transparent 60%),
    linear-gradient(160deg, var(--green-950) 0%, var(--green-900) 45%, var(--green-800) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(820px 560px at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(820px 560px at 50% 30%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 84px;
}
.hero h1 { margin: 22px 0; }
.grad {
  background: linear-gradient(100deg, var(--lime-400), #e9ffb0 55%, var(--lime-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  max-width: 620px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, .78);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 30px; }

.hero__points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0;
  padding: 0;
  font-size: .9rem;
  color: rgba(255, 255, 255, .7);
}
.hero__points li { display: flex; align-items: center; gap: 9px; }
.hero__points li::before {
  content: "";
  width: 17px; height: 17px;
  flex: 0 0 17px;
  border-radius: 50%;
  background-color: rgba(163, 230, 53, .16);
  border: 1px solid rgba(163, 230, 53, .5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3e635' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line-light);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero__card-top { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(7, 28, 17, .34);
  border: 1px solid rgba(255, 255, 255, .09);
}
.stat__num {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  color: var(--lime-400);
  letter-spacing: -.03em;
}
.stat__label {
  display: block;
  margin-top: 7px;
  font-size: .78rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, .68);
}
.hero__card-note {
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  font-size: .88rem;
  color: rgba(255, 255, 255, .74);
}
.hero__card-note strong { color: var(--lime-400); }
.hero__card-note span { display: block; font-size: .76rem; color: rgba(255, 255, 255, .46); margin-top: 4px; }

/* Бегущая строка */
.marquee {
  position: relative;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background: rgba(0, 0, 0, .18);
  padding: 16px 0;
  overflow: hidden;
}
.marquee__track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: scroll 42s linear infinite;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  white-space: nowrap;
}
.marquee__track span:nth-child(even) { color: var(--lime-400); }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Секции ---------- */
.section { padding: 104px 0; }
.section--tint { background: var(--cream); }
.section--dark {
  background:
    radial-gradient(760px 480px at 88% 0%, rgba(132, 204, 22, .16), transparent 60%),
    linear-gradient(180deg, var(--green-900), var(--green-800));
  color: var(--white);
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section__head { max-width: 720px; margin-bottom: 54px; }
.section__head h2 { margin-bottom: 16px; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.grid-2--contacts { gap: 72px; }

/* ---------- О компании ---------- */
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.mini-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.mini-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(132, 204, 22, .5);
}
.mini-card__ico { font-size: 1.6rem; display: block; margin-bottom: 12px; }
.mini-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.mini-card p { font-size: .9rem; color: var(--muted); }

/* ---------- Преимущества ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-light);
  transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.benefit:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .09);
  border-color: rgba(163, 230, 53, .45);
}
.benefit__num {
  display: block;
  margin-bottom: 16px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--lime-400);
}
.benefit h3 { margin-bottom: 10px; }
.benefit p { font-size: .92rem; color: var(--muted-light); }

/* ---------- Продукция ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.product:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: rgba(132, 204, 22, .55);
}
.product.is-dim { opacity: .3; filter: grayscale(.7); }
.product__head { margin-bottom: 18px; }
.product__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(132, 204, 22, .16);
  color: var(--lime-600);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.product h3 { margin-bottom: 6px; font-size: 1.22rem; }
.product__sub { font-size: .84rem; color: var(--muted); margin: 0; }

.product__specs {
  list-style: none;
  display: grid;
  /* построчно: показатель слева, значение справа. В три узкие колонки
     длинные значения («пролонгированное», «water-soluble») не влезали
     и распирали карточку шире экрана */
  grid-template-columns: 1fr;
  gap: 7px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--cream);
}
.product__specs li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}
.product__specs span {
  display: block;
  font-size: .7rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}
.product__specs strong {
  display: block;
  font-size: .92rem;
  color: var(--green-700);
  text-align: right;
  overflow-wrap: anywhere;
}

.product__desc { font-size: .9rem; color: var(--muted); flex-grow: 1; }
.product__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.product__form { font-size: .78rem; color: var(--muted); }
.product__link {
  display: inline-block;
  font-size: .86rem;
  font-weight: 700;
  color: var(--lime-600);
  white-space: nowrap;
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.product__link:hover { color: var(--green-700); transform: translateX(3px); }

/* ---------- Технология ---------- */
.wide-photo {
  margin: 0 0 46px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.wide-photo img {
  /* пропорции берём из самого файла: атрибуты width/height в HTML
     резервируют место до загрузки, поэтому вёрстка не прыгает */
  width: 100%;
  height: auto;
  display: block;
}
.wide-photo figcaption {
  padding: 16px 26px;
  border-top: 1px solid var(--line);
  font-size: .86rem;
  color: var(--muted);
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin: 0 0 46px;
  padding: 0;
}
.step {
  position: relative;
  padding: 0;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(132, 204, 22, .5);
}
.step__photo {
  margin: 0;
  background: var(--cream-2);
  overflow: hidden;
}
.step__photo img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .6s var(--ease);
}
.step:hover .step__photo img { transform: scale(1.05); }
.step__body { padding: 22px 24px 26px; }
.step__num {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 1.7rem;
  font-weight: 800;
  color: rgba(132, 204, 22, .45);
  letter-spacing: -.03em;
}
.step h3 { font-size: 1.02rem; margin-bottom: 9px; }
.step p { font-size: .88rem; color: var(--muted); }

.tech-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px 38px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--green-800), var(--green-600));
  color: var(--white);
}
.tech-note h3 { color: var(--white); margin-bottom: 8px; }
.tech-note p { font-size: .92rem; margin: 0; }
.tech-note .btn { flex-shrink: 0; background: var(--lime-400); color: var(--green-900); }
.tech-note .btn:hover { background: var(--lime-500); }

/* ---------- Культуры (табы) ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
}
.tab {
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .22s var(--ease);
}
.tab:hover { border-color: var(--lime-500); color: var(--green-700); }
.tab.is-active {
  background: var(--green-800);
  border-color: var(--green-800);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.tab-panels {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.panel { display: none; padding: 38px 40px; }
.panel.is-active { display: block; animation: fadeUp .45s var(--ease); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.panel__head h3 { margin: 0; font-size: 1.4rem; }

.panel__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.panel__list li {
  position: relative;
  padding: 14px 18px 14px 46px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: .92rem;
  color: var(--muted);
}
.panel__list li strong { color: var(--ink); }
.panel__list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 20px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background-color: rgba(132, 204, 22, .18);
  border: 1px solid var(--lime-500);
}
.panel__list li:last-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2365a30d' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

.hint {
  margin-top: 26px;
  font-size: .88rem;
  color: var(--muted);
}
.hint a { color: var(--lime-600); font-weight: 700; border-bottom: 1px solid currentColor; }

/* ---------- Качество ---------- */
.quality {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.q-card {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-light);
}
.q-card p { font-size: .92rem; color: var(--muted-light); }
.q-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: .9rem;
  color: var(--muted-light);
}
.q-list li { position: relative; padding-left: 26px; }
.q-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lime-400);
  font-weight: 800;
}
.q-metrics {
  display: flex;
  gap: 30px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
}
.q-metrics strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--lime-400);
  line-height: 1;
}
.q-metrics span { font-size: .78rem; color: rgba(255, 255, 255, .58); }

/* ---------- Процесс ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.p-step {
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.p-step:hover { transform: translateY(-5px); background: var(--cream-2); }
.p-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--lime-400);
  font-weight: 800;
  font-size: .92rem;
}
.p-step h3 { font-size: 1rem; margin-bottom: 7px; }
.p-step p { font-size: .86rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq__item[open] { border-color: rgba(132, 204, 22, .6); box-shadow: var(--shadow-sm); }
.faq__item summary {
  position: relative;
  padding: 22px 62px 22px 26px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  transition: color .2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--lime-600); }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 22px; height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--cream-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314432a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(135deg); }
.faq__item p {
  padding: 0 26px 24px;
  margin: 0;
  font-size: .94rem;
  color: var(--muted);
  animation: fadeUp .35s var(--ease);
}

/* ---------- Контакты и форма ---------- */
.section--contacts {
  background:
    radial-gradient(620px 420px at 6% 12%, rgba(132, 204, 22, .18), transparent 62%),
    linear-gradient(180deg, var(--green-900), var(--green-800));
  color: var(--white);
}
.section--contacts h2 { color: var(--white); }
.section--contacts .muted { color: var(--muted-light); }

.contacts {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.contacts li { display: flex; gap: 15px; align-items: flex-start; }
.contacts__ico {
  flex: 0 0 42px;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line-light);
  font-size: 1.1rem;
}
.contacts small {
  display: block;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .48);
  margin-bottom: 3px;
}
.contacts a, .contacts li > div > span {
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
}
.contacts a:hover { color: var(--lime-400); }

.contacts__note {
  margin-top: 26px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .05);
  font-size: .82rem;
  color: rgba(255, 255, 255, .7);
}

.form {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.form h3 { margin-bottom: 22px; font-size: 1.3rem; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--green-700);
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--cream);
  font: inherit;
  font-size: .94rem;
  color: var(--ink);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 104px; }
.field input::placeholder, .field textarea::placeholder { color: #9aab9f; }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--lime-500);
  box-shadow: 0 0 0 4px rgba(132, 204, 22, .16);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field input.is-invalid,
.field textarea.is-invalid { border-color: #d9534f; background: #fdf3f2; }
.error {
  display: none;
  margin-top: 6px;
  font-size: .78rem;
  color: #c0392b;
}
.error.is-visible { display: block; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 4px;
  font-size: .84rem;
  color: var(--muted);
  cursor: pointer;
}
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--lime-600); flex-shrink: 0; }

.form .btn { margin-top: 14px; }
.form__note { margin: 12px 0 0; font-size: .74rem; color: var(--muted); text-align: center; }

.form__success {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: rgba(132, 204, 22, .14);
  border: 1px solid rgba(132, 204, 22, .45);
}
.form__success strong { display: block; color: var(--green-700); margin-bottom: 4px; }
.form__success span { font-size: .86rem; color: var(--muted); }
.form.is-sent .field,
.form.is-sent .check,
.form.is-sent .btn,
.form.is-sent .form__note { display: none; }

/* ---------- Подвал ---------- */
.footer {
  background: var(--green-950);
  color: rgba(255, 255, 255, .72);
  padding: 72px 0 26px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line-light);
}
.footer__brand p { margin-top: 18px; font-size: .88rem; max-width: 380px; }
.logo--footer .logo__text strong { color: var(--white); }
.logo--footer .logo__text small { color: rgba(255, 255, 255, .5); }

.footer__col { display: flex; flex-direction: column; gap: 11px; align-items: flex-start; }
.footer__col h4 { color: rgba(255, 255, 255, .5); margin-bottom: 6px; }
.footer__col a, .footer__col span { font-size: .89rem; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--lime-400); }
.footer__col .btn { margin-top: 8px; color: var(--green-900); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: .78rem;
  color: rgba(255, 255, 255, .42);
}

/* ---------- Кнопка «наверх» ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--green-800);
  color: var(--lime-400);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.to-top:hover { transform: translateY(-4px); background: var(--green-700); }

/* ---------- Просмотр фото в полном размере ---------- */
.zoomable { cursor: zoom-in; }
.zoomable:focus-visible { outline: 3px solid var(--lime-500); outline-offset: 3px; }

body.lightbox-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(7, 28, 17, .92);
  backdrop-filter: blur(8px);
}
.lightbox.is-open { display: flex; animation: lightboxIn .25s var(--ease); }
@keyframes lightboxIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox img {
  max-width: min(1500px, 94vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.lightbox__close:hover { background: rgba(255, 255, 255, .24); transform: rotate(90deg); }

/* ---------- Анимации появления ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .09s; }
.reveal--d2 { transition-delay: .18s; }
.reveal--d3 { transition-delay: .27s; }
.reveal--d4 { transition-delay: .36s; }

/* ---------- Адаптив ---------- */

/* Шапка: постепенно разгружаем строку, чтобы ничего не переносилось */
@media (max-width: 1400px) {
  .nav__cta { display: none; }
}
@media (max-width: 1280px) {
  .header .logo__text small { display: none; }
}
@media (max-width: 1120px) {
  .header__phone { display: none; }
}

@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__card { animation: none; max-width: 560px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .benefits, .quality { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 1000px) {
  :root { --header-h: 70px; }
  .burger { display: flex; }
  .header__phone { display: none; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 22px 24px 40px;
    background: rgba(7, 28, 17, .97);
    backdrop-filter: blur(18px);
    overflow-y: auto;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform .35s var(--ease), opacity .3s var(--ease), visibility .3s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a,
  .header.is-scrolled .nav a {
    color: rgba(255, 255, 255, .9);
    background: transparent;
    padding: 15px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    border-radius: 0;
    font-size: 1.05rem;
  }
  .nav a:hover, .header.is-scrolled .nav a:hover { color: var(--lime-400); background: transparent; }
  .nav a.is-current, .header.is-scrolled .nav a.is-current { color: var(--lime-400); }
  .nav__phone { display: block; }
  .nav__cta {
    display: inline-flex;
    margin: 20px 0 0;
    border: none !important;
    color: var(--green-900) !important;
    text-align: center;
    justify-content: center;
  }

  .section { padding: 76px 0; }
  .grid-2, .grid-2--contacts { grid-template-columns: 1fr; gap: 40px; }
  .tech-note { flex-direction: column; align-items: flex-start; padding: 28px; }
  .panel { padding: 28px 24px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .hero { padding-top: calc(var(--header-h) + 44px); }
  .hero__inner { padding-bottom: 62px; }
  .hero__cta .btn { width: 100%; }
  .stat-grid { gap: 12px; }
  .stat__num { font-size: 1.75rem; }

  .products, .benefits, .quality, .steps, .process, .about-cards { grid-template-columns: 1fr; }
  .wide-photo { margin-bottom: 32px; }
  .wide-photo figcaption { padding: 14px 18px; font-size: .82rem; }
  .step__body { padding: 20px 20px 24px; }
  .product__foot { flex-direction: column; align-items: flex-start; }
  .field--row { grid-template-columns: 1fr; }
  .form { padding: 26px 22px; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .q-metrics { gap: 22px; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (max-width: 420px) {
  .lang { padding: 2px; }
  .lang a { padding: 5px 7px; font-size: .72rem; }
  .header__inner { gap: 10px; }
  .header__actions { gap: 8px; }
  .logo { gap: 8px; }
  .logo__mark svg { width: 28px; height: 28px; }
  .burger { width: 40px; height: 40px; }
}

@media (max-width: 350px) {
  .logo__text strong { font-size: 1rem; letter-spacing: .1em; }
  .lang a { padding: 4px 6px; font-size: .68rem; }
  .burger { width: 36px; height: 36px; }
  .header__inner { gap: 8px; }
}

/* ---------- Доступность: меньше движения ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Печать ---------- */
@media print {
  .header, .nav, .to-top, .hero__cta, .marquee, .form { display: none !important; }
  body { color: #000; }
  .section, .hero { padding: 20px 0; background: none !important; color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
