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

@font-face {
  font-weight: 300;
  font-family: Poppins;
  src: url(./assets/fonts/Poppins/Poppins-Light.ttf);
  font-display: swap;
}

@font-face {
  font-weight: 300;
  font-style: italic;
  font-family: Poppins;
  src: url(./assets/fonts/Poppins/Poppins-Light.ttf);
  font-display: swap;
}

@font-face {
  font-weight: 400;
  font-family: Poppins;
  src: url(./assets/fonts/Poppins/Poppins-Regular.ttf);
  font-display: swap;
}

@font-face {
  font-weight: 400;
  font-style: italic;
  font-family: Poppins;
  src: url(./assets/fonts/Poppins/Poppins-Italic.ttf);
  font-display: swap;
}

@font-face {
  font-weight: 500;
  font-family: Poppins;
  src: url(./assets/fonts/Poppins/Poppins-Medium.ttf);
  font-display: swap;
}

@font-face {
  font-weight: 500;
  font-style: italic;
  font-family: Poppins;
  src: url(./assets/fonts/Poppins/Poppins-MediumItalic.ttf);
  font-display: swap;
}

@font-face {
  font-weight: 600;
  font-family: Poppins;
  src: url(./assets/fonts/Poppins/Poppins-SemiBold.ttf);
  font-display: swap;
}

@font-face {
  font-weight: 600;
  font-style: italic;
  font-family: Poppins;
  src: url(./assets/fonts/Poppins/Poppins-SemiBoldItalic.ttf);
  font-display: swap;
}

@font-face {
  font-weight: 700;
  font-family: Poppins;
  src: url(./assets/fonts/Poppins/Poppins-Bold.ttf);
  font-display: swap;
}

@font-face {
  font-weight: 700;
  font-style: italic;
  font-family: Poppins;
  src: url(./assets/fonts/Poppins/Poppins-BoldItalic.ttf);
  font-display: swap;
}

