* {
  box-sizing: border-box;
}

@font-face {
  font-family: "Work Sans";
  src: url("./Шрифт Work Sans SG/WORKSANSGX.TTF") format("truetype");
  font-display: swap;
  font-weight: 100 900;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: #001f0b;
  color: #fff;
  font-family: "Work Sans", "Inter", "Arial", sans-serif;
}

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

button,
input,
textarea {
  font: inherit;
}

.scale-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.page {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1920px;
  height: 6595px;
  transform-origin: top center;
  translate: -50% 0;
  overflow: hidden;
  background: #004415 url("./фон-full.webp") center top / 1920px 6595px no-repeat;
  opacity: 0;
  transition: opacity 0.55s ease;
}

body.is-loaded .page {
  opacity: 1;
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page::before {
  display: none;
}

.page::after {
  display: none;
}

.section,
.asset {
  position: absolute;
}

.section {
  z-index: 1;
}

.asset {
  display: block;
  user-select: none;
}

.header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 1920px;
  height: 100px;
  background: url("./Rectangle 3.webp") center top / 1920px 100px no-repeat;
}

.header-logo {
  position: absolute;
  top: 30px;
  left: 162px;
  width: 246px;
  height: 40px;
}

.header-logo img,
.nav img {
  display: block;
  width: 100%;
  height: 100%;
}

