@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");

:root {
  --main-color: #069393;
  --main-dark: #047575;
  --main-darker: #03494d;
  --main-light: #e6f4f4;
  --main-rgb: 6, 147, 147;

  --text: #181d1d;
  --muted: #6b7575;
  --white: #fff;
  --bg: #fff;
  --bg-soft: #f4f6f6;
  --border: rgba(24, 29, 29, 0.12);

  --radius-lg: 0;
  --radius: 0;
  --radius-sm: 0;
  --radius-pill: 0;

  --header-h: 92px;
  --ease: cubic-bezier(0.25, 0.6, 0.3, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);

  --swiper-theme-color: var(--main-color);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
  color: inherit;
  border: none;
  background: transparent;
}

button:not(:disabled) {
  cursor: pointer;
}

h1 {
  font-weight: 500;
}

:focus-visible {
  outline: 2px solid var(--main-color);
  outline-offset: 3px;
}

::selection {
  background: var(--main-color);
  color: var(--white);
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.custom_container {
  padding-inline: 100px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: transparent;
  box-shadow: none;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

header.is-solid,
header.is-menu-open {
  background-color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

header:not(.is-solid):not(.is-menu-open) .header_menu ul a,
header:not(.is-solid):not(.is-menu-open) .menu__link {
  color: var(--white);
}

header:not(.is-solid):not(.is-menu-open) .header_menu .menu__link svg path,
header:not(.is-solid):not(.is-menu-open) .menu__link svg path {
  fill: #fff;
}

header:not(.is-solid):not(.is-menu-open) .header_left img {
  filter: brightness(0) invert(1);
}

header:not(.is-solid):not(.is-menu-open) .header_menu .menu__link::before {
  border-bottom-color: var(--white);
}

header .custom_container {
  padding-right: 40px;
}

.header_inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 110px;
  min-height: var(--header-h);
  padding: 1.35rem 0;
  transition: 0.5s var(--ease-out);
}

.header_left {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 60px;
}

.header_left img {
  width: 180px;
  max-width: none;
  height: auto;
  transform: scale(1.55);
  transform-origin: left center;
}

.header_center {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  min-width: 0;
  width: auto;
  padding-right: 100px;
}

.header_right {
  position: relative;
  z-index: 30;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.header_menu {
  margin-left: auto;
}

.header_menu > ul {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header_menu ul a {
  color: var(--text);
  font-weight: 400;
}

.header_menu > ul > li > a {
  display: flex;
  align-items: center;
  font-size: 16px;
}

.menu_button {
  position: absolute;
  top: -48px;
  right: 0;
  left: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 52px;
  height: 128px;
  padding: 44px 9px 12px;
  background-color: var(--main-color);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  color: var(--white);
  font-size: 10px;
  text-transform: uppercase;
  transition: background-color 0.3s ease-in-out;
}

.menu_button[aria-expanded="true"] {
  background-color: var(--main-dark);
}

@media (hover: hover) and (pointer: fine) {
  .menu_button:hover {
    background-color: var(--main-dark);
  }
}

.header__menu-burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 0.625rem;
  margin: 12px auto 0;
}

.header__burger {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  max-width: 100%;
  height: 0.625rem;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transition:
    height 0.4s 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out);
}

.header__burger::before,
.header__burger::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease-out);
}

.menu_button[aria-expanded="true"] .header__burger {
  height: 0;
  border-color: transparent;
  transition:
    height 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out);
}

.menu_button[aria-expanded="true"] .header__burger::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu_button[aria-expanded="true"] .header__burger::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.menu__link {
  position: relative;
  transition: color 0.3s ease;
}

.menu__link:hover {
  color: var(--main-color);
}

.menu__link svg path {
  fill: currentColor;
}

.header_menu .menu__link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  border-bottom: 3px solid var(--main-color);
  border-radius: var(--radius-pill);
  opacity: 0;
  transform: scale(0, 1);
  transform-origin: left center;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.menu__link:hover::before {
  opacity: 1;
  transform: scale(1, 1);
}

.menu__item--dropdown {
  position: relative;
  --submenu-gap: 30px;
}

.menu__item--dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;
  width: max(100%, 220px);
  height: var(--submenu-gap);
  pointer-events: none;
}

.menu__item--dropdown:hover::after {
  pointer-events: auto;
}

.menu__submenu {
  position: absolute;
  top: calc(100% + var(--submenu-gap));
  left: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  width: max-content;
  padding: 6px;
  font-size: 12px;
  text-align: left;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(24, 29, 29, 0.08);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0s linear 0.25s;
}

.menu__item--dropdown:hover .menu__submenu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.menu__submenu-link {
  display: inline-block;
  width: 100%;
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
}

.menu__submenu-link:hover {
  background: var(--main-color);
  color: var(--white);
}

.search_button {
  --size: 2.9rem;
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: var(--size);
  height: var(--size);
  overflow: hidden;
  font-size: 11px;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: 0.5s var(--ease-out);
}

.search_button::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-color: var(--main-color);
  transition: all 0.3s ease-in-out;
}

.search_button:hover::after {
  top: 0;
}

.search_button:hover svg path {
  fill: var(--white);
}

.lang_wrapper {
  position: relative;
  z-index: 30;
  width: 44px;
  height: 44px;
}

.lang_wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid rgba(24, 29, 29, 0.08);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 20px rgba(24, 29, 29, 0.08);
  pointer-events: none;
  transition: height 0.2s ease;
}

.lang_wrapper:hover::before {
  height: 120px;
}

.lang_item {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  line-height: 0;
  cursor: pointer;
}

.lang_item:not(.is-current) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lang_wrapper:hover .lang_item:not(.is-current) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lang_wrapper:hover .lang_item:nth-child(2) {
  top: 38px;
}

.lang_wrapper:hover .lang_item:nth-child(3) {
  top: 76px;
}

.lang_flag {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(24, 29, 29, 0.08);
}

.lang_item:hover .lang_flag {
  box-shadow:
    0 0 0 3px var(--white),
    0 0 0 4px var(--main-color);
}

.all_menu_wrapper {
  position: fixed;
  top: var(--header-h);
  left: 0;
  z-index: -1;
  width: 100%;
  color: var(--text);
  background-color: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid rgba(24, 29, 29, 0.1);
  box-shadow: 0 18px 40px rgba(3, 73, 77, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: scaleY(0);
  transform-origin: top;
  transition:
    transform 0.32s var(--ease-out),
    opacity 0.2s ease,
    visibility 0s linear 0.32s,
    box-shadow 0.2s ease;
}

.all_menu_wrapper[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: 0 22px 48px rgba(3, 73, 77, 0.14);
  transition:
    transform 0.32s var(--ease-out),
    opacity 0.2s ease,
    visibility 0s,
    box-shadow 0.2s ease;
}

.all_menu_main {
  padding: 62px 0 133px;
}

.all_menu_layout {
  display: grid;
  grid-template-columns: 1fr;
}

.all_menu_grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}

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

