:root {
  --bg: #0a0a0a;
  --bg-muted: #111111;
  --text: #f0fdf4;
  --muted: #9ca3af;
  --line: rgba(255, 255, 255, 0.08);
  --primary: #22c55e;
  --primary-hover: #4ade80;
  --primary-soft: rgba(34, 197, 94, 0.16);
  --brand-navy: #ffffff;
  --accent-blue: #22c55e;
  --accent-cyan: #4ade80;
  --link: #4ade80;
  --container: 1120px;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

[data-theme="light"] {
  --bg: #ffffff;
  --bg-muted: #f0fdf4;
  --text: #052e16;
  --muted: #4b5563;
  --line: #d1fae5;
  --primary: #16a34a;
  --primary-hover: #15803d;
  --primary-soft: #dcfce7;
  --brand-navy: #052e16;
  --accent-blue: #16a34a;
  --accent-cyan: #22c55e;
  --link: #15803d;
  --shadow: 0 4px 20px rgba(5, 46, 22, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* Header */
.head {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.head__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
}

.logo__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 42%, var(--primary) 100%);
  box-shadow: 0 2px 8px rgba(0, 114, 188, 0.25);
  display: block;
}

.logo--foot .logo__icon {
  background: linear-gradient(135deg, #0a5a8c 0%, #00a8d4 45%, #0d9f5f 100%);
}

.logo:not(.fincpa-logo) .logo__fin {
  color: var(--brand-navy);
}

.logo:not(.fincpa-logo) .logo__cpa {
  color: var(--primary);
}

.logo__text {
  letter-spacing: -0.02em;
}

.head__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.burger span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.nav-wrap {
  border-top: 1px solid var(--line);
  background: var(--bg-muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding: 10px 0;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
}

.nav a:hover {
  color: var(--primary);
}

.nav.is-open {
  display: flex;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn--primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn--outline:hover {
  background: var(--primary-soft);
}

.btn--light {
  background: var(--bg);
  color: var(--text);
  border-color: var(--line);
}

.btn--light:hover {
  border-color: #cfd6e4;
  background: var(--bg-muted);
}

.btn--lg {
  padding: 12px 22px;
  font-size: 15px;
}

.btn--block {
  width: 100%;
}

.btn--soft {
  background: var(--bg-muted);
  color: var(--text);
  border-color: var(--line);
}

.btn--soft:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn--on-dark {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hero */
.hero {
  padding: 40px 0 36px;
  background: linear-gradient(180deg, var(--bg-muted) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.hero__title {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero__lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
  max-width: 54ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-card {
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.hero-card--accent {
  border-color: var(--primary-soft);
  background: var(--primary-soft);
}

.hero-card__label {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.hero-card__val {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.hero-card--accent .hero-card__val {
  color: var(--primary-hover);
}

/* Stats */
.stats {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
}

.stat-item__num {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.stat-item__txt {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 48px 0;
}

.section--muted {
  background: var(--bg-muted);
}

.h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.h2--center {
  text-align: center;
}

.lead {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 70ch;
}

.lead--tight {
  margin-bottom: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feat {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.feat__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
}

.feat__text {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.steps--animate .step {
  opacity: 0;
  transform: translateY(28px);
}

.steps--animate.is-visible .step {
  animation: step-rise 0.65s ease forwards;
}

.steps--animate.is-visible .step:nth-child(1) {
  animation-delay: 0.05s;
}

.steps--animate.is-visible .step:nth-child(2) {
  animation-delay: 0.2s;
}

.steps--animate.is-visible .step:nth-child(3) {
  animation-delay: 0.35s;
}

@keyframes step-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.steps--animate.is-visible .step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.step__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
}

.step__text {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.section__head--simple {
  margin-bottom: 16px;
}

.section__head--simple .h2 {
  margin-bottom: 0;
}

.link-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--link);
  text-decoration: none;
}

.link-all:hover {
  text-decoration: underline;
}

.lead--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section--offers {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-muted) 100%);
}

/* Интерактивные «пластиковые» офферы */
.plastic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 22px;
  margin-top: 12px;
  perspective: 1400px;
}

.plastic {
  position: relative;
  aspect-ratio: 1.65 / 1;
  min-height: 0;
  border-radius: 18px;
  outline: none;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
}

.plastic__glow {
  position: absolute;
  inset: -8px;
  border-radius: 22px;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.5), transparent 55%);
  filter: blur(12px);
}

.plastic:hover .plastic__glow,
.plastic:focus-within .plastic__glow {
  opacity: 0.55;
}

.plastic__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.plastic.is-flipped .plastic__inner {
  transform: rotateY(180deg);
}

.plastic__face {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 18px 18px 16px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18), 0 1px 0 rgba(255, 255, 255, 0.12) inset;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.plastic__face--front {
  transform: translateZ(1px);
}

.plastic__face::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -30%;
  width: 70%;
  height: 120%;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.35), transparent 55%);
  opacity: 0.25;
  pointer-events: none;
  transform: rotate(12deg);
}

.plastic__face--back {
  transform: rotateY(180deg) translateZ(1px);
  background: #1a1f2e !important;
  color: #e8ecf4;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.plastic__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.plastic__bank {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.plastic__flip {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.12);
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s, background 0.2s;
}

.plastic__flip:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.06);
}

.plastic__chip {
  margin: 10px 0 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
  position: relative;
  z-index: 1;
}

.plastic__title {
  margin: 6px 0 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}

.plastic__metrics {
  display: flex;
  gap: 14px;
  margin-top: auto;
  padding-top: 12px;
  position: relative;
  z-index: 1;
}

.plastic__metrics span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.plastic__metrics small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.plastic__metrics strong {
  font-size: 15px;
  font-weight: 700;
}

.plastic__pan {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  opacity: 0.88;
  position: relative;
  z-index: 1;
}

.plastic__cta {
  margin-top: 12px;
  display: block;
  text-align: center;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.22);
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background 0.2s, transform 0.15s;
  position: relative;
  z-index: 1;
}

.plastic__cta:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.plastic__back-title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9aa3b8;
}

