/* button */
.corp_btn {
  font-weight: var(--weight-medium);
  color: rgb(43, 42, 41);
  background-color: #fff;
  border: 2px solid rgb(0, 73, 109);
  border-radius: 10px;
  padding: 15px 25px;
  transition: 0.4s;
  width: fit-content;
  cursor: pointer;
  z-index: 3;
}
.corp_btn:hover {
  border: 2px solid #fff;
  transition: 0.3s;
}

/* Footer */
.footer {
  margin-top: 0;
}

/* Container */
.corp_clients_section .container,
.corp_clinic_section .container,
.corp_hero .container,
.corp_map_section .container,
.corp_services_section .container,
.corp_support_section .container,
.corp_territory_section .container,
.corp_text_section .container,
.corp_video_section .container {
  padding: 0 20px;
}
/* Hero section */
.corp_hero {
  background-color: #f0f0f0;
  background-image: url(../img/pattertn-1.png);
  background-position: top right;
  background-repeat: repeat;
  background-size: 41% auto;
}
.corp_hero_wrapper {
  width: 100%;
  padding-top: 150px;
  padding-bottom: 200px;
  display: flex;
  gap: 50px;
  align-items: center;
}
.corp_hero_info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: calc(50% - 25px);
}
.corp_hero_img {
  width: calc(50% - 25px);
  border-radius: 14px;
  overflow: hidden;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
}
.corp_hero_title {
  font-size: 35px;
  color: rgb(47, 42, 93);
  font-weight: 800;

  line-height: 1;
}
.corp_hero_subtitle {
  color: rgb(43, 42, 41);

  font-size: 21px;
  font-weight: normal;
  line-height: 1;
}
.corp_hero_list {
  list-style-type: none;
}
.corp_hero_list_item {
  display: flex;
  gap: 7px;
  margin-bottom: 10px;
}
.corp_hero_list_item::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url("../img/list_el.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  flex-shrink: 0;
}
.corp_hero_list_item span {
  margin-top: 2px;
  color: #333333;
  font-size: var(--text-base);
}

/* Services section */
.corp_services_section {
  border-radius: 45px 45px 0 0;
  background: #fff;
  margin-top: -35px;
  padding-top: 85px;
  padding-bottom: 135px;
}
.corp_services_wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.corp_services_title {
  color: rgb(47, 42, 93);

  font-size: 35px;
  font-weight: var(--weight-bold);
  line-height: 1;
}
.corp_services_subtitle {
  color: rgb(66, 66, 66);

  font-size: var(--text-md);
  font-weight: var(--weight-regular);
  line-height: 1;
}
.corp_services_cards {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 10px;
}
.corp_services_card {
  width: calc(33% - 6px);
  background-color: transparent;
  background-image: linear-gradient(
    76deg,
    rgba(250, 250, 250, 0.98) 0%,
    rgb(245, 245, 245) 100%
  );
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  border-radius: 25px;
  padding: 25px;
  position: relative;
  overflow: hidden;
}
.corp_services_card::before {
  content: "";
  top: 0;
  left: 0;
  background-image: url(../img/pattertn-2.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100%;
  position: absolute;
  width: 100%;
  height: -webkit-fill-available;
  opacity: 0.05;
}
.corp_services_card_name {
  color: rgb(47, 42, 93);

  font-size: 17px;
  font-weight: var(--weight-semibold);
  line-height: 1;
}
.corp_services_card_text {
  color: rgb(66, 66, 66);

  font-size: 15px;
  font-weight: var(--weight-regular);
  line-height: 1;
}
.corp_services_card.blue {
  background-color: rgb(47, 42, 93);
  background-image: none;
  .corp_services_card_name {
    color: #fff;
  }
  .corp_services_card_text {
    color: #fff;
  }
}

/* Clients section */
.corp_clients_section {
  border-radius: 45px 45px 0 0;
  background-color: rgb(47, 42, 93);
  margin-top: -35px;
  padding-top: 85px;
  padding-bottom: 135px;
}
.corp_clients_wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.corp_clients_title {
  color: rgb(255, 255, 255);

  font-size: 35px;
  font-weight: var(--weight-bold);
  line-height: 1;
  max-width: 900px;
}
.corp_clients_subtitle {
  color: rgb(255, 255, 255);

  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  line-height: 1;
}
.corp_clients_cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 15px;
}
.corp_clients_cards_line {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 24px;
  overflow-y: hidden;
}
.corp_clients_card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 25px;
  padding: 15px;
}