.all_menu_heading {
  position: relative;
  width: fit-content;
  min-height: 30px;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.all_menu_list {
  margin-top: 12px;
}

.all_menu_list li {
  display: flex;
}

.all_menu_list li + li {
  margin-top: 10px;
}

.all_menu_list a {
  position: relative;
  width: fit-content;
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.all_menu_heading:hover,
.all_menu_list a:hover,
.all_menu_heading:focus-visible,
.all_menu_list a:focus-visible {
  color: var(--main-color);
}

.all_menu_main .all_menu_list a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  border-bottom: 3px solid var(--main-color);
  border-radius: var(--radius-pill);
  opacity: 0;
  transform: scale(0, 1);
  transform-origin: left center;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.all_menu_main .all_menu_list a:hover::before,
.all_menu_main .all_menu_list a:focus-visible::before {
  opacity: 1;
  transform: scale(1, 1);
}

.all_menu_bottom {
  min-height: 60px;
  border-top: 1px solid var(--border);
}

.all_menu_bottom_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 60px;
}

.all_menu_socials {
  display: flex;
  flex: 1 1 0;
  justify-content: flex-start;
  gap: 10px;
}

.all_menu_social {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  overflow: hidden;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.all_menu_social::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--main-color);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.all_menu_social:hover,
.all_menu_social:focus-visible {
  color: var(--white);
  border-color: var(--main-color);
}

.all_menu_social:hover::before,
.all_menu_social:focus-visible::before {
  transform: translateY(0);
}

.all_menu_social svg {
  position: relative;
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.all_menu_social svg path {
  fill: currentColor;
}

.all_menu_bottom .all_menu_social {
  width: 40px;
  height: 40px;
}

.all_menu_bottom .all_menu_social svg {
  width: 18px;
  height: 18px;
}

.all_menu_partners {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.all_menu_partners a {
  display: flex;
  align-items: center;
  height: 20px;
}

.all_menu_partners img {
  width: auto;
  max-height: 20px;
}

.all_menu_copyright {
  flex: 1 1 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  text-align: right;
}

#banner_wrapper {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: #0b1220;
}

#banner_video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.banner__frame {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  color: var(--white);
}

.banner__lines {
  position: absolute;
  inset: 0 24px;
  z-index: 0;
  pointer-events: none;
}

.banner__lines span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.banner__lines span:nth-child(1) {
  left: 25%;
}

.banner__lines span:nth-child(2) {
  left: 50%;
}

.banner__lines span:nth-child(3) {
  left: 75%;
}

.banner__content {
  position: absolute;
  top: 50%;
  left: 25%;
  z-index: 2;
  width: 50%;
  transform: translateY(-42%) !important;
}

#banner_wrapper h1,
.banner__content h1 {
  margin: 0;
  max-width: 820px;
  color: var(--white);
  font-size: clamp(34px, 4.4vw, 64px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-align: left;
}

.banner__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  width: 100%;
  margin-top: 28px;
}

.banner__company,
.banner__desc {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.banner__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.banner_card_link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 44px;
  padding: 0 18px;
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  background-color: #099393;
  border-radius: 0;
  transition: background-color 0.25s ease;
}

.banner_card_link:hover {
  background-color: #031a78;
}

.banner__since {
  position: absolute;
  bottom: 40px;
  left: 24px;
  z-index: 2;
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.banner__scroll {
  position: absolute;
  right: 24px;
  bottom: 32px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s ease;
}

.banner__scroll:hover {
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(3px);
}

@keyframes banner-scroll-pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

.banner__scroll svg {
  animation: banner-scroll-pulse 1.8s ease-in-out infinite;
}


.products {
  padding: 80px 0;
}

.products__title {
  margin: 0 0 48px;
  color: var(--text);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

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

.product-card {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1390 / 832;
  overflow: hidden;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.product-card:hover {
  background: var(--main-light);
  box-shadow: 0 0 0 1px rgba(var(--main-rgb), 0.25);
}

.product-card__inner {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  padding: 4.3cqi 4.3cqi 4.9cqi;
}

.product-card__title {
  grid-column: 1;
  grid-row: 1;
  margin-top: 0.4cqi;
  color: var(--main-color);
  font-size: clamp(20px, 3.5cqi, 48px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.product-card__image {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 2cqi 0;
}

.product-card__image img {
  max-width: 70%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-card__image img {
  transform: scale(1.04);
}

.product-card__link {
  grid-column: 1;
  grid-row: 3;
  justify-self: start;
  color: var(--main-color);
  font-size: clamp(13px, 2.1cqi, 29px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.product-card__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.products__more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.products__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 48px;
  padding: 0 28px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: #099393;
  border-radius: 0;
  transition: background-color 0.25s ease;
}

.products__btn:hover {
  background: #031a78;
}

.adv {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--main-darker) url("https://picsum.photos/seed/xinming-adv/1920/1080?grayscale") center / cover no-repeat;
}

.adv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(3, 73, 77, 0.92) 0%, rgba(var(--main-rgb), 0.72) 100%);
}

.adv .container {
  position: relative;
  z-index: 1;
  container-type: inline-size;
}

.adv__stage {
  --u: calc(100cqi / 1200);
  position: relative;
  height: calc(700 * var(--u));
}

.adv__grid-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.adv__grid-line--1 {
  left: calc(305 * var(--u));
}

.adv__grid-line--2 {
  left: calc(595 * var(--u));
}

.adv__grid-line--3 {
  left: calc(885 * var(--u));
}

.adv__eyebrow {
  position: absolute;
  top: calc(64 * var(--u));
  left: calc(24 * var(--u));
  font-size: calc(10 * var(--u));
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.8;
}

.adv__title {
  position: absolute;
  top: calc(98 * var(--u));
  left: calc(24 * var(--u));
  width: calc(360 * var(--u));
  font-size: calc(31 * var(--u));
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff !important;
}

.adv__btn {
  position: absolute;
  top: calc(523 * var(--u));
  left: calc(24 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(170 * var(--u));
  height: calc(43 * var(--u));
  color: var(--main-darker);
  font-size: calc(12 * var(--u));
  font-weight: 500;
  background: var(--white);
  border-radius: var(--radius-pill);
  transition:
    background-color 0.2s ease-in-out,
    color 0.2s ease-in-out;
}

.adv__btn:hover {
  color: var(--white);
  background: var(--main-color);
}

.adv__item {
  position: absolute;
  width: calc(273 * var(--u));
  padding-top: calc(16 * var(--u));
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.adv__item--1 {
  top: calc(101 * var(--u));
  left: calc(605 * var(--u));
}

.adv__item--2 {
  top: calc(277 * var(--u));
  left: calc(895 * var(--u));
}

.adv__item--3 {
  top: calc(454 * var(--u));
  left: calc(605 * var(--u));
}

.adv__item-title {
  margin-bottom: calc(19 * var(--u));
  font-size: calc(18 * var(--u));
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.adv__item-text {
  font-size: calc(12.5 * var(--u));
  line-height: 1.4;
  opacity: 0.9;
}

.blog,
.reviews {
  padding: 80px 0;
}

.blog__head,
.reviews__head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  margin-bottom: 34px;
  overflow-x: clip;
}

.blog__eyebrow,
.reviews__eyebrow {
  margin-bottom: 12px;
  color: var(--main-color);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog__title,
.reviews__title {
  font-size: 52px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.blog__more,
.reviews__more {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 16px;
  height: 44px;
  padding: 0 24px;
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  background: var(--main-color);
  border-radius: var(--radius-pill);
  transition: background-color 0.3s var(--ease);
}

.blog__actions,
.reviews__actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.blog__more:hover,
.reviews__more:hover {
  background: var(--main-dark);
}

.blog__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.blog__featured-wrap {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 20px;
}

.card {
  display: block;
}

.card__media,
.review__media {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  border-radius: var(--radius);
}

.card__media {
  aspect-ratio: 256 / 158;
}

.card--featured .card__media {
  aspect-ratio: 560 / 347;
  border-radius: var(--radius-lg);
}

.card__media img,
.review__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.card:hover .card__media img,
.review:hover .review__media img {
  transform: scale(1.08);
}

.card__arrow,
.review__arrow,
.card__play {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: var(--white);
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.card__arrow,
.review__arrow {
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
}

.card__play {
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  padding-left: 3px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.card:hover .card__arrow,
.card--featured:hover .card__play,
.review:hover .review__arrow {
  color: var(--white);
  background: var(--main-color);
}

.card__title {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
  transition: color 0.3s var(--ease);
}

.card:hover .card__title,
.review:hover .review__title {
  color: var(--main-color);
}

.reviews__slider {
  overflow: hidden;
}

.reviews__slider .swiper-slide {
  height: auto;
}

.review {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--bg-soft);
  border-radius: var(--radius);
}

.review__media {
  aspect-ratio: 358 / 251;
}

.review__body {
  flex: 1;
  padding: 24px 20px 20px;
}

.review__title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}

.review__text {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.partners {
  padding: 80px 0;
  background-color: var(--bg-soft);
}

.partners__title {
  margin-bottom: 40px;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.partners__head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  margin-bottom: 40px;
}

.partners__head .partners__title {
  margin-bottom: 0;
}

.partners__actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.partners__more {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  height: 44px;
  padding: 0 24px;
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  background: var(--main-color);
  border-radius: var(--radius-pill);
  transition: background-color 0.3s var(--ease);
}

.partners__more:hover {
  background: var(--main-dark);
}

.page-hero {
  padding: 140px 0 48px;
}

.page-hero__eyebrow {
  margin-bottom: 12px;
  color: var(--main-color);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-hero__title {
  font-size: 52px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-hero__text {
  max-width: 640px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

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

.reviews--page {
  padding-top: 0;
  padding-bottom: 100px;
}


.blog--page {
  padding-top: 0;
  padding-bottom: 100px;
}

.articles-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 20px;
}

.articles-page__grid .card__title {
  font-size: 18px;
  margin-top: 12px;
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .articles-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .articles-page__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .articles-page__grid .card__title {
    margin-top: 8px;
  }

  .blog--page {
    padding-bottom: 64px;
  }
}

.reviews-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 20px;
}

.reviews-page__grid .review {
  width: 100%;
}

.partners--page {
  padding-top: 0;
  padding-bottom: 100px;
  background: var(--bg);
}

.partners__grid--page {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.products--page {
  padding-top: 0;
  padding-bottom: 100px;
}

.products--page .products__grid {
  margin-top: 0;
}

@media (max-width: 992px) {
  .page-hero {
    padding: 120px 0 40px;
  }

  .page-hero__title {
    font-size: 40px;
  }

  .reviews-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners__grid--page {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: 110px 0 20px;
  }

  .page-hero__title {
    font-size: 28px;
  }

  .page-hero__text {
    font-size: 15px;
    margin-top: 12px;
  }

  .reviews-page__grid,
  .partners__grid--page {
    grid-template-columns: 1fr;
  }

  .partners__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}

.partnor {
  position: relative;
  height: 180px;
  padding: 30px;
  overflow: hidden;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  box-shadow:
    -10px -10px 30px var(--white),
    10px 10px 30px rgba(174, 174, 192, 0.25);
}

.partnor::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -80%;
  width: 100%;
  height: 100%;
  background-color: var(--main-light);
  background-image:
    radial-gradient(at 50% 100%, rgba(255, 255, 255, 0.5) 0%, rgba(var(--main-rgb), 0.35) 100%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.25) 0%, rgba(var(--main-rgb), 0.2) 100%);
  background-blend-mode: screen, overlay;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
}

.partnor:hover::before {
  bottom: 0;
  border-radius: 0;
}

:is(.work-out-circle, .work-inner-circle) {
  content: "";
  display: inline-block;
  box-sizing: content-box;
  border-radius: 50%;
}
:is(.work-out-circle, .work-inner-circle) {
  content: "";
  display: inline-block;
  box-sizing: content-box;
  border-radius: 50%;
}


.partnor {
    display: inline-block;
    height: 180px;
    padding: 30px;
    border-radius: 0;
    box-shadow: -10px -10px 30px #fff, 10px 10px 30px #aeaec040;
    position: relative;
    overflow: hidden;
}
.partnor::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #cddcdc;
    background-image: radial-gradient(at 50% 100%, rgba(255, 255, 255, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%), linear-gradient(to bottom, rgba(255, 255, 255, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%);
    background-blend-mode: screen, overlay;
    border-radius: 50%;
    left: 0;
    bottom: -80%;
    transition: all 0.3s ease-in-out;
}
.partnor img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease-in-out;
}
.partnor:hover::before {
    bottom: 0;
    border-radius: 0;
    transition: all 0.3s ease-in-out;
}


.hp-cta {
  padding: 70px 0;
}

.hp-cta-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
  overflow: hidden;
  background-color: var(--main-light);
  border-radius: var(--radius-lg);
}

.hp-cta-wrapper .content {
  display: flex;
  flex: 0 1 730px;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 386px;
}

.hp-cta .h2 {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hp-cta .splitting .word {
  display: inline-block;
}

.hp-cta-wrapper .content .txt {
  max-width: 480px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
}

.cf7 {
  position: relative;
  max-width: 428px;
}

.cf7-form {
  transition: opacity 0.25s ease-in-out;
}

.screen-reader-response {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.wpcf7-form {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.wpcf7-form-control-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="tel"] {
  width: 100%;
  height: 49px;
  padding: 14px 4px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid rgba(var(--main-rgb), 0.35);
  outline: none;
  transition: border-color 0.25s ease;
}

.wpcf7 input::placeholder {
  color: var(--muted);
  text-transform: uppercase;
  opacity: 1;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="tel"]:focus {
  border-color: var(--main-color);
}

.wpcf7-spinner,
.wpcf7-response-output {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
  transition: 0.35s ease-in-out;
}

.btn-lime {
  margin-top: 8px;
  padding: 18px 32px;
  color: var(--white);
  background-color: var(--main-color);
  border-radius: var(--radius-pill);
}

.btn-lime:hover {
  background-color: var(--main-dark);
}

.cf7-thanks {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-101%);
  transition: all 0.6s ease-in-out;
}

.m-contain {
  position: relative;
}

.m-contain img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cf7-thanks-img {
  width: 36px;
  height: 36px;
  margin-bottom: 28px;
}

.cf7-thanks-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
}

.cf7-thanks-txt {
  margin-top: 8px;
}

.hp-cta-wrapper .image {
  flex: 0 0 420px;
  align-self: stretch;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius);
}

.hp-cta-wrapper .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer {
  --line-v: rgba(255, 255, 255, 0.08);
  --line-h: rgba(255, 255, 255, 0.18);
  --gap: 20px;
  overflow: hidden;
  color: var(--white);
  background: var(--main-darker);
}

.footer a {
  transition: opacity 0.2s ease;
}

.footer a:hover {
  opacity: 0.7;
}

.footer address {
  font-style: normal;
}

.footer__inner {
  position: relative;
}

.footer__top,
.footer__bottom,
.footer__lines {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: var(--gap);
}

.footer__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.footer__lines span {
  position: relative;
}

.footer__lines span + span::before {
  content: "";
  position: absolute;
  top: -100vh;
  bottom: -100vh;
  left: calc(var(--gap) / -2);
  width: 1px;
  background: var(--line-v);
}

.footer__top {
  position: relative;
  padding: 68px 0 72px;
}

.footer__col--contacts {
  display: flex;
  flex-direction: column;
}

.footer__contacts a {
  display: block;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.footer__copy {
  margin-top: 70px;
  font-size: 13px;
  opacity: 0.7;
}

.footer__group + .footer__group {
  margin-top: 50px;
}

.footer__label {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__text,
.footer__links a {
  font-size: 15.5px;
  line-height: 1.35;
}

.footer__links li + li {
  margin-top: 8px;
}

.footer__bottom {
  position: relative;
  padding: 26px 0 30px;
  font-size: 12px;
  line-height: 1.3;
  border-top: 1px solid var(--line-h);
}

#innerPages:has(.about-page) {
  padding-bottom: 0;
}

#innerPages:has(.products-list-grid) {
  background: var(--white);
}

#innerPages:has(.product-cat-banner) {
  padding-top: 0;
}

#innerPages:has(.product-cat-banner) > .container {
  padding-top: 8px;
}

#innerPages:has(.product-cat-page) > .container {
  padding-bottom: 0;
}

#innerPages .innerFlex:has(> .medication-card) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.product-card__price:has(.product-card__price-old) {
  color: var(--muted);
  font-weight: 400;
}

.blog-content ul li::marker,
.psico-full ul li::marker {
  color: var(--main-color);
}

@media (max-width: 1400px) {
  .custom_container {
    padding-inline: 60px;
  }
}

@media (max-width: 1279px) {
  .all_menu_wrapper {
    left: auto;
    right: 0;
    width: min(560px, 100%);
    height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateX(100%);
  }

  .all_menu_wrapper[aria-hidden="false"] {
    transform: translateX(0);
  }

  .all_menu_main {
    padding: 32px 0 48px;
  }

  .all_menu_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }

  .all_menu_bottom_row {
    flex-wrap: wrap;
    row-gap: 16px;
    padding: 24px 0;
  }

  .all_menu_partners {
    order: -1;
    flex: 1 1 100%;
  }

  .all_menu_copyright {
    flex: 1 1 auto;
  }

  .header_inner {
    gap: 60px;
  }

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

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

@media (max-width: 1200px) {
  .partners__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1279px) {
  .header_menu {
    display: none;
  }
}

@media (max-width: 1024px) {
  .custom_container {
    padding-inline: 30px;
  }

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

  .hp-cta-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .hp-cta-wrapper .image {
    display: none;
  }

  .hp-cta .h2 {
    font-size: clamp(24px, 4vw, 30px);
  }

  .hp-cta-wrapper .content {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    max-width: none;
  }

  .cf7 {
    max-width: none;
  }
}

@media (max-width: 992px) {
  .footer__top,
  .footer__bottom,
  .footer__lines {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .footer__lines span:nth-child(n + 3) {
    display: none;
  }

  .footer__col:empty {
    display: none;
  }

  .footer__bottom {
    row-gap: 12px;
  }

  .blog__title,
  .reviews__title {
    font-size: 42px;
  }
}

@media (min-width: 769px) and (max-width: 960px) {
  .adv__stage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    height: auto;
    padding: 70px 0 90px;
  }

  .adv__grid-line--1,
  .adv__grid-line--3 {
    display: none;
  }

  .adv__grid-line--2 {
    left: 50%;
  }

  .adv__eyebrow,
  .adv__title,
  .adv__btn,
  .adv__item {
    position: static;
    width: auto;
  }

  .adv__head {
    display: flex;
    flex-direction: column;
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .adv__eyebrow {
    margin-bottom: 36px;
    font-size: 11px;
  }

  .adv__title {
    font-size: 38px;
  }

  .adv__btn {
    width: 200px;
    height: 50px;
    margin-top: auto;
    font-size: 14px;
  }

  .adv__item {
    grid-column: 2;
    margin-bottom: 60px;
    padding-top: 22px;
  }

  .adv__item:last-child {
    margin-bottom: 0;
  }

  .adv__item-title {
    margin-bottom: 22px;
    font-size: 24px;
  }

  .adv__item-text {
    font-size: 16px;
  }
}

@media (max-width: 800px) {
  .blog__head,
  .reviews__head {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .blog__featured-wrap {
    position: static;
  }

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

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .custom_container,
  header .custom_container {
    padding-inline: 16px;
  }

  .header_inner {
    gap: 16px;
    min-height: 72px;
    padding: 0.85rem 0;
  }

  .header_left {
    gap: 16px;
    min-width: 0;
    flex-shrink: 0;
  }

  .header_left img {
    width: 110px;
    max-width: none;
    transform: scale(1);
  }

  .header_center {
    padding-right: 44px;
    justify-content: flex-end;
  }

  .menu_button {
    top: -16px;
    right: -8px;
    width: 34px;
    height: 72px;
    padding: 20px 5px 8px;
    font-size: 8px;
  }

  .header__menu-burger {
    width: 16px;
    margin-top: 6px;
  }

  .header__burger {
    width: 16px;
  }

  .header__burger::before,
  .header__burger::after {
    width: 14px;
  }

  .about-team__head,
  .page-hero__title,
  .about-intro__title,
  .about-mission__title,
  .about-work__title,
  .partners__title,
  .reviews__title,
  .blog__title {
    padding-right: 48px;
  }

  .banner__content {
    left: 8%;
    width: 84%;
    transform: translateY(-36%);
  }

  .banner__content h1 {
    font-size: clamp(28px, 7vw, 40px);
    line-height: 1.05;
    max-width: none;
  }

  .banner__meta {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 22px;
  }

  .banner__lines span:nth-child(1) {
    left: 33.333%;
  }

  .banner__lines span:nth-child(2) {
    left: 66.666%;
  }

  .banner__lines span:nth-child(3) {
    display: none;
  }

  .banner__since {
    left: 20px;
    bottom: 28px;
  }

  .banner__scroll {
    right: 20px;
    bottom: 24px;
  }

  .banner__frame {
    padding: 0 20px;
  }

  .banner__lines {
    inset: 0 20px;
  }

  .products,
  .blog,
  .reviews,
  .partners {
    padding: 60px 0;
  }

  .partners__title {
    margin-bottom: 30px;
    font-size: 32px;
  }

  .partners__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .partners__grid--page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partnor {
    height: 140px;
    padding: 24px;
  }

  .hp-cta {
    padding: 40px 0;
  }

  .hp-cta-wrapper {
    padding: 28px 20px;
  }
}

@media (max-width: 767px) {
  .all_menu_main {
    padding-top: 24px;
  }

  .all_menu_grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .all_menu_social {
    width: 52px;
    height: 52px;
  }

  .all_menu_bottom_row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .adv__stage {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 50px 0 70px;
  }

  .adv__grid-line {
    display: none;
  }

  .adv__eyebrow,
  .adv__title,
  .adv__btn,
  .adv__item {
    position: static;
    width: auto;
  }

  .adv__head {
    display: contents;
  }

  .adv__eyebrow {
    margin-bottom: 20px;
    font-size: 11px;
  }

  .adv__title {
    margin-bottom: 36px;
    font-size: 28px;
  }

  .adv__btn {
    order: 10;
    width: min(200px, 100%);
    height: 48px;
    margin-top: 8px;
    font-size: 14px;
  }

  .adv__item {
    grid-column: auto;
    margin-bottom: 36px;
    padding-top: 18px;
  }

  .adv__item:last-child {
    margin-bottom: 0;
  }

  .adv__item-title {
    margin-bottom: 12px;
    font-size: 20px;
  }

  .adv__item-text {
    font-size: 15px;
  }
}

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

  .blog__title,
  .reviews__title {
    font-size: 32px;
  }
}

@media (max-width: 576px) {
  .footer__top,
  .footer__bottom {
    grid-template-columns: 1fr;
  }

  .footer__lines {
    display: none;
  }

  .footer__top {
    padding: 48px 0;
  }

  .footer__copy {
    order: 10;
    margin-top: 24px;
  }
}

@media (max-width: 520px) {
  .blog__grid {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
}

@media (max-width: 480px) {
  .partners__grid {
    gap: 14px;
  }

  .partnor {
    height: 110px;
    padding: 18px;
    border-radius: var(--radius);
  }
}

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

  #banner_video {
    display: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
.wrapper {
  height: 100vh;
  background: #333;
}

#main-div {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 0;
}
#main-button .icon-close {
  display: none;
}
#main-button.open .icon-mail {
  display: none;
}
#main-button.open .icon-close {
  display: block;
}

#main-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 10px;
  bottom: 10px;
  height: 60px;
  width: 60px;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
  background-color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(---light-yellow);
  border-radius: 50%;
  transition: all 0.3s ease;
}

#main-button:hover {
  background-color: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  transform: scale(1.08);
}