:root {
  --primary: #d2002b;
  --keyword-bg: lightgoldenrodyellow;
  --primary-button: #b30025;
  --primary-button-dark: #a30022;
  --primary-light: #ee344d40;
  --primary-dark: #d2002b;
  --secondary: #192136;
  --button-secondary: #404966;
  --title-color: #273353;
  --text-color: #6a6d74;
  --text-color-light: #eaeaea;
  --header-height: 86px;
  --header-modal-height: 342px;
  --bg-grey: #fafafa;
  --font-family: Poppins, sans-serif;
  --header-box-shadow: 0px 0px 10px 1px #00000030;
  --home-slider-background-color: linear-gradient(#19213690, #19213690);
}

body {
  font-display: swap;
  font-family: var(--font-family);
}

button {
  font-family: var(--font-family);
}

.container {
  width: 100%;
  height: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 15px;
}

.button-primary,
.button-secondary,
.button-outlined {
  max-width: 100%;
  min-width: 128px;
  padding: 8px 24px;
  color: white;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-decoration: none;
  transition-property: background-color, border-color;
  transition-duration: 0.4s;
}

.button-outlined {
  color: var(--title-color);
  border-color: var(--title-color);
  background-color: transparent;
}

.button-outlined:hover {
  color: white;
  background-color: var(--secondary);
}

.button-primary {
  background-color: var(--primary-button);
  border-color: var(--primary-button);
}

.button-primary:hover {
  border-color: var(--primary-button-dark);
  background-color: var(--primary-button-dark);
}

.button-secondary {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.button-secondary:hover {
  border-color: var(--button-secondary);
  background-color: var(--button-secondary);
}

.button__title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.button__icon {
  min-width: 24px;
  min-height: 24px;
  max-width: 24px;
  max-height: 24px;
}

.keyword {
  background-color: var(--keyword-bg);
}

.header {
  z-index: 999;
  top: 0;
  width: 100%;
  height: var(--header-height);
  position: fixed;
  background-color: white;
  box-shadow: var(--header-box-shadow);
}

.header__inner {
  height: 100%;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header__logo {
  width: 160px;
}

.header__list {
  gap: 24px;
  display: flex;
  background-color: white;
}

.header__list-item {
  list-style: none;
}

.header__list-link {
  font-weight: 500;
  text-decoration: none;
  color: var(--title-color);
  transition: color 0.4s;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.header__list-link:hover {
  color: var(--primary-dark);
}

.header__menu-button {
  display: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 50%;
  border: 1px solid var(--secondary);
}

.header__menu-button-icon {
  width: 24px;
  height: 24px;
  color: var(--secondary);
}

.header__modal {
  width: 100%;
  height: var(--header-modal-height);
  display: flex;
  gap: 24px;
  overflow: hidden;
  position: fixed;
  top: -350px;
  padding: 20px 15px;
  padding-bottom: 40px;
  left: 0;
  z-index: 99;
  flex-direction: column;
  transition: top 0.6s;
  background-color: white;
  box-shadow: var(--header-box-shadow);
  border-top: 1px solid var(--text-color-light);
}

.header__modal .header__phone-button {
  display: none;
  width: fit-content;
}

.header__modal--visible {
  top: var(--header-height);
}

.modal-backdrop {
  display: none;
  position: fixed;
  height: 100%;
  width: 100%;
  background: #00000080;
  z-index: 88;
  bottom: 0;
}

.modal-backdrop--visible {
  display: block;
}

@media (max-width: 900px) {
  .header__phone-button,
  .header__list {
    display: none;
  }

  .header__modal .header__phone-button {
    display: block;
  }

  .header__menu-button {
    display: flex;
  }
}

main {
  margin-top: var(--header-height);
}

.section__title {
  font-weight: 500;
  font-size: 28px;
  margin-bottom: 24px;
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.home {
  height: auto;
  overflow: hidden;
  position: relative;
}

.home__slide {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top right;
}

.home__slide--first {
  background-image: var(--home-slider-background-color),
    url(./assets/images/slider-image-1.webp);
}

.home__slide--second {
  background-image: var(--home-slider-background-color),
    url(./assets/images/slider-image-2.webp);
}

.home__slide--third {
  background-position: center center;
  background-image: var(--home-slider-background-color),
    url(./assets/images/slider-image-3.webp);
}

.home__slide-inner {
  max-width: 560px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}

.home__slide-title {
  color: white;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
}

.home__slide-description {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-color-light);
}

.swiper-button-prev,
.swiper-button-next {
  border: 0;
  padding: 8px;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50%;
  background-color: #19213690;
  transition: background-color 0.4s;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  content: "" !important;
}

.swiper-button-icon {
  color: white;
  width: 24px !important;
  height: 24px !important;
  transition: color 0.4s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: var(--primary-button);

  .swiper-button-icon {
    color: white;
  }
}

.swiper-pagination-bullet {
  width: 16px !important;
  height: 16px !important;
  background-color: var(--bg-grey) !important;
  opacity: 0.4 !important;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-button-dark) !important;
  opacity: 1 !important;
}

@media (max-width: 900px) {
  .home__slide-title {
    font-size: 28px;
  }

  .home__slide-subtitle {
    font-size: 24px;
  }

  .home__slide-description {
    font-size: 16px;
  }

  .home__slide {
    background-position: center;
  }

  .home__slide-inner {
    gap: 20px;
    min-height: 460px;
  }
}

.about {
  background-color: var(--bg-grey);
}

.about__inner {
  gap: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.about__portrait {
  z-index: 2;
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
}

.about__content {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.about__content-title {
  font-size: 22px;
  font-weight: 500;
}

.about__content-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-color);
}

.about__content-description {
  font-size: 16px;
}

.about__time-table {
  flex: 1;
  min-width: 300px;
  max-width: 300px;
  padding: 24px 16px;
  padding-bottom: 48px;
  border-radius: 6px;
  background-color: white;
  border: 1px solid var(--text-color-light);
}

.about__time-table-header {
  margin-bottom: 16px;
}

.about__time-table-title {
  font-weight: 500;
  font-size: 22px;
}

.about__time-table-row {
  gap: 8px;
  padding: 8px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid var(--text-color-light);
}

.about__time-table-row:last-child {
  border-bottom: none;
}

.about__time-table-row-label {
  font-size: 14px;
  color: var(--text-color);
}

.about__time-table-row-time {
  font-size: 16px;
}

@media (max-width: 900px) {
  .about__time-table {
    max-width: 100%;
  }
  .about__inner {
    gap: 32px;
  }
}

.about-echo__inner {
  gap: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-echo__cta-button {
  width: fit-content;
  margin-top: 16px;
}

.about-echo__block {
  flex: 1;
  gap: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.about-echo__block:nth-child(2) {
  flex-direction: row-reverse;
}

.about-echo__images-wrapper {
  flex: 1;
  min-width: 340px;
  max-width: 480px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-echo__image {
  flex: 1;
  min-width: 100%;
  max-width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 6px;
}

.about-echo__image--small {
  object-position: left;
  min-width: 160px;
  max-width: 50%;
  height: 220px;
}

.about-echo__image--left {
  object-position: left;
}

.about-echo__image--right {
  object-position: right;
}

.about-echo__content {
  flex: 1;
  gap: 16px;
  display: flex;
  flex-direction: column;
}

.about-echo__content-title {
  font-size: 24px;
  font-weight: 500;
}

.about__content-title--colorful {
  font-weight: 700;
  color: var(--primary);
}

.about-echo__content-text {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-color);
}

.about-echo__content-list {
  gap: 24px 16px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.about-echo__content-list-item {
  flex: 1;
  min-width: 240px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  background-color: aliceblue;
}

.about-echo__content-list-item-title {
  font-size: 16px;
  font-weight: 400;
  color: var(--title-color);
}

.about-echo__content-list-icon-wrapper {
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
}

.about-echo__content-list-item-icon {
  color: var(--primary);
}

@media (max-width: 900px) {
  .about-echo__block {
    flex-direction: column;
  }

  .about-echo__block:nth-child(2) {
    flex-direction: column;
  }

  .about-echo__images-wrapper {
    max-width: 100%;
  }

  .about-echo__content {
    padding: 0;
  }
}

.cta {
  background-size: cover;
  background-repeat: no-repeat;
  background-image: var(--home-slider-background-color),
    url(assets/images/echocardiography-3.webp);
}

.cta__inner {
  gap: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

.cta__title {
  color: white;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta__description {
  color: var(--text-color-light);
  font-size: 16px;
}

.cta__content {
  flex: 1;
}

.awards {
  background-color: var(--bg-grey);
}

.awards .swiper-slide {
  height: 100%;
}

.awards__inner {
  overflow: hidden;
  position: relative;
}

.awards__card {
  height: 100%;
  flex: 1;
  min-width: 240px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  background-color: white;
  border: 1px solid var(--text-color-light);
}

.awards__card-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.awards__card-content {
  gap: 8px;
  height: 100%;
  padding: 16px;
  display: flex;
  border-top: none;
  flex-direction: column;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  border-top: 1px solid var(--text-color-light);
}

.awards__card-date-wrapper {
  gap: 8px;
  display: flex;
  align-items: center;
}

.awards__card-date-icon {
  width: 24px;
  height: 24px;
  color: var(--text-color);
}

.awards__card-date-label {
  line-height: 1;
  color: var(--text-color);
}

.awards__card-title {
  font-size: 18px;
  font-weight: 500;
}

.awards__card-button {
  width: fit-content;
  margin-top: 8px;
}

.contact__inner {
  gap: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.contact__card {
  flex: 1;
  gap: 8px;
  min-width: 260px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 6px;
  border: 1px solid var(--text-color-light);
}

.contact__card-icon-wrapper {
  width: fit-content;
  height: fit-content;
  padding: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background-color: var(--secondary);
}

.contact__card-title {
  font-weight: 400;
  font-size: 18px;
}

.contact__card-subtitle {
  max-width: 100%;
  line-height: 1.5;
  margin-bottom: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--text-color);
}

.contact__card-icon {
  width: 24px;
  height: 24px;
  color: white;
}

.footer {
  padding: 80px 0;
  padding-bottom: 24px;
  background-color: var(--secondary);
}

.footer__inner {
  gap: 36px;
  padding-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

.footer__block {
  flex: 1;
  gap: 16px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
}

.footer__logo {
  width: 160px;
}

.footer__block-title {
  color: white;
  font-size: 18px;
  font-weight: 500;
}

.footer__list {
  gap: 8px;
  display: flex;
  flex-direction: column;
}

.footer__list-item {
  gap: 8px;
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
  list-style: none;
  color: var(--text-color-light);
}

.footer__list-link {
  max-width: 100%;
  white-space: wrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  color: var(--text-color-light);
  transition: color 0.4s;
}

.footer__list-link:hover {
  color: var(--primary);
}

.footer__list-lin--social {
  gap: 8px;
  color: white;
  display: flex;
  align-items: center;
}

.footer__block-text {
  font-size: 14px;
  color: var(--text-color-light);
}

.footer__list-icon {
  width: 24px;
  height: 24px;
}

.footer__bottom {
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--text-color);
}

.footer__copyright {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-color-light);
}

.footer__bottom-developer {
  gap: 8px;
  display: flex;
  align-items: center;
}

.footer__bottom-developer-logo {
  width: 60px;
  object-fit: cover;
}