.plastic__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.plastic__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plastic__list span {
  color: #9aa3b8;
}

.plastic__hint {
  margin: 12px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: #7d8699;
}

/* Цвета «как у брендов» — упрощённо, без логотипов */
[data-bank="sber"] .plastic__face--front {
  background: linear-gradient(145deg, #21a038 0%, #0d6e2a 55%, #064d1d 100%);
  color: #fff;
}

[data-bank="tbank"] .plastic__face--front {
  background: linear-gradient(145deg, #ffdd2d 0%, #333 42%, #1a1a1a 100%);
  color: #fff;
}

[data-bank="tbank"] .plastic__chip {
  color: #ffe875;
}

[data-bank="vtb"] .plastic__face--front {
  background: linear-gradient(145deg, #0a4ea3 0%, #003978 50%, #00254d 100%);
  color: #fff;
}

[data-bank="alfa"] .plastic__face--front {
  background: linear-gradient(145deg, #ef3124 0%, #b01010 45%, #5c0610 100%);
  color: #fff;
}

[data-bank="gpb"] .plastic__face--front {
  background: linear-gradient(145deg, #004c97 0%, #002e5c 50%, #001a35 100%);
  color: #fff;
}

[data-bank="sovcom"] .plastic__face--front {
  background: linear-gradient(145deg, #e85d04 0%, #9c2b0e 50%, #4a1308 100%);
  color: #fff;
}

/* Партнёры — сетка плиток */
.platform-flow {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.platform-flow__step {
  flex: 1;
  min-width: 180px;
  padding: 20px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.platform-flow__num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}

.platform-flow__step h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.platform-flow__step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.platform-flow__arrow {
  display: flex;
  align-items: center;
  font-size: 22px;
  color: var(--primary);
  padding: 0 4px;
}

.rules-placeholder {
  margin-top: 16px;
  padding: 24px;
  border-radius: 12px;
  border: 2px dashed var(--line);
  background: var(--bg);
}

.rules-placeholder__hint {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Партнёры — бегущая строка */
@keyframes partner-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partner-marquee {
  margin-top: 28px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.partner-marquee__track {
  display: flex;
  width: max-content;
  animation: partner-marquee-scroll 42s linear infinite;
}

.partner-marquee:hover .partner-marquee__track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .partner-marquee__track {
    animation: none;
    transform: none;
  }
}

.partner-marquee__group {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 20px 32px 8px;
}

.partner-marquee__item {
  flex-shrink: 0;
}

.partner-marquee__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}

.partner-marquee__logo--svg {
  width: 140px;
}

.partner-marquee__logo--icon {
  width: 72px;
  height: 72px;
  padding: 10px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.partner-marquee__img {
  display: block;
  max-width: 100%;
  height: auto;
}

.partner-marquee__img--svg {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.partner-marquee__img--png {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.partner-marquee__fallback {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 18px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.partner-grid--modern {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}

.partner-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 12px 16px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s;
  text-align: center;
}

.partner-grid--modern .partner-tile {
  padding: 20px 14px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-muted) 100%);
  border-color: var(--line);
}

.partner-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
  border-color: #d0d8e6;
}

.partner-tile__logo {
  width: 100%;
  max-width: 200px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-tile__logo--icon {
  min-height: 88px;
  padding: 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--bg), var(--bg-muted));
  border: 1px solid var(--line);
}

.partner-tile__img {
  display: block;
  max-width: 100%;
  height: auto;
}

.partner-tile__img--svg {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.partner-tile__img--png {
  width: 56px;
  height: 56px;
  object-fit: contain;
  image-rendering: auto;
}

.partner-tile__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.partner-tile:hover .partner-tile__name {
  color: var(--primary);
}

.partner-tile__fallback {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 20px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.split__col .h2 {
  margin-bottom: 10px;
}

.ul {
  margin: 0 0 20px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}

.ul li {
  margin-bottom: 8px;
}

/* CTA */
.cta {
  padding: 48px 0;
}

.cta__panel {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.cta__banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 32px;
  background: linear-gradient(120deg, #072b45 0%, #0072bc 38%, #00aeef 72%, #12b76a 100%);
  color: #fff;
}

.cta__title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
}

.cta__text {
  margin: 0;
  opacity: 0.92;
  font-size: 15px;
  max-width: 46ch;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lead-form {
  position: relative;
  padding: 28px 32px 32px;
  display: grid;
  gap: 8px;
  max-width: 100%;
  background: var(--bg);
  color: var(--text);
  border-top: 1px solid var(--line);
}

.lead-form__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.lead-form__hint {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.lead-form__code {
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-muted);
  color: var(--text);
}

.lead-form__mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
}

.lead-form__label {
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
  color: var(--text);
}

.lead-form__label:first-of-type {
  margin-top: 0;
}

.lead-form__opt {
  font-weight: 400;
  color: var(--muted);
}

.lead-form__help {
  margin: -4px 0 4px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.lead-form__input {
  width: 100%;
  padding: 11px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lead-form__input:focus {
  outline: none;
  border-color: rgba(13, 110, 77, 0.45);
  box-shadow: 0 0 0 3px rgba(13, 110, 77, 0.12);
}

.lead-form__input.lead-form__input--invalid {
  border-color: #c62828;
}

.lead-form__input.lead-form__input--invalid:focus {
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12);
}

.lead-form__textarea {
  resize: vertical;
  min-height: 88px;
}

.lead-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-form__status {
  margin: 8px 0 0;
  min-height: 1.35em;
  font-size: 14px;
  line-height: 1.45;
}

.lead-form__status.is-ok {
  color: var(--primary);
  font-weight: 500;
}

.lead-form__status.is-err {
  color: #9b1c1c;
}

.lead-form__submit {
  margin-top: 10px;
  justify-self: start;
  border: none;
  cursor: pointer;
}

.lead-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 40px 0 20px;
  background: var(--bg-muted);
}

.foot__grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.foot__tagline {
  margin: 10px 0 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 280px;
}

.foot__cols {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.foot__cols > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.foot__h {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.foot__cols a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}

.foot__cols a:hover {
  color: var(--primary);
}

.foot__bottom {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.foot__years {
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .steps {
    grid-template-columns: 1fr;
  }

  .plastic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .burger {
    display: flex;
  }

  .nav-wrap .nav {
    display: none;
    flex-direction: column;
    padding: 12px 0 16px;
    gap: 0;
  }

  .nav-wrap .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .plastic-grid {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    grid-template-columns: 1fr;
  }
}
