/* =========================================================
   Reset
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: inherit;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button {
  cursor: pointer;
  background: transparent;
}

input:focus,
button:focus,
a:focus {
  outline: none;
}

/* =========================================================
   Переменные
   ========================================================= */
:root {
  --bg: #f6f4ec;
  --bg-green: #e8f2e4;
  --bg-white: #ffffff;
  --bg-footer: #22493a;

  --text: #2c3a33;
  --text-2: #55635a;
  --text-3: #6b7a6e;
  --text-4: #8b958c;
  --text-5: #a99f8c;

  --green-dark: #22493a;
  --green: #2f6b4f;
  --green-mid: #37855b;
  --green-light: #4aa976;
  --green-bg: #eef4ea;
  --green-bg-2: #d7e8cf;

  --border: #e3dfd0;
  --border-2: #ece8da;
  --border-input: #dcd8c8;

  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  --sh-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);
  --sh: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);
  --sh-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
  --sh-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
  --sh-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);

  --container: 1280px;
}

/* =========================================================
   Скроллбар
   ========================================================= */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(47, 107, 79, .35);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(47, 107, 79, .6);
}

/* =========================================================
   Контейнер
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}


/* =========================================================
   Секции
   ========================================================= */
.section {
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 6rem 0;
  }
}

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

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

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

.section-header {
  max-width: 42rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green);
}

.section-label::before {
  content: "";
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--green);
}

.section-title {
  margin-top: 1rem;
  font-size: 1.875rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--green-dark);
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

.section-subtitle {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--text-2);
}

.section-cta {
  margin-top: 3rem;
  text-align: center;
}

/* =========================================================
   Кнопки
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  white-space: nowrap;
  text-align: center;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}

.fa-arrow-down {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.fa-arrow-up-right-from-square {
  font-size: 0.75rem;
  line-height: 1rem;
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.btn-wide {
  padding: 0.875rem 2rem;
}

.btn-form {
  padding: 0.875rem 1.5rem;
  border-radius: var(--r);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #4aa976 0%, #37855b 50%, #2f6b4f 100%);
  color: #fff;
  box-shadow: 0 0 24px rgba(47, 107, 79, .5);
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  box-shadow: 0 0 32px rgba(47, 107, 79, .7);
  transform: translateY(-2px);
}

.btn-primary:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.btn-secondary {
  background: #fff;
  color: var(--green);
  border-color: rgba(47, 107, 79, .3);
  box-shadow: var(--sh-sm);
}

.btn-secondary:hover {
  background: rgba(47, 107, 79, .05);
}

/* =========================================================
   Шапка
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 236, .95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}

.header.is-scrolled {
  box-shadow: 0 6px 20px rgba(34, 73, 58, .08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

/* Логотип */
.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 1.125rem;
  line-height: 1;
  box-shadow: var(--sh-sm);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-name {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--green-dark);
}

.logo-tagline {
  font-size: 11px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-3);
}

/* Навигация */
.main-nav {
  display: none;
  gap: 1.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #3c4b41;
}

.main-nav a {
  transition: color .2s;
}

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

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
}

/* Кнопки в шапке */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-actions .btn {
  display: none;
}

@media (min-width: 640px) {
  .header-actions .btn {
    display: inline-flex;
  }
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--green);
  font-size: 1.125rem;
  line-height: 1;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle.is-open .icon-menu {
  display: none;
}

.menu-toggle.is-open .icon-close {
  display: block;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

/* Мобильное меню */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.mobile-link {
  padding: 0.75rem;
  border-radius: var(--r);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #3c4b41;
  transition: background .2s, color .2s;
}

.mobile-link:hover {
  background: var(--green-bg);
  color: var(--green);
}

.mobile-nav .btn {
  margin-top: 0.5rem;
  padding: 0.875rem 1.25rem;
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 3.5rem;
}

@media (min-width: 1024px) {
  .hero {
    padding: 4rem 0 5rem;
  }
}

.hero-decor {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}

.hero-decor-1 {
  top: -6rem;
  right: -6rem;
  width: 24rem;
  height: 24rem;
  background: rgba(168, 194, 154, .2);
}

.hero-decor-2 {
  top: 10rem;
  left: -8rem;
  width: 20rem;
  height: 20rem;
  background: rgba(232, 220, 192, .4);
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: var(--r-full);
  background: #fff;
  border: 1px solid var(--border-input);
  color: var(--green);
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  margin-top: 1.5rem;
  font-size: 1.85rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--green-dark);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
    line-height: 1;
  }
}

.hero-subtitle {
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--text-2);
  max-width: 36rem;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--text-3);
  max-width: 28rem;
}

.hero-image {
  position: relative;
}

.hero-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
}

.hero-badge-card {
  position: absolute;
  bottom: -1.25rem;
  left: -1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--sh-lg);
  max-width: 220px;
}

@media (min-width: 640px) {
  .hero-badge-card {
    left: -2rem;
  }
}

.hero-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green);
  font-size: 1.125rem;
  line-height: 1;
}

.hero-badge-body {
  display: block;
}

.hero-badge-title {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--green-dark);
}

.hero-badge-text {
  display: block;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--text-3);
}

/* =========================================================
   Карточки товаров
   ========================================================= */
.product-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform .3s, box-shadow .3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}

.product-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f1efe6;
  transition: transform .5s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
}

.product-title {
  font-size: 1.125rem;
  line-height: 1.375;
  font-weight: 600;
  color: var(--green-dark);
}

.product-desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--text-3);
  flex: 1;
}

.product-price-row {
  margin-top: 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.product-old-price {
  display: block;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--text-5);
  text-decoration: line-through;
}