.nav a {
  position: absolute;
  display: block;
  isolation: isolate;
  border-radius: 999px;
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

.nav a::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 6px -10px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(0, 68, 21, 0.38);
  box-shadow: inset 0 0 0 1px rgba(97, 238, 144, 0.18), 0 0 22px rgba(97, 238, 144, 0.2);
  opacity: 0;
  transform: scaleX(0.92);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.nav a:hover::before,
.nav a:focus-visible::before {
  opacity: 1;
  transform: scaleX(1);
}

.nav a:hover img,
.nav a:focus-visible img {
  filter: brightness(1.16) drop-shadow(0 0 12px rgba(97, 238, 144, 0.42));
}

/* Текстовый пункт меню (вместо SVG) — тот же Work Sans, что на сайте */
.nav a.nav-text {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Work Sans", "Inter", "Arial", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav a.nav-text:hover,
.nav a.nav-text:focus-visible {
  text-shadow: 0 0 12px rgba(97, 238, 144, 0.5);
}

/* English text navigation */
.nav--en {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 440px;
  width: 1340px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header .nav.nav--en a {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  display: block;
  padding: 12px 16px;
  margin: -12px -16px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 180ms ease, transform 180ms ease, color 180ms ease, text-shadow 180ms ease;
}

.header .nav.nav--en a::before {
  inset: 4px 0;
}

.header .nav.nav--en a:hover,
.header .nav.nav--en a:focus-visible {
  opacity: 1;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(97, 238, 144, 0.5);
  transform: translateY(-2px);
}

.header .nav.nav--en .nav-lang {
  font-weight: 700;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.nav a:nth-child(1) {
  top: 26px;
  left: 469px;
  width: 103px;
  height: 51px;
}

.nav a:nth-child(2) {
  top: 26px;
  left: 688px;
  width: 110px;
  height: 51px;
}

.nav a:nth-child(3) {
  top: 26px;
  left: 915px;
  width: 102px;
  height: 51px;
}

.nav a:nth-child(4) {
  top: 26px;
  left: 1134px;
  width: 144px;
  height: 51px;
}

.nav a:nth-child(5) {
  top: 26px;
  left: 1396px;
  width: 196px;
  height: 51px;
}

.nav a:nth-child(6) {
  top: 26px;
  left: 1708px;
  width: 66px;
  height: 51px;
}

.hero {
  top: 100px;
  left: 0;
  width: 1920px;
  height: 948px;
}

@keyframes neonFlicker {
  /* standby: вывеска «выключена», но держит остаточное неоновое свечение */
  0%, 4% {
    opacity: 0.55;
    filter:
      drop-shadow(0 0 14px rgba(97, 238, 144, 0.45))
      drop-shadow(0 0 3px rgba(214, 255, 230, 0.4))
      brightness(0.7);
  }
  /* включение: первые рывки тока */
  6% {
    opacity: 1;
    filter:
      drop-shadow(0 0 44px rgba(97, 238, 144, 0.95))
      drop-shadow(0 0 100px rgba(97, 238, 144, 0.55))
      brightness(1.45);
  }
  8% {
    opacity: 0.4;
    filter: drop-shadow(0 0 5px rgba(97, 238, 144, 0.25)) brightness(0.5);
  }
  10% {
    opacity: 1;
    filter:
      drop-shadow(0 0 50px rgba(97, 238, 144, 1))
      drop-shadow(0 0 120px rgba(97, 238, 144, 0.65))
      brightness(1.55);
  }
  12% {
    opacity: 0.55;
    filter: drop-shadow(0 0 8px rgba(97, 238, 144, 0.3)) brightness(0.6);
  }
  /* полная мощность: максимум яркости и эмбиент-света */
  18% {
    opacity: 1;
    filter:
      drop-shadow(0 0 58px rgba(97, 238, 144, 1))
      drop-shadow(0 0 150px rgba(97, 238, 144, 0.78))
      brightness(1.7);
  }
  /* стабильное яркое горение */
  26%, 62% {
    opacity: 1;
    filter:
      drop-shadow(0 0 32px rgba(97, 238, 144, 0.8))
      drop-shadow(0 0 76px rgba(97, 238, 144, 0.44))
      brightness(1.24);
  }
  /* «живой» микро-флик */
  48% {
    opacity: 0.9;
    filter: drop-shadow(0 0 22px rgba(97, 238, 144, 0.6)) brightness(1.05);
  }
  50% {
    opacity: 1;
    filter:
      drop-shadow(0 0 36px rgba(97, 238, 144, 0.85))
      drop-shadow(0 0 80px rgba(97, 238, 144, 0.48))
      brightness(1.28);
  }
  /* выключение: гаснет рывками к режиму standby */
  74% {
    opacity: 0.75;
    filter: drop-shadow(0 0 18px rgba(97, 238, 144, 0.5)) brightness(0.9);
  }
  82% {
    opacity: 0.4;
    filter: drop-shadow(0 0 8px rgba(97, 238, 144, 0.3)) brightness(0.55);
  }
  86% {
    opacity: 0.7;
    filter: drop-shadow(0 0 16px rgba(97, 238, 144, 0.45)) brightness(0.8);
  }
  /* возврат к остаточному свечению (совпадает с 0%) */
  92%, 100% {
    opacity: 0.55;
    filter:
      drop-shadow(0 0 14px rgba(97, 238, 144, 0.45))
      drop-shadow(0 0 3px rgba(214, 255, 230, 0.4))
      brightness(0.7);
  }
}

.hero-logo {
  top: 322px;
  left: 294px;
  width: 1333px;
  height: 451px;
  object-fit: cover;
  object-position: center;
}

.intro {
  top: 1048px;
  left: 0;
  width: 1920px;
  height: 1080px;
}

.intro-card,
.intro-photo {
  position: absolute;
  border-radius: 32px;
  overflow: hidden;
}

.intro-title-card {
  top: 150px;
  left: 143px;
  width: 807px;
  height: 345px;
  padding: 0;
  background: transparent;
}

.intro-title-bg {
  inset: 0 auto auto 0;
  width: 807px;
  height: 345px;
}

.intro-logo-title {
  position: absolute;
  z-index: 1;
  top: 40px;
  left: 52px;
  width: 704px;
  height: 265px;
  margin: 0;
}

.intro-logo-title img {
  display: block;
  width: 704px;
  height: 265px;
}

.intro-photo {
  background-color: #061d12;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.media-frame {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.media-video {
  position: absolute;
  inset: 0;
  display: block;
  /* iOS Safari при воспроизведении выносит видео в свой слой и перестаёт
     обрезать его по border-radius родителя — поэтому скругляем само видео. */
  border-radius: inherit;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame[data-media-kind="image"] .media-video {
  display: none;
}

.intro-photo::before {
  display: none;
}

.intro-photo-top {
  top: 150px;
  left: 970px;
  width: 808px;
  height: 390px;
  background-image: none;
}

.intro-photo-bottom {
  top: 515px;
  left: 143px;
  width: 807px;
  height: 515px;
  background-image: none;
}

.history-card {
  top: 560px;
  left: 970px;
  width: 808px;
  height: 468px;
  background: url("./элементы с фигмы/Rectangle 164.png") center / 100% 100% no-repeat;
}

.history-copy {
  position: absolute;
  top: 40px;
  left: 40px;
  width: 674px;
  height: 393px;
  color: #fff;
  font-family: "Work Sans", "Inter", "Arial", sans-serif;
}

.history-copy h2 {
  width: 606px;
  margin: 0 0 20px;
  font-size: 40px;
  font-weight: 500;
  line-height: 0.93;
  text-transform: uppercase;
}

.history-copy p {
  width: 674px;
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 100;
  line-height: 1;
}

.bitters {
  top: 2175px;
  left: 0;
  width: 1920px;
  height: 1105px;
  border-radius: 96px;
  overflow: hidden;

  /* Tree mapping: edit these values to place each tree manually in the bitters block. */
  --tree-left-x: -47px;
  --tree-left-y: -12px;
  --tree-left-w: 451px;
  --tree-left-h: 1234px;

  --tree-right-x: 1561px;
  --tree-right-y: -6px;
  --tree-right-right: auto;
  --tree-right-w: 345px;
  --tree-right-h: 1111px;
}

@keyframes glassFlicker {
  0%, 100% {
    opacity: 0.95;
  }
  50% {
    opacity: 0.78;
  }
}

.section-glass {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1105px;
  background:
    url("./Rectangle 2777 (1).png") center top / 100% 100% no-repeat,
    url("./Паттерн линии 2 (1).png") center top / 100% 100% no-repeat;
}

.tree {
  position: absolute;
  z-index: 2;
  display: block;
  pointer-events: none;
}

.tree-edit-mode .tree {
  pointer-events: auto;
  cursor: move;
  outline: 2px dashed rgba(255, 255, 255, 0.58);
  outline-offset: -8px;
}

.tree-edit-mode .tree:hover,
.tree-edit-mode .tree.is-dragging,
.tree-edit-mode .tree.is-selected {
  outline-color: #f4d58d;
}

.tree-edit-mode .tree.is-selected {
  outline-style: solid;
}

.tree-edit-panel {
  position: fixed;
  z-index: 9999;
  right: 24px;
  bottom: 24px;
  width: 360px;
  padding: 16px;
  border: 1px solid rgba(244, 213, 141, 0.55);
  border-radius: 18px;
  background: rgba(0, 34, 14, 0.9);
  color: #fff;
  font: 14px/1.35 Arial, sans-serif;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.28);
}

.tree-edit-panel strong {
  display: block;
  margin: 0 0 8px;
  font-size: 16px;
}

.tree-edit-panel p {
  margin: 0 0 10px;
}

.tree-scale-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}

.selected-tree-name {
  flex: 1;
  min-width: 0;
  font-weight: 700;
}

.tree-edit-panel textarea {
  display: block;
  width: 100%;
  height: 150px;
  margin: 0 0 10px;
  padding: 10px;
  resize: vertical;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font: 12px/1.4 monospace;
}

.tree-edit-panel button {
  margin: 0 8px 0 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 999px;
  background: #f4d58d;
  color: #00220e;
  font: 700 12px/1 Arial, sans-serif;
  cursor: pointer;
}

.tree-scale-controls button {
  min-width: 38px;
  margin: 0;
  font-size: 18px;
}

.tree-left {
  top: var(--tree-left-y);
  left: var(--tree-left-x);
  width: var(--tree-left-w);
  height: var(--tree-left-h);
  opacity: 0;
  transform: translateX(-150px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.tree-right {
  top: var(--tree-right-y);
  left: var(--tree-right-x);
  right: var(--tree-right-right);
  width: var(--tree-right-w);
  height: var(--tree-right-h);
  opacity: 0;
  transform: translateX(150px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes treeGlow {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(120, 255, 170, 0.6)) brightness(1.05);
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(120, 255, 170, 0.3)) brightness(0.92);
  }
}

.bitters.is-visible .tree-left {
  animation: treeGlow 4.5s 1.3s infinite ease-in-out;
}

.bitters.is-visible .tree-right {
  animation: treeGlow 5.5s 1.6s infinite ease-in-out;
}

.bitter-panel {
  z-index: 3;
}

.bottle {
  z-index: 4;
}

.bitter-copy {
  z-index: 5;
}

.bitter-panel {
  position: absolute;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 42%, rgba(97, 238, 144, 0.16), transparent 31%),
    #004415;
  border-radius: 32px;
  opacity: 0;
  transition: opacity 0.75s ease, transform 0.95s cubic-bezier(0.2, 0, 0, 1);
}

.bitter-panel-mask,
.bitter-panel-border {
  position: absolute;
  inset: 0;
  display: block;
  width: 513px;
  height: 380px;
  pointer-events: none;
}

.bitter-panel-mask {
  opacity: 0.44;
  filter: invert(1) brightness(0.38);
  mix-blend-mode: multiply;
}

.bitter-panel-border {
  z-index: 2;
}

.bitter-panel-left {
  top: 321px;
  left: 300px;
  width: 513px;
  height: 380px;
  transform: translateX(330px);
}

.bitter-panel-right {
  top: 321px;
  left: 1101px;
  width: 513px;
  height: 380px;
  transform: translateX(-330px);
}

.bottle-herbal,
.bottle-berry {
  position: absolute;
  z-index: 4;
  opacity: 0;
  transform: translateY(150px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.bottle-herbal {
  top: 156px;
  left: 476px;
  width: 614px;
  height: 949px;
}

.bottle-layered {
  overflow: visible;
}

.bottle-layer {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
}

.bottle-main {
  z-index: 2;
  top: 5px;
  left: 173px;
  width: 266px;
  height: 814px;
}

.bottle-herbal-art,
.bottle-berry-art {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transform: translateY(150px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.bottle-herbal-reflection {
  z-index: 4;
  top: 808px;
  left: 649px;
  width: 266px;
  height: 1061px;
  transform: translateY(150px);
  transform-origin: center;
  --bottle-layer-opacity: 0.72;
}

.bottle-herbal-reflection-shade {
  z-index: 3;
  top: 808px;
  left: 649px;
  width: 266px;
  height: 1061px;
  background: radial-gradient(ellipse at 50% 8%, rgba(4, 18, 10, 0.72) 0%, rgba(4, 18, 10, 0.3) 34%, rgba(4, 18, 10, 0) 68%);
  mix-blend-mode: multiply;
  --bottle-layer-opacity: 0.24;
}

.bottle-herbal-contact-shadow {
  z-index: 3;
  top: 876px;
  left: 610px;
  width: 380px;
  height: 128px;
  background:
    radial-gradient(ellipse at 50% 44%, rgba(0, 0, 0, 0.78) 0%, rgba(1, 10, 5, 0.58) 34%, rgba(1, 10, 5, 0.24) 58%, rgba(1, 10, 5, 0) 78%);
  border-radius: 50%;
  filter: blur(10px);
  --bottle-layer-opacity: 0.42;
}

.bottle-herbal-shadow {
  z-index: 3;
  top: 903px;
  left: 644px;
  width: 304px;
  height: 83px;
  mix-blend-mode: multiply;
  filter: blur(26.85px);
}

.bottle-herbal-light {
  z-index: 3;
  top: 156px;
  left: 476px;
  width: 614px;
  height: 1075px;
  mix-blend-mode: color-dodge;
  --bottle-layer-opacity: 0.48;
}

.bottle-herbal-glow-orange {
  z-index: 3;
  top: 867px;
  left: 676px;
  width: 215px;
  height: 47px;
  background: linear-gradient(90deg, #f96e43 1.92%, rgba(249, 110, 67, 0) 53.37%, #f96e43 84.62%, rgba(249, 110, 67, 0) 100%);
  --bottle-layer-opacity: 0.38;
  filter: blur(13.2px);
}

.bottle-herbal-glow-difference {
  z-index: 3;
  top: 942px;
  left: 693px;
  width: 178px;
  height: 15px;
  background: linear-gradient(90deg, rgba(69, 255, 125, 0) 0%, #45ff7d 48.08%, rgba(69, 255, 125, 0) 100%);
  mix-blend-mode: difference;
  --bottle-layer-opacity: 0.3;
  filter: blur(3.45px);
}

.bottle-herbal-glow-hard-light {
  z-index: 3;
  top: 940px;
  left: 724px;
  width: 115px;
  height: 13px;
  background: linear-gradient(90deg, #333 0%, #43f97a 51.92%, #3f3f3f 100%);
  mix-blend-mode: hard-light;
  --bottle-layer-opacity: 0.24;
  filter: blur(3.45px);
}

.bottle-berry {
  top: 156px;
  left: 808px;
  width: 614px;
  height: 949px;
}

.bottle-berry-reflection {
  z-index: 4;
  top: 725px;
  left: 981px;
  width: 266px;
  height: 381px;
  --bottle-layer-opacity: 0.72;
}

.bottle-berry-reflection-shade {
  z-index: 3;
  top: 808px;
  left: 981px;
  width: 266px;
  height: 381px;
  background: radial-gradient(ellipse at 50% 10%, rgba(4, 18, 10, 0.66) 0%, rgba(4, 18, 10, 0.28) 36%, rgba(4, 18, 10, 0) 72%);
  mix-blend-mode: multiply;
  --bottle-layer-opacity: 0.24;
}

.bottle-berry-contact-shadow {
  z-index: 3;
  top: 876px;
  left: 942px;
  width: 380px;
  height: 128px;
  background:
    radial-gradient(ellipse at 50% 44%, rgba(0, 0, 0, 0.78) 0%, rgba(1, 10, 5, 0.58) 34%, rgba(1, 10, 5, 0.24) 58%, rgba(1, 10, 5, 0) 78%);
  border-radius: 50%;
  filter: blur(10px);
  --bottle-layer-opacity: 0.42;
}

.bottle-berry-light {
  z-index: 3;
  top: 156px;
  left: 808px;
  width: 614px;
  height: 949px;
  mix-blend-mode: color-dodge;
  --bottle-layer-opacity: 0.48;
}

.bottle-berry-glow {
  z-index: 3;
  top: 867px;
  left: 1008px;
  width: 268px;
  height: 124px;
  mix-blend-mode: color-dodge;
  --bottle-layer-opacity: 0.46;
  filter: blur(0.2px);
}

.bottle-herbal-light,
.bottle-berry-light,
.bottle-berry-glow {
  display: none;
}

.bitter-copy {
  position: absolute;
  z-index: 5;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* --- Animations when .is-visible is applied --- */
.bitters.is-visible .bottle-herbal,
.bitters.is-visible .bottle-berry {
  opacity: 1;
  transform: translateY(0);
}

.bitters.is-visible .bottle-herbal-art,
.bitters.is-visible .bottle-berry-art {
  opacity: var(--bottle-layer-opacity, 1);
  transform: translateY(0);
}

.bitters.is-visible .bottle-herbal-reflection {
  transform: scaleY(1);
}

.bitters.is-visible .bitter-panel-left,
.bitters.is-visible .bitter-panel-right {
  opacity: 1;
  transform: translateX(0);
}

.bitters.is-visible .tree-left,
.bitters.is-visible .tree-right {
  opacity: 1;
  transform: translateX(0);
}

.bitters.is-visible .bitter-copy {
  opacity: 1;
  transform: translateY(0);
}

/* Delays */
.bitters.is-visible .bottle-herbal { transition-delay: 0.1s; }
.bitters.is-visible .bottle-herbal-art { transition-delay: 0.1s; }
.bitters.is-visible .bottle-berry { transition-delay: 0.3s; }
.bitters.is-visible .bottle-berry-art { transition-delay: 0.3s; }

.bitters.is-visible .bitter-panel-left { transition-delay: 0.55s; }
.bitters.is-visible .bitter-panel-right { transition-delay: 0.55s; }

.bitters.is-visible .tree-left { transition-delay: 0.8s; }
.bitters.is-visible .tree-right { transition-delay: 0.9s; }

.bitters.is-visible .bitter-copy-left { transition-delay: 0.9s; }
.bitters.is-visible .bitter-copy-right { transition-delay: 1.1s; }

.bitter-copy-left {
  top: 361px;
  /* width = ширине кнопки (303px). Текст и кнопка выровнены по левому краю
     (как на правой карточке) — иначе левая грань заголовка идёт «лесенкой». */
  left: 340px;
  width: 303px;
  height: 300px;
  text-align: left;
}

.bitter-title {
  margin: 0;
  color: #fff;
  font-size: 64px;
  font-weight: 500;
  line-height: 0.93;
  text-transform: uppercase;
}

.bitter-title-herbal {
  width: 293px;
  height: 196px;
  text-align: left;
}

.bitter-title-berry {
  width: 296px;
  height: 196px;
  text-align: left;
}

.figma-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 303px;
  height: 64px;
  margin-top: 68px;
  box-sizing: border-box;
  overflow: hidden;
  color: #fff;
  background: rgba(0, 68, 21, 0.74);
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 50px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 14px rgba(255, 255, 255, 0.42),
    0 0 28px rgba(255, 255, 255, 0.2);
  font-size: 24px;
  font-weight: 500;
  line-height: 0.93;
  text-align: center;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.figma-button::after,
.serve-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  opacity: 0;
  background: #ffffff;
  border-radius: inherit;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.figma-button:hover,
.serve-button:hover,
.submit-button:hover {
  transform: translateY(-2px);
}

.figma-button:hover,
.figma-button:focus-visible,
.serve-button:hover,
.serve-button:focus-visible,
.submit-button:hover,
.submit-button:focus-visible {
  color: #062318;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.figma-button:hover::after,
.figma-button:focus-visible::after,
.serve-button:hover::after,
.serve-button:focus-visible::after {
  opacity: 1;
}

.figma-button img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: none;
  width: 100%;
  height: 100%;
}

.figma-button span {
  position: relative;
  z-index: 2;
}

.bitter-copy-right img,
.serve-button img {
  display: block;
  width: 100%;
  height: 100%;
}

.bitter-copy-right {
  top: 361px;
  left: 1271px;
  width: 303px;
  height: 300px;
}

.berry-title-crop {
  width: 303px;
  height: 196px;
  overflow: hidden;
}

.berry-title-crop img {
  width: 303px;
  height: 300px;
}

.bitter-copy-right .figma-button {
  margin-top: 40px;
}

.bitter-copy-left .figma-button {
  margin-top: 40px;
}

.serve {
  top: 3280px;
  left: 0;
  width: 1920px;
  height: 1105px;
}

.serve-big {
  top: 200px;
  left: 828px;
  width: 950px;
  height: 805px;
  overflow: hidden;
  border-radius: 32px;
  background: #061d12 url("./для блока подача/Mask group.webp") center / cover no-repeat;
}

.serve-big .media-video {
  border-radius: inherit;
}

.serve-small {
  top: 589px;
  left: 142px;
  width: 666px;
  height: 416px;
  overflow: hidden;
  border-radius: 32px;
  background: #061d12 url("./для блока подача/Mask group-1.svg") center / cover no-repeat;
}

.serve-small .media-video {
  border-radius: inherit;
}

.serve-card {
  top: 200px;
  left: 142px;
  width: 666px;
  height: 369px;
}

.serve-copy {
  position: absolute;
  top: 238px;
  left: 182px;
  width: 549px;
  height: 192px;
  color: #fff;
}

.serve-copy h2 {
  width: 549px;
  margin: 0 0 28px;
  font-size: 64px;
  font-weight: 500;
  line-height: 0.93;
  text-transform: uppercase;
}

.serve-copy p {
  width: 548px;
  margin: 0;
  font-size: 24px;
  font-weight: 100;
  line-height: 1;
}

.serve-button {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 465px;
  left: 182px;
  width: 384px;
  height: 64px;
  box-sizing: border-box;
  overflow: hidden;
  color: #fff;
  background: rgba(0, 68, 21, 0.74);
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 50px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 14px rgba(255, 255, 255, 0.42),
    0 0 28px rgba(255, 255, 255, 0.2);
  font-size: 24px;
  font-weight: 500;
  line-height: 0.93;
  text-align: center;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.serve-button img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: none;
  width: 100%;
  height: 100%;
}

.serve-button span {
  position: relative;
  z-index: 2;
}

.technology {
  top: 4385px;
  left: 0;
  width: 1920px;
  height: 1105px;
  isolation: isolate;
}

.tech-card {
  position: absolute;
  z-index: 1;
  top: 200px;
  left: 142px;
  width: 1636px;
  height: 805px;
  overflow: hidden;
  border-radius: 42px;
}

.tech-card-base,
.tech-card-overlay {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tech-card-base {
  z-index: 0;
}

.tech-card-overlay {
  z-index: 1;
}

.tech-photo {
  z-index: 2;
  top: 221px;
  left: 163px;
  width: 949px;
  height: 763px;
  overflow: hidden;
  border-radius: 32px;
  clip-path: inset(0 round 32px);
  background: #061d12 url("./для блока технологии/Mask group.webp") center / cover no-repeat;
}

.tech-copy {
  position: absolute;
  z-index: 3;
  top: 240px;
  left: 1152px;
  width: 549px;
  height: 552px;
  color: #fff;
}

.tech-copy h2 {
  width: 549px;
  margin: 0 0 24px;
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.tech-copy p {
  width: 548px;
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 100;
  line-height: 1.2;
}

.footer {
  top: 5490px;
  left: 0;
  width: 1920px;
  height: 1105px;
}

.footer-overlay {
  top: 0;
  left: 0;
  width: 1920px;
  height: 1104px;
}

.footer-panel {
  position: absolute;
  z-index: 1;
  top: 131px;
  left: 140px;
  width: 1639px;
  height: 481px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 38%, rgba(97, 238, 144, 0.16), transparent 24%),
    #004415;
  border-radius: 32px;
}

.footer-panel-mask,
.footer-panel-border {
  position: absolute;
  inset: 0;
  display: block;
  width: 1639px;
  height: 481px;
  pointer-events: none;
}

.footer-panel-mask {
  opacity: 0.42;
  filter: invert(1) brightness(0.38);
  mix-blend-mode: multiply;
}

.footer-panel-border {
  z-index: 2;
}

.footer-copy {
  position: absolute;
  top: 171px;
  left: 180px;
  z-index: 2;
  width: 764px;
  color: #fff;
}

.footer-copy h2 {
  margin: 0;
  width: 764px;
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.footer-copy p {
  width: 604px;
  margin: 32px 0 0;
  font-size: 24px;
  font-weight: 100;
  line-height: 1;
}

.feedback-form {
  position: absolute;
  top: 171px;
  left: 951px;
  z-index: 2;
  width: 787px;
}

.feedback-form label {
  position: relative;
  display: block;
  margin: 0 0 10px;
}

.feedback-form label:not(.agreement) > span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.feedback-form textarea,
.feedback-form input[type="text"],
.feedback-form input[type="email"],
.feedback-form input[type="tel"] {
  display: block;
  width: 787px;
  color: #003d13;
  background: #fff;
  border: 1px solid transparent;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feedback-form textarea::placeholder,
.feedback-form input::placeholder {
  color: #b2b2b2;
  opacity: 1;
  font-size: 16px;
  font-weight: 100;
}

.feedback-form textarea {
  height: 100px;
  padding: 10px 16px 12px;
  resize: none;
  border-radius: 16px;
}

.feedback-form input[type="text"],
.feedback-form input[type="email"],
.feedback-form input[type="tel"] {
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
}

.feedback-form input[type="email"].is-invalid {
  border-color: #ff3b3b;
  box-shadow: 0 0 0 2px rgba(255, 59, 59, 0.35);
}

.required-note {
  margin: 2px 0 10px 30px;
  font-size: 14px;
  font-weight: 100;
  line-height: 1;
}

.agreement {
  min-height: 36px;
  padding-left: 30px;
  cursor: pointer;
}

/* Ссылки на политику конфиденциальности (PDF в /docs): на гейте и в согласии формы */
.agreement a,
#ageGate .ag-cookie a,
#ageGate .ag-m-cookie a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  pointer-events: auto;
  user-select: auto;
}

.agreement a:hover,
#ageGate .ag-cookie a:hover,
#ageGate .ag-m-cookie a:hover {
  text-decoration-color: #61ee90;
}

.agreement input {
  position: absolute;
  top: 4px;
  left: 0;
  width: 16px;
  height: 16px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.agreement input::before,
.agreement input::after {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 50%;
}

.agreement input::before {
  background: url("./для блока подвал/agreement-active-ring.png") center / 15px 15px no-repeat;
}

.agreement.is-invalid input:not(:checked)::before {
  background-image: url("./для блока подвал/agreement-error-ring.png");
}

.agreement input::after {
  opacity: 0;
  background: url("./для блока подвал/agreement-active-dot.png") center / 9px 9px no-repeat;
}

.agreement input:checked::after {
  opacity: 1;
}

.agreement input:focus-visible::before {
  box-shadow: 0 0 0 3px rgba(97, 238, 144, 0.45);
}

.agreement span {
  position: static !important;
  display: block;
  width: 430px;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}

.agreement.is-invalid span {
  color: #ff2d2d !important;
}

.submit-button {
  position: absolute;
  overflow: hidden;
  top: 337px;
  left: 0;
  width: 256px;
  height: 64px;
  color: #fff;
  background: rgba(0, 68, 21, 0.78);
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 50px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 14px rgba(255, 255, 255, 0.42),
    0 0 28px rgba(255, 255, 255, 0.2);
  cursor: pointer;
  font-size: 24px;
  font-weight: 500;
  line-height: 0.93;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.submit-button {
  isolation: isolate;
}

.submit-button:hover,
.submit-button:focus-visible {
  background: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    0 0 18px rgba(255, 255, 255, 0.58),
    0 0 38px rgba(255, 255, 255, 0.3);
}

.footer-logo {
  top: 668px;
  left: 485px;
  width: 950px;
  height: 155px;
}

.footer-contacts {
  position: absolute;
  top: 850px;
  left: 632px;
  width: 627px;
  height: 208px;
  color: #fff;
  text-align: center;
}

.footer-contacts p {
  margin: 0;
}

.footer-site {
  font-size: 36px;
  font-weight: 100;
  line-height: 1;
}

.footer-phone-label {
  margin-top: 40px !important;
  font-size: 24px;
  font-weight: 100;
  line-height: 1;
}

.footer-phone {
  margin-top: 12px !important;
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
}

.footer-note {
  margin-top: 12px !important;
  font-size: 24px;
  font-weight: 100;
  line-height: 1;
}

.footer-copyright {
  margin-top: 32px !important;
  font-size: 20px;
  font-weight: 100;
  line-height: 1;
}

/* Контактные ссылки (e-mail / соцсети) — показываются, только если заполнены в админке */
.footer-contacts a {
  color: inherit;
  text-decoration: none;
}
.footer-links {
  margin-top: 24px !important;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 22px;
  font-weight: 100;
  line-height: 1;
}
.footer-links a {
  transition: opacity 160ms ease;
}
.footer-links a:hover {
  opacity: 0.75;
}
.footer-links a[hidden] {
  display: none;
}

/* Скрытое поле-приманка для ботов (анти-спам). Людям не видно. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  /* PNG-логотип уже со свечением — держим его просто включённым. */
  .hero-logo {
    opacity: 1;
  }
}

/* ============================================================
   МОБИЛЬНАЯ ВЕРСИЯ (макет 375px)
   ============================================================ */
.mobile-shell {
  display: none;
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  color: #fff;
  font-family: "Work Sans", sans-serif;
  background-color: #07290f;
  overflow-x: hidden;
}

@media (max-width: 767px) {
  .scale-shell { display: none !important; }
  .mobile-shell {
    display: block;
    background-image: url("./mobile-assets/bg.webp");
    background-repeat: repeat-y;
    background-position: top center;
    background-size: 100% auto;
  }
  body { background: #07290f; }
  body.m-menu-open { overflow: hidden; }
}

.mobile-shell #mTop {
  position: absolute;
  top: 0;
  left: 0;
}

/* ----- Шапка ----- */
.m-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.m-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
}
.m-logo img { display: block; height: 18px; width: auto; }
.m-eng {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  padding: 8px 10px;
  border-radius: 38px;
}
.m-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 30px;
  height: 24px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.m-burger span {
  display: block;
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

/* ----- Бургер-меню (оверлей) ----- */
.m-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 0 24px 40px;
  background: #04230d url("./menu-bg.png") center / cover no-repeat;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.32s ease, visibility 0.32s ease;
}
.m-menu.is-open { transform: none; visibility: visible; }
.m-menu-top {
  position: relative;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.m-menu-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 18px;
  width: auto;
}
.m-menu-close {
  position: relative;
  width: 30px;
  height: 30px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.m-menu-close span {
  position: absolute;
  top: 50%;
  left: 1px;
  width: 28px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.m-menu-close span:first-child { transform: rotate(45deg); }
.m-menu-close span:last-child { transform: rotate(-45deg); }
.m-menu-list {
  list-style: none;
  margin: 46px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.m-menu-list a {
  display: inline-block;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

/* ----- Герой (логотип) ----- */
.m-hero {
  padding: 36px 24px 26px;
  text-align: center;
}
.m-hero-logo {
  width: 87%;
  max-width: 327px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(120, 255, 170, 0.35));
}

/* ----- Карточка (полупрозрачная плашка) ----- */
.m-card {
  position: relative;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  padding: 18px 15px;
}
.m-card h2 {
  margin: 0 0 12px;
  font-weight: 500;
  line-height: 0.95;
  text-transform: uppercase;
}
.m-card p {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 100;
  line-height: 1.25;
}
.m-card p:last-child { margin-bottom: 0; }

/* ----- История ----- */
.m-history { padding: 4px 10px 0; scroll-margin-top: 64px; }
.m-history-photos { display: flex; gap: 10px; }
.m-history-photos > .m-ph--tall { flex: 1 1 0; }
.m-history-col { flex: 1 1 0; display: flex; flex-direction: column; gap: 10px; }
.m-ph { position: relative; border-radius: 12px; overflow: hidden; }
.m-ph img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.m-ph .media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.m-ph--tall { aspect-ratio: 173 / 291; }
.m-ph--short { aspect-ratio: 173 / 207; }
/* Гобо-проекция логотипа в этом видео смещена вправо — сдвигаем кадр,
   чтобы в узкой мобильной рамке она не резалась. */
.m-ph--short .media-video { object-position: 86% 50%; }
.m-hb-card {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.m-hb-card img { width: 88%; height: auto; }
.m-history-text { margin-top: 12px; }
.m-history-text h2 { font-size: 24px; }

/* ----- Биттеры (слои + кликабельные кнопки) ----- */
.m-bitters {
  width: 100%;
  padding: 6px 0 0;
  scroll-margin-top: 64px;
}
.m-bitters-art {
  position: relative;
  width: 100%;
  line-height: 0;
}
.m-bitters-art > img { display: block; width: 100%; height: auto; }
.m-bitters-layered {
  position: relative;
  width: 100%;
  aspect-ratio: 750 / 1364;
  overflow: hidden;
  border-radius: 16px;
  line-height: 1;
}
.m-bitters-layer {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
}
.m-bitters-bg { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.m-bitters-tree-left { left: 0; top: 0; width: 19.34%; height: 100%; }
.m-bitters-tree-right { left: 80.27%; top: 0; width: 19.74%; height: 100%; }
.m-bitters-card { width: 68.27%; height: 30.5%; z-index: 2; }
.m-bitters-card--herbal { left: 6.4%; top: 15.54%; }
.m-bitters-card--berry { left: 25.33%; top: 57.18%; }
.m-bitters-title {
  position: absolute;
  z-index: 3;
  margin: 0;
  color: #fff;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: clamp(32px, 9.6vw, 42px);
  font-style: normal;
  font-weight: 500;
  line-height: 0.93;
  text-transform: uppercase;
  pointer-events: none;
}
.m-bitters-title--herbal {
  /* left совпадает с кнопкой (.m-bitters-link--herbal: 10.1%), текст по левому
     краю — чтобы левая грань заголовка была ровной, как у Berry. */
  left: 10.1%;
  top: 17.6%;
  width: 49.87%;
  text-align: left;
}
.m-bitters-title--berry {
  left: 44%;
  top: 59.24%;
  width: 49.6%;
  text-align: left;
}
.m-bitters-reflection { z-index: 4; }
.m-bitters-reflection--herbal {
  left: 59.39%;
  top: 40.97%;
  width: 23.65%;
  height: 51.88%;
}
.m-bitters-reflection--berry {
  left: 16.23%;
  top: 78.14%;
  width: 23.33%;
  height: 21.92%;
}
.m-bitters-bottle { z-index: 5; }
.m-bitters-bottle--herbal {
  left: 59.39%;
  top: 9.33%;
  width: 23.65%;
  height: 39.81%;
}
.m-bitters-bottle--berry {
  left: 16.23%;
  top: 50.96%;
  width: 23.31%;
  height: 39.23%;
}
.m-bitters-link { position: absolute; z-index: 10; display: block; }
.m-bitters-link--herbal { left: 10.1%; top: 38.1%; width: 46.1%; height: 5.9%; }
.m-bitters-link--berry { left: 44%; top: 79.8%; width: 46.1%; height: 5.9%; }

/* ----- Подача ----- */
.m-serve { padding: 18px 10px 0; scroll-margin-top: 64px; }
.m-serve-text h2 { font-size: 32px; }
.m-pill {
  display: flex;
  /* Размер кнопки по шаблону: 327×40, по центру карточки. */
  width: 327px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin: 16px auto 0;
  padding: 0 24px;
  border-radius: 40px;
  background: rgba(0, 68, 21, 0.78);
  border: 2px solid rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 0 12px rgba(255, 255, 255, 0.4),
    0 0 24px rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease,
    transform 0.16s ease, filter 0.16s ease;
}
.m-pill:hover,
.m-pill:active {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    0 0 18px rgba(255, 255, 255, 0.56),
    0 0 34px rgba(255, 255, 255, 0.28);
  color: #062318;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
  filter: none;
}
.m-serve-photos { display: flex; gap: 10px; margin-top: 14px; }
.m-serve-photos .m-ph { flex: 1 1 0; aspect-ratio: 173 / 275; }

/* ----- Технология ----- */
.m-tech { padding: 18px 10px 0; scroll-margin-top: 64px; }
.m-tech-card { padding: 16px; }
.m-tech-photo { width: 100%; aspect-ratio: 327 / 185; margin-bottom: 16px; }
.m-tech-card h2 { font-size: 32px; }
.m-tech-card p { line-height: 1.2; }

/* ----- Подвал / форма ----- */
.m-footer { padding: 18px 0 0; scroll-margin-top: 64px; }
.m-footer-card { border-radius: 0; padding: 28px 24px 40px; }
.m-footer-title {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}
.m-footer-desc {
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 100;
  line-height: 1.2;
}

.m-form .hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.m-form > label { display: block; margin: 0 0 8px; }
.m-form > label:not(.agreement) > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.m-form input[type="text"],
.m-form input[type="email"],
.m-form input[type="tel"],
.m-form textarea {
  width: 100%;
  border: 0;
  outline: 0;
  background: #fff;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 400;
  border-radius: 8px;
}
.m-form input[type="text"],
.m-form input[type="email"],
.m-form input[type="tel"] { height: 40px; padding: 0 14px; }
.m-form textarea {
  height: 100px;
  padding: 12px 14px;
  border-radius: 12px;
  resize: none;
}
.m-form ::placeholder { color: #b2b2b2; font-weight: 100; opacity: 1; }
.m-form input.is-invalid,
.m-form textarea.is-invalid {
  box-shadow: 0 0 0 2px #ff3b3b;
  outline: none;
}
.m-form .required-note {
  margin: 8px 0 14px;
  font-size: 12px;
  font-weight: 100;
  color: #fff;
}
.m-form .agreement {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 20px;
  min-height: 0;
  padding-left: 0;
  cursor: pointer;
}
.m-form .agreement input {
  flex: 0 0 auto;
  position: relative;
  top: auto;
  left: auto;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  -webkit-appearance: none;
  appearance: none;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #004415;
  cursor: pointer;
}
.m-form .agreement input::before { content: none; background: none; }
.m-form .agreement input::after { content: none; background: none; }
.m-form .agreement input:checked { background: #fff; }
.m-form .agreement input:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #004415;
  opacity: 1;
}
.m-form .agreement.is-invalid input {
  border-color: #ff3b3b;
  box-shadow: 0 0 0 2px rgba(255, 59, 59, 0.35);
}
.m-form .agreement span {
  position: static !important;
  width: auto !important;
  font-size: 12px !important;
  font-weight: 100;
  line-height: 1.3 !important;
  color: #fff !important;
}
.m-form .agreement.is-invalid span { color: #ff6b6b !important; }
.m-submit {
  width: 100%;
  height: 40px;
  margin-top: 4px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 50px;
  background: rgba(0, 68, 21, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 0 12px rgba(255, 255, 255, 0.4),
    0 0 24px rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease,
    transform 0.16s ease, filter 0.16s ease;
}
.m-submit:hover:not(:disabled),
.m-submit:active:not(:disabled) {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    0 0 18px rgba(255, 255, 255, 0.56),
    0 0 34px rgba(255, 255, 255, 0.28);
  color: #062318;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
  filter: none;
}
.m-submit:disabled { opacity: 0.7; cursor: default; }
.m-form .form-status { text-align: center; }

.m-footer-contacts { margin-top: 28px; text-align: center; }
.m-footer-logo { display: block; width: 60%; max-width: 240px; margin: 0 auto 16px; }
.m-footer-site { margin: 0 0 16px; font-size: 16px; font-weight: 100; }
.m-footer-phone-label { margin: 0 0 4px; font-size: 14px; font-weight: 100; }
.m-footer-phone { margin: 0 0 4px; font-size: 16px; font-weight: 500; }
.m-footer-phone a { color: #fff; }
.m-footer-note { margin: 0 0 18px; font-size: 14px; font-weight: 100; }
.m-footer-copy { margin: 0; font-size: 12px; font-weight: 100; opacity: 0.92; }
.m-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 14px 0 0;
}
.m-footer-links .footer-link {
  font-size: 13px;
  font-weight: 300;
  color: #fff;
  text-decoration: underline;
}
