﻿:root {
  --ink: #12201a;
  --forest: #1b3d32;
  --forest-deep: #0f241d;
  --amber: #c8923a;
  --amber-soft: #e8c57a;
  --mist: #dfe8e2;
  --paper: #f4f7f5;
  --line: rgba(18, 32, 26, 0.12);
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(15, 36, 29, 0.18);
  --radius: 18px;
  --container: min(1120px, calc(100% - 2rem));
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% 18%, rgba(200, 146, 58, 0.12), transparent 36%),
    radial-gradient(circle at 88% 8%, rgba(27, 61, 50, 0.1), transparent 32%),
    linear-gradient(180deg, #eef3f0 0%, var(--paper) 40%, #e7eee9 100%);
  background-attachment: fixed;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--forest);
  color: var(--white);
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 0.55rem 0;
  color: var(--white);
  background: transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(244, 247, 245, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 58px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 1 auto;
  min-width: 0;
  z-index: 2;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
}

.brand-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: currentColor;
}

.brand-tag {
  font-size: 0.72rem;
  color: currentColor;
  opacity: 0.75;
}

.site-nav {
  display: none;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 1rem;
  margin-left: auto;
  margin-right: 0.5rem;
}

.site-nav > a {
  position: relative;
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 500;
  color: currentColor;
  opacity: 0.92;
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.site-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.28rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav > a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.site-nav > a:hover::after {
  transform: scaleX(1);
}

.nav-mail {
  font-size: 0.8rem;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex: 0 0 auto;
  z-index: 3;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--forest-deep);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(10, 20, 16, 0.18);
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled .header-phone {
  background: var(--forest);
  color: var(--white);
}

.header-phone:hover {
  transform: translateY(-2px) scale(1.03);
}

.phone-short {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 0 0 auto;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s var(--ease), opacity 0.25s ease;
}

.site-header.is-scrolled .nav-toggle {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--ink);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1025px) {
  .header-actions {
    margin-left: 0;
  }

  .site-nav {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-toggle {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .brand-tag {
    display: none;
  }

  .brand-logo,
  .brand-logo img {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .header-inner {
    gap: 0.4rem;
  }

  .header-actions {
    margin-left: auto;
  }

  .phone-full {
    display: none;
  }

  .phone-short {
    display: inline;
  }

  .header-phone {
    font-size: 0.8rem;
    padding: 0.4rem 0.65rem;
  }

  .nav-toggle {
    display: inline-flex !important;
  }

  .site-nav {
    display: none;
    position: fixed;
    top: calc(4.25rem + env(safe-area-inset-top, 0px));
    left: 0.75rem;
    right: 0.75rem;
    margin: 0;
    padding: 0.65rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    border-radius: 16px;
    background: #f7faf8;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    color: var(--ink);
    z-index: 110;
    max-height: min(70vh, 26rem);
    overflow: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .site-nav.is-open {
    display: flex !important;
  }

  .site-nav > a {
    padding: 0.85rem 0.95rem;
    border-radius: 10px;
    opacity: 1;
    white-space: normal;
  }

  .site-nav > a::after {
    display: none;
  }

  .site-nav > a:hover,
  .site-nav > a:active {
    transform: none;
    background: rgba(27, 61, 50, 0.08);
  }

  .nav-mail {
    margin-top: 0.25rem;
    background: rgba(27, 61, 50, 0.08);
    font-size: 0.88rem;
    text-align: center;
  }

  body.is-nav-open {
    overflow: hidden;
  }

  body.is-nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(10, 20, 16, 0.4);
  }

  .hero-content {
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-content > * {
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--ink);
}

.hero-media {
  position: absolute;
  inset: -2%;
  background:
    radial-gradient(ellipse 70% 55% at 70% 70%, rgba(232, 197, 122, 0.18), transparent 60%),
    linear-gradient(180deg, #1a2a22 0%, #d7e0d9 42%, #f8f6f1 100%);
  transition: transform 0.5s var(--ease);
  will-change: transform;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
  opacity: 0.48;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.55) 48%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.55) 48%, transparent 100%);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 20, 16, 0.58) 0%, rgba(15, 28, 22, 0.32) 28%, rgba(255, 255, 255, 0.28) 68%, rgba(255, 255, 255, 0.84) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 8.5rem 0 4.5rem;
  animation: rise 0.9s var(--ease) both;
}

.hero-content > * {
  max-width: 38rem;
}

.hero-copy {
  max-width: 38rem;
  padding: 1.1rem 1.15rem 1.25rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
  border: none;
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-copy > * {
  max-width: 34rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--forest-deep);
}

.hero-lead {
  margin: 0.9rem 0 0;
  max-width: 36ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(18, 32, 26, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: var(--amber);
  color: var(--forest-deep);
}

.btn-primary:hover {
  background: var(--amber-soft);
  box-shadow: 0 14px 30px rgba(200, 146, 58, 0.35);
}

.btn-ghost {
  border-color: rgba(18, 32, 26, 0.18);
  color: var(--ink);
  background: rgba(244, 247, 245, 0.9);
}

.btn-ghost:hover {
  background: #fff;
  border-color: rgba(27, 61, 50, 0.28);
  box-shadow: 0 12px 28px rgba(18, 32, 26, 0.12);
}

.section {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

.section h2,
.about-copy h2,
.contacts-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.section-lead,
.about-copy p,
.product-body p {
  color: rgba(18, 32, 26, 0.78);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.section-head .section-lead {
  margin: 0.9rem 0 0;
}

.about-grid,
.contacts-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.about-copy p {
  margin: 1rem 0 0;
  max-width: 42rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
}

.facts div {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.facts dt {
  font-size: 0.78rem;
  color: rgba(18, 32, 26, 0.55);
}

.facts dd {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.about-panel {
  padding: 1.5rem;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(27, 61, 50, 0.96), rgba(15, 36, 29, 0.98)),
    var(--forest);
  color: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}

.about-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(15, 36, 29, 0.28);
}

.requisites li {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.requisites li:hover {
  transform: translateX(4px);
}

.about-panel h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.requisites {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.requisites li {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.requisites li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.requisites span {
  font-size: 0.75rem;
  color: rgba(232, 197, 122, 0.85);
}

.requisites strong {
  font-weight: 600;
  font-size: 0.95rem;
}

.product-list {
  display: grid;
  gap: 1.25rem;
  perspective: 1200px;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(27, 61, 50, 0.08);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s ease,
    border-color 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.product:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 146, 58, 0.35);
  box-shadow: 0 24px 50px rgba(15, 36, 29, 0.14);
}

.product:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.product:nth-child(even) .product-visual {
  order: 2;
}

.product-visual {
  min-height: 260px;
  overflow: hidden;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.45s ease;
}

.product:hover .product-visual img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.04);
}

.product-body {
  display: grid;
  align-content: center;
  gap: 0.65rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  transition: transform 0.35s var(--ease);
}

.product:hover .product-body {
  transform: translateX(4px);
}

.product-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  letter-spacing: -0.03em;
  transition: color 0.25s ease;
}

.product:hover .product-body h3 {
  color: var(--forest);
}

.product-body p {
  margin: 0;
  max-width: 34ch;
}

.video {
  background:
    linear-gradient(180deg, rgba(27, 61, 50, 0.06), transparent 42%),
    transparent;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  background: var(--forest-deep);
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease;
}

.video-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(15, 36, 29, 0.22);
}

.video-poster,
.video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-player {
  object-fit: cover;
  background: #000;
  opacity: 0;
  pointer-events: none;
}

.video-frame.is-playing .video-player {
  opacity: 1;
  pointer-events: auto;
  object-fit: contain;
}

.video-poster {
  object-fit: cover;
  filter: brightness(0.72);
  transform: scale(1.02);
  transition: transform 0.7s var(--ease), filter 0.45s ease;
}

.video-frame:hover .video-poster {
  transform: scale(1.06);
  filter: brightness(0.8);
}

.video-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.video-play-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 12px 30px rgba(15, 36, 29, 0.35);
  position: relative;
  transition: transform 0.3s var(--ease), background 0.2s ease, box-shadow 0.3s ease;
}

.video-play-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.7rem 0 0.7rem 1.15rem;
  border-color: transparent transparent transparent var(--forest-deep);
  transform: translate(-50%, -50%);
}

