/* ============ ЭКО-НОВА ДВ — styles ============ */
:root {
  --paper: #F7F7F5;
  --white: #FFFFFF;
  --cream: #FBF3DF;
  --ink: #0C2B22;
  --deep: #09352E;
  --darkest: #094421;
  --green: #007F24;
  --brand: #45813D;
  --leaf: #87BD6D;
  --pale: #E6EFE1;
  --muted: #5A6B62;
  --line: rgba(12, 43, 34, 0.14);
  --chamfer: 14px;
  --chamfer-sm: 8px;
  --radius-clip: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer)));
  --radius-clip-sm: polygon(0 0, calc(100% - var(--chamfer-sm)) 0, 100% var(--chamfer-sm), 100% 100%, var(--chamfer-sm) 100%, 0 calc(100% - var(--chamfer-sm)));
  --ease: cubic-bezier(0.22, 0.8, 0.28, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--darkest); color: #fff; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

img { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h2 { font-size: clamp(28px, 4vw, 44px); }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.eyebrow--light { color: var(--leaf); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 30px;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease);
  clip-path: var(--radius-clip-sm);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--deep); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--s { padding: 11px 10px; font-size: 12.5px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 247, 245, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 30px rgba(9, 53, 46, 0.07); }
.header__inner { display: flex; align-items: center; gap: 36px; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { width: 46px; height: 46px; object-fit: contain; }

/* 3D-вращение логотипа в шапке */
.brand__flip { position: relative; display: inline-block; width: 46px; height: 46px; transform-style: preserve-3d; animation: brand-flip 7s ease-in-out infinite; }
.brand__flip .brand__logo { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.brand__flip .brand__logo--back { transform: rotateY(180deg); }
@keyframes brand-flip {
  0%, 18%   { transform: rotateY(0deg); }
  46%, 54%  { transform: rotateY(180deg); }
  82%, 100% { transform: rotateY(360deg); }
}
@media (prefers-reduced-motion: reduce) { .brand__flip { animation: none; } }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 800; font-size: 17px; letter-spacing: 0.01em; }
.brand__tag { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--muted); letter-spacing: 0.06em; }

.nav { display: flex; gap: 14px; margin-left: auto; white-space: nowrap; }
.nav__link {
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 0;
  background: linear-gradient(var(--green), var(--green)) left bottom / 0 2px no-repeat;
  transition: background-size 0.3s var(--ease), color 0.2s;
}
.nav__link:hover { color: var(--green); background-size: 100% 2px; }

.header__cta { display: flex; align-items: center; gap: 10px; }
.header__cta .btn { white-space: nowrap; }

.header__max-label { font-size: 17px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.header__max { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; text-decoration: none; transition: transform .2s, filter .2s; }
.header__max img { width: 20px; height: 20px; display: block; }
.header__max:hover { transform: translateY(-1px); filter: brightness(1.06); }
.header__mail { font-weight: 600; font-size: 17px; text-decoration: none; white-space: nowrap; color: var(--ink); }
.header__mail:hover { color: var(--green); }
.header__phone { font-weight: 600; font-size: 17px; text-decoration: none; white-space: nowrap; }
.header__phone:hover { color: var(--green); }

.burger { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; position: relative; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: 0.3s var(--ease); }
.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; overflow: hidden; padding: 46px 0 96px; }
.hero__dots {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Ccircle cx='18' cy='18' r='1.6' fill='%23094421' fill-opacity='0.14'/%3E%3C/svg%3E");
  mask-image: radial-gradient(ellipse 90% 80% at 70% 20%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 20%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero__title { font-size: clamp(36px, 4.6vw, 60px); margin-bottom: 22px; }
.hero__lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--muted); max-width: 54ch; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; align-items: center; }

.hero__max { display: none; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--ink); padding: 8px 16px 8px 8px; border: 1.5px solid #e3e7ee; border-radius: 14px; background: #fff; transition: border-color .2s, transform .2s; }
.hero__max img { width: 30px; height: 30px; display: block; }
.hero__max:hover { border-color: #7d6ef0; transform: translateY(-1px); }

.hero__facts { list-style: none; display: flex; gap: 44px; flex-wrap: wrap; }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts b { font-size: 24px; font-weight: 800; color: var(--green); letter-spacing: -0.01em; }
.hero__facts li:first-child b { font-size: 31px; }
.hero__facts span { font-size: 13px; color: var(--muted); max-width: 16ch; line-height: 1.35; margin-top: 2px; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  aspect-ratio: 2048 / 1082;
  object-fit: cover;
  object-position: center center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 42px), calc(100% - 42px) 100%, 0 100%);
}

