@font-face {
  font-family: 'Yandex Sans Text';
  src: url('../fonts/YandexSansDisplay-Thin.woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Yandex Sans Text';
  src: url('../fonts/YandexSansDisplay-Light.woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Yandex Sans Text';
  src: url('../fonts/YandexSansDisplay-Regular.woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Yandex Sans Text';
  src: url('../fonts/YandexSansDisplay-Bold.woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ------------ Main styles ------------ */
:root {
  --main-color: #44B215;
  --secondary-color: #D71920;
  --helper-color: #FFDD00;
  --text-color: #4D4D4D;
  --background-color: #ECEFF6;
}

body {
  position: relative;
  font-family: 'Yandex Sans Text', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  color: var(--text-color);
}

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

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

p {
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

picture {
  display: flex;
}

.unselectable {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

.main-container {
  max-width: 1220px;
  width: 100%;
  display: flex;
  margin: 0 auto;
  padding: 0 40px;
}

.main-title {
  font-size: 22px;
  color: #1A1A1A;
}

.button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 40px;
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.button--main {
  color: black;
  background: radial-gradient(269.69% 100% at 50% 100%, rgba(230, 36, 43, 0.2) 0%, rgba(239, 105, 27, 0.2) 37.5%, rgba(255, 221, 0, 0.2) 100%), #ffdd00;
  box-shadow: 0px 2px 8px rgb(29 29 29 / 25%);
}

.button--main:hover {
  background: radial-gradient(269.69% 100% at 50% 100%, rgba(230, 36, 43, 0.2) 0%, rgba(239, 105, 27, 0.2) 37.5%, rgba(255, 221, 0, 0.2) 100%), linear-gradient(0deg, #D71920, #D71920), #FFFFFF;
  box-shadow: 0px 4px 16px rgba(230, 36, 43, 0.5);
  color: white;
}

.button--secondary {
  background: radial-gradient(269.69% 100% at 50% 100%, rgba(230, 36, 43, 0.2) 0%, rgba(239, 105, 27, 0.2) 37.5%, rgba(255, 221, 0, 0.2) 100%), linear-gradient(0deg, #D71920, #D71920), #FFFFFF;
  box-shadow: 0px 4px 16px rgba(230, 36, 43, 0.5);
}

.button--secondary:hover {
  color: black;
  background: radial-gradient(269.69% 100% at 50% 100%, rgba(230, 36, 43, 0.2) 0%, rgba(239, 105, 27, 0.2) 37.5%, rgba(255, 221, 0, 0.2) 100%), #ffdd00;
  box-shadow: 0px 2px 8px rgb(29 29 29 / 25%);
}

.more-button {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: var(--text-color);
  align-items: center;
}

.more-button strong {
  font-family: cursive;
  font-size: 24px;
  font-weight: 400;
}

.logo {
  display: flex;
}

.logo__image {
  width: 200px;
}

/* ------------ /end Main styles ------------ */


/* ------------ Carousel navs ------------ */
.carousel-navs {
  display: flex;
  margin-top: auto;
  gap: 16px
}

.carousel-navs__item {
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--main-color);
  border-radius: 50%;
  font-size: 24px;
}

.carousel-navs__item--prev {
  background-color: transparent;
  color: var(--main-color);
}

.carousel-navs__item--next {
  background-color: var(--main-color);
  color: white;
}

.carousel-navs__icon {
  width: auto !important;
  height: auto !important;
  pointer-events: none;
}

.carousel-counter {
  margin-left: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-counter__seperator {
  width: 60px;
  height: 2px;
  background-color: var(--main-color);
}

/* ------------ /end Carousel navs ------------ */


/* ------------ Header ------------ */
.header__inner {
  padding-top: 32px;
  padding-bottom: 32px;
  align-items: center;
}

.header__contacts {
  display: flex;
  gap: 28px;
  margin: 0 100px 0 auto;
}

.header__contacts-item {
  color: var(--text-color);
  line-height: 1.5;
  text-decoration: none;
}

.kit-link {
  font-size: 14px;
  line-height: 1.5;
}

.kit-link__image * {
  transition: 0.3s;
}

.kit-link:hover .kit-link__image * {
  fill: var(--secondary-color);
}

/* ------------ /end Header ------------ */


/* ------------ About ------------ */
.about {
  display: flex;
  background-color: var(--background-color);
}

.orion-pharm {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  padding: 64px 160px 64px 130px;
  color: white;
  height: 640px;
  width: 57vw;
  overflow: hidden;
}

.orion-pharm::before {
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  background-image: url('../img/about-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 140%;
  height: 100%;
  z-index: -2;
  transition: .4s;
}

.about:hover .orion-pharm::before {
  left: -40%;
}

.orion-pharm::after {
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: .3s;
}

.about:hover .orion-pharm::after {
  background-color: rgba(0, 0, 0, 0);
}

.orion-pharm h2 {
  font-weight: 700;
  font-size: 68px;
  line-height: 90px;
  margin-top: 0;
  margin-bottom: 16px;
}

.orion-pharm h2::before {
  position: absolute;
  right: -336px;
  top: -118px;
  content: "";
  width: 558px;
  height: 262px;
  background-image: url('../img/cloud.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: .3s;
}

.about:hover .orion-pharm h2::before {
  right: -120px;
}

.orion-pharm h2::after {
  position: absolute;
  left: -224px;
  top: calc(100% - 212px);
  content: "";
  width: 558px;
  height: 262px;
  background-image: url('../img/cloud.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: .3s;
}

.about:hover .orion-pharm h2::after {
  left: 0;
  top: calc(100% - 160px);
}

.orion-pharm h2 small {
  display: block;
  font-weight: 700;
  font-size: 22px;
  line-height: 28px;
}

.orion-pharm p {
  margin: 0;
  max-width: 440px;
}

.orion-pharm p:not(:last-child) {
  margin-bottom: 24px;
}

.about-company {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
  height: 640px;
}

.about-company h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 21.33px;
  line-height: 28px;
}

.about-company p {
  margin: 0;
  max-width: 400px;
}

.about-company p:not(:last-child) {
  margin-bottom: 24px;
}

/* ------------ /end About ------------ */


/* ------------ Aim ------------ */
.aim__inner {
  flex-direction: column;
  padding-top: 60px;
  padding-bottom: 60px;
}

.aim__title {
  margin-bottom: 20px;
}

.aim__desc {
  margin-bottom: 32px;
  max-width: 600px;
}

.aim-list {
  display: flex;
  gap: 20px;
}

.aim-card {
  width: 33.3%;
  color: white;
  border-radius: 8px;
  overflow: hidden;
}

.aim-card__header {
  background-color: #192E62;
  padding: 32px 40px;
  transition: 0.3s;
}

.aim-card:hover .aim-card__header {
  background-color: var(--background-color);
  color: var(--text-color);
}

.aim-card__title {
  line-height: 1.4;
  margin-bottom: 12px;
}

.aim-card__desc {
  font-weight: 300;
}

.aim-card__image-container {
  position: relative;
}

.aim-card__image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(25, 46, 98, 0.4), rgba(25, 46, 98, 0.4));
  opacity: 1;
  transition: 0.3s;
}

.aim-card:hover .aim-card__image-bg {
  opacity: 0;
}

/* ------------ /end Aim ------------ */


/* ------------ Services ------------ */
.advantages {
  background-color: var(--background-color);
}

.advantages__inner {
  padding-top: 60px;
  padding-bottom: 60px;
}

.advantages-item {
  display: flex;
  gap: 40px;
}

.advantages-item__image {
  border-radius: 8px;
  width: 450px !important;
}

.advantages-item__body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.advantages-item__title {
  margin-bottom: 16px;
}

.advantages-item__desc {
  margin-bottom: 32px;
  padding-right: 90px;
}

.advantages-item .carousel-navs {
  justify-content: flex-end;
}

/* ------------ /end Services ------------ */


/* ------------ Partners ------------ */
.partners__inner {
  flex-direction: column;
  padding-top: 60px;
  padding-bottom: 60px;
}

.partners__title {
  margin-bottom: 20px;
}

.partners__desc {
  margin-bottom: 32px;
  max-width: 580px;
}

.partners-carousel__item {
  padding: 24px 60px;
  border-radius: 8px;
  border: 2px solid #192E62;
}

.partners-carousel-controls {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
}

/* Partners page */
.partners-page__section {
  background-color: var(--background-color);
}

.partners-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.partners-list__item {
  width: calc(25% - 25px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 60px;
  border-radius: 8px;
  border: 2px solid #192E62;
  background-color: white;
}
/* ------------ /end Partners ------------ */


/* ------------ Feedback ------------ */
.feedback {
  background-color: var(--background-color);
}

.feedback__inner {
  flex-direction: column;
  padding-top: 60px;
  padding-bottom: 60px;
}

.feedback__title {
  margin-bottom: 20px;
}

.feedback__desc {
  margin-bottom: 32px;
  max-width: 480px;
}

.feedback__main-container {
  display: flex;
  border-radius: 8px;
}

.feedback__image {
  width: 400px;
  min-width: 400px;
}

.feedback__main {
  flex-grow: 1;
  background-color: #192E62;
  padding: 40px 80px 60px;
  border-radius: 0 8px 8px 0;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.feedback__contacts {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.feedback__contacts-item {
  font-weight: 300;
  color: white;
  text-decoration: none;
  line-height: 1.5;
}

.feedback__contacts-item strong {
  font-weight: bold;
}

.feedback-form__input {
  width: 100%;
  padding: 12px 24px;
  border-radius: 8px;
}

.feedback-form__submit {
  margin-top: 20px;
  font-weight: bold;
  font-size: 14px;
}

.feedback-form__submit-icon {
  transition: 0.3s;
}

.feedback-form__submit:hover .feedback-form__submit-icon * {
  stroke: white;
}

.checkbox-container {
  position: relative;
}

.checkbox {
  opacity: 0;
  width: 16px;
  height: 16px;
  margin: 0;
}

.checkbox-replacer {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  position: absolute;
  background-color: #fff;
  pointer-events: none;
  top: 0;
  left: 0;
}

.checkbox-replacer::after {
  content: '';
  display: block;
  width: 0.5em;
  height: 1em;
  border-style: solid;
  border-width: 0 0.2em 0.2em 0;
  border-color: #000;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  left: 4px;
  bottom: 2px;
  display: none;
}

.checkbox:checked+.checkbox-replacer::after {
  display: block;
}

.accept-terms {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  align-items: center;
}

.accept-terms__label {
  cursor: pointer;
  width: max-content;
  font-weight: 100;
  color: #E6E6E6;
  line-height: 1.4;
  max-width: 200px;
  font-size: 10px;
}

.iti {
  width: 100%;
}

.iti--separate-dial-code .iti__selected-flag {
  background-color: transparent;
}

.iti__selected-flag {
  padding: 0 20px 0 24px;
}

/* ------------ /end Feedback ------------ */


/* ------------ Location ------------ */
.location {
  background-color: var(--background-color);
}

.location__txt {
  flex-direction: column;
}

.location__title {
  margin-bottom: 20px;
}

.location__desc {
  margin-bottom: 40px;
  max-width: 500px;
}

.map {
  height: 500px;
}

/* ------------ /end Location ------------ */


/* ------------ Footer ------------ */
.footer__inner {
  padding-top: 40px;
  padding-bottom: 40px;
  align-items: center;
  justify-content: space-between;
}

.footer__block-title {
  margin-bottom: 4px;
}

.footer__block-desc {
  margin-bottom: 0;
  color: var(--text-color);
  text-decoration: none;
}

.scroll-top {
  width: 42px;
  height: 42px;
  justify-content: center;
  background-color: var(--main-color);
  padding: 0;
  border-radius: 50%;
}

/* ------------ /end Footer ------------ */