.video-play:hover .video-play-icon,
.video-play:focus-visible .video-play-icon {
  transform: scale(1.12);
  background: var(--amber-soft);
  box-shadow: 0 16px 36px rgba(200, 146, 58, 0.45);
}

.video-play-label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease), letter-spacing 0.3s ease;
}

.video-play:hover .video-play-label {
  transform: translateY(2px);
  letter-spacing: 0.02em;
}

.video-frame.is-playing .video-play {
  display: none;
}

.video-caption {
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.video-caption a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.advantages {
  background:
    linear-gradient(180deg, rgba(27, 61, 50, 0.04), transparent 30%),
    transparent;
}

.advantage-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.advantage-list li {
  display: grid;
  gap: 0.45rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  position: relative;
  transition: transform 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.advantage-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  bottom: 0.2rem;
  width: 3px;
  border-radius: 999px;
  background: var(--amber);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}

.advantage-list li:hover {
  transform: translateX(6px);
  padding-left: 0.85rem;
}

.advantage-list li:hover::before {
  transform: scaleY(1);
}

.advantage-list strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  transition: color 0.25s ease;
}

.advantage-list li:hover strong {
  color: var(--forest);
}

.advantage-list span {
  color: rgba(18, 32, 26, 0.72);
}

.contacts {
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.contact-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.contact-list li {
  display: grid;
  gap: 0.25rem;
}

.contact-list span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(18, 32, 26, 0.5);
}