#main-button ~ .onlineregistration {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  visibility: hidden;
  font-weight: bold;
  text-decoration: none;
  height: 50px;
  padding: 0 25px;
  color: #fff;
  border: 1px solid var(--main-color);
  background: var(--main-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: absolute;
  z-index: -1;
  right: 10px !important;
  bottom: 10px !important;
  opacity: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 30px;
  font-size: 14px;
}

#main-button.open ~ .onlineregistration {
  visibility: visible;
  right: 80px !important;
  opacity: 1;
  transition: 0.4s all cubic-bezier(0, 0.01, 0, 1.27);
}

#main-button.open ~ .onlineregistration:hover {
  background-color: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  transform: translateX(-4px);
  color: var(--main-color);
}

#main-button ~ .wrappericon {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  right: 10px;
  bottom: 0;
  z-index: -1;

  height: 55px;
  width: 55px;
  opacity: 0;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}
#main-button ~ .wrappericon img , #main-button ~ .wrappericon svg {
    border-radius: 50%;
  height: 55px;
  width: 55px;
}

#main-button.open ~ .wrappericon {
  opacity: 1;
  transition: 0.4s all cubic-bezier(0, 0.01, 0, 1.27);
}

#main-button.open ~ .wrappericon:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  transform: scale(1.12);
}

#main-button.open ~ #wrapperwp {
  bottom: 220px;
}

#main-button.open ~ #wrappermax {
  bottom: 150px;
  background: #2196f3;
}

#main-button.open ~ #wrappertg {
  bottom: 80px;
  background: linear-gradient(0deg, #017ab1, #01abe6) !important;
}
.wave {
  animation-name: wave;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.wrapper {
  display: block;
  position: absolute;
  z-index: 200;
}

@keyframes wave {
  0% {
    box-shadow: 0 0 0 0 #06939336;
  }

  100% {
    box-shadow: 0 0 0 15px #06939311;
  }
}

.open {
  animation-iteration-count: 1;
}
/* BURGER BUTTON */
#open_menu {
  display: none;
  cursor: pointer;
}
.about-intro,
.about-mission {
  padding: 60px 0;
}
.about-intro {
  margin-top: calc(var(--header-h) + 16px) !important;
}

.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 30px;
}
.about-grid.missiya {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
}
.about-line {
  position: absolute;
  top: -120px;
  bottom: -120px;
  width: 1px;
  background: rgb(24 29 29 / 2%);
  pointer-events: none;
}

.about-line--1 { left: calc(25% - 15px); }
.about-line--2 { left: calc(50% - 2px); }
.about-line--3 { left: calc(75% - -6px); }