.product-price {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--green);
}

.product-link {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--r-full);
  background: var(--green-bg);
  color: var(--green);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  transition: background .2s, color .2s;
}

.product-link:hover {
  background: var(--green);
  color: #fff;
}

/* =========================================================
   Преимущества
   ========================================================= */
.feature-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--r-xl);
  background: var(--bg);
  border: 1px solid var(--border-2);
  transition: transform .3s, box-shadow .3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.feature-emoji {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.feature-title {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: var(--green-dark);
}

.feature-desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--text-3);
}

/* =========================================================
   Видео
   ========================================================= */
.video-grid {
  margin-top: 4rem;
  display: grid;
  gap: 1.5rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.video-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--bg-green);
  border: 1px solid var(--green-bg-2);
  aspect-ratio: 3 / 4;
}

.video-open {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: var(--sh-lg);
  transition: transform .3s, background .3s;
}

.video-play-btn i {
  margin-left: 4px;
}

.video-open:hover .video-play-btn {
  transform: scale(1.1);
  background: var(--green-dark);
}

.video-label {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}

.video-tile-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-empty {
  text-align: center;
  padding: 0 1.5rem;
}

.video-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: var(--sh-sm);
}

.video-empty-icon i {
  margin-left: 3px;
}

.video-empty-title {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: var(--green-dark);
}

.video-empty-text {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--text-3);
}

/* =========================================================
   Возможности
   ========================================================= */
.opportunity-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .opportunity-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.opportunity-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
}

.opportunity-img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  transition: transform .5s;
}

@media (min-width: 640px) {
  .opportunity-img {
    height: 20rem;
  }
}

.opportunity-card:hover .opportunity-img {
  transform: scale(1.05);
}

.opportunity-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(34, 73, 58, .85) 0%, rgba(34, 73, 58, .3) 40%, transparent 100%);
}

.opportunity-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: #fff;
}

@media (min-width: 640px) {
  .opportunity-body {
    padding: 2rem;
  }
}

.opportunity-title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
}

.opportunity-desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: #eaf2e9;
  max-width: 28rem;
}

@media (min-width: 640px) {
  .opportunity-desc {
    font-size: 1rem;
    line-height: 1.625;
  }
}

/* =========================================================
   Контакты
   ========================================================= */
.contacts-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contacts-grid {
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    align-items: start;
  }
}

.contact-list {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .contact-list {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: var(--r-lg);
  background: var(--bg);
  border: 1px solid var(--border-2);
  transition: background .2s, border-color .2s;
}

.contact-card:hover {
  background: var(--green-bg);
  border-color: #cfe0c2;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--border);
  color: var(--green);
  font-size: 1rem;
  line-height: 1;
  box-shadow: var(--sh-sm);
  transition: background .2s, color .2s;
}

.contact-card:hover .contact-icon {
  background: var(--green);
  color: #fff;
}

.contact-body {
  min-width: 0;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--text-3);
}

.contact-value {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--green-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =========================================================
   Форма
   ========================================================= */
.form-card {
  padding: 1.5rem;
  border-radius: var(--r-xl);
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
}

@media (min-width: 640px) {
  .form-card {
    padding: 2rem;
  }
}

.form-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r);
  background: var(--green-bg);
  color: var(--green);
  font-size: 1.125rem;
  line-height: 1;
}

.form-card-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--green-dark);
}

.form-card-subtitle {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--text-3);
}

.lead-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #3c4b41;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--r);
  border: 1px solid var(--border-input);
  background: #fff;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}

.form-input::placeholder {
  color: #a9b0a6;
}

.form-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 107, 79, .15);
}

.form-input.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .12);
}

.form-error {
  display: none;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: #dc2626;
}

.form-group.has-error .form-error {
  display: block;
}

.form-checkbox-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #3c4b41;
}

.form-checkboxes {
  display: grid;
  gap: 0.625rem;
}

@media (min-width: 640px) {
  .form-checkboxes {
    grid-template-columns: 1fr 1fr;
  }
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--border-input);
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #3c4b41;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.form-checkbox:hover {
  border-color: #cfe0c2;
  background: #fafdf9;
}

.form-checkbox input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--green);
  flex-shrink: 0;
}

.form-note {
  font-size: 0.75rem;
  line-height: 1.625;
  color: var(--text-4);
}

/* =========================================================
   Подвал
   ========================================================= */
.footer {
  background: var(--bg-footer);
  color: #c3d2c8;
}

.footer .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #cfe0c2;
  font-size: 1rem;
  line-height: 1;
}

.footer-brand-name {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: #fff;
}

.footer-brand-tagline {
  font-size: 0.75rem;
  line-height: 1rem;
  color: #8fa89b;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.footer-nav a {
  transition: color .2s;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  line-height: 1rem;
  color: #8fa89b;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* =========================================================
   Модалка с видео
   ========================================================= */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, .8);
  opacity: 0;
  transition: opacity .25s ease;
}

.video-modal.is-open {
  display: flex;
  opacity: 1;
}

.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 48rem;
}

.video-modal-close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 1.125rem;
  line-height: 1;
  transition: background .2s;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, .2);
}

.video-modal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #000;
}

.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* =========================================================
   Тост
   ========================================================= */
.toast {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 110;
  display: none;
  max-width: 24rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
}

@media (min-width: 640px) {
  .toast {
    bottom: 2rem;
    right: 2rem;
  }
}

.toast.is-open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.toast-body {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--sh-xl);
}

.toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green);
  font-size: 1rem;
  line-height: 1;
}

.toast-title {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--green-dark);
}

.toast-text {
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--text-3);
}

/* =========================================================
   Появление секций
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}