.contact-list a,
.contact-list address {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-list a {
  display: inline-block;
  transition: color 0.25s ease, transform 0.25s var(--ease);
}

.contact-list a:hover {
  color: var(--forest);
  transform: translateX(3px);
}

.contact-form {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(27, 61, 50, 0.1);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}

.contact-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px rgba(15, 36, 29, 0.16);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(27, 61, 50, 0.16);
  border-radius: 12px;
  background: var(--white);
  padding: 0.85rem 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.25s var(--ease);
}

.field input:hover,
.field textarea:hover {
  border-color: rgba(27, 61, 50, 0.32);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(27, 61, 50, 0.12);
  transform: translateY(-1px);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(18, 32, 26, 0.78);
  cursor: pointer;
}

.consent input {
  margin-top: 0.2rem;
  flex: 0 0 auto;
  accent-color: var(--forest);
}

.consent a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.form-note {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(18, 32, 26, 0.6);
}

.map-wrap {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.65rem;
}

.map-wrap iframe {
  width: 100%;
  height: min(280px, 42vw);
  min-height: 220px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(27, 61, 50, 0.06);
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin: 0;
  font-size: 0.88rem;
}

.map-links a {
  color: var(--forest);
  font-weight: 600;
}

.map-links a:hover {
  text-decoration: underline;
}

.footer-meta-block {
  display: grid;
  gap: 0.35rem;
  text-align: right;
}

.footer-meta a {
  color: var(--forest);
  font-weight: 600;
}

.legal-page .site-header {
  color: var(--ink);
}

.legal-header {
  position: sticky;
  background: rgba(244, 247, 245, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.legal-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
}

.legal {
  padding-top: 6rem;
}

.legal-content {
  max-width: 46rem;
}

.legal-content h1 {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.legal-content h2 {
  margin: 1.75rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.legal-content p,
.legal-content li {
  color: rgba(18, 32, 26, 0.82);
  line-height: 1.65;
}

.legal-content ul {
  padding-left: 1.15rem;
}

.legal-updated {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: rgba(18, 32, 26, 0.55);
}

.form-note.is-success {
  color: var(--forest);
  font-weight: 600;
}

.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transition: transform 0.3s var(--ease);
}

.footer-brand:hover {
  transform: translateY(-2px);
}

.footer-brand img {
  border-radius: 9px;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-brand strong {
  font-family: var(--font-display);
  display: block;
  line-height: 1.1;
}

.footer-brand p,
.footer-meta {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: rgba(18, 32, 26, 0.62);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}


@media (max-width: 900px) {
  .about-grid,
  .contacts-grid,
  .product,
  .product:nth-child(even),
  .advantage-list {
    grid-template-columns: 1fr;
  }

  .product:nth-child(even) .product-visual {
    order: 0;
  }

  .product-visual {
    min-height: 220px;
  }

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

  .footer-meta-block {
    text-align: left;
  }
}

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

  .hero-image,
  .reveal,
  .hero-content,
  .product-visual img,
  .product,
  .btn,
  .about-panel,
  .video-frame,
  .advantage-list li {
    animation: none !important;
    transition: none !important;
  }

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

  .product:hover,
  .btn:hover,
  .about-panel:hover,
  .video-frame:hover,
  .advantage-list li:hover {
    transform: none;
  }
}