/* Дым из вулкана и логотип на складе — удалены */
.hero__media::before {
  content: '';
  position: absolute;
  top: 22px;
  left: -22px;
  width: 100%;
  height: 100%;
  border: 1.5px solid var(--leaf);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 42px), calc(100% - 42px) 100%, 0 100%);
  z-index: -1;
}
.hero__chip {
  position: absolute;
  bottom: 26px;
  left: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 13px 18px;
  clip-path: var(--radius-clip-sm);
  box-shadow: 0 14px 40px rgba(9, 53, 46, 0.18);
}
.hero__chip svg { width: 26px; height: 26px; color: var(--green); flex: none; }
.hero__chip div { display: flex; flex-direction: column; line-height: 1.3; }
.hero__chip b { font-size: 14px; }
.hero__chip span { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); }

/* Надпись поверх фото hero (внутри снимка) */
.hero__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 74px 32px 30px;
  background: linear-gradient(180deg, rgba(9, 53, 46, 0) 0%, rgba(9, 53, 46, 0.78) 68%);
  color: #fff;
  font-size: clamp(19px, 2.1vw, 28px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.015em;
}
.hero__caption b { color: var(--leaf); font-weight: 800; }
@media (max-width: 620px) {
  .hero__caption { padding: 56px 18px 20px; }
}

/* Надпись над фото hero (как заголовок к фотографии) */
.hero__media-wrap { display: flex; flex-direction: column; }
.hero__tagline {
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 20px;
  padding-left: 18px;
  border-left: 4px solid var(--green);
  cursor: default;
  white-space: nowrap;
}
.hero__tagline b { color: var(--green); }

/* Эффект пара — буквы рассыпаются на частицы и собираются обратно */
.steam-char {
  display: inline-block;
  animation: steam-explode 12s ease-in-out infinite;
  animation-play-state: paused;
}
.hero__tagline.is-visible .steam-char {
  animation-play-state: running;
}
.steam-char--accent { color: var(--green); }

@keyframes steam-explode {
  0%, 100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
    filter: blur(0);
  }
  25% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
    filter: blur(0);
  }
  50% {
    opacity: 0;
    transform: translate(var(--dx, 0), var(--dy, -60px)) rotate(var(--rot, 0deg)) scale(0.3);
    filter: blur(10px);
  }
  75% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
    filter: blur(0);
  }
}

/* Индивидуальные параметры — разлёт во все стороны как осколки */
.steam-char:nth-child(1) { --dx: -60px; --dy: -80px; --rot: -45deg; }
.steam-char:nth-child(2) { --dx: 55px; --dy: -70px; --rot: 38deg; }
.steam-char:nth-child(3) { --dx: -40px; --dy: 50px; --rot: -30deg; }
.steam-char:nth-child(4) { --dx: 70px; --dy: 40px; --rot: 52deg; }
.steam-char:nth-child(5) { --dx: -50px; --dy: -60px; --rot: -38deg; }
.steam-char:nth-child(6) { --dx: 45px; --dy: 65px; --rot: 42deg; }
.steam-char:nth-child(7) { --dx: -65px; --dy: 30px; --rot: -48deg; }
.steam-char:nth-child(8) { --dx: 35px; --dy: -85px; --rot: 28deg; }
.steam-char:nth-child(9) { --dx: -30px; --dy: 55px; --rot: -25deg; }
.steam-char:nth-child(10) { --dx: 50px; --dy: -45px; --rot: 35deg; }
.steam-char:nth-child(11) { --dx: -55px; --dy: 70px; --rot: -42deg; }
.steam-char:nth-child(12) { --dx: 40px; --dy: -55px; --rot: 32deg; }
.steam-char:nth-child(13) { --dx: -35px; --dy: -65px; --rot: -28deg; }
.steam-char:nth-child(14) { --dx: 60px; --dy: 50px; --rot: 48deg; }
.steam-char:nth-child(15) { --dx: -45px; --dy: -40px; --rot: -35deg; }
.steam-char:nth-child(16) { --dx: 25px; --dy: 75px; --rot: 22deg; }
.steam-char:nth-child(17) { --dx: -70px; --dy: -50px; --rot: -52deg; }
.steam-char:nth-child(18) { --dx: 65px; --dy: -60px; --rot: 55deg; }
.steam-char:nth-child(19) { --dx: -38px; --dy: 60px; --rot: -32deg; }
.steam-char:nth-child(20) { --dx: 48px; --dy: -70px; --rot: 40deg; }
.steam-char:nth-child(21) { --dx: -28px; --dy: -35px; --rot: -20deg; }
.steam-char:nth-child(22) { --dx: 32px; --dy: 45px; --rot: 26deg; }
.steam-char:nth-child(23) { --dx: -52px; --dy: -75px; --rot: -45deg; }
.steam-char:nth-child(24) { --dx: 58px; --dy: 55px; --rot: 50deg; }
.steam-char:nth-child(25) { --dx: -42px; --dy: -50px; --rot: -38deg; }
.steam-char:nth-child(26) { --dx: 38px; --dy: 68px; --rot: 30deg; }
.steam-char:nth-child(27) { --dx: -48px; --dy: -55px; --rot: -40deg; }
.steam-char:nth-child(28) { --dx: 52px; --dy: -65px; --rot: 46deg; }
.steam-char:nth-child(29) { --dx: -32px; --dy: 48px; --rot: -28deg; }
.steam-char:nth-child(30) { --dx: 68px; --dy: -58px; --rot: 58deg; }
.steam-char:nth-child(31) { --dx: -58px; --dy: 62px; --rot: -50deg; }
.steam-char:nth-child(32) { --dx: 42px; --dy: -48px; --rot: 36deg; }
.steam-char:nth-child(33) { --dx: -46px; --dy: 52px; --rot: -42deg; }
.steam-char:nth-child(34) { --dx: 36px; --dy: -72px; --rot: 32deg; }

