@font-face {
  font-family: "Museo Cyrl";
  src: url("fonts/MuseoCyrl-300.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Cyrl";
  src: url("fonts/MuseoCyrl-500.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Cyrl";
  src: url("fonts/MuseoCyrl-700.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Cyrl";
  src: url("fonts/MuseoCyrl-900.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --preview-blue: #013a99;
  --preview-blue-soft: #1458bf;
  --intro-duration: 4200ms;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #013a99;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: #013a99;
  color: #fff;
  font-family: "Museo Cyrl", Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

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

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

body.contacts-page {
  min-height: 100dvh;
}

body.about-page {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 52% 48%, rgba(35, 128, 218, 0.5), transparent 43%) fixed,
    linear-gradient(135deg, #043a93 0%, #0b70c6 46%, #043a93 100%) fixed;
  scrollbar-width: none;
}

body.about-page::-webkit-scrollbar {
  display: none;
}

button {
  font: inherit;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at center, rgba(20, 88, 191, 0.55) 0%, rgba(8, 59, 138, 0.55) 100%),
    var(--preview-blue);
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 720ms step-end,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.preloader::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image: url("svg/back_preview.svg");
  background-size: cover;
  background-position: center;
  opacity: 0.72;
}

body.is-ready .preloader {
  opacity: 0;
  visibility: hidden;
  transform: translateY(0);
}

.preloader__mark {
  position: relative;
  z-index: 1;
  width: 100vw;
  height: 100vh;
}

.preloader__logo,
.preloader__slogan {
  position: absolute;
  top: 50%;
  left: 50%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 38px rgba(0, 20, 70, 0.16));
  will-change: opacity, transform, filter;
}

.preloader__logo {
  width: min(33vw, 560px);
  animation: logoReveal var(--intro-duration) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.preloader__slogan {
  width: min(53vw, 940px);
  opacity: 0;
  transform: translate(-50%, -48%) scale(0.985);
  animation: sloganReveal var(--intro-duration) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.is-returning-catalog .preloader__logo {
  display: none;
}

body.is-returning-catalog .preloader__slogan {
  opacity: 0;
  transform: translate(-50%, -48%) scale(0.985);
  animation: sloganOnlyReveal var(--intro-duration) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.catalog {
  width: 100dvw;
  min-height: 100vh;
  overflow: hidden;
  background: #013a99;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, calc(100dvw / 4)));
  width: 100dvw;
  max-width: 100dvw;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-ready .product-grid {
  opacity: 1;
  transform: translateY(0);
}

.product-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #013a99;
  cursor: pointer;
  isolation: isolate;
}

.product-tile::before,
.product-tile::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease;
}

.product-tile::before {
  background: rgba(0, 22, 68, 0.18);
}

.product-tile::after {
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%, rgba(0, 0, 0, 0.08));
}

.product-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition:
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 620ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.product-tile:hover img,
.product-tile:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.02);
}

.product-tile:hover::before,
.product-tile:hover::after,
.product-tile:focus-visible::before,
.product-tile:focus-visible::after {
  opacity: 1;
}

.product-tile:focus-visible {
  outline: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  min-height: 163px;
  padding: 24px 0;
  background: #043a93;
  color: #fff;
}

.site-footer p,
.site-footer h2 {
  margin: 0;
}

.site-footer,
.site-footer a {
  font-size: clamp(16px, 0.98vw, 20px);
  line-height: 1.25;
}

.site-footer a {
  color: #fff;
  transition:
    opacity 220ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer__legal {
  display: grid;
  gap: clamp(10px, 0.8vw, 16px);
  padding-left: clamp(60px, 5vw, 102px);
}

.site-footer__legal p,
.site-footer h2 {
  font-size: inherit;
  font-weight: 700;
  cursor: default;
  user-select: none;
}

.site-footer__legal a,
.site-footer__contacts a {
  font-weight: 300;
  text-underline-offset: 3px;
}

.site-footer__contacts a {
  text-decoration: none;
}

.site-footer__contacts a:hover,
.site-footer__contacts a:focus-visible {
  opacity: 0.72;
  outline: 0;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
  opacity: 0.72;
  outline: 0;
}

.site-footer__contacts {
  display: contents;
}

.site-footer__contacts div {
  display: grid;
  gap: clamp(10px, 0.8vw, 16px);
  padding-left: clamp(60px, 5vw, 102px);
}

.site-footer__logo {
  display: block;
  width: clamp(120px, 7.7vw, 158px);
  height: auto;
}

.site-footer__logo-link {
  display: block;
  justify-self: end;
  margin-right: clamp(60px, 5vw, 102px);
  line-height: 0;
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer__logo-link:hover,
.site-footer__logo-link:focus-visible {
  opacity: 0.86;
  transform: scale(1.045);
  outline: 0;
}

.site-menu {
  position: fixed;
  top: clamp(32px, 4vw, 58px);
  right: clamp(28px, 5vw, 96px);
  z-index: 12;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 520ms step-end;
}

body.is-ready .site-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 1ms step-start;
}

body.is-ready.is-modal-open .site-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-18px);
  transition:
    opacity 220ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 220ms step-end;
}

body.is-ready.is-modal-opening .site-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-18px);
  transition:
    opacity 220ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 220ms step-end;
}

.site-menu__desktop {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 40px);
}

.site-menu__item,
.site-menu__burger,
.mobile-menu__items a {
  border: 0;
  background: #0044ad;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
}

.site-menu__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  height: clamp(56px, 3.125vw, 64px);
  padding: 10px clamp(28px, 1.9vw, 38px);
  border-radius: 999px;
  font-size: clamp(28px, 1.56vw, 32px);
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(0, 25, 92, 0.12);
  transition:
    background 260ms ease,
    color 260ms ease,
    opacity 260ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 260ms step-end;
}

.site-menu__trigger {
  width: clamp(132px, 7.57vw, 155px);
  padding-inline: 0;
}