/* Text section */
.corp_text_section {
  border-radius: 45px 45px 0 0;
  background-color: #fff;
  padding-top: 85px;
  padding-bottom: 135px;
}
.corp_text_wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}
.corp_text_title {
  color: rgb(14, 25, 90);

  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  line-height: 1;
}
.corp_text_content {
  color: rgb(90, 90, 90);

  font-size: var(--text-md);
  font-weight: var(--weight-regular);
  line-height: 25px;
  letter-spacing: -0.1px;
}

/* Video section */
.corp_video_section {
  border-radius: 45px 45px 0 0;
  margin-top: -35px;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}
.corp_video_section .hero_video_bg {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;

  z-index: 0;
}
.corp_video_section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.corp_video_wrapper {
  position: relative;
  z-index: 2;

  min-height: 800px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
}
.corp_video_section .corp_video_title {
  color: #fff;
  font-size: 85px;
  font-weight: var(--weight-bold);
  line-height: 1.2;
  margin: 0 auto;
}

/* Territory section */
.corp_territory_section {
  padding-top: 85px;
  padding-bottom: 135px;
  background-color: #f0f0f0;
  background-position: top right;
  background-image: url(../img/map_bg.webp);
  background-repeat: repeat;
  background-size: 38% auto;
}
.corp_territory_section .container {
  position: relative;
}

.corp_territory_section .container::before {
  content: "";
  position: absolute;

  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  width: 120%;
  aspect-ratio: 16 / 9;

  background-image: url("../img/russia_map.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  z-index: 0;
  pointer-events: none;
}
.corp_territory_title {
  color: #353535;

  font-size: 17px;
  font-weight: var(--weight-bold);
  padding: 15px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  width: fit-content;
  z-index: 2;
}
.corp_territory_wrapper {
  display: flex;
  gap: 50px;
}
.corp_territory_wrapper_left {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: calc(35% - 25px);
}
.corp_territory_wrapper_right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: calc(65% - 25px);
}
.corp_territory_gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.corp_territory_gallery a::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: #000;
  transition: 0.4s;
}
.corp_territory_gallery a {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 15px;
  position: relative;
}
.corp_territory_gallery a:hover::before {
  opacity: 0.45;
  transition: 0.4s;
}
.corp_territory_gallery a img {
  min-width: 100%;
  min-height: 100%;
}
.corp_territory_gallery a:nth-child(1) {
  width: calc(40% - 7px);
}
.corp_territory_gallery a:nth-child(2) {
  width: calc(40% - 7px);
}
.corp_territory_gallery a:nth-child(3) {
  width: calc(20% - 6px);
}
.corp_territory_gallery a:nth-child(4) {
  width: calc(50% - 5px);
}
.corp_territory_gallery a:nth-child(5) {
  width: calc(50% - 5px);
}
.corp_territory_text {
  width: 70%;
  background-color: transparent;
  background-image: linear-gradient(266deg, #1c1752 0%, #5b577ed6 100%);
  padding: 25px;
  border-radius: 25px;
  color: #ffffff;

  font-size: var(--text-md);
  font-weight: var(--weight-regular);
  margin-left: auto;
  margin-right: 0;
  line-height: 1;
}
.corp_territory_list {
  list-style-type: none;
}
.corp_territory_list_item {
  display: flex;
  gap: 7px;
  margin-bottom: 10px;
}
.corp_territory_list_item::before {
  content: "";
  width: 16.5px;
  height: 22px;
  background-color: #2f2a5d;
  -webkit-mask: url("../img/map_point.svg") no-repeat center / contain;
  mask: url("../img/map_point.svg") no-repeat center / contain;
}
.corp_territory_list_item {
  margin-top: 2px;
  color: #333333;
  font-size: var(--text-base);
}

/* support block */
.corp_support_section {
  border-radius: 45px 45px 0 0;
  background: #2f2a5d;
  margin-top: -35px;
  padding-top: 85px;
  padding-bottom: 135px;
  overflow: hidden;
  z-index: 1;
  position: relative;
}
.corp_support_section::before {
  content: "";
  background-image: url(../img/pattertn-2.png);
  background-position: center left;
  background-repeat: no-repeat;
  background-size: 53% auto;
  top: 0;
  left: 0;
  position: absolute;
  height: 100%;
  width: 100%;
  opacity: 0.2;
  filter: brightness(200%) contrast(55%) saturate(0%) blur(1.3px)
    hue-rotate(171deg);
}
.corp_support_wrapper {
  display: flex;
  gap: 30px;
  z-index: 2;
  position: relative;
}
.corp_support_wrapper_left {
  width: calc(50% - 15px);
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: space-between;
}
.corp_support_icon {
  width: 66px;
  height: fit-content;
}
.corp_support_title {
  color: #ffffff;

  font-size: 35px;
  font-weight: var(--weight-bold);
}
.corp_text_subtitle {
  color: #ffffff;

  font-size: var(--text-base);
  font-weight: var(--weight-regular);
}

.corp_support_wrapper_right {
  width: calc(50% - 15px);
  display: flex;
  gap: 20px;
  align-items: center;
}
.corp_support_card_column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: calc(50% - 10px);
}
.corp_support_card {
  background: #fff;
  padding: 15px;
  border-radius: 15px;
  color: rgb(47, 42, 93);

  font-size: 17px;
  font-weight: var(--weight-semibold);
}
.corp_support_card::before {
  content: "";
  background-image: url(../img/pattertn-2.png);
  background-position: center center;
  background-size: contain;
}