.about-label {
  grid-column: 1;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.about-intro__content,
.about-mission__content {
  grid-column: 2 / -1;
}

.about-intro__title {
  max-width: 900px;
  margin: -8px 0 0;
  font-size: 46px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.about-intro__text {
  max-width: 720px;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.45;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 30px;
  margin-top: 60px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.about-stat {
  display: flex;
  flex-direction: column;
  padding-top: 24px;
  border-top: 1px solid rgba(24, 29, 29, 0.14);
}

.about-stat__num {
  color: var(--muted);
  font-size: 14px;
}

.about-stat__value {
  margin-top: 90px;
  color: var(--main-color);
  font-size: 86px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.about-stat__label {
  margin-top: 30px;
  font-size: 17px;
}

.about-video {
  padding-bottom: 48px;
}

.about-video__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1344 / 640;
  background: var(--bg-soft);
}

.about-video__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--main-color);
  opacity: 0.35;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.about-video__el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-mission__title {
  margin: -8px 0 0;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.about-mission__text {
  max-width: 800px;
  margin-top: 36px;
}

.about-mission__text p + p {
  margin-top: 22px;
}

.about-mission__text p {
  font-size: 17px;
  line-height: 1.45;
}

.about-work {
  padding: 64px 0 120px;
}

.about-team + .about-work {
  padding-top: 40px;
}

.about-team {
  padding: 64px 0;
}

.about-team__head {
  max-width: 720px;
  margin-bottom: 48px;
}

.about-team__eyebrow {
  margin-bottom: 12px;
  color: var(--main-color);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-team__title {
  font-size: 52px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.about-team__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-team__card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  column-gap: 24px;
  row-gap: 8px;
  align-items: start;
  padding-top: 24px;
  border-top: 1px solid rgba(24, 29, 29, 0.14);
}

.about-team__photo {
  width: 112px;
  height: 112px;
  grid-column: 1;
  grid-row: 1 / span 2;
  overflow: hidden;
  background: var(--bg-soft);
}

.about-team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-team__photo--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: var(--main-color);
}

.about-team__body {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.about-team__name {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.about-team__role {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.about-team__contacts {
  grid-column: 2;
  grid-row: 2;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.about-team__contacts li {
  font-size: 14px;
  line-height: 1.55;
}

.about-team__contacts a {
  color: var(--text);
  transition: color 0.2s ease;
}

.about-team__contacts a:hover {
  color: var(--main-color);
}

.about-team__contacts span {
  color: var(--muted);
}

.about-work__head {
  max-width: 720px;
  margin-bottom: 56px;
}

.about-work__eyebrow {
  margin-bottom: 12px;
  color: var(--main-color);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-work__title {
  font-size: 52px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.about-work__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-work__item {
  display: flex;
  flex-direction: column;
  padding-top: 24px;
  border-top: 1px solid rgba(24, 29, 29, 0.14);
}

.about-work__num {
  color: var(--muted);
  font-size: 14px;
}

.about-work__item-title {
  margin-top: 20px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.about-work__item-text {
  margin-top: 16px;
}

.about-work__item-text p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.about-work__item-text p + p {
  margin-top: 12px;
}

@media (max-width: 1200px) {
  .about-intro__title { font-size: 38px; }
  .about-mission__title { font-size: 36px; }
  .about-stat__value { margin-top: 60px; font-size: 64px; }
  .about-work__title { font-size: 42px; }
  .about-team__title { font-size: 42px; }
}

@media (max-width: 992px) {
  .about-intro,
  .about-mission { padding: 80px 0; }

  .about-line { top: -80px; bottom: -80px; }
  .about-line--2,
  .about-line--3 { display: none; }

  .about-grid { grid-template-columns: 1fr 2fr; column-gap: 24px; }
  .about-line--1 { left: calc(33.333% - 12px); }

  .about-intro__content,
  .about-mission__content { grid-column: 2; }

  .about-stats { grid-template-columns: 1fr; row-gap: 32px; }
  .about-stat__value { margin-top: 24px; }
  .about-video { padding-bottom: 40px; }

  .about-work { padding: 48px 0 80px; }
  .about-team + .about-work { padding-top: 32px; }
  .about-work__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }
  .about-work__title { font-size: 36px; }

  .about-team { padding: 48px 0; }
  .about-team__title { font-size: 36px; }
  .about-team__grid { gap: 32px 28px; }
  .about-team__card {
    grid-template-columns: 88px minmax(0, 1fr);
    column-gap: 18px;
  }
  .about-team__photo {
    width: 88px;
    height: 88px;
  }
  .about-team__photo--initials { font-size: 22px; }
  .about-team__name { font-size: 16px; }
}

@media (max-width: 640px) {
  .about-intro,
  .about-mission { padding: 56px 0; }

  .about-grid { grid-template-columns: 1fr; row-gap: 20px; }
  .about-line { display: none; }

  .about-label,
  .about-intro__content,
  .about-mission__content { grid-column: 1; }

  .about-intro__title { font-size: 28px; }
  .about-mission__title { font-size: 26px; }
  .about-intro__text,
  .about-stat__label,
  .about-mission__text p { font-size: 15px; }
  .about-stat__value { font-size: 52px; }
  .about-video__media { aspect-ratio: 4 / 3; }
  .about-video { padding-bottom: 32px; }

  .about-work { padding: 40px 0 56px; }
  .about-team + .about-work { padding-top: 24px; }
  .about-work__head { margin-bottom: 36px; }
  .about-work__title { font-size: 28px; }
  .about-work__grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
  .about-work__item-title { font-size: 20px; }

  .about-team { padding: 40px 0; }
  .about-team__head { margin-bottom: 32px; }
  .about-team__title { font-size: 28px; }
  .about-team__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-team__card {
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 12px;
  }
  .about-team__photo {
    width: 72px;
    height: 72px;
    grid-column: 1;
    grid-row: 1;
  }
  .about-team__body {
    grid-column: 2;
    grid-row: 1;
  }
  .about-team__contacts {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
  }
  .about-team__photo--initials { font-size: 18px; }
  .about-team__name { font-size: 15px; }
  .about-team__contacts li { font-size: 13px; }
}
.contacts {
  padding: 80px 0 100px;
  margin-top: 0;
}

.page-hero--contacts {
  padding-bottom: 40px;
}

.contact-info {
  padding: 0 0 56px;
}

.contact-info__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.contact-card {
  padding-top: 24px;
  border-top: 1px solid rgba(24, 29, 29, 0.14);
}

.contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--main-color);
  background: var(--main-light);
}

.contact-card__icon svg {
  width: 22px;
  height: 22px;
}

.contact-card__title {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.contact-card__text {
  padding: 16px 18px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  background: var(--bg-soft);
  border-top: 2px solid var(--main-color);
}

.contact-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.contact-card__list > li {
  padding: 16px 18px;
  background: var(--bg-soft);
  border-top: 2px solid transparent;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-card__list > li:hover {
  border-top-color: var(--main-color);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.contact-card__name {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.contact-card__role {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.contact-card__links {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.contact-card__links a,
.contact-card__list > li > a {
  color: var(--text);
  transition: color 0.2s ease;
}

.contact-card__links a:hover,
.contact-card__list > li > a:hover {
  color: var(--main-color);
}

.contact-card__links span {
  margin-left: 6px;
  color: var(--muted);
  font-size: 12px;
}

.contact-card__list > li > a {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
}

.contact-socials {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(24, 29, 29, 0.1);
}

.contact-socials__head {
  margin-bottom: 28px;
}

.contact-socials__eyebrow {
  margin-bottom: 10px;
  color: var(--main-color);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-socials__title {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.contact-socials__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.contact-social {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 16px 18px;
  color: var(--text);
  background: var(--bg-soft);
  border-top: 2px solid transparent;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease;
}

.contact-social:hover {
  border-top-color: var(--main-color);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.contact-social__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--main-color);
}

.contact-social__icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-socials__list > li:nth-child(1) .contact-social__icon {
  background: #25d366;
}

.contact-socials__list > li:nth-child(2) .contact-social__icon {
  background: #2aabee;
}

.contact-socials__list > li:nth-child(3) .contact-social__icon {
  background: #6c5ce7;
}

.contact-socials__list > li:nth-child(4) .contact-social__icon {
  background: #0077ff;
}

.contact-socials__list > li:nth-child(5) .contact-social__icon {
  background: #ff0000;
}

.contact-social__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-social__name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.contact-social__hint {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}


.contacts__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  align-items: start;
}



.contacts__title {
  margin: 0;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.contacts__subtitle {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.45;
}

.contacts__form {
  margin-top: 48px;
  text-align: left;
}

.field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  border-bottom: 1px solid rgba(24, 29, 29, 0.18);
  transition: border-color 0.25s ease;
}

.field:focus-within {
  border-bottom-color: var(--main-color);
}

.field input {
  width: 100%;
  height: 48px;
  padding: 0;
  font-size: 17px;
  color: var(--text);
  background: transparent;
  border: none;
  outline: none;
}

.field input::placeholder {
  color: var(--main-color);
  opacity: 0.75;
}

.field__prefix {
  flex-shrink: 0;
  color: var(--main-color);
  font-size: 17px;
  font-weight: 500;
}

.agree {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 6px;
  cursor: pointer;
}

.agree input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.agree__box {
  flex-shrink: 0;
  position: relative;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border: 1px solid rgba(24, 29, 29, 0.35);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.agree__box::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 8px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg);
  transition: opacity 0.2s ease;
}

.agree input:checked + .agree__box {
  background: var(--main-color);
  border-color: var(--main-color);
}

.agree input:checked + .agree__box::after {
  opacity: 1;
}

.agree input:focus-visible + .agree__box {
  outline: 2px solid var(--main-color);
  outline-offset: 3px;
}

.agree__text {
  font-size: 15px;
  line-height: 1.5;
}

.agree__text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.contacts__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  margin: 40px auto 0;
  padding: 0 40px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  background: var(--main-color);
  border: none;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.contacts__submit {
  align-self: center;
}

.contacts__submit:hover {
  background: var(--main-dark);
}

/* Yandex map mounts here */
.map {
  width: 100%;
  height: 620px;
}



.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1200px) {
  .contacts__grid { column-gap: 30px; }
  .contacts__title { font-size: 34px; }
  .map { height: 520px; }

  .contact-socials__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .contacts { padding: 70px 0; }
  .contacts__grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .contacts__form-col,
  .contacts__map-col { grid-column: 1; }

  .contacts__map-col { position: static; order: 2; }
  .contacts__form-col { order: 1; }
  .map { height: 420px; }

  .contact-info__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-socials__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .contacts { padding: 50px 0; }
  .contacts__title { font-size: 26px; }
  .contacts__subtitle,
  .field input,
  .field__prefix { font-size: 15px; }
  .contacts__form { margin-top: 32px; }
  .field { margin-bottom: 26px; }
  .contacts__submit { width: 100%; height: 56px; }
  .map { height: 320px; }

  .contact-info { padding-bottom: 40px; }

  .contact-socials {
    margin-top: 40px;
    padding-top: 28px;
  }

  .contact-socials__title {
    font-size: 24px;
  }

  .contact-socials__list {
    grid-template-columns: 1fr;
  }
}
.field__flag {
  flex-shrink: 0;
  display: inline-flex;
  width: 26px;
  height: 18px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(24, 29, 29, 0.15);
}

.field__flag svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* footer socials */
.footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.footer__social {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.footer__social::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.footer__social:hover,
.footer__social:focus-visible {
  color: var(--main-color);
  border-color: #fff;
  opacity: 1;
}

.footer__social:hover::before,
.footer__social:focus-visible::before {
  transform: translateY(0);
}

.footer__social svg {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer__social[aria-label="VK"] svg {
  width: 22px;
  height: 22px;
  transform: scale(1.45);
  transform-origin: center;
}

@media (max-width: 576px) {
  .footer__socials {
    margin-top: 24px;
  }
}
hr {
  margin: 1rem 0;
  color: inherit;
  border: 0;
  border-top: var(--bs-border-width) solid;
  opacity: .25;
}

ul {
  padding-left: 2rem;
  margin-top: 0;
  margin-bottom: 1rem;
}


button:focus:not(:focus-visible) {
  outline: 0;
}

[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled) {
  cursor: pointer;
}

::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field {
  padding: 0;
}

::-webkit-inner-spin-button {
  height: auto;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-color-swatch-wrapper {
  padding: 0;
}

::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}

::file-selector-button {
  font: inherit;
  -webkit-appearance: button;
}


.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-.5 * var(--bs-gutter-x));
  margin-left: calc(-.5 * var(--bs-gutter-x));
}

.row>* {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-top: var(--bs-gutter-y);
}

.form-control[type=file]:not(:disabled):not([readonly]) {
  cursor: pointer;
}

.form-control::file-selector-button {
  padding: .375rem .75rem;
  margin: -.375rem -.75rem;
  -webkit-margin-end: .75rem;
  margin-inline-end: .75rem;
  color: var(--bs-body-color);
  background-color: var(--bs-tertiary-bg);
  pointer-events: none;
  border-color: inherit;
  border-style: solid;
  border-width: 0;
  border-inline-end-width: var(--bs-border-width);
  border-radius: 0;
  transition: color .15s ease-in-out , background-color .15s ease-in-out , border-color .15s ease-in-out , box-shadow .15s ease-in-out;
}

.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button {
  background-color: var(--bs-secondary-bg);
}

.form-control:hover:not(:disabled):not([readonly])::file-selector-button {
  background-color: var(--bs-secondary-bg);
}

.form-control-sm::file-selector-button {
  padding: .25rem .5rem;
  margin: -.25rem -.5rem;
  -webkit-margin-end: .5rem;
  margin-inline-end: .5rem;
}

.form-control-lg::file-selector-button {
  padding: .5rem 1rem;
  margin: -.5rem -1rem;
  -webkit-margin-end: 1rem;
  margin-inline-end: 1rem;
}

.form-control-color:not(:disabled):not([readonly]) {
  cursor: pointer;
}

[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus) {
  --bs-form-switch-bg: url(data:image/svg+xml,%3csvg\ xmlns=\'http://www.w3.org/2000/svg\'\ viewBox=\'-4\ -4\ 8\ 8\'%3e%3ccircle\ r=\'3\'\ fill=\'rgba%28255,\ 255,\ 255,\ 0.25%29\'/%3e%3c/svg%3e);
}

.form-floating>.form-control-plaintext:not(:-moz-placeholder-shown),.form-floating>.form-control:not(:-moz-placeholder-shown) {
  padding-top: 1.625rem;
  padding-bottom: .625rem;
}

.form-floating>.form-control:not(:-moz-placeholder-shown)~label {
  color: rgba(var(--bs-body-color-rgb),.65);
  transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}

.form-floating>.form-control:not(:-moz-placeholder-shown)~label::after {
  position: absolute;
  inset: 1rem .375rem;
  z-index: -1;
  height: 1.5em;
  content: "";
  background-color: var(--bs-body-bg);
  border-radius: var(--bs-border-radius);
}

.form-floating>:disabled~label {
  color: #6c757d;
}

.form-floating>:disabled~label::after {
  background-color: var(--bs-secondary-bg);
}

.input-group>.form-control:not(:focus).is-valid,.input-group>.form-floating:not(:focus-within).is-valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-control:not(:focus):valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.was-validated .input-group>.form-select:not(:focus):valid {
  z-index: 3;
}

.input-group>.form-control:not(:focus).is-invalid,.input-group>.form-floating:not(:focus-within).is-invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-control:not(:focus):invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.was-validated .input-group>.form-select:not(:focus):invalid {
  z-index: 4;
}

.btn:focus-visible {
  color: var(--bs-btn-hover-color);
  background-color: var(--bs-btn-hover-bg);
  border-color: var(--bs-btn-hover-border-color);
  outline: 0;
  box-shadow: var(--bs-btn-focus-box-shadow);
}

.btn-check:focus-visible+.btn {
  border-color: var(--bs-btn-hover-border-color);
  outline: 0;
  box-shadow: var(--bs-btn-focus-box-shadow);
}

.btn-check:checked+.btn:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible,.btn:first-child:active:focus-visible,:not(.btn-check)+.btn:active:focus-visible {
  box-shadow: var(--bs-btn-focus-box-shadow);
}

.btn-link:focus-visible {
  color: var(--bs-btn-color);
}

.nav-link:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
}

.icon-link-hover:focus-visible>.bi {
  transform: var(--bs-icon-link-transform,translate3d(.25em,0,0));
}

.visually-hidden-focusable:not(:focus):not(:focus-within) {
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption) {
  position: absolute !important;
}

.d-flex {
  display: flex !important;
}

.align-items-center {
  align-items: center !important;
}

.order-1 {
  order: 1 !important;
}

.order-2 {
  order: 2 !important;
}

.mb-2 {
  margin-bottom: .5rem !important;
}

.column-gap-2 {
  -moz-column-gap: .5rem !important;
  column-gap: .5rem !important;
}

.theme_white {
  color: #fff;
}

.theme_grey {
  color: #a2a2a2;
}

a.def {
  color: inherit;
}

@media (max-width: 1199px) {
  .blog_sticky_sidebar {
    position: static !important;
    top: auto !important;
    margin-bottom: 40px;
  }

  .blog-inner .blog_sidebar_col {
    order: 1 !important;
  }

  .blog-inner .col-xl-9 {
    order: 2 !important;
  }
}

.main_block.blog-inner {
  padding: 12px 0 90px;
  overflow: visible;
  margin-top: 130px
}

.blog-inner__article {
  max-width: none;
}

.blog-inner .row {
  --bs-gutter-x: 40px;
}

.blog-inner__hero {
  overflow: hidden;
  border-radius: 0px;
  background: #151515;
  border: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 28px;
  max-height: 380px;
}

.blog-inner__hero img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.blog-inner__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  color: #8f8f8f;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-inner__meta span {
  position: relative;
  padding-left: 16px;
}

.blog-inner__meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--main-dark);
  transform: translateY(-50%);
}

.blog-inner__head h1 {
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0 0 32px;
}

.blog-inner__text {
  margin-bottom: 72px;
}

.blog-inner__more {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.blog-inner__more-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 32px;
}

.blog-inner__more-head h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.15;
  text-transform: uppercase;
}

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

.blog-inner .home-blog__item-title {
  font-size: clamp(16px, 1.2vw, 22px);
  margin-bottom: 12px;
}

@media (max-width: 991px) {
  .blog-inner__hero,
  .blog-inner__hero img {
    max-height: 240px;
    height: 240px;
  }

  .blog-inner__head h1 {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .blog-inner__text {
    margin-bottom: 48px;
  }

  .blog-inner__more-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .blog_sticky_sidebar {
    margin-bottom: 32px;
  }
}

@media (max-width: 575px) {
  .blog-inner__more-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-inner__more-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.soc_item {
  width: 23px;
  height: 23px;
  border-radius: 50vh;
  opacity: 1;
  transition: .2s;
  cursor: pointer;
  position: relative;
}

.soc_item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 13px auto;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.soc_item.soc_max {
  background-color: #7B2BFF;
}

.soc_item.soc_max:before {
  background-image: url(../img/max-messenger.svg);
  filter: grayscale(1) brightness(10) invert(1);
  background-size: 18px auto;
}

.soc_item.soc_vk {
  background-color: #088aff;
}

.soc_item.soc_vk:before {
  background-image: url(../img/icon_vk.svg);
  filter: grayscale(1) brightness(10) invert(1);
}

.soc_item:hover {
  opacity: .85;
}

.input_kat [type="checkbox"]:not(:checked), .input_kat [type="radio"]:not(:checked) {
  position: absolute;
  left: -9999px;
}

oi-select:not(.multiple) .select-search-list-item_selection:not(:active) {
  background: 0 0;
  border: none;
  margin: 4px 25px 5px 5px;
  padding: 0;
  font-size: 17px;
  height: auto;
  white-space: nowrap;
  overflow: hidden;
}

.content_full ul li::marker,.content_full ol li::marker {
  color: var(--main-dark);
}

/* Detail content typography (blog, product inner pages) */
.content_full {
  color: #333;
  font-size: 16px;
  line-height: 1.65;
}

.content_full > :first-child {
  margin-top: 0;
}

.content_full h1,
.content_full h2,
.content_full h3 {
  color: #333;
  font-weight: 600;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: normal;
}

.content_full h1 {
  font-size: 36px;
  margin: 0 0 1rem;
}

.content_full h2 {
  font-size: 28px;
  margin: 2rem 0 0.85rem;
}

.content_full h3 {
  font-size: 22px;
  margin: 1.75rem 0 0.75rem;
}

.content_full p {
  margin: 0 0 1rem;
  line-height: 1.65;
}

.content_full p:last-child {
  margin-bottom: 0;
}

.content_full ul,
.content_full ol {
  padding-left: 1.5rem;
  margin: 0 0 1.25rem;
}

.content_full ul li,
.content_full ol li {
  margin-bottom: 0.65rem;
  line-height: 1.6;
}

.content_full ul li:last-child,
.content_full ol li:last-child {
  margin-bottom: 0;
}

.content_full ol {
  list-style-type: decimal;
}

.content_full ul {
  list-style-type: disc;
}

.content_full b {
  font-weight: 700;
  color: #333;
}

.content_full a:not(.btn_default):not(.def_link):not(.highslide) {
  color: var(--main-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content_full a:not(.btn_default):not(.def_link):not(.highslide):hover {
  color: rgba(var(--yellow-rgb), 0.85);
}

.mt-3 {
  margin-top: 1rem !important;
}

.main_title {
  margin-bottom: 45px;
}

.theme_medium {
  font-weight: 500;
}

h1 {
  margin-top: 0;
  margin-bottom: .5rem;
  font-weight: 500;
  line-height: 1.2;
  color: #333;
}

h1 {
  font-size: calc(1.375rem + 1.5vw);
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

h1 {
  text-transform: uppercase;
}

.main_block {
  padding-top: 85px;
  padding-bottom: 0;
  max-width: 100%;
  overflow: hidden;
}

.main_title h1 {
  font-size: 47px;
  margin-bottom: 0;
}

.h4,h2 {
  margin-top: 0;
  margin-bottom: .5rem;
  font-weight: 500;
  line-height: 1.2;
  color: #333;
}

h2 {
  font-size: 54px;
  margin-top: 0;
  margin-bottom: .5rem;
  font-weight: 500;
  line-height: 1.2;
  color: #333;
  text-transform: uppercase;
}

.h4 {
  font-size: 24px;
  display: block;
}

img {
  vertical-align: middle;
}

h2,.h4 {
  text-transform: uppercase;
}

.h4 {
  display: block;
}

h2 {
  text-transform: uppercase;
}

.input_kat [type="checkbox"]:not(:checked), .input_kat [type="radio"]:not(:checked) {
  position: absolute;
  left: -9999px;
}

h2 {
  margin-top: 0;
  margin-bottom: .5rem;
  font-weight: 500;
  line-height: 1.2;
  color: #333;
}

.h4,h2 {
  margin-top: 0;
  margin-bottom: .5rem;
  font-weight: 500;
  line-height: 1.2;
  color: #333;
}

h2,.h4 {
  text-transform: uppercase;
}

.mt-5 {
  margin-top: 3rem !important;
}


.db {
  display: block;
}

.posr {
  position: relative;
}

.posa {
  position: absolute;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #000000 #333333;
}

*::-webkit-scrollbar {
  height: 6px;
  width: 12px;
}

*::-webkit-scrollbar-track {
  background: #333333;
}

*::-webkit-scrollbar-thumb {
  background-color: #000000;
  border-radius: 0px;
  border: 3px solid #333333;
}

.dif {
  display: inline-flex;
}

.aic {
  align-items: center;
}

.home-catalog__btn.white-btn:focus-visible {
  outline: 2px solid var(--hc-white);
  outline-offset: 4px;
}

.hc-slider__arrow:hover:not(:disabled) {
  border-color: var(--main-dark);
  background: var(--main-dark);
}

.hc-slider__arrow:focus-visible {
  outline: 2px solid var(--hc-white);
  outline-offset: 3px;
}

.view-all-link,
.home-blog__link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  border: none;
  padding: 0;
  background: none;
  white-space: nowrap;
  line-height: 1;
}

.view-all-link img,
.home-blog__link img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.view-all-link:hover,
.home-blog__link:hover {
  opacity: 0.75;
  color: #fff;
}

.view-all-link:hover img,
.home-blog__link:hover img {
  transform: translateX(6px);
}

.view-all-link:focus-visible,
.home-blog__link:focus-visible,
.svc-all-link:focus-visible,
.home-catalog__mobile-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 6px;
}

.home-blog__item {
  position: relative;
}

.home-blog__item-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.home-blog__media {
  overflow: hidden;
  margin-bottom: 20px;
  background: #151515;
  border-radius: 0px;
}

.home-blog__media img,
.home-blog__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  background: #151515;
  transition: filter 0.5s ease;
  -webkit-user-drag: none;
  user-select: none;
}

.home-blog__item:hover .home-blog__media img,
.home-blog__item:hover img {
  filter: brightness(1.1);
}

.home-blog__item-title {
  font-size: clamp(17px, 1.4vw, 26px);
  line-height: 1.4;
  font-weight: 400;
  color:#333;
  margin-bottom: 24px;
  transition: color 0.3s ease, opacity 0.5s ease;
}

.home-blog__item-date {
  font-size: 14px;
  color: var(--blog-muted);
  transition: opacity 0.5s ease;
}

.home-blog .cartCatalog-arrow:focus-visible {
  opacity: 1;
}

.home-blog .cartCatalog-arrow:focus-visible {
  outline: 2px solid var(--blog-white);
  outline-offset: 3px;
}

.theme-switch:focus-visible {
  outline: 2px solid var(--main-dark);
  outline-offset: 4px;
  border-radius: 999px;
}

.fab-contacts:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 6px;
}



@media (prefers-reduced-motion:no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

@media (min-width: 1200px) {
  h2 {
    font-size: 2rem;
  }



  .col-xl-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-xl-9 {
    flex: 0 0 auto;
    width: 75%;
  }

  .order-xl-1 {
    order: 1 !important;
  }

  .order-xl-2 {
    order: 2 !important;
  }

  h1 {
    font-size: 2.5rem;
  }

  .h4 {
    font-size: 1.5rem;
  }

  .mb-xl-2 {
    margin-bottom: .5rem !important;
  }

  .mb-xl-3 {
    margin-bottom: 1rem !important;
  }

  .pb-xl-0 {
    padding-bottom: 0 !important;
  }

  .blog_sidebar_col {
    position: relative !important;
  }

  .blog_sidebar_col {
    position: relative !important;
  }

  .blog_sticky_sidebar {
    position: sticky !important;
    top: 140px !important;
    width: auto;
    margin-bottom: 0;
    z-index: 5;
  }

  h3 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion:reduce) {
  .form-control::file-selector-button {
    transition: none;
  }
}

@media (max-width: 767px) {

  :root {
    --blog-pad: 20px;
    --hc-pad: 20px;
  }

  .home-blog__link,
  .view-all-link {
    top: 4px;
    gap: 10px;
    font-size: 11px;
  }

  .home-blog__link img,
  .view-all-link img {
    width: 16px;
    height: 16px;
  }

  .home-blog__item-title {
    margin-bottom: 14px;
  }



  .main_block {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .main_title {
    margin-bottom: 20px;
  }
  h2 {
  font-size: 26px !important;
}

  .card__title,
  .articles-page__grid .card__title,
  .review__title {
    font-size: 15px !important;
    line-height: 1.35;
    margin-top: 8px;
    margin-bottom: 0;
  }

  .page-hero__title {
    font-size: 24px !important;
  }

  .h4 {
    font-size: 17px;
  }

  .content_full h2 {
    font-size: 22px;
  }

  .blog_author {
    display: flex;
    align-items: center;
    column-gap: 23px;
  }

  .blog_banner {
    display: none;
  }

  h3 {
    font-size: 25px;
  }

  .main_title h1 {
    font-size: 28px;
  }
}

@media (max-width: 1400px) {
  :root {
    --blog-pad: 40px;
    --hc-pad: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-blog__link img {
    transition-duration: 0.01ms !important;
  }
}

@media (min-width: 1200px) and (max-width:1440px) {
  h2 {
    font-size: 38px;
  }

  .main_title h1 {
    font-size: 42px;
  }

  .h4 {
    font-size: 18px;
  }

  h3 {
    font-size: 21px;
  }
}

@media (min-width: 992px) and (max-width:1199px) {


  .blog_author {
    display: flex;
    align-items: center;
    column-gap: 23px;
  }

  .blog_banner {
    display: none;
  }
}

@media (min-width: 768px) and (max-width:991px) {
  body {
    font-size: 14px;
  }

  .main_title {
    margin-bottom: 25px;
  }

  h2 {
    font-size: 32px;
  }

  oi-select:not(.multiple) .select-search-list-item_selection:not(:active) {
    font-size: 14px;
    margin: 8px 25px 5px 5px;
  }

  .h4 {
    font-size: 18px;
  }

  .blog_author {
    display: flex;
    align-items: center;
    column-gap: 23px;
  }

  .blog_banner {
    display: none;
  }

  h3 {
    font-size: 24px;
  }
}

.content_full ul li::marker, .content_full ol li::marker {
    color: var(--main-dark);
}

.content_full ul {
    list-style-type: disc;
}



ol,ul {
  padding-left: 2rem;
  margin-top: 0;
  margin-bottom: 1rem;
  list-style: disc;
}

ul[class],
ol[class] {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.mb-1 {
  margin-bottom: .25rem !important;
}

.pb-1 {
  padding-bottom: .25rem !important;
}

h1,h2,.h4 {
  text-transform: uppercase;
}

.text-no-transform {
  text-transform: none;
}

a.def:hover {
  color: inherit;
  opacity: .8;
}

.blog_banner .blog_banner_in {
  position: relative;
  border-radius: 0px;
  overflow: hidden;
  padding: 120px 25px 25px 25px;
  background-size: cover;
  background-position: 50% 0;
  background-repeat: no-repeat;
}

.blog_banner .blog_banner_in:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,1));
}

.blog_banner .blog_banner_in>div {
  z-index: 1;
  position: relative;
  color: #fff
}

@media (max-width: 991.98px) {
  .content_full {
    font-size: 15px;
  }

  .content_full h1 {
    font-size: 28px;
  }

  .content_full h2 {
    font-size: 22px;
    margin-top: 1.5rem;
  }

  .content_full h3 {
    font-size: 19px;
  }
}

@media (max-width: 1199.98px) {
  .blog_sticky_sidebar {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    transform: none !important;
  }
}



.fbin oi-select:not(.multiple) .select-search-list-item_selection:not(:active) {
  background: 0 0;
  border: none;
  margin: 0px 15px;
  padding: 0px;
  font-size: 17px;
  white-space: nowrap;
  overflow: hidden;
  height: 46px;
  line-height: 100%;
  display: flex;
  align-items: center;
}

.input_cat [type="checkbox"]:not(:checked), .input_cat [type="radio"]:not(:checked) {
  position: absolute;
  left: -9999px;
}




@media (max-width: 768px) {
        .main_block {
            padding-bottom:0!important;
        }
}
/* ==== blog inner: typography, lists, dividers ==== */
.blog-inner .content_full {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
}

.blog-inner .content_full > * + * {
  margin-top: 18px;
}

.blog-inner .content_full h2 {
  margin-top: 48px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.2;
}

.blog-inner .content_full h3 {
  margin-top: 36px;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  line-height: 1.25;
}

.blog-inner .content_full h2 + p,
.blog-inner .content_full h3 + p,
.blog-inner .content_full h2 + ul,
.blog-inner .content_full h3 + ul {
  margin-top: 14px;
}

.blog-inner .content_full b {
  font-weight: 600;
}

.blog-inner .content_full a {
  color: var(--main-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* lists — the global reset kills list-style, restore it here only */
.blog-inner .content_full ul {
  padding-left: 22px;
  list-style: disc outside;
}

.blog-inner .content_full ol {
  padding-left: 22px;
  list-style: decimal outside;
}

.blog-inner .content_full li {
  display: list-item;
  list-style: inherit;
  margin-top: 8px;
}

.blog-inner .content_full li::marker {
  color: var(--main-color);
}

.blog-inner .content_full li > p {
  margin: 0;
}

/* dividers — the theme rule uses an undefined --bs-border-width, so hr renders with no line */
.blog-inner .content_full hr {
  height: 0;
  margin: 40px 0;
  border: 0;
  border-top: 1px solid rgba(24, 29, 29, 0.14);
  opacity: 1;
}

.blog-inner .content_full p:empty,
.blog-inner .content_full p > br:only-child {
  display: none;
}

/* ==== sidebar socials (colored) ==== */
.blog-inner .soc_media_block {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.soc_media_link {
  --soc: var(--main-color);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--soc);
  border-radius: 0px;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.soc_media_link:hover,
.soc_media_link:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

.soc_media_link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.soc_media_link--yt { --soc: #ff0000; }
.soc_media_link--wa { --soc: #25d366; }
.soc_media_link--tg { --soc: #229ed9; }
.soc_media_link--max { --soc: #7c4dff; }
.soc_media_link--vk { --soc: #0077ff; }

@media (max-width: 575px) {
  .blog-inner .content_full {
    font-size: 16px;
  }

  .blog-inner .content_full h2 {
    margin-top: 36px;
  }

  .blog-inner .content_full hr {
    margin: 30px 0;
  }
}

.accordion {
    transition: border-color .5s cubic-bezier(0.33, 1, 0.68, 1);
    border: 1px solid #e3e3e3
}

@media(max-width: 1279px) {
    .accordion {
        border-left:none;
        border-right: none
    }
}
.page-faq {
  padding: 0 0 100px;
}

.page-faq__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-faq__list > li + li {
  margin-top: 0;
}

.accordion {
  border-color: rgba(24, 29, 29, 0.14);
}

.accordion__icon {
  color: var(--text);
}

.accordion__svg path {
  stroke: currentColor;
}

.page-faq_mt-96 {
  margin-top: calc(var(--header-h) + 48px);
}

.accordion__head {
    cursor: pointer
}

.accordion__row {
    display: flex
}

.accordion__col {
    flex-shrink: 0
}

.accordion__col:nth-child(1) {
    padding: 1.5rem 0 1.5rem 1.5rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    flex-shrink: 1
}

@media(max-width: 1279px) {
    .accordion__col:nth-child(1) {
        padding:.875rem 1.25rem
    }
}

.accordion__col:nth-child(2) {
    display: flex;
    align-items: center
}

.accordion__title {
    max-width: min(100%, 52rem);
    font-family: inherit;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-transform: none;
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.3;
    overflow-wrap: anywhere;
    color: var(--text);
}

@media(max-width: 1279px) {
    .accordion__title {
        max-width: none;
        font-size: clamp(1.05rem, 4.2vw, 1.35rem);
        line-height: 1.3;
    }
}

.accordion__icon {
    --size: 4.5rem;
    width: var(--size);
    min-height: var(--size);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(24, 29, 29, 0.14);
    transition: .5s cubic-bezier(0.33, 1, 0.68, 1);
    color: var(--text);
}

@media(max-width: 1279px) {
    .accordion__icon {
        width:2.25rem;
        min-height: 3.625rem
    }
}

.accordion__svg {
    --size: 1.75rem;
    width: var(--size);
    height: var(--size);
    transition: transform .5s cubic-bezier(0.33, 1, 0.68, 1)
}

@media(max-width: 1279px) {
    .accordion__svg {
        --size: 1rem
    }
}

.accordion__svg path {
    stroke: #181d1d;
    transition: .5s cubic-bezier(0.33, 1, 0.68, 1);
    stroke-width: 1px
}

.accordion__body {
    padding: 3.75rem;
    display: none;
    border-top: 1px solid #e3e3e3
}

@media(max-width: 1279px) {
    .accordion__body {
        padding:1.25rem
    }
}

.accordion__container {
    padding-inline: clamp(1rem, 4vw, 3.75rem);
}

.accordion__text p {
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--muted);
}

@media(max-width: 1279px) {
    .accordion__text p {
        font-size:0.875rem
    }
}

@media(max-width: 1279px) {
    .dosc-page__list_devices .accordion__col:first-child {
        border-left:1px solid #e3e3e3
    }

    .dosc-page__list_devices .accordion__col:last-child {
        border-right: 1px solid #e3e3e3
    }
}

.accordion {
    transition: border-color .5s cubic-bezier(0.33, 1, 0.68, 1);
    border: 1px solid #e3e3e3
}

@media(max-width: 1279px) {
    .accordion {
        border-left:none;
        border-right: none
    }
}

.accordion__head {
    cursor: pointer
}

.accordion__row {
    display: flex
}

.accordion__col {
    flex-shrink: 0
}

.accordion__col:nth-child(1) {
    padding: 1.5rem 0 1.5rem 1.5rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    flex-shrink: 1
}

@media(max-width: 1279px) {
    .accordion__col:nth-child(1) {
        padding:.875rem 1.25rem
    }
}

.accordion__col:nth-child(2) {
    display: flex;
    align-items: center
}

.accordion__title {
    max-width: min(100%, 52rem);
    font-family: inherit;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-transform: none;
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.3;
    overflow-wrap: anywhere;
    color: var(--text);
}

@media(max-width: 1279px) {
    .accordion__title {
        max-width: none;
        font-size: clamp(1.05rem, 4.2vw, 1.35rem);
        line-height: 1.3;
    }
}

.accordion__icon {
    --size: 4.5rem;
    width: var(--size);
    min-height: var(--size);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(24, 29, 29, 0.14);
    transition: .5s cubic-bezier(0.33, 1, 0.68, 1);
    color: var(--text);
}

@media(max-width: 1279px) {
    .accordion__icon {
        width:2.25rem;
        min-height: 3.625rem
    }
}

.accordion__svg {
    --size: 1.75rem;
    width: var(--size);
    height: var(--size);
    transition: transform .5s cubic-bezier(0.33, 1, 0.68, 1)
}

@media(max-width: 1279px) {
    .accordion__svg {
        --size: 1rem
    }
}

.accordion__svg path {
    stroke: #181d1d;
    transition: .5s cubic-bezier(0.33, 1, 0.68, 1);
    stroke-width: 1px
}

.accordion__body {
    padding: 3.75rem;
    display: none;
    border-top: 1px solid #e3e3e3
}

@media(max-width: 1279px) {
    .accordion__body {
        padding:1.25rem
    }
}

.accordion__container {
    padding-inline: clamp(1rem, 4vw, 3.75rem);
}

.accordion__text p {
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--muted);
}

@media(max-width: 1279px) {
    .accordion__text p {
        font-size:0.875rem
    }
}


/* ==========================================================================
   FAQ — АККОРДЕОН (плавное открытие)
   Один блок. Всё, что было дописано в конец файла раньше, удалено —
   там лежали три взаимоисключающих варианта подряд.
   ========================================================================== */

/* Раньше этот media-query лежал в <style> ВНУТРИ каждого <li> — 4 копии
   одного правила, да ещё с лишней ";" после закрывающей скобки. */
@media (max-width: 1024px) {
    .fix-font {
        font-size: 1.15rem;
    }
}

/* --------------------------------------------------------------------------
   1. Шапка — теперь <button>, сбрасываем браузерные стили
   -------------------------------------------------------------------------- */
.accordion__head {
    width: 100%;
    padding: 0;
    display: block;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
}


.accordion__body {
    display: block;
    height: 0;
    padding: 0;
    border-top: 0;
    overflow: hidden;
    transition: height .35s cubic-bezier(0.33, 1, 0.68, 1);
}

@media (max-width: 1279px) {
    .accordion__body {
        padding: 0;
    }
}

/* padding и разделитель — на внутреннем контейнере */
.accordion__container {
    padding-top: 0.25rem;
    padding-bottom: 1.5rem;
    padding-inline: clamp(1rem, 4vw, 1.5rem);
    border-top: 1px solid #e3e3e3;
}

@media (max-width: 1279px) {
    .accordion__container {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
        padding-inline: 1.25rem;
    }
}

/* --------------------------------------------------------------------------
   3. Стрелка
   -------------------------------------------------------------------------- */
.accordion__svg {
    transition: transform .35s cubic-bezier(0.33, 1, 0.68, 1);
}

@media (prefers-reduced-motion: reduce) {
    .accordion__body,
    .accordion__svg {
        transition: none;
    }
}
.section__heading{
    margin-bottom: 32px;
}
@media(max-width: 768px){

    h2{
        font-size: 29px !important;
    }

    .card__title,
    .articles-page__grid .card__title,
    .review__title {
      font-size: 15px !important;
      line-height: 1.35;
      margin-top: 8px;
      margin-bottom: 0;
    }

    .page-hero__title {
      font-size: 24px !important;
    }

    .page-hero {
      padding-bottom: 16px;
    }

    .blog--page {
      padding-top: 0;
      padding-bottom: 64px;
    }

    .articles-page__grid {
      gap: 20px;
    }
}

button,
[type="button"] {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}


.accordion.active {
  border-color: var(--main-color);
}

.accordion.active .accordion__icon {
    border-color: var(--main-color);
    background-color: var(--main-color)
}

.accordion.active .accordion__svg {
    transform: rotate(180deg)
}

.accordion.active .accordion__svg path {
    stroke: #fff
}

.accordion__head {
    cursor: pointer
}

.accordion__row {
    display: flex
}

.accordion__col {
    flex-shrink: 0
}

.accordion__col:nth-child(1) {
    padding: 1.5rem 0 1.5rem 1.5rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    flex-shrink: 1
}

/* ==== premium modal ==== */
.xm-modal {
  --xm-pad: 48px;
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.xm-modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.35s ease, visibility 0s;
}

.xm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 30, 32, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.xm-modal__dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: var(--xm-pad);
  background: #fff;
  box-shadow: 0 40px 90px rgba(3, 30, 32, 0.28);
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.xm-modal.is-open .xm-modal__dialog {
  transform: none;
  opacity: 1;
}

.xm-modal__dialog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--main-color), var(--main-dark, #047575));
}

.xm-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(24, 29, 29, 0.14);
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.xm-modal__close:hover {
  color: #fff;
  background: var(--main-color);
  border-color: var(--main-color);
  transform: rotate(90deg);
}

.xm-modal__close svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.6;
}

.xm-modal__eyebrow {
  margin-bottom: 12px;
  color: var(--main-color);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xm-modal__title {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.xm-modal__text {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.xm-modal__form {
  margin-top: 28px;
}

.xm-field {
  display: block;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(24, 29, 29, 0.18);
  transition: border-color 0.25s ease;
}

.xm-field:focus-within {
  border-bottom-color: var(--main-color);
}

.xm-field input,
.xm-field textarea {
  width: 100%;
  height: 46px;
  padding: 0;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  background: transparent;
  border: none;
  outline: none;
  resize: none;
}

.xm-field textarea {
  height: 84px;
  padding-top: 12px;
  line-height: 1.4;
}

.xm-field input::placeholder,
.xm-field textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.xm-modal__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 58px;
  margin-top: 8px;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  background: var(--main-color);
  border: none;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.xm-modal__submit:hover {
  background: var(--main-dark, #047575);
}

.xm-modal__note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.xm-modal__note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.xm-modal__done {
  display: none;
  text-align: center;
}

.xm-modal.is-done .xm-modal__body {
  display: none;
}

.xm-modal.is-done .xm-modal__done {
  display: block;
}

.xm-modal__check {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  color: #fff;
  background: var(--main-color);
  border-radius: 50%;
  animation: xmPop 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.xm-modal__check svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 2;
}

@keyframes xmPop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

body.xm-lock {
  overflow: hidden;
}

@media (max-width: 575px) {
  .xm-modal { --xm-pad: 28px 20px 26px; padding: 16px; }
  .xm-modal__title { font-size: 22px; }
  .xm-modal__close { top: 10px; right: 10px; width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .xm-modal,
  .xm-modal__dialog,
  .xm-modal__close,
  .xm-modal__check { transition: none; animation: none; }
}

@media (max-width: 768px) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .banner__scroll svg,
  .wave,
  #banner_video.xa-kenburns,
  .xm-modal__check {
    animation: none !important;
  }
}

/* ==========================================================================
   Full-site responsive hardening
   Covers tablet + phone gaps not handled by earlier scattered queries.
   ========================================================================== */

body.mobile-menu-open {
  overflow: hidden;
  touch-action: none;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

.page-hero__title,
.about-intro__title,
.about-team__title,
.about-work__title,
.blog__title,
.reviews__title,
.partners__title,
.products__title,
.hp-cta .h2,
.contacts__title,
.accordion__title {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer__contacts a,
.about-team__contacts a,
.contact-card__links a,
.agree__text,
.xm-modal__note {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.banner_card_link {
  white-space: normal;
  max-width: 100%;
  text-align: center;
}

@media (max-width: 1279px) {
  :root {
    --header-h: 84px;
  }

  .header_left img {
    width: 140px;
    max-width: none;
    transform: scale(1.15);
  }

  .header_inner {
    gap: 40px;
  }

  .header_center {
    padding-right: 80px;
  }

  .all_menu_wrapper {
    z-index: 90;
  }
}

@media (max-width: 1199px) {
  .banner__content {
    left: 8%;
    width: 84%;
  }

  .banner__meta {
    gap: 18px;
  }

  .blog__head,
  .reviews__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .blog__more,
  .reviews__more {
    width: auto;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .adv__stage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    height: auto;
    padding: 70px 0 90px;
  }

  .adv__grid-line--1,
  .adv__grid-line--3 {
    display: none;
  }

  .adv__grid-line--2 {
    left: 50%;
  }

  .adv__eyebrow,
  .adv__title,
  .adv__btn,
  .adv__item {
    position: static;
    width: auto;
  }

  .adv__head {
    display: flex;
    flex-direction: column;
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .adv__btn {
    width: min(200px, 100%);
    margin-top: auto;
  }

  .adv__item {
    grid-column: 2;
    margin-bottom: 48px;
    padding-top: 22px;
  }

  .adv__item:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 992px) {
  .page-hero {
    padding-top: calc(var(--header-h) + 36px);
  }

  .page-hero__title {
    font-size: clamp(28px, 5vw, 40px);
  }

  .main_block.blog-inner {
    margin-top: calc(var(--header-h) + 24px);
    padding-bottom: 64px;
  }

  .blog-inner__meta {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .about-grid.missiya {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  #innerPages .innerFlex:has(> .medication-card) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products__title {
    font-size: clamp(26px, 4vw, 36px);
    margin-bottom: 32px;
  }

  .wpcf7-form {
    flex-direction: column;
  }

  .wpcf7-form-control-wrap,
  .cf7,
  .hp-cta .btn-lime,
  .contacts__submit {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 72px;
  }

  header .custom_container {
    padding-right: 16px;
  }

  .header_left img {
    width: 110px;
    max-width: none;
    transform: scale(1);
  }

  #banner_wrapper {
    min-height: 520px;
    height: 100svh;
  }

  .banner_card_link {
    min-width: 0;
    padding-inline: 18px;
  }

  .page-hero {
    padding: calc(var(--header-h) + 28px) 0 16px;
  }

  .page-faq_mt-96 {
    margin-top: calc(var(--header-h) + 28px);
  }

  .main_block.blog-inner {
    margin-top: calc(var(--header-h) + 16px);
  }

  .about-intro {
    margin-top: calc(var(--header-h) + 8px) !important;
  }

  .about-stat__value {
    font-size: clamp(40px, 12vw, 52px);
    margin-top: 20px;
  }

  .footer__contacts a {
    font-size: clamp(15px, 4vw, 18px);
  }

  .reviews__slider {
    overflow: hidden;
  }

  .product-card__title {
    font-size: clamp(18px, 5vw, 22px);
  }

  .hp-cta .h2 {
    font-size: clamp(22px, 6vw, 28px);
  }

  .hp-cta-wrapper .content {
    gap: 24px;
  }

  #main-button {
    width: 52px;
    height: 52px;
    right: 8px;
    bottom: 8px;
  }

  #main-div {
    right: 12px;
    bottom: 12px;
  }

  .xm-modal {
    padding: 12px;
  }

  .xm-modal__dialog {
    max-height: calc(100svh - 24px);
    overflow-y: auto;
  }

  .accordion__col:nth-child(1) {
    min-width: 0;
  }

  .accordion__row {
    width: 100%;
  }

  .page-faq__list,
  .page-faq__list > li,
  .accordion {
    max-width: 100%;
  }

  .page-faq {
    padding-bottom: 64px;
  }

  .accordion__title {
    font-size: 15px !important;
    text-transform: none;
  }
}

@media (max-width: 640px) {
  .partners__grid--page {
    grid-template-columns: 1fr;
  }

  #innerPages .innerFlex:has(> .medication-card) {
    grid-template-columns: 1fr;
  }

  .custom_container,
  header .custom_container,
  .container {
    padding-inline: 16px;
  }

  .banner__content {
    left: 16px;
    width: calc(100% - 32px);
  }

  .banner__since {
    font-size: 12px;
  }

  .products,
  .blog,
  .reviews,
  .partners,
  .contacts {
    padding-left: 0;
    padding-right: 0;
  }

  .section__heading,
  .page-hero__text {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  #banner_wrapper {
    min-height: 480px;
  }

  .header_left img {
    width: 96px;
    max-width: none;
    transform: scale(1);
  }

  .partnor {
    height: 96px;
    padding: 14px;
  }

  .products__btn,
  .blog__more,
  .reviews__more,
  .partners__more {
    width: 100%;
    justify-content: center;
  }

  .about-team__card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .about-team__photo {
    width: 64px;
    height: 64px;
  }

  .blog-inner__hero {
    max-height: 220px;
  }

  .page-hero__title {
    font-size: 26px;
  }
}

@media (max-width: 360px) {
  .container,
  .custom_container,
  header .custom_container {
    padding-inline: 12px;
  }

  .header_left img {
    width: 84px;
    max-width: none;
  }

  .banner__content h1 {
    font-size: 24px;
  }

  .partnor {
    height: 88px;
    padding: 10px;
  }
}

/* No sticky hover effects on touch / mobile */
@media (max-width: 768px), (hover: none) {
  .menu_button:hover:not([aria-expanded="true"]) {
    background-color: var(--main-color);
  }

  .menu__link:hover {
    color: inherit;
  }

  .menu__link:hover::before {
    opacity: 0;
    transform: scale(0, 1);
  }

  .product-card:hover {
    background: transparent;
    box-shadow: none;
  }

  .product-card:hover .product-card__image img,
  .card:hover .card__media img,
  .review:hover .review__media img,
  .home-blog__item:hover .home-blog__media img,
  .home-blog__item:hover img {
    transform: none;
  }

  .product-card__link:hover,
  .products__btn:hover,
  .adv__btn:hover,
  .blog__more:hover,
  .reviews__more:hover,
  .partners__more:hover,
  .contacts__submit:hover {
    background: #099393;
    color: var(--white);
  }

  .btn-lime:hover {
    background-color: var(--main-color);
  }

  .card:hover .card__arrow,
  .card--featured:hover .card__play,
  .review:hover .review__arrow,
  .card:hover .card__title,
  .review:hover .review__title {
    color: inherit;
    opacity: 1;
    transform: none;
  }

  .banner_card_link:hover,
  .banner__scroll:hover,
  #main-button:hover {
    transform: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }

  .footer a:hover {
    opacity: 1;
  }

  .all_menu_heading:hover,
  .all_menu_list a:hover,
  .all_menu_main .all_menu_list a:hover::before {
    color: inherit;
    opacity: 1;
    transform: none;
  }

  .all_menu_social:hover {
    color: inherit;
    border-color: inherit;
  }

  .all_menu_social:hover::before,
  .footer__social:hover::before {
    transform: translateY(100%);
  }

  .footer__social:hover,
  .contact-social:hover,
  .soc_item:hover,
  .soc_media_link:hover {
    color: inherit;
    background: transparent;
    transform: none;
  }

  .partnor:hover::before {
    opacity: 0;
    transform: none;
  }

  .xm-modal__close:hover,
  .xm-modal__submit:hover {
    background: inherit;
    color: inherit;
    transform: none;
  }

  .view-all-link:hover,
  .home-blog__link:hover,
  .view-all-link:hover img,
  .home-blog__link:hover img {
    color: inherit;
    transform: none;
  }

  a.def:hover,
  .content_full a:not(.btn_default):not(.def_link):not(.highslide):hover,
  .about-team__contacts a:hover,
  .contact-card__links a:hover,
  .contact-card__list > li > a:hover,
  .agree__text a:hover {
    color: inherit;
    opacity: 1;
  }

  .contact-card__list > li:hover {
    background: transparent;
  }

  .hc-slider__arrow:hover:not(:disabled) {
    background: inherit;
    transform: none;
  }

  #main-button.open ~ .onlineregistration:hover,
  #main-button.open ~ .wrappericon:hover {
    transform: none;
  }
}
/* ===== Services pages ===== */
.services-page {
  padding: 0 0 100px;
}

.services-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  color: var(--text);
  transition: color 0.3s var(--ease);
}

.service-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.service-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
}

.service-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.service-card__text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.service-card__link {
  margin-top: 4px;
  color: var(--main-color);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-card:hover .service-card__title {
  color: var(--main-color);
}

.service-card:hover .service-card__media img {
  transform: scale(1.06);
}

.page-hero--service .page-hero__eyebrow a {
  color: inherit;
}

.service-inner {
  padding: 0 0 100px;
}

.service-inner__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
}

.service-inner__hero {
  margin-bottom: 32px;
  overflow: hidden;
  background: var(--bg-soft);
}

.service-inner__hero img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.service-inner__text {
  max-width: 720px;
}

.service-inner__text h2 {
  margin: 32px 0 14px;
  font-size: 22px !important;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-transform: none !important;
  color: var(--text);
}

.service-inner__text p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.service-inner__text ul {
  margin: 0 0 16px;
  padding-left: 1.1rem;
  list-style: disc;
}

.service-inner__text li {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.service-inner__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.service-inner__btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 24px;
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  background: var(--main-color);
  transition: background-color 0.3s var(--ease);
}

.service-inner__btn:hover {
  background: var(--main-dark);
}

.service-inner__back {
  color: var(--text);
  font-size: 14px;
  border-bottom: 1px solid rgba(24, 29, 29, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.service-inner__back:hover {
  color: var(--main-color);
  border-color: var(--main-color);
}

.service-aside {
  padding-top: 24px;
  border-top: 1px solid rgba(24, 29, 29, 0.14);
}

.service-aside__label {
  margin-bottom: 16px;
  color: var(--main-color);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-aside__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-aside__list a {
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.service-aside__list a:hover {
  color: var(--main-color);
}

@media (max-width: 992px) {
  .services-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-inner__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .services-page {
    padding-bottom: 64px;
  }

  .services-page__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card__title {
    font-size: 15px !important;
  }

  .service-inner {
    padding-bottom: 64px;
  }

  .service-inner__hero img {
    max-height: 240px;
  }

  .service-inner__text h2 {
    font-size: 18px !important;
  }

  .service-inner__text p,
  .service-inner__text li {
    font-size: 15px;
  }
}


/* ===== Category goods page ===== */
a.product-card {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.goods-page {
  padding: 0 0 100px;
}

.goods-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 20px;
}

.goods-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  padding: 24px 20px 20px;
}

.goods-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  margin-bottom: 16px;
}

.goods-card__image img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.goods-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.goods-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--main-color);
}

.goods-card__text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  min-height: 2.9em;
}

.goods-card__link {
  margin-top: 6px;
  color: var(--main-color);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.goods-card__link:hover {
  color: var(--main-dark);
}

.goods-page__empty {
  color: var(--muted);
  font-size: 15px;
}

.goods-page__empty a {
  color: var(--main-color);
}

.page-hero__eyebrow a {
  color: inherit;
}

@media (max-width: 992px) {
  .goods-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .goods-page {
    padding-bottom: 64px;
  }

  .goods-page__grid {
    grid-template-columns: 1fr;
  }

  .goods-card__title {
    font-size: 15px !important;
  }
}

/* ===== Product inner page ===== */
.product-view .service-inner__layout {
  grid-template-columns: minmax(0, 760px) minmax(280px, 1fr);
  gap: 16px;
}

.product-view .service-inner__layout > * {
  min-width: 0;
}

.product-gallery {
  width: 100%;
  max-width: 760px;
  margin-bottom: 20px;
}

.product-gallery__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px;
  margin-bottom: 8px;
  background: var(--bg-soft);
  overflow: hidden;
}

.product-gallery__stage img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.product-gallery__thumbs button {
  display: block;
  padding: 6px;
  border: 1px solid transparent;
  background: var(--bg-soft);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.product-gallery__thumbs button.is-active,
.product-gallery__thumbs button:hover {
  border-color: var(--main-color);
}

.product-gallery__thumbs img {
  width: 100%;
  height: 64px;
  object-fit: contain;
}

.product-view .service-inner__text strong {
  font-weight: 500;
  color: var(--text);
}

.product-view .service-inner__text li {
  list-style: disc;
}

.product-specs {
  margin-top: 8px;
  overflow-x: auto;
  border-top: 1px solid var(--border);
}

.product-specs table {
  width: 100%;
  border-collapse: collapse;
}

.product-specs th,
.product-specs td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
  line-height: 1.4;
}

.product-specs thead th {
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 500;
}

.product-specs tbody th {
  color: var(--text);
  font-weight: 500;
}

.product-specs td {
  color: var(--muted);
}

ul.product-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 10px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.product-view .service-inner__text {
  margin-top: 32px;
}

.product-perks__item:nth-child(1) { grid-area: 1 / 1; }
.product-perks__item:nth-child(2) { grid-area: 2 / 1; }
.product-perks__item:nth-child(3) { grid-area: 3 / 1; }
.product-perks__item:nth-child(4) { grid-area: 1 / 2; }
.product-perks__item:nth-child(5) { grid-area: 2 / 2; }

.product-perks__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 14px;
  background: var(--white);
  border: 1px solid rgba(24, 29, 29, 0.1);
}

.product-perks__item img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.product-perks__item p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
}

.product-view .product-contacts .service-aside {
  height: 100%;
  padding: 22px 24px 24px;
  background: var(--bg-soft);
  border-top: 0;
}

.product-view .product-contacts .service-inner__btn {
  width: 100%;
  justify-content: center;
  margin-top: 22px;
}

ul.product-contacts__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.product-contacts__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.product-contacts__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--main-color);
  background: var(--white);
}

.product-contacts__socials a:hover {
  color: var(--white);
  background: var(--main-color);
}

.product-contacts__socials svg {
  display: block;
  width: auto;
  height: 16px;
  fill: currentColor;
}

.product-contacts__name {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.product-contacts__role {
  margin: 2px 0 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.product-contacts__list a {
  display: block;
  color: var(--main-color);
  font-size: 14px;
  line-height: 1.45;
}

.product-contacts__list a:hover {
  color: var(--main-dark);
}

@media (max-width: 992px) {
  .product-view .service-inner__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .product-gallery {
    max-width: none;
  }

  .product-view .service-inner__text {
    max-width: none;
  }
}

@media (max-width: 768px) {
  ul.product-perks {
    grid-template-columns: 1fr;
  }

  .product-perks__item:nth-child(1),
  .product-perks__item:nth-child(2),
  .product-perks__item:nth-child(3),
  .product-perks__item:nth-child(4),
  .product-perks__item:nth-child(5) {
    grid-area: auto;
  }

  .product-gallery__stage {
    height: 240px;
  }

  .product-gallery__thumbs img {
    height: 40px;
  }

  ul.product-contacts__list {
    grid-template-columns: 1fr;
  }

  .product-specs th,
  .product-specs td {
    padding: 10px 8px;
    font-size: 12px;
  }
}

.cookie-banner {
  position: fixed;
  z-index: 220;
  left: 16px;
  bottom: 16px;
  width: min(420px, calc(100vw - 32px));
  padding: 20px 20px 16px;
  background: var(--white);
  border-top: 3px solid var(--main-color);
  box-shadow: 0 16px 40px rgba(3, 30, 32, 0.16);
}

.cookie-banner p {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.cookie-banner a {
  color: var(--main-color);
  border-bottom: 1px solid currentColor;
}

.cookie-banner__accept {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  color: var(--white);
  background: var(--main-color);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
}

.cookie-banner__accept:hover {
  background: var(--main-dark);
}

@media (max-width: 768px) {
  .legal.service-inner {
    padding-bottom: 64px;
  }
}