.site-menu__link {
  min-width: 0;
}

.site-menu__link.is-active {
  background: #fff;
  color: #0044ad;
}

.site-menu__trigger {
  pointer-events: none;
}

.site-menu__link {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(18px) scale(0.96);
}

.site-menu__desktop:hover .site-menu__link {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  transition:
    background 260ms ease,
    color 260ms ease,
    opacity 260ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 1ms step-start;
}

.site-menu__desktop:hover .site-menu__link:nth-child(2) {
  animation: menuItemReveal 520ms 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-menu__desktop:hover .site-menu__link:first-child {
  animation: menuItemReveal 520ms 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-menu__desktop:hover .site-menu__link:nth-child(3) {
  animation: menuItemReveal 520ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-menu__desktop:hover .site-menu__trigger,
.site-menu__link:hover,
.site-menu__link:focus-visible {
  background: #fff;
  color: #0044ad;
  transform: scale(1.045);
}

.site-menu__link:focus-visible {
  outline: 0;
}

.site-menu__burger {
  display: none;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 14px 30px rgba(0, 25, 92, 0.16);
}

.site-menu__burger span {
  display: block;
  width: 27px;
  height: 3px;
  border-radius: 999px;
  background: #fff;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 26;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at center, rgba(20, 88, 191, 0.55) 0%, rgba(8, 59, 138, 0.55) 100%),
    var(--preview-blue);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 420ms step-end;
}

.mobile-menu::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: url("svg/back_preview.svg");
  background-size: cover;
  background-position: center;
  opacity: 0.72;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 1ms step-start;
}

.mobile-menu__close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 1;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-menu__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: #fff;
  transform-origin: center;
}

.mobile-menu__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu__items {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  justify-items: center;
}

.mobile-menu__items a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(78vw, 320px);
  min-height: 64px;
  padding: 14px 28px;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: clamp(31px, 9vw, 48px);
  line-height: 1;
  text-decoration: none;
  transition:
    background 240ms ease,
    color 240ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu__items a:hover,
.mobile-menu__items a:focus-visible {
  background: transparent;
  color: #fff;
  transform: scale(1.035);
  outline: 0;
}

.mobile-menu__items a.is-active {
  background: #fff;
  color: #0044ad;
}

.contacts-main {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 50% 48%, rgba(35, 128, 218, 0.5), transparent 42%),
    linear-gradient(135deg, #043a93 0%, #0b70c6 46%, #043a93 100%);
  color: #fff;
}

.contacts-hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(260px, 0.55fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(54px, 6vw, 116px);
  min-height: 100dvh;
  padding: clamp(112px, 10vw, 190px) clamp(72px, 6.8vw, 138px);
}

.contacts-hero h1,
.contacts-hero h2,
.contacts-hero p,
.contacts-hero ul {
  margin: 0;
}

.contacts-hero__intro h1 {
  font-size: clamp(62px, 5.2vw, 106px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
}

.contacts-hero__intro,
.contacts-hero__details,
.contact-form {
  opacity: 0;
  transform: translateX(-28px);
  animation: contactsBlockReveal 780ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.contacts-hero__details {
  animation-delay: 160ms;
}

.contact-form {
  animation-delay: 320ms;
}

.contacts-hero__intro p {
  width: min(100%, 430px);
  margin-top: clamp(28px, 2.2vw, 42px);
  font-size: clamp(18px, 1.12vw, 23px);
  line-height: 1.25;
  font-weight: 300;
}

.contacts-hero__details {
  display: grid;
  gap: clamp(52px, 5vw, 84px);
}

.contacts-hero__details h2,
.contact-form h2 {
  font-size: clamp(28px, 1.65vw, 34px);
  line-height: 1.05;
  font-weight: 700;
}

.contacts-hero__details ul {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.contacts-hero__details a {
  display: inline-block;
  margin-top: 22px;
  color: #fff;
  font-size: clamp(24px, 1.45vw, 30px);
  line-height: 1.2;
  font-weight: 300;
  text-decoration: none;
  transition: opacity 220ms ease;
}

.contacts-hero__details li a {
  margin-top: 0;
}

.contacts-hero__details a:hover,
.contacts-hero__details a:focus-visible {
  opacity: 0.72;
  outline: 0;
}

.contact-form {
  display: grid;
  justify-self: start;
  width: min(100%, 520px);
  gap: 16px;
  padding: clamp(38px, 2.7vw, 54px) clamp(34px, 2.5vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(38, 131, 236, 0.38), transparent 48%),
    linear-gradient(145deg, rgba(0, 68, 173, 0.96), rgba(4, 58, 147, 0.92));
  box-shadow:
    0 32px 80px rgba(0, 26, 91, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.contact-form > p {
  max-width: 390px;
  margin: 2px 0 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(15px, 0.86vw, 18px);
  line-height: 1.34;
  font-weight: 300;
}

.contact-form__field {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(3, 58, 147, 0.34);
  color: rgba(255, 255, 255, 0.58);
  transition:
    border-color 500ms ease,
    box-shadow 500ms ease,
    background 500ms ease;
}

.contact-form__field.is-invalid {
  border-color: #ff2e43;
  background: rgba(255, 46, 67, 0.08);
  box-shadow: 0 0 0 2px rgba(255, 46, 67, 0.18);
}

.contact-form__icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-form__field--message {
  min-height: 142px;
  align-items: start;
  padding-top: 18px;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 300;
  outline: 0;
  resize: none;
}

.contact-form__field textarea {
  overflow-y: auto;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 60px;
  margin-top: 6px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #0044ad;
  font-size: clamp(21px, 1.25vw, 25px);
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(0, 24, 82, 0.18);
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease;
}

.contact-form__submit:hover,
.contact-form__submit:focus-visible {
  opacity: 0.88;
  transform: translateY(-2px);
  outline: 0;
}

.contact-form__agree {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(13px, 0.78vw, 16px);
  line-height: 1.24;
  font-weight: 300;
}

.contact-form__agree input {
  appearance: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  accent-color: #fff;
  transition:
    background 220ms ease,
    border-color 500ms ease,
    box-shadow 500ms ease;
}

.contact-form__agree input::before {
  width: 9px;
  height: 5px;
  border: solid #0044ad;
  border-width: 0 0 2px 2px;
  content: "";
  opacity: 0;
  transform: translateY(-1px) rotate(-45deg) scale(0.8);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.contact-form__agree input:checked {
  border-color: #fff;
  background: #fff;
}

.contact-form__agree input:checked::before {
  opacity: 1;
  transform: translateY(-1px) rotate(-45deg) scale(1);
}

.contact-form__agree input.is-invalid {
  border-color: #ff2e43;
  box-shadow: 0 0 0 3px rgba(255, 46, 67, 0.26);
}

.contact-form__agree a {
  color: inherit;
  text-underline-offset: 3px;
}

.contact-form__trap,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.contact-success {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 40;
  width: min(calc(100vw - 48px), 430px);
  padding: 26px 30px;
  border: 1px solid rgba(0, 68, 173, 0.14);
  border-radius: 8px;
  background: #fff;
  color: #073f9d;
  box-shadow: 0 24px 70px rgba(0, 24, 86, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -46%) scale(0.97);
  transition:
    opacity 320ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 320ms step-end;
}

.contact-success.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  transition:
    opacity 320ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 1ms step-start;
}

.contact-success strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 900;
}

.contact-success p {
  margin: 9px 0 0;
  color: #1b1b1b;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 300;
}

.contact-success.is-error {
  border-color: rgba(180, 31, 50, 0.26);
  color: #a11e31;
}

.contact-form__submit:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

body.privacy-page {
  min-height: 100dvh;
  background: #fff;
  color: #171717;
}

.privacy-main {
  min-height: 100dvh;
  padding: clamp(140px, 10vw, 190px) 24px clamp(80px, 8vw, 140px);
  background: #fff;
}

.privacy-document {
  width: min(100%, 1040px);
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: aboutBlockReveal 720ms 100ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.privacy-document h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(40px, 4.3vw, 72px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

.privacy-document section {
  margin-top: clamp(48px, 5vw, 76px);
}

.privacy-document h2 {
  max-width: 900px;
  margin: 0 0 22px;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}

.privacy-document p,
.privacy-document li {
  font-size: clamp(16px, 1.05vw, 19px);
  line-height: 1.58;
  font-weight: 300;
}

.privacy-document p {
  margin: 0 0 16px;
}

.privacy-document ul {
  display: grid;
  gap: 10px;
  margin: -2px 0 22px;
  padding-left: 24px;
}

.privacy-document a {
  color: #0044ad;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.privacy-document a:hover,
.privacy-document a:focus-visible {
  opacity: 0.72;
  outline: 0;
}

.about-main {
  --about-page-pad: clamp(72px, 7.4vw, 152px);
  --about-side-width: min(38.7vw, 864px);
  min-height: 100dvh;
  overflow: visible;
  background:
    radial-gradient(circle at 52% 48%, rgba(35, 128, 218, 0.5), transparent 43%),
    linear-gradient(135deg, #043a93 0%, #0b70c6 46%, #043a93 100%);
  background-attachment: fixed;
  color: #fff;
}

.about-hero {
  display: block;
  min-height: 100dvh;
  padding: clamp(104px, 7.6vw, 150px) var(--about-page-pad);
}

.about-hero__text {
  display: grid;
  align-content: start;
  gap: clamp(54px, 5.2vw, 92px);
  width: calc(50dvw - var(--about-page-pad));
  max-width: calc(50dvw - var(--about-page-pad));
  overflow: visible;
}

.about-block,
.about-block__copy {
  width: 100%;
  max-width: 100%;
}

.about-visual {
  opacity: 0;
  animation: aboutBlockReveal 820ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.about-block h1,
.about-block h2,
.about-block__copy {
  opacity: 0;
  transform: translateY(28px);
  animation: aboutBlockReveal 720ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.about-block--primary h1 {
  animation-delay: 60ms;
}

.about-block--primary .about-block__copy {
  animation-delay: 260ms;
}

.about-block--secondary h2 {
  animation-delay: 500ms;
}

.about-block--secondary .about-block__copy {
  animation-delay: 700ms;
}

.about-visual {
  margin: 0;
  animation-name: aboutImageReveal;
  animation-delay: 160ms;
}

.about-visual--side {
  position: fixed;
  left: calc(50dvw + var(--about-page-pad));
  top: 50dvh;
  width: var(--about-side-width);
  transform: translate(34px, -50%) scale(0.985);
  animation-name: aboutSideImageReveal;
}

.about-visual--inline {
  display: none;
}

.about-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 1.14;
  object-fit: cover;
  border-radius: 80px;
  box-shadow: 0 34px 82px rgba(0, 28, 92, 0.22);
}

.about-block h1,
.about-block h2,
.about-block p {
  margin: 0;
}

.about-block h1,
.about-block h2 {
  max-width: 100%;
  font-size: clamp(62px, 5.1vw, 104px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
}

.about-block h2 span {
  display: inline;
}

.about-block h2 span:first-child,
.about-block h2 span:nth-child(2)::after {
  content: "";
  display: block;
}

.about-block p {
  width: min(100%, 850px);
  max-width: 100%;
  margin-top: clamp(26px, 2.4vw, 44px);
  font-size: clamp(18px, 1.12vw, 23px);
  line-height: 1.28;
  font-weight: 300;
  overflow-wrap: break-word;
}

.about-block p + p {
  margin-top: clamp(22px, 1.9vw, 34px);
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 34% 44%, rgba(255, 243, 139, 0.48), transparent 33%),
    linear-gradient(135deg, #dca719 0%, #f1c521 44%, #e0ac18 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 520ms step-end;
}

.product-modal[data-flavor="bacon"] {
  background:
    radial-gradient(circle at 34% 44%, rgba(255, 75, 82, 0.42), transparent 33%),
    linear-gradient(135deg, #bd001b 0%, #e20d26 44%, #c7001d 100%);
}

.product-modal[data-flavor="mushrooms"] {
  background:
    radial-gradient(circle at 34% 44%, rgba(37, 185, 78, 0.42), transparent 33%),
    linear-gradient(135deg, #007a2f 0%, #06923a 44%, #007f32 100%);
}

.product-modal[data-flavor="cheese"] {
  background:
    radial-gradient(circle at 34% 44%, rgba(255, 243, 139, 0.48), transparent 33%),
    linear-gradient(135deg, #dca719 0%, #f1c521 44%, #e0ac18 100%);
}

.product-modal--margarine[data-flavor="margarine-slivochnoe"] {
  background:
    radial-gradient(circle at 34% 44%, rgba(115, 203, 255, 0.4), transparent 34%),
    linear-gradient(135deg, #0072bd 0%, #11a5e2 46%, #0069b0 100%);
}

.product-modal--margarine[data-flavor="margarine-table"] {
  background:
    radial-gradient(circle at 34% 44%, rgba(120, 217, 102, 0.4), transparent 34%),
    linear-gradient(135deg, #0b742f 0%, #55ac2d 46%, #08702c 100%);
}

.product-modal--margarine[data-flavor="margarine-homemade"] {
  background:
    radial-gradient(circle at 34% 44%, rgba(255, 219, 122, 0.48), transparent 34%),
    linear-gradient(135deg, #dc870c 0%, #f2b21f 46%, #d07808 100%);
}

.product-modal--margarine[data-flavor="margarine-universal"] {
  background:
    radial-gradient(circle at 34% 44%, rgba(115, 203, 255, 0.4), transparent 34%),
    linear-gradient(135deg, #0072bd 0%, #11a5e2 46%, #0069b0 100%);
}

.product-modal--doypack[data-flavor="doypack-classic"] {
  background:
    radial-gradient(circle at 34% 44%, rgba(75, 193, 245, 0.38), transparent 34%),
    linear-gradient(135deg, #043a93 0%, #0879c9 46%, #03347f 100%);
}

.product-modal--doypack[data-flavor="doypack-salad"] {
  background:
    radial-gradient(circle at 34% 44%, rgba(150, 225, 82, 0.4), transparent 34%),
    linear-gradient(135deg, #356f1e 0%, #77af32 46%, #265c19 100%);
}

.product-modal--doypack[data-flavor="doypack-sunflowers"] {
  background:
    radial-gradient(circle at 34% 44%, rgba(255, 229, 87, 0.46), transparent 34%),
    linear-gradient(135deg, #df7c0f 0%, #f4bd1f 46%, #d96e0a 100%);
}

.product-modal--spread[data-flavor="spread-slivochnoe"] {
  background:
    radial-gradient(circle at 34% 44%, rgba(43, 117, 205, 0.38), transparent 34%),
    linear-gradient(135deg, #043f91 0%, #0558b3 46%, #03357c 100%);
}

.product-modal--spread[data-flavor="spread-chocolate"] {
  background:
    radial-gradient(circle at 34% 44%, rgba(180, 93, 49, 0.36), transparent 34%),
    linear-gradient(135deg, #4d2119 0%, #8a3a22 46%, #421a14 100%);
}

.product-modal--oil[data-flavor="oil-one"],
.product-modal--oil[data-flavor="oil-five"] {
  background:
    radial-gradient(circle at 34% 44%, rgba(255, 202, 36, 0.42), transparent 34%),
    linear-gradient(135deg, #e89600 0%, #ffb920 46%, #d98200 100%);
}

.product-modal--oil[data-flavor="oil-fryer"] {
  background:
    radial-gradient(circle at 34% 44%, rgba(255, 201, 60, 0.44), transparent 34%),
    linear-gradient(135deg, #c96c00 0%, #eca70a 46%, #bd5f00 100%);
}

.product-modal--cream[data-flavor="cream-fat72One"],
.product-modal--cream[data-flavor="cream-fat72Five"] {
  background:
    radial-gradient(circle at 34% 44%, rgba(43, 117, 205, 0.38), transparent 34%),
    linear-gradient(135deg, #043f91 0%, #0558b3 46%, #03357c 100%);
}

.product-modal--cream[data-flavor="cream-fat82One"],
.product-modal--cream[data-flavor="cream-fat82Five"] {
  background:
    radial-gradient(circle at 34% 44%, rgba(255, 68, 74, 0.38), transparent 34%),
    linear-gradient(135deg, #b8001b 0%, #e10d25 46%, #9f0017 100%);
}

.product-modal--horeca[data-flavor="horeca-sauce30"] {
  background:
    radial-gradient(circle at 34% 44%, rgba(255, 199, 83, 0.2), transparent 30%),
    linear-gradient(135deg, #d97508 0%, #ee8b16 48%, #c76505 100%);
}

.product-modal--horeca[data-flavor="horeca-sauce40"] {
  background:
    radial-gradient(circle at 34% 44%, rgba(255, 224, 100, 0.2), transparent 30%),
    linear-gradient(135deg, #dd9300 0%, #f3aa0d 48%, #cc8200 100%);
}

.product-modal--horeca[data-flavor="horeca-mayo50"] {
  background:
    radial-gradient(circle at 34% 44%, rgba(255, 87, 91, 0.18), transparent 30%),
    linear-gradient(135deg, #b7001a 0%, #d3001e 48%, #990015 100%);
}

.product-modal--horeca[data-flavor="horeca-mayo55"] {
  background:
    radial-gradient(circle at 34% 44%, rgba(112, 190, 87, 0.18), transparent 30%),
    linear-gradient(135deg, #276f22 0%, #32872a 48%, #205f1b 100%);
}

.product-modal--horeca[data-flavor="horeca-mayo67"] {
  background:
    radial-gradient(circle at 34% 44%, rgba(128, 215, 238, 0.18), transparent 30%),
    linear-gradient(135deg, #2191bb 0%, #36a9cf 48%, #177fa8 100%);
}

.product-modal--horeca[data-flavor="horeca-mayo78"] {
  background:
    radial-gradient(circle at 34% 44%, rgba(255, 224, 96, 0.2), transparent 30%),
    linear-gradient(135deg, #dc9300 0%, #f2aa0d 48%, #c98100 100%);
}

.product-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 1ms step-start;
}

.product-modal__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 50vw) minmax(430px, 1fr);
  align-items: center;
  width: 100%;
  min-height: 100vh;
  padding: clamp(42px, 5vw, 96px) clamp(34px, 6vw, 112px) clamp(150px, 10vw, 205px) clamp(24px, 3vw, 64px);
}

.product-modal__slogan {
  position: fixed;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.product-modal__slogan img {
  display: block;
  width: min(53vw, 940px);
  height: auto;
  filter: drop-shadow(0 18px 38px rgba(0, 20, 70, 0.16));
}

.product-modal.is-slogan-intro .product-modal__slogan {
  visibility: visible;
  animation: productSloganIntro 1000ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.product-modal.is-open.is-slogan-intro .product-modal__visual,
.product-modal.is-open.is-slogan-intro .product-modal__content,
.product-modal.is-open.is-slogan-intro .product-modal__flavors {
  opacity: 0;
  pointer-events: none;
}

.product-modal__close {
  position: absolute;
  top: clamp(24px, 4vw, 70px);
  right: clamp(28px, 5vw, 96px);
  z-index: 2;
  width: clamp(36px, 3vw, 52px);
  height: clamp(36px, 3vw, 52px);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.product-modal.is-open .product-modal__close {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 860ms;
}

.product-modal.is-open.is-slogan-intro .product-modal__close {
  opacity: 0;
  pointer-events: none;
  transition-delay: 0ms;
}

.product-modal__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  transform-origin: center;
  transition: background 220ms ease, transform 220ms ease;
}

.product-modal__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.product-modal__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.product-modal__close:hover span,
.product-modal__close:focus-visible span {
  background: #fff;
}

.product-modal__close:hover span:first-child,
.product-modal__close:focus-visible span:first-child {
  transform: translate(-50%, -50%) rotate(45deg) scaleX(1.12);
}

.product-modal__close:hover span:last-child,
.product-modal__close:focus-visible span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg) scaleX(1.12);
}

.product-modal__close:focus-visible {
  outline: 0;
}

.product-modal__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: calc(100vh - clamp(150px, 10vw, 205px));
  opacity: 0;
  transform: translateX(-22px) scale(0.985);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-modal.is-open .product-modal__visual {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.product-modal__visual img {
  display: block;
  width: auto;
  max-width: min(58vw, 1280px);
  height: min(100vh, 1280px);
  object-fit: contain;
  filter: drop-shadow(0 30px 48px rgba(88, 55, 0, 0.18));
  transition:
    opacity 260ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-modal.is-switching .product-modal__visual img {
  opacity: 0;
  transform: translateY(8px) scale(0.985);
}

.product-modal.is-image-loading .product-modal__visual img {
  opacity: 0;
}

.product-modal__content {
  width: min(100%, 760px);
  padding-top: 2vh;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 720ms 120ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms 120ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-modal.is-open .product-modal__content {
  opacity: 1;
  transform: translateY(0);
}

.product-modal.is-switching .product-modal__content {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.product-modal__content h1,
.product-modal__content .product-modal__title,
.product-modal__content h2,
.product-modal__content p,
.product-modal__nutrition dl,
.product-modal__weight {
  margin: 0;
  cursor: default;
  user-select: none;
}

.product-modal__content h1,
.product-modal__content .product-modal__title {
  font-size: clamp(34px, 3.35vw, 64px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
}

.product-modal__content h1 .is-upper,
.product-modal__content .product-modal__title .is-upper {
  text-transform: uppercase;
}

.product-modal__subtitle:not(:empty) {
  display: block;
}

.product-modal__content > p {
  width: min(100%, 720px);
  margin-top: clamp(34px, 4vw, 64px);
  font-size: clamp(17px, 1.25vw, 25px);
  line-height: 1.18;
  font-weight: 300;
}

.product-modal__nutrition {
  margin-top: clamp(34px, 4vw, 62px);
}

.product-modal__content h2 {
  font-size: clamp(22px, 1.55vw, 32px);
  line-height: 1.1;
  font-weight: 700;
}

.product-modal__nutrition dl {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(10px, 1.2vw, 24px);
  margin-top: 22px;
}

.product-modal__nutrition dt {
  font-size: clamp(17px, 1.12vw, 24px);
  line-height: 1.1;
  font-weight: 300;
}

.product-modal__nutrition dd,
.product-modal__weight p {
  margin: 12px 0 0;
  font-size: clamp(24px, 1.6vw, 34px);
  line-height: 1;
  font-weight: 700;
}

.product-modal__weight {
  margin-top: clamp(34px, 4vw, 62px);
}

.product-modal__flavors {
  position: absolute;
  left: 50%;
  bottom: clamp(92px, 8.4vw, 154px);
  z-index: 3;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 4vw, 74px);
  transform: translateX(-50%);
}

.product-modal__flavors button {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 66px;
  padding: 12px 30px;
  border: 0;
  border-radius: 22px;
  background: transparent;
  color: #fff;
  font-size: clamp(20px, 1.35vw, 30px);
  line-height: 0.98;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  transition:
    color 260ms ease,
    transform 260ms ease;
}

.product-modal__flavors button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: #192d8d;
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 340ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-modal__flavors button:hover,
.product-modal__flavors button:focus-visible {
  transform: translateY(-2px);
}

.product-modal__flavors button:focus-visible {
  outline: 0;
}

.product-modal__flavors .is-active {
  color: #fff;
}

.product-modal__flavors .is-active::before {
  opacity: 1;
  transform: scale(1);
}

.product-modal--margarine .product-modal__flavors,
.product-modal--cream .product-modal__flavors {
  grid-template-columns: repeat(4, max-content);
  gap: clamp(18px, 3vw, 54px);
}

.product-modal--horeca .product-modal__flavors {
  grid-template-columns: repeat(6, max-content);
  gap: clamp(12px, 2vw, 34px);
}

@media (min-width: 2190px) {
  .about-block h2 {
    white-space: nowrap;
  }

  .about-block h2 span:nth-child(2)::after {
    content: " ";
    display: inline;
  }
}

@media (max-width: 1439px) {
  .catalog,
  .product-grid {
    width: 100dvw;
    max-width: 100dvw;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, calc(100dvw / 3)));
  }

  .product-modal__panel {
    grid-template-columns: minmax(0, 50vw) minmax(360px, 1fr);
    padding-inline: clamp(28px, 4vw, 70px);
  }

  .product-modal__visual img {
    max-width: min(57vw, 940px);
    height: min(92vh, 940px);
  }

  .product-modal--margarine .product-modal__flavors {
    gap: clamp(14px, 2.2vw, 34px);
  }

  .product-modal--cream .product-modal__flavors {
    gap: clamp(14px, 2.2vw, 34px);
  }

  .product-modal--horeca .product-modal__flavors {
    gap: clamp(10px, 1.4vw, 22px);
  }

  .site-footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(32px, 4vw, 80px);
    padding: clamp(26px, 2.2vw, 45px) clamp(60px, 5vw, 102px);
  }

  .site-footer__logo-link {
    display: none;
  }

  .site-footer__legal,
  .site-footer__contacts div {
    padding-left: 0;
  }

  .about-main {
    --about-page-pad: 62px;
    --about-side-width: min(36vw, 520px);
  }

  .about-hero {
    padding-inline: var(--about-page-pad);
  }

  .about-block h1,
  .about-block h2 {
    font-size: clamp(52px, 5.6vw, 76px);
  }

  .about-block p {
    font-size: clamp(16px, 1.28vw, 19px);
  }

  .contacts-hero {
    grid-template-columns: minmax(300px, 0.8fr) minmax(220px, 0.55fr) minmax(340px, 0.85fr);
    gap: 44px;
    padding-inline: 62px;
  }

  .contacts-hero__intro h1 {
    font-size: clamp(58px, 5.8vw, 78px);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .site-menu {
    top: 18px;
    right: 18px;
  }

  .site-menu__desktop {
    display: none;
  }

  .site-menu__burger {
    display: flex;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, calc(100dvw / 3)));
    width: 100dvw;
    max-width: 100dvw;
  }

  .site-footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding: 26px 34px;
  }

  .site-footer__contacts {
    display: contents;
  }

  .site-footer__logo-link {
    display: none;
    margin-right: 0;
  }

  .site-footer__logo {
    width: 112px;
  }

  .about-main {
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }

  .about-hero {
    display: block;
    height: auto;
    min-height: 100svh;
    padding: 118px 58px;
  }

  .about-hero__text {
    display: grid;
    gap: 46px;
    width: 100%;
    max-width: none;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .about-visual--side {
    display: none;
  }

  .about-visual--inline {
    display: block;
  }

  .about-visual {
    width: 100%;
    transform: translateY(26px);
    animation-name: aboutBlockReveal;
    animation-delay: 160ms;
  }

  .about-block--secondary {
    animation-delay: 300ms;
  }

  .about-visual img {
    aspect-ratio: 1.36;
    border-radius: 52px;
  }

  .about-block h1,
  .about-block h2 {
    font-size: clamp(54px, 9.4vw, 88px);
  }

  .about-block p {
    width: min(100%, 680px);
    font-size: clamp(18px, 2.4vw, 23px);
  }

  .product-modal {
    overflow-y: auto;
  }

  .product-modal__panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 100svh;
    padding: 82px 42px 42px;
  }

  .product-modal__slogan {
    min-height: 100svh;
  }

  .product-modal__slogan img {
    width: min(68vw, 560px);
  }

  .product-modal__visual {
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0 auto;
  }

  .product-modal__visual img {
    width: min(100vw, 1320px);
    max-width: 100%;
    height: auto;
    max-height: 62svh;
    object-fit: contain;
    filter: drop-shadow(0 22px 36px rgba(88, 55, 0, 0.14));
  }

  .product-modal__content {
    width: min(100%, 660px);
    padding-top: 28px;
    margin: 0 auto;
  }

  .product-modal__content h1,
  .product-modal__content .product-modal__title {
    font-size: clamp(38px, 6.2vw, 52px);
  }

  .product-modal--margarine[data-flavor="margarine-universal"] .product-modal__content h1,
  .product-modal--margarine[data-flavor="margarine-universal"] .product-modal__content .product-modal__title {
    font-size: clamp(34px, 5.4vw, 46px);
  }

  .product-modal--margarine[data-flavor="margarine-universal"] .product-modal__content h1 span,
  .product-modal--margarine[data-flavor="margarine-universal"] .product-modal__content .product-modal__title span {
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .product-modal__content > p {
    margin-top: 28px;
    font-size: clamp(18px, 2.45vw, 23px);
  }

  .product-modal__nutrition {
    margin-top: 32px;
  }

  .product-modal__nutrition dl {
    grid-template-columns: repeat(4, auto);
    gap: clamp(12px, 2vw, 24px);
  }

  .product-modal__flavors,
  .product-modal--margarine .product-modal__flavors,
  .product-modal--cream .product-modal__flavors,
  .product-modal--horeca .product-modal__flavors {
    position: static;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 18px;
    margin: 60px auto 0;
    transform: none;
  }

  .product-modal__flavors button {
    min-width: 0;
    min-height: 54px;
    padding: 10px 20px;
    border-radius: 18px;
    font-size: clamp(18px, 2.4vw, 22px);
  }

  .product-modal--margarine .product-modal__flavors button,
  .product-modal--cream .product-modal__flavors button {
    padding-inline: 16px;
    font-size: clamp(15px, 2vw, 19px);
  }

  .product-modal--horeca .product-modal__flavors {
    gap: 12px;
  }

  .product-modal--horeca .product-modal__flavors button {
    padding-inline: 18px;
  }

  .contacts-main {
    min-height: 100svh;
  }

  .contacts-hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 42px;
    min-height: 100svh;
    padding: 118px 58px 64px;
  }

  .contacts-hero__intro,
  .contacts-hero__details,
  .contact-form {
    width: min(100%, 660px);
    margin-inline: auto;
  }

  .contact-form {
    justify-self: center;
  }

  .contacts-hero__intro h1 {
    font-size: clamp(62px, 10vw, 92px);
  }

  .contacts-hero__details {
    grid-template-columns: 1fr 1fr;
    gap: 38px;
  }
}

@media (max-width: 767px) {
  .privacy-main {
    padding: 108px 20px 72px;
  }

  .privacy-document h1 {
    font-size: 34px;
    line-height: 1.06;
    overflow-wrap: anywhere;
  }

  .privacy-document section {
    margin-top: 44px;
  }

  .privacy-document h2 {
    margin-bottom: 18px;
    font-size: 24px;
  }

  .privacy-document p,
  .privacy-document li {
    font-size: 16px;
    line-height: 1.52;
  }

  .privacy-document ul {
    padding-left: 22px;
  }

  .contact-success {
    width: min(calc(100vw - 32px), 430px);
    padding: 22px 20px;
  }

  .preloader {
    min-height: 100svh;
    min-height: 100dvh;
  }

  .preloader__mark {
    height: 100svh;
    height: 100dvh;
  }

  .preloader__logo,
  .preloader__slogan {
    top: 48%;
  }

  .site-menu {
    top: 18px;
    right: 18px;
  }

  .site-menu__desktop {
    display: none;
  }

  .site-menu__burger {
    display: flex;
  }

  .preloader__logo {
    width: min(70vw, 340px);
  }

  .preloader__slogan {
    width: min(82vw, 420px);
  }

  .product-grid {
    grid-template-columns: minmax(0, 100dvw);
    width: 100dvw;
    max-width: 100dvw;
  }

  .contacts-main {
    min-height: 100svh;
  }

  .contacts-hero {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: 100svh;
    padding: 96px 24px 42px;
  }

  .contacts-hero__intro h1 {
    font-size: clamp(46px, 15vw, 66px);
  }

  .contacts-hero__intro p {
    width: min(100%, 360px);
    margin-top: 24px;
  }

  .contacts-hero__details {
    gap: 34px;
  }

  .contacts-hero__details h2,
  .contact-form h2 {
    font-size: 28px;
  }

  .contacts-hero__details a {
    font-size: 23px;
  }

  .about-main {
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }

  .about-hero {
    display: block;
    height: auto;
    min-height: 100svh;
    padding: 96px 24px;
  }

  .about-hero__text {
    display: grid;
    gap: 36px;
    width: 100%;
    max-width: none;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .about-visual--side {
    display: none;
  }

  .about-visual--inline {
    display: block;
  }

  .about-visual {
    width: 100%;
    transform: translateY(22px);
    animation-name: aboutBlockReveal;
    animation-delay: 160ms;
  }

  .about-block--secondary {
    animation-delay: 300ms;
  }

  .about-visual img {
    aspect-ratio: 1.22;
    border-radius: 32px;
  }

  .about-block h1,
  .about-block h2 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .about-block p {
    width: 100%;
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.28;
  }

  .about-block p + p {
    margin-top: 20px;
  }

  .contact-form {
    gap: 14px;
    padding: 32px 22px;
    border-radius: 22px;
  }

  .contact-form__field {
    min-height: 54px;
  }

  .contact-form__field--message {
    min-height: 132px;
  }

  .contact-form__submit {
    min-height: 56px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 24px;
  }

  .site-footer__contacts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__logo-link {
    display: block;
    justify-self: start;
    margin-right: 0;
  }

  .site-footer__logo {
    width: 138px;
  }

  .product-modal {
    overflow-y: auto;
  }

  .product-modal__panel {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    padding: 82px 24px 34px;
  }

  .product-modal__slogan {
    min-height: 100svh;
  }

  .product-modal__slogan img {
    width: min(82vw, 420px);
  }

  .product-modal__visual img {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    filter: none;
  }

  .product-modal__visual {
    width: 100vw;
    height: auto;
    margin-inline: -24px;
    overflow: hidden;
  }

  .product-modal__content {
    width: 100%;
    padding-top: 22px;
  }

  .product-modal__content h1,
  .product-modal__content .product-modal__title {
    font-size: clamp(34px, 11vw, 48px);
  }

  .product-modal--margarine[data-flavor="margarine-universal"] .product-modal__content h1,
  .product-modal--margarine[data-flavor="margarine-universal"] .product-modal__content .product-modal__title {
    font-size: clamp(30px, 9.6vw, 42px);
  }

  .product-modal--margarine[data-flavor="margarine-universal"] .product-modal__content h1 span,
  .product-modal--margarine[data-flavor="margarine-universal"] .product-modal__content .product-modal__title span {
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .product-modal__content > p {
    margin-top: 28px;
  }

  .product-modal__nutrition dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 28px;
  }

  .product-modal__flavors {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 8px;
    margin-top: 34px;
    transform: none;
  }

  .product-modal--margarine .product-modal__flavors {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-modal--cream .product-modal__flavors {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-modal--horeca .product-modal__flavors {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-modal__flavors button,
  .product-modal__flavors .is-active {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    border-radius: 18px;
    font-size: 22px;
  }

  .product-modal__flavors button {
    background: #fff;
  }

  .product-modal[data-flavor="bacon"] .product-modal__flavors button:not(.is-active) {
    color: #d20622;
  }

  .product-modal[data-flavor="mushrooms"] .product-modal__flavors button:not(.is-active) {
    color: #078b39;
  }

  .product-modal[data-flavor="cheese"] .product-modal__flavors button:not(.is-active) {
    color: #e3ad18;
  }

  .product-modal--margarine[data-flavor="margarine-slivochnoe"] .product-modal__flavors button:not(.is-active) {
    color: #068cc8;
  }

  .product-modal--margarine[data-flavor="margarine-table"] .product-modal__flavors button:not(.is-active) {
    color: #318f2f;
  }

  .product-modal--margarine[data-flavor="margarine-homemade"] .product-modal__flavors button:not(.is-active) {
    color: #de8c0f;
  }

  .product-modal--margarine[data-flavor="margarine-universal"] .product-modal__flavors button:not(.is-active) {
    color: #0797ca;
  }

  .product-modal--doypack[data-flavor="doypack-classic"] .product-modal__flavors button:not(.is-active) {
    color: #056ab8;
  }

  .product-modal--doypack[data-flavor="doypack-salad"] .product-modal__flavors button:not(.is-active) {
    color: #5f9428;
  }

  .product-modal--doypack[data-flavor="doypack-sunflowers"] .product-modal__flavors button:not(.is-active) {
    color: #e58c11;
  }

  .product-modal--spread[data-flavor="spread-slivochnoe"] .product-modal__flavors button:not(.is-active) {
    color: #0558b3;
  }

  .product-modal--spread[data-flavor="spread-chocolate"] .product-modal__flavors button:not(.is-active) {
    color: #76301f;
  }

  .product-modal--oil[data-flavor="oil-one"] .product-modal__flavors button:not(.is-active),
  .product-modal--oil[data-flavor="oil-five"] .product-modal__flavors button:not(.is-active) {
    color: #d99600;
  }

  .product-modal--oil[data-flavor="oil-fryer"] .product-modal__flavors button:not(.is-active) {
    color: #cc6e00;
  }

  .product-modal--cream[data-flavor="cream-fat72One"] .product-modal__flavors button:not(.is-active),
  .product-modal--cream[data-flavor="cream-fat72Five"] .product-modal__flavors button:not(.is-active) {
    color: #0558b3;
  }

  .product-modal--cream[data-flavor="cream-fat82One"] .product-modal__flavors button:not(.is-active),
  .product-modal--cream[data-flavor="cream-fat82Five"] .product-modal__flavors button:not(.is-active) {
    color: #d50a22;
  }

  .product-modal--horeca[data-flavor="horeca-sauce30"] .product-modal__flavors button:not(.is-active) {
    color: #ee8b16;
  }

  .product-modal--horeca[data-flavor="horeca-sauce40"] .product-modal__flavors button:not(.is-active) {
    color: #f3aa0d;
  }

  .product-modal--horeca[data-flavor="horeca-mayo50"] .product-modal__flavors button:not(.is-active) {
    color: #d3001e;
  }

  .product-modal--horeca[data-flavor="horeca-mayo55"] .product-modal__flavors button:not(.is-active) {
    color: #32872a;
  }

  .product-modal--horeca[data-flavor="horeca-mayo67"] .product-modal__flavors button:not(.is-active) {
    color: #36a9cf;
  }

  .product-modal--horeca[data-flavor="horeca-mayo78"] .product-modal__flavors button:not(.is-active) {
    color: #f2aa0d;
  }

  .product-modal__flavors .is-active {
    background: #192d8d;
    color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  :root {
    --intro-duration: 1ms;
  }
}

@keyframes logoReveal {
  0% {
    opacity: 0;
    transform: translate(-50%, -46%) scale(0.985);
    filter: drop-shadow(0 18px 38px rgba(0, 20, 70, 0.16));
  }

  20%,
  39% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0) drop-shadow(0 18px 38px rgba(0, 20, 70, 0.16));
  }

  55%,
  100% {
    opacity: 0;
    transform: translate(-50%, -53%) scale(0.995);
    filter: drop-shadow(0 18px 38px rgba(0, 20, 70, 0.16));
  }
}

@keyframes sloganReveal {
  0%,
  43% {
    opacity: 0;
    transform: translate(-50%, -46%) scale(0.985);
    filter: drop-shadow(0 18px 38px rgba(0, 20, 70, 0.16));
  }

  60%,
  82% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0) drop-shadow(0 18px 38px rgba(0, 20, 70, 0.16));
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -54%) scale(0.985);
    filter: drop-shadow(0 18px 38px rgba(0, 20, 70, 0.16));
  }
}

@keyframes sloganOnlyReveal {
  0% {
    opacity: 0;
    transform: translate(-50%, -46%) scale(0.985);
    filter: drop-shadow(0 18px 38px rgba(0, 20, 70, 0.16));
  }

  36%,
  68% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0) drop-shadow(0 18px 38px rgba(0, 20, 70, 0.16));
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -54%) scale(0.985);
    filter: drop-shadow(0 18px 38px rgba(0, 20, 70, 0.16));
  }
}

@keyframes menuItemReveal {
  0% {
    opacity: 0;
    transform: translateX(18px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes contactsBlockReveal {
  0% {
    opacity: 0;
    transform: translateX(-28px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes aboutBlockReveal {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aboutImageReveal {
  0% {
    opacity: 0;
    transform: translateX(34px) scale(0.985);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes aboutSideImageReveal {
  0% {
    opacity: 0;
    transform: translate(34px, -50%) scale(0.985);
  }

  100% {
    opacity: 1;
    transform: translate(0, -50%) scale(1);
  }
}

@keyframes productSloganIntro {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }

  42% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.985);
  }
}