@media (max-width: 620px) {
  .hero__tagline {
    padding-left: 14px;
    border-left-width: 3px;
    margin-bottom: 16px;
    font-size: 18px;
    white-space: normal;
  }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--deep); color: var(--pale); overflow: hidden; padding: 15px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
@keyframes marquee { 
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
}

/* ---------- Stat band (2000+) ---------- */
.statband { background: var(--deep); color: #fff; position: relative; overflow: hidden; padding: 72px 0; }
.statband::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Ccircle cx='18' cy='18' r='1.6' fill='%23ffffff' fill-opacity='0.10'/%3E%3C/svg%3E");
  mask-image: radial-gradient(ellipse 80% 120% at 15% 50%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse 80% 120% at 15% 50%, #000 0%, transparent 65%);
  pointer-events: none;
}
.statband__inner { position: relative; display: flex; align-items: center; gap: 60px; }
.statband__num {
  font-size: clamp(84px, 10vw, 132px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--leaf);
  flex: none;
  font-variant-numeric: tabular-nums;
}
.statband__num sup { font-size: 0.42em; letter-spacing: 0; margin-left: 2px; }
.statband__text b { display: block; font-size: clamp(20px, 2.1vw, 27px); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 12px; }
.statband__text p { color: rgba(255, 255, 255, 0.62); font-size: 15.5px; max-width: 56ch; }
@media (max-width: 760px) {
  .statband { padding: 54px 0; }
  .statband__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section--dark { background: var(--deep); color: #fff; }
.section--dark .section__sub { color: rgba(255, 255, 255, 0.65); }
.section--cream { background: var(--cream); }
.section__head { max-width: 720px; margin-bottom: 60px; }
.section__sub { margin-top: 16px; color: var(--muted); font-size: 17.5px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 34px 30px 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s;
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(9, 53, 46, 0.12);
  background: var(--white);
}
.service__icon { width: 40px; height: 40px; color: var(--green); margin-bottom: 20px; }
.service h3 { font-size: 19px; margin-bottom: 12px; }
.service p { font-size: 15px; color: var(--muted); }
.service__num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  opacity: 0.55;
}

/* ---------- Hazard classes ---------- */
.classes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hclass {
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 30px 26px;
  background: rgba(255, 255, 255, 0.04);
  transition: background-color 0.3s, transform 0.35s var(--ease);
}
.hclass:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-4px); }
.hclass__badge {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  font-size: 22px;
  font-weight: 800;
  color: var(--deep);
  background: var(--leaf);
  clip-path: var(--radius-clip-sm);
  margin-bottom: 20px;
}
.hclass h3 { font-size: 17.5px; margin-bottom: 10px; }
.hclass p { font-size: 14.5px; color: rgba(255, 255, 255, 0.62); }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  border-top: 2px solid var(--line);
  padding-top: 26px;
  position: relative;
  transition: border-color 0.3s;
}
.step:hover { border-color: var(--green); }
.step__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--green);
  display: block;
  margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about__media img {
  clip-path: polygon(42px 0, 100% 0, 100% 100%, 0 100%, 0 42px);
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
  width: 100%;
}
.about__content h2 { margin-bottom: 20px; }
.about__content p { color: var(--muted); margin-bottom: 16px; }
.about__facts { list-style: none; margin-top: 30px; border-top: 1px solid rgba(12, 43, 34, 0.16); }
.about__facts li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(12, 43, 34, 0.16);
  font-size: 14.5px;
}
.about__facts span { color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; padding-top: 2px; flex: none; }
.about__facts b { text-align: right; font-weight: 700; }