/* Clinic block */
.corp_clinic_section {
  border-radius: 45px 45px 0 0;
  margin-top: -45px;
  position: relative;
  overflow: hidden;
  min-height: 700px;
  position: relative;
  z-index: 2;
}
.corp_clinic_section .hero_video_bg {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;

  z-index: 0;
}
.corp_clinic_section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.corp_clinic_wrapper {
  position: relative;
  z-index: 2;
  min-height: 800px;
  display: flex;
}
.corp_clinic_wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}
.corp_clinic_list {
  list-style-type: none;
}
.corp_clinic_list_item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;

  font-size: 23px;
  color: #fff;
  align-items: center;
}
.corp_clinic_list_item::before {
  flex-shrink: 0;
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url("../img/list_el.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.corp_clinic_address,
.corp_clinic_phone,
.corp_clinic_address:visited,
.corp_clinic_phone:visited {
  color: #ffffff;

  font-size: var(--text-lg);
  font-weight: normal;
  text-decoration: none;
  transition: 0.3s;
}
.corp_clinic_address:hover,
.corp_clinic_phone:hover {
  opacity: 0.75;
  transition: 0.3s;
}
.corp_clinic_logo {
  width: 400px;
  height: fit-content;
  margin-bottom: 30px;
}

/* Map block */
.corp_map_section {
  border-radius: 45px 45px 0 0;
  background: #414141;
  margin-top: -45px;
  padding-top: 85px;
  padding-bottom: 135px;
  overflow: hidden;
  z-index: 2;
  position: relative;
}
.corp_map_section::before {
  content: "";
  background-image: url(../img/pattertn-2.png);
  background-position: center center;
  background-repeat: repeat;
  background-size: 46% auto;
  top: 0;
  left: 0;
  position: absolute;
  height: 100%;
  width: 100%;
  opacity: 0.2;
  filter: brightness(100%) contrast(100%) saturate(0%) blur(0.6px)
    hue-rotate(0deg);
}
.corp_map_wrapper {
  display: flex;
  gap: 30px;
  align-items: center;
  z-index: 3;
  position: relative;
}
.corp_map_map {
  width: calc(50% - 15px);
}
.corp_map_contacts {
  width: calc(50% - 15px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.corp_map_contacts_title {
  color: #ffffff;

  font-size: 35px;
  font-weight: var(--weight-bold);
}
.corp_map_contacts_wrapper {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 30px;
}
.corp_map_contacts_item {
  width: calc(50% - 10px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.corp_map_contacts_item_svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
  color: #ffffff;
}
.corp_map_contacts_item_title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: #fff;
}
.corp_map_contacts_item_text,
.corp_map_contacts_item_text:visited {
  color: #ffffff;

  font-size: var(--text-md);
  font-weight: var(--weight-regular);
  transition: 0.3s;
  text-decoration: none;
}
.corp_map_contacts_item_text:hover {
  opacity: 0.75;
  transition: 0.3s;
}
.corp_map_contacts_messengers_wrapper {
  display: flex;
  align-items: center;
  column-gap: 10px;
}
.messenger_icon_bg,
.messenger_icon_bg:visited {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  cursor: pointer;
}
.messenger_icon_bg svg {
  width: 25px;
  fill: #2f2a5d;
}
.messenger_icon_bg:hover {
  opacity: 0.75;
  transition: 0.3s;
}

@media (max-width: 1700px) {
  .corp_territory_section .container::before {
    width: 100%;
  }
}
@media screen and (max-width: 1024px) {
  footer.footer {
    margin-top: 0;
  }
}
@media (max-width: 968px) {
  .corp_hero_wrapper {
    flex-direction: column;
  }
  .corp_hero_info {
    width: 100%;
  }
  .corp_hero_img {
    width: 100%;
  }
  .corp_hero_img img {
    width: 100%;
  }
  .corp_hero_wrapper {
    padding-top: 50px;
    padding-bottom: 100px;
  }
  .corp_clients_cards_line {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .corp_clients_card {
    height: 130px;
  }
  .corp_support_wrapper {
    flex-direction: column;
  }
  .corp_support_wrapper_left {
    width: 100%;
  }
  .corp_support_wrapper_right {
    width: 100%;
  }
  .corp_map_wrapper {
    flex-direction: column-reverse;
  }
  .corp_map_map {
    width: 100%;
  }
  .corp_map_contacts {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .corp_hero_title,
  .corp_services_title,
  .corp_clients_title,
  .corp_support_title {
    font-size: 30px;
  }
  .corp_hero_subtitle {
    font-size: var(--text-md);
  }
  .corp_video_section .corp_video_title {
    font-size: 70px;
  }
  .corp_territory_wrapper {
    gap: 30px;
    flex-direction: column-reverse;
  }
  .corp_territory_wrapper_left {
    width: 100%;
  }
  .corp_territory_wrapper_right {
    width: 100%;
  }
  .corp_services_card {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .corp_support_wrapper_right {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .corp_support_card_column {
    width: 100%;
  }
  .corp_support_card {
    width: 100%;
  }
  .corp_video_section .corp_video_title {
    font-size: 57px;
  }
  .corp_clinic_wrapper {
    min-height: 900px;
  }
}
@media (max-width: 480px) {
  .corp_hero_title,
  .corp_services_title,
  .corp_clients_title,
  .corp_support_title {
    font-size: 23px;
  }
  .corp_hero_subtitle {
    font-size: 15px;
  }
  .corp_hero_list_item::before {
    width: 20px;
  }
  .corp_hero_list_item span {
    font-size: 15px;
  }
  .corp_clients_cards_line {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .corp_text_content {
    font-size: 15px;
  }
  .corp_video_wrapper {
    min-height: 500px;
  }
  .corp_video_section .corp_video_title {
    font-size: 45px;
  }
  .corp_territory_text {
    width: 100%;
  }
  .corp_clinic_list_item {
    font-size: 15px;
  }
  .corp_clinic_address,
  .corp_clinic_phone,
  .corp_clinic_address:visited,
  .corp_clinic_phone:visited {
    font-size: 15px;
  }
  .corp_map_contacts_item {
    width: 100%;
  }
  .corp_clinic_wrapper {
    min-height: 800px;
  }
}
@media (max-width: 400px) {
  .corp_video_section .corp_video_title {
    font-size: 35px;
  }
  .corp_support_card {
    padding: 12px;
  }
  .corp_clinic_logo {
    width: 100%;
  }
}