/* ---------- Licenses ---------- */
.licenses { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 720px; }
.license {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px 38px;
  clip-path: var(--radius-clip);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.license:hover { box-shadow: 0 24px 60px rgba(9, 53, 46, 0.12); transform: translateY(-4px); }
.license__icon { width: 44px; height: 44px; color: var(--green); margin-bottom: 22px; }
.license h3 { font-size: 20px; margin-bottom: 22px; }
.license dl div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.license dt { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.license dd { font-weight: 600; }
.license__scope {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--brand);
  font-weight: 600;
  background: var(--pale);
  padding: 12px 16px;
  clip-path: var(--radius-clip-sm);
}

/* ---------- Contacts ---------- */
.contacts { display: grid; grid-template-columns: 1fr 460px; gap: 80px; align-items: start; }
.contacts__info h2 { margin-bottom: 40px; }
.contacts__list { list-style: none; }
.contacts__list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contacts__list span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.contacts__list a { font-size: 24px; font-weight: 800; text-decoration: none; }
.contacts__list a:hover { color: var(--leaf); }
.contacts__list b { font-size: 16.5px; font-weight: 600; line-height: 1.5; }

/* ---------- Form ---------- */
.form { background: var(--white); color: var(--ink); padding: 38px 34px; clip-path: var(--radius-clip); }
.form__title { font-size: 21px; margin-bottom: 10px; }
.form__alt { font-size: 14px; color: var(--muted); margin-bottom: 22px; line-height: 1.55; }
.form__alt a { font-weight: 700; color: var(--green); text-decoration: none; }
.form__alt a:hover { text-decoration: underline; }
.contacts__mail { word-break: break-all; }
.field { display: block; margin-bottom: 18px; }
.field span {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 15.5px;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 127, 36, 0.14);
}
.form__submit { width: 100%; margin-top: 6px; }
.form__note { font-size: 12.5px; color: var(--muted); margin-top: 14px; text-align: center; }
.form__success {
  margin-top: 16px;
  background: var(--pale);
  color: var(--darkest);
  font-size: 14.5px;
  padding: 14px 16px;
  clip-path: var(--radius-clip-sm);
}
.form__success a { font-weight: 800; white-space: nowrap; }

/* ---------- Footer ---------- */
.footer { background: var(--darkest); color: rgba(255, 255, 255, 0.75); padding: 64px 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 48px;
}
.footer__logo { width: 54px; height: 54px; object-fit: contain; background: #fff; padding: 6px; border-radius: 10px; margin-bottom: 18px; }
.footer__brand p { font-size: 14.5px; max-width: 30ch; }
.footer__col h4 {
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 16px;
}
.footer__col p, .footer__col a { font-size: 14.5px; line-height: 1.7; }
.footer__col a { display: block; text-decoration: none; margin-bottom: 6px; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 32px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Inner pages ---------- */
.container--narrow { max-width: 900px; }

.section--tight { padding: 80px 0; }
.section--first { padding-top: 40px; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
}
.page-hero .hero__dots {
  mask-image: radial-gradient(ellipse 80% 90% at 80% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 80% 0%, #000 0%, transparent 70%);
}
.page-hero__title { font-size: clamp(32px, 4.2vw, 52px); margin-bottom: 20px; max-width: 20ch; }
.page-hero__lead { font-size: clamp(16.5px, 1.4vw, 19px); color: var(--muted); max-width: 62ch; margin-bottom: 32px; }
.page-hero .container { position: relative; }

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 30px;
}
.breadcrumbs a { text-decoration: none; color: var(--brand); }
.breadcrumbs a:hover { color: var(--green); }
.breadcrumbs__sep { color: var(--line); }
.breadcrumbs span:last-child { color: var(--muted); }

.nav__link--active { color: var(--green); background-size: 100% 2px; }

/* service cards as links */
a.service, a.service:hover { display: block; text-decoration: none; color: inherit; }
a.service h3 { transition: color 0.25s; }
a.service:hover h3 { color: var(--green); }

.services--related { grid-template-columns: repeat(3, 1fr); }

/* callout */
.callout {
  background: var(--pale);
  padding: 44px 42px;
  clip-path: var(--radius-clip);
}
.callout h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 16px; }
.callout > p { color: var(--muted); margin-bottom: 22px; }
.callout__list { list-style: none; }
.callout__list li {
  position: relative;
  padding: 12px 0 12px 34px;
  border-bottom: 1px dashed rgba(12, 43, 34, 0.18);
  font-size: 15.5px;
}
.callout__list li:last-child { border-bottom: 0; }
.callout__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 16px;
  height: 16px;
  background: var(--green);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

/* waste types */
.wtypes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.wtype {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  padding: 26px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.wtype:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(9, 53, 46, 0.1); }
.wtype h3 { font-size: 17.5px; margin-bottom: 8px; }
.wtype p { font-size: 14.5px; color: var(--muted); }

/* faq */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq__item[open] { border-color: rgba(0, 127, 36, 0.4); box-shadow: 0 14px 36px rgba(9, 53, 46, 0.08); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16.5px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev {
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
  margin-right: 4px;
}
.faq__item[open] .faq__chev { transform: rotate(225deg); }
.faq__answer {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
  max-width: 70ch;
}
.faq-group { margin-bottom: 56px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group__title { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 24px; }

/* why */
.why {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 44px;
  max-width: 1000px;
}
.why li {
  position: relative;
  padding: 18px 0 18px 34px;
  border-bottom: 1px dashed rgba(12, 43, 34, 0.18);
  font-size: 15.5px;
}
.why li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 23px;
  width: 16px;
  height: 16px;
  background: var(--green);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

/* steps grid variants */
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.steps--4 { grid-template-columns: repeat(4, 1fr); }

/* cta band */
.cta-band { background: var(--deep); color: #fff; padding: 72px 0; }
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, 0.65); max-width: 52ch; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-band__phone { font-size: 26px; font-weight: 800; text-decoration: none; }
.cta-band__phone:hover { color: var(--leaf); }
.cta-band__mail { color: rgba(255, 255, 255, 0.65); text-decoration: none; font-weight: 600; font-size: 16px; margin-top: -8px; }
.cta-band__mail:hover { color: var(--leaf); }
.btn--light { background: #fff; color: var(--deep); }
.btn--light:hover { background: var(--leaf); color: var(--deep); }

/* map */
.map {
  border: 1px solid var(--line);
  clip-path: var(--radius-clip);
  overflow: hidden;
  background: var(--pale);
}
.map iframe { width: 100%; height: 420px; border: 0; display: block; }
.map__note { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.map__note a { font-weight: 700; white-space: nowrap; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.services .reveal:nth-child(2), .classes .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.services .reveal:nth-child(3), .classes .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: 0.16s; }
.services .reveal:nth-child(4), .classes .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: 0.24s; }
.services .reveal:nth-child(5) { transition-delay: 0.32s; }
.services .reveal:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1300px) {
  .nav { display: none; }
  .header__cta .btn { display: none; }
  .burger { display: block; margin-left: auto; }
  .header__cta { margin-left: auto; }
  .burger { margin-left: 0; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--paper);
    padding: 20px 32px 28px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(9, 53, 46, 0.1);
  }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 60px 0 80px; }
  .hero__media { max-width: 640px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .classes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .licenses { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; gap: 56px; }
  .form { max-width: 560px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .wtypes { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .steps--3, .steps--4 { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .services--related { grid-template-columns: repeat(2, 1fr); }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 44px 0 56px; }
}

@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .services, .classes, .steps { grid-template-columns: 1fr; }
  .hero__facts { gap: 26px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__actions .btn, .hero__max { justify-content: center; text-align: center; }
  .hero__max { display: inline-flex; height: 52px; box-sizing: border-box; }
  .header__phone, .header__mail, .header__max-label, .header__max { display: none; }
  .license { padding: 30px 24px; }
  .license dl div { grid-template-columns: 1fr; gap: 2px; }
  .contacts__list a { font-size: 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .steps--3, .steps--4 { grid-template-columns: 1fr; }
  .services--related { grid-template-columns: 1fr; }
  .callout { padding: 30px 24px; }
  .cta-band__phone { font-size: 22px; }
  .map iframe { height: 320px; }
  .section--tight { padding: 64px 0; }
}
