.home-hero {
  position: relative;
  min-height: 760px;
  margin-top: -96px;
  padding: 148px 0 56px;
  overflow: hidden;
  color: #fff;
  background: #374151 url("../img/building.webp") center / cover no-repeat;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(55, 65, 81, 0.78) 0%, rgba(55, 65, 81, 0.42) 46%, rgba(55, 65, 81, 0.62) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.08) 48%, rgba(0, 0, 0, 0.32) 100%);
}
.home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 48px;
  align-items: end;
  min-height: 556px;
}
.home-hero__content {
  max-width: 690px;
}
.home-hero__intro {
  margin-bottom: 200px;
}
.home-hero__eyebrow {
  margin-bottom: 14px;
  font-family: "Cuprum", Arial, sans-serif;
  font-size: 24px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.86);
}
.home-hero__title {
  max-width: 620px;
  margin: 0 0 24px;
  font-family: "Cuprum", Arial, sans-serif;
  font-size: 58px;
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: 0;
}
.home-hero__actions {
  margin-bottom: 0;
}
.home-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 28px;
  border-radius: 999px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  background: #4daa41;
  box-shadow: 0 16px 36px rgba(55, 65, 81, 0.24);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.home-hero__button:hover,
.home-hero__button:focus {
  color: #fff;
  text-decoration: none;
  background: #accb49;
  box-shadow: 0 18px 40px rgba(55, 65, 81, 0.3);
}
.home-hero__search {
  position: absolute;
  z-index: 3;
  bottom: 14px;
  display: flex;
  align-items: center;
  width: min(100%, 485px);
  height: 56px;
  padding: 4px;
  border: 2px solid #4daa41;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(55, 65, 81, 0.2);
}
.home-hero__search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 18px;
  border: 0;
  outline: 0;
  color: #374151;
  font-family: "PT Sans", Arial, sans-serif;
  font-size: 17px;
  background: transparent;
}
.home-hero__search input::placeholder {
  color: rgba(55, 65, 81, 0.58);
}
.home-hero__search button {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #4daa41;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.home-hero__search button:hover,
.home-hero__search button:focus {
  background: #accb49;
}
.home-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.home-hero-stat {
  min-height: 172px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 18px;
  color: #374151;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}
.home-hero-stat_wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 52px auto;
  column-gap: 14px;
  align-items: center;
  min-height: 84px;
  padding: 16px 20px;
}
.home-hero-stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 14px;
  color: #fff;
  font-size: 24px;
  background: #4daa41;
}
.home-hero-stat_wide .home-hero-stat__icon {
  grid-row: 1 / span 2;
  margin-bottom: 0;
}
.home-hero-stat strong {
  display: block;
  margin-bottom: 5px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
}
.home-hero-stat span:not(.home-hero-stat__icon) {
  display: block;
  max-width: 280px;
  font-size: 15px;
  line-height: 1.24;
}
.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;
}
@media (max-width: 1199px) {
  .home-hero {
    margin-top: -88px;
  }
  .home-hero__inner {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
  }
  .home-hero__title {
    font-size: 50px;
  }
}
@media (max-width: 991px) {
  .home-hero {
    min-height: auto;
    margin-top: -86px;
    padding: 126px 0 52px;
    background: #2f343d;
  }
  .home-hero::before {
    inset: 0 0 auto;
    height: 560px;
    background: linear-gradient(180deg, rgba(47, 52, 61, 0.06) 0%, rgba(47, 52, 61, 0.18) 52%, rgba(47, 52, 61, 0.74) 100%), url("../img/building.webp") center top / cover no-repeat;
  }
  .home-hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 430px;
    right: 0;
    left: 0;
    height: 180px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(47, 52, 61, 0) 0%, rgba(47, 52, 61, 0.72) 45%, #2f343d 100%);
    box-shadow: 0 -34px 62px rgba(47, 52, 61, 0.28);
  }
  .home-hero__inner {
    display: block;
    min-height: 0;
  }
  .home-hero__content {
    max-width: 620px;
    padding-top: 260px;
  }
  .home-hero__title {
    font-size: 44px;
  }
  .home-hero__actions {
    margin-bottom: 0;
  }
  .home-hero__intro {
    margin-bottom: 30px;
  }
  .home-hero__search {
    position: static;
    width: 100%;
    margin-bottom: 28px;
  }
  .home-hero__stats {
    max-width: 680px;
    margin-top: 0;
  }
}
@media (max-width: 575px) {
  .home-hero {
    margin-top: -74px;
    padding: 105px 0 45px;
    background: #2f343d;
  }
  .home-hero::before {
    height: 410px;
    background: linear-gradient(180deg, rgba(47, 52, 61, 0.03) 0%, rgba(47, 52, 61, 0.2) 55%, rgba(47, 52, 61, 0.8) 100%), url("../img/building.webp") 54% top / auto 410px no-repeat;
  }
  .home-hero::after {
    top: 286px;
    height: 150px;
    background: linear-gradient(180deg, rgba(47, 52, 61, 0) 0%, rgba(47, 52, 61, 0.76) 42%, #2f343d 100%);
  }
  .home-hero__content {
    padding-top: 268px;
  }
  .home-hero__eyebrow {
    font-size: 19px;
  }
  .home-hero__title {
    max-width: 360px;
    font-size: 36px;
  }
  .home-hero__button {
    width: 100%;
  }
  .home-hero__search {
    height: 52px;
  }
  .home-hero__search button {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
  .home-hero__stats {
    grid-template-columns: 1fr;
  }
  .home-hero-stat,
  .home-hero-stat_wide {
    grid-column: auto;
    display: grid;
    grid-template-columns: 46px auto;
    column-gap: 14px;
    align-items: center;
    min-height: 86px;
    padding: 16px;
  }
  .home-hero-stat__icon,
  .home-hero-stat_wide .home-hero-stat__icon {
    grid-row: 1 / span 2;
    width: 42px;
    height: 42px;
    margin-bottom: 0;
    border-radius: 12px;
    font-size: 20px;
  }
  .home-hero-stat strong {
    font-size: 21px;
  }
}
.home-welcome {
  padding: 34px 0 70px;
  color: #374151;
  background: #fff;
}
.home-welcome__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 34px;
  align-items: center;
  padding: 42px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f5f6f7 0%, #fff 100%);
  box-shadow: 0 22px 52px rgba(55, 65, 81, 0.08);
}
.home-welcome__content {
  max-width: 820px;
}
.home-welcome__content .home-section-title {
  margin-bottom: 20px;
}
.home-welcome__content p {
  max-width: 780px;
  margin: 0 0 15px;
  color: rgba(55, 65, 81, 0.78);
  font-size: 18px;
  line-height: 1.5;
}
.home-welcome__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  margin-top: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  background: #4daa41;
}
.home-welcome__link:hover,
.home-welcome__link:focus {
  color: #fff;
  text-decoration: none;
  background: #accb49;
}
.home-welcome__note {
  position: relative;
  min-height: 220px;
  padding: 28px;
  border-radius: 22px;
  color: #fff;
  background: #374151;
  overflow: hidden;
}
.home-welcome__note::before {
  content: "";
  position: absolute;
  right: -64px;
  bottom: -76px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(77, 170, 65, 0.22);
}
.home-welcome__note::after {
  content: "";
  position: absolute;
  right: 54px;
  top: 34px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(172, 203, 73, 0.18);
}
.home-welcome__icon,
.home-welcome__note p {
  position: relative;
  z-index: 1;
}
.home-welcome__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 26px;
  border-radius: 18px;
  color: #fff;
  font-size: 24px;
  background: #4daa41;
}
.home-welcome__note p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.46;
}
@media (max-width: 991px) {
  .home-welcome {
    padding: 30px 0 58px;
  }
  .home-welcome__panel {
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .home-welcome__note {
    min-height: auto;
  }
}
@media (max-width: 575px) {
  .home-welcome {
    padding: 26px 0 46px;
  }
  .home-welcome__panel {
    gap: 22px;
    padding: 20px;
    border-radius: 18px;
  }
  .home-welcome__content p {
    font-size: 16px;
  }
  .home-welcome__link {
    width: 100%;
  }
  .home-welcome__note {
    padding: 22px;
    border-radius: 18px;
  }
  .home-welcome__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 13px;
    font-size: 20px;
  }
  .home-welcome__note p {
    font-size: 16px;
  }
}
.home-directions {
  padding: 34px 0 70px;
  color: #374151;
  background: #fff;
}
.home-directions__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.home-directions__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 20px;
  border-radius: 999px;
  color: #4daa41;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(77, 170, 65, 0.13);
}
.home-directions__all:hover,
.home-directions__all:focus {
  color: #4daa41;
  text-decoration: none;
  background: rgba(77, 170, 65, 0.2);
}
.home-directions__grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.home-direction-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 34px;
  gap: 16px;
  align-items: center;
  min-height: 132px;
  padding: 20px;
  border-radius: 16px;
  color: #374151;
  text-decoration: none;
  background: #f5f6f7;
  overflow: hidden;
  transition: border-color 0.22s ease, background-color 0.22s ease;
}
.home-direction-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(77, 170, 65, 0.12) 0%, rgba(172, 203, 73, 0.16) 100%);
  transition: opacity 0.22s ease;
}
.home-direction-card:hover,
.home-direction-card:focus {
  color: #374151;
  text-decoration: none;
  background: #fff;
}
.home-direction-card:hover::before,
.home-direction-card:focus::before {
  opacity: 1;
}
.home-direction-card__icon,
.home-direction-card__content,
.home-direction-card__arrow,
.home-direction-card__link {
  position: relative;
  z-index: 1;
}
.home-direction-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: #fff;
  font-size: 23px;
  background: #4daa41;
}
.home-direction-card__title {
  display: block;
  margin-bottom: 7px;
  font-family: "Cuprum", Arial, sans-serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.06;
}
.home-direction-card__text {
  display: block;
  color: rgba(55, 65, 81, 0.76);
  font-size: 15px;
  line-height: 1.25;
}
.home-direction-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(77, 170, 65, 0.22);
  border-radius: 50%;
  color: rgba(77, 170, 65, 0.68);
  transition: color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}
.home-direction-card:hover .home-direction-card__arrow,
.home-direction-card:focus .home-direction-card__arrow {
  color: #fff;
  border-color: #4daa41;
  background: #4daa41;
}
.home-direction-card_featured {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 280px;
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, #4daa41 0%, #accb49 58%, #374151 100%);
}
.home-direction-card_featured::before {
  opacity: 1;
  background: radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.32) 0 82px, transparent 83px), radial-gradient(circle at 24% 92%, rgba(255, 255, 255, 0.18) 0 118px, transparent 119px);
}
.home-direction-card_featured:hover,
.home-direction-card_featured:focus {
  color: #fff;
  background: linear-gradient(135deg, #4daa41 0%, #accb49 58%, #374151 100%);
}
.home-direction-card_featured .home-direction-card__icon {
  color: #4daa41;
  background: #fff;
}
.home-direction-card_featured .home-direction-card__content {
  margin-top: auto;
}
.home-direction-card_featured .home-direction-card__title {
  font-size: 34px;
}
.home-direction-card_featured .home-direction-card__text {
  max-width: 340px;
  color: rgba(255, 255, 255, 0.86);
}
.home-direction-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  margin-top: 24px;
  padding: 9px 16px;
  border-radius: 999px;
  color: #4daa41;
  font-size: 15px;
  font-weight: 600;
  background: #fff;
}
@media (max-width: 1199px) {
  .home-directions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-direction-card_featured {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 220px;
  }
}
@media (max-width: 767px) {
  .home-directions {
    padding: 42px 0 36px;
  }
  .home-directions__head {
    align-items: center;
  }
  .home-directions__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .home-direction-card,
  .home-direction-card_featured {
    min-height: 112px;
    padding: 18px;
  }
  .home-direction-card_featured {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    color: #374151;
    background: #f5f6f7;
  }
  .home-direction-card_featured::before {
    opacity: 0;
    background: linear-gradient(135deg, rgba(77, 170, 65, 0.12) 0%, rgba(172, 203, 73, 0.16) 100%);
  }
  .home-direction-card_featured:hover,
  .home-direction-card_featured:focus {
    color: #374151;
    background: #fff;
  }
  .home-direction-card_featured .home-direction-card__icon {
    color: #fff;
    background: #4daa41;
  }
  .home-direction-card_featured .home-direction-card__content {
    margin-top: 0;
  }
  .home-direction-card_featured .home-direction-card__title {
    font-size: 23px;
  }
  .home-direction-card_featured .home-direction-card__text {
    color: rgba(55, 65, 81, 0.76);
  }
  .home-direction-card__link {
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    color: rgba(77, 170, 65, 0.68);
    font-size: 0;
    background: transparent;
  }
  .home-direction-card__link i {
    font-size: 14px;
  }
}
@media (max-width: 575px) {
  .home-directions__head {
    gap: 12px;
  }
  .home-directions__all {
    flex: 0 0 auto;
    padding-right: 16px;
    padding-left: 16px;
  }
  .home-direction-card {
    grid-template-columns: 46px minmax(0, 1fr) 32px;
    gap: 13px;
  }
  .home-direction-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 20px;
  }
  .home-direction-card__title {
    font-size: 22px;
  }
  .home-direction-card__text {
    font-size: 14px;
  }
}
.home-advantages {
  padding: 34px 0 70px;
  color: #374151;
  background: #fff;
}
.home-advantages__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.home-advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.home-advantage-card {
  position: relative;
  min-height: 238px;
  padding: 24px;
  border-radius: 18px;
  background: #f5f6f7;
  overflow: hidden;
}
.home-advantage-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(77, 170, 65, 0.12) 0%, rgba(172, 203, 73, 0.16) 100%);
  transition: opacity 0.22s ease;
}
.home-advantage-card:hover::before,
.home-advantage-card:focus-within::before {
  opacity: 1;
}
.home-advantage-card__number,
.home-advantage-card__icon,
.home-advantage-card h4,
.home-advantage-card p {
  position: relative;
  z-index: 1;
}
.home-advantage-card__number {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(55, 65, 81, 0.12);
  font-family: "Cuprum", Arial, sans-serif;
  font-size: 54px;
  font-weight: 600;
  line-height: 1;
}
.home-advantage-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  border-radius: 15px;
  color: #fff;
  font-size: 23px;
  background: #4daa41;
}
.home-advantage-card h4 {
  max-width: 300px;
  margin: 0 0 12px;
  font-family: "Cuprum", Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.08;
}
.home-advantage-card p {
  max-width: 380px;
  margin: 0;
  color: rgba(55, 65, 81, 0.76);
  font-size: 15px;
  line-height: 1.34;
}
@media (max-width: 1199px) {
  .home-advantages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .home-advantages {
    padding: 28px 0 48px;
  }
  .home-advantages__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .home-advantage-card {
    min-height: auto;
    padding: 20px;
  }
  .home-advantage-card__icon {
    width: 46px;
    height: 46px;
    margin-bottom: 22px;
    border-radius: 13px;
    font-size: 20px;
  }
  .home-advantage-card h4 {
    margin-top: 0;
    font-size: 24px;
  }
  .home-advantage-card__number {
    font-size: 48px;
  }
}
.home-specialists {
  padding: 64px 0 72px;
  color: #374151;
  background: linear-gradient(180deg, #f5f6f7 0%, #fff 100%);
}
.home-specialists__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.home-specialists__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 20px;
  border-radius: 999px;
  color: #4daa41;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(77, 170, 65, 0.13);
}
.home-specialists__all:hover,
.home-specialists__all:focus {
  color: #4daa41;
  text-decoration: none;
  background: rgba(77, 170, 65, 0.2);
}
.home-specialists__layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}
.home-specialist-featured,
.home-specialist-card {
  position: relative;
  color: #374151;
  text-decoration: none;
  overflow: hidden;
}
.home-specialist-featured:hover,
.home-specialist-featured:focus,
.home-specialist-card:hover,
.home-specialist-card:focus {
  color: #374151;
  text-decoration: none;
}
.home-specialist-featured::before,
.home-specialist-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(77, 170, 65, 0.12) 0%, rgba(172, 203, 73, 0.16) 100%);
  transition: opacity 0.22s ease;
}
.home-specialist-featured:hover::before,
.home-specialist-featured:focus::before,
.home-specialist-card:hover::before,
.home-specialist-card:focus::before {
  opacity: 1;
}
.home-specialist-featured {
  display: grid;
  grid-template-rows: minmax(360px, 1fr) auto;
  min-height: 640px;
  border-radius: 24px;
  background: #374151;
  box-shadow: 0 22px 54px rgba(55, 65, 81, 0.16);
}
.home-specialist-featured::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 56%;
  background: linear-gradient(180deg, rgba(55, 65, 81, 0) 0%, rgba(55, 65, 81, 0.92) 100%);
}
.home-specialist-featured__badge,
.home-specialist-featured__media,
.home-specialist-featured__content,
.home-specialist-featured__link,
.home-specialist-featured__meta,
.home-specialist-card__photo,
.home-specialist-card__body {
  position: relative;
  z-index: 1;
}
.home-specialist-featured__badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 32px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  background: #4daa41;
}
.home-specialist-featured__media {
  display: block;
  min-height: 360px;
}
.home-specialist-featured__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center top;
}
.home-specialist-featured__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 26px;
}
.home-specialist-featured__name {
  display: block;
  max-width: 420px;
  margin-top: 18px;
  margin-bottom: 12px;
  color: #fff;
  font-family: "Cuprum", Arial, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.04;
}
.home-specialist-featured__role {
  display: block;
  max-width: 430px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.28;
}
.home-specialist-featured__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-right: 150px;
}
.home-specialist-featured__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 7px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.12);
}
.home-specialist-featured__link {
  position: absolute;
  right: 26px;
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 9px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  background: #4daa41;
}
.home-specialists__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.home-specialist-card {
  display: flex;
  flex-direction: column;
  min-height: 312px;
  padding: 6px 6px 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(55, 65, 81, 0.08);
}
.home-specialist-card__photo {
  display: block;
  aspect-ratio: 1 / 1.08;
  margin-bottom: 16px;
  border-radius: 14px;
  overflow: hidden;
  background: #f5f6f7;
}
.home-specialist-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.home-specialist-card__body {
  display: block;
  padding: 0 8px;
}
.home-specialist-card__name {
  display: block;
  margin-bottom: 7px;
  font-family: "Cuprum", Arial, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.08;
}
.home-specialist-card__role {
  display: block;
  color: rgba(55, 65, 81, 0.7);
  font-size: 14px;
  line-height: 1.22;
}
@media (max-width: 1199px) {
  .home-specialists__layout {
    grid-template-columns: 1fr;
  }
  .home-specialist-featured {
    grid-template-columns: 0.72fr 1fr;
    grid-template-rows: auto;
    min-height: 430px;
  }
  .home-specialist-featured__media,
  .home-specialist-featured__media img {
    min-height: 430px;
  }
  .home-specialist-featured__content {
    justify-content: flex-start;
  }
  .home-specialist-featured__meta {
    padding-right: 150px;
  }
  .home-specialists__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .home-specialists {
    padding: 42px 0 50px;
  }
  .home-specialists__head {
    align-items: center;
  }
  .home-specialists__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-specialist-featured {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .home-specialist-featured__media,
  .home-specialist-featured__media img {
    min-height: 360px;
  }
  .home-specialist-featured__meta {
    padding-right: 0;
  }
  .home-specialist-featured__link {
    position: static;
    align-self: stretch;
    justify-content: center;
    min-height: 44px;
    margin: 18px 26px 26px;
    color: #fff;
    background: #4daa41;
    box-shadow: none;
  }
}
@media (max-width: 575px) {
  .home-specialists__head {
    gap: 12px;
  }
  .home-specialists__all {
    flex: 0 0 auto;
    padding-right: 16px;
    padding-left: 16px;
  }
  .home-specialist-featured {
    border-radius: 18px;
  }
  .home-specialist-featured__content {
    padding: 26px;
  }
  .home-specialist-featured__media,
  .home-specialist-featured__media img {
    min-height: 320px;
  }
  .home-specialist-featured__link {
    margin: 18px 20px 20px;
  }
  .home-specialists__grid {
    grid-template-columns: 1fr;
  }
  .home-specialist-card {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    min-height: 110px;
    padding: 10px 14px 10px 10px;
  }
  .home-specialist-card__photo {
    width: 78px;
    height: 92px;
    margin-bottom: 0;
    aspect-ratio: auto;
    border-radius: 14px;
  }
  .home-specialist-card__body {
    padding: 0;
  }
  .home-specialist-card__name {
    font-size: 21px;
  }
}
.home-promotions {
  padding: 54px 0 62px;
  color: #374151;
  background: #fff;
}
.home-promotions__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.home-section-title {
  margin: 0;
  font-family: "Cuprum", Arial, sans-serif;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
}
.home-promotions__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.home-promotions__all,
.home-promotions__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  text-decoration: none;
  cursor: pointer;
}
.home-promotions__all {
  min-height: 34px;
  padding: 8px 20px;
  border-radius: 999px;
  color: #4daa41;
  font-size: 14px;
  font-weight: 600;
  background: rgba(77, 170, 65, 0.13);
}
.home-promotions__all:hover,
.home-promotions__all:focus {
  color: #4daa41;
  text-decoration: none;
  background: rgba(77, 170, 65, 0.2);
}
.home-promotions__arrow {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(77, 170, 65, 0.22);
  border-radius: 50%;
  color: rgba(77, 170, 65, 0.58);
  background: #fff;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.home-promotions__arrow:hover,
.home-promotions__arrow:focus {
  color: #fff;
  border-color: #4daa41;
  background: #4daa41;
}
.home-promotions__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.home-promo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 448px;
  padding: 24px 8px 8px;
  border-radius: 16px;
  background: #f5f6f7;
  overflow: hidden;
}
.home-promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(77, 170, 65, 0.12) 0%, rgba(172, 203, 73, 0.16) 100%);
  transition: opacity 0.22s ease;
}
.home-promo-card:hover::before,
.home-promo-card:focus::before {
  opacity: 1;
}
.home-promo-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 0 16px;
}
.home-promo-card h3 {
  min-height: 58px;
  margin: 0 0 14px;
  font-family: "Cuprum", Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
}
.home-promo-card p {
  margin: 0;
  color: rgba(55, 65, 81, 0.82);
  font-size: 16px;
  line-height: 1.22;
}
.home-promo-card__badge {
  align-self: flex-start;
  margin-top: auto;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  background: #4daa41;
}
.home-promo-card__image {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 174px;
  padding: 20px;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #4daa41 0%, #accb49 100%);
}
.home-promo-card__image::before,
.home-promo-card__image::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}
.home-promo-card__image::before {
  width: 168px;
  height: 168px;
  right: -44px;
  top: -42px;
}
.home-promo-card__image::after {
  width: 104px;
  height: 104px;
  right: 42px;
  bottom: -42px;
}
.home-promo-card__image span,
.home-promo-card__image strong {
  position: relative;
  z-index: 1;
}
.home-promo-card__image span {
  max-width: 190px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.15;
}
.home-promo-card__image strong {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  background: rgba(55, 65, 81, 0.85);
}
.home-promo-card__image_checkup {
  background: radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.34) 0 64px, transparent 65px), linear-gradient(135deg, #8fcf65 0%, #4daa41 52%, #374151 100%);
}
.home-promo-card__image_doctor {
  background: radial-gradient(circle at 84% 22%, rgba(255, 255, 255, 0.32) 0 70px, transparent 71px), linear-gradient(135deg, #6bbd62 0%, #accb49 45%, #4b5563 100%);
}
.home-promo-card__image_family {
  background: radial-gradient(circle at 76% 26%, rgba(255, 255, 255, 0.38) 0 68px, transparent 69px), linear-gradient(135deg, #accb49 0%, #4daa41 50%, #2f343d 100%);
}
.home-promo-card__image_lab {
  background: radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.35) 0 66px, transparent 67px), linear-gradient(135deg, #5fba69 0%, #accb49 46%, #374151 100%);
}
@media (max-width: 1199px) {
  .home-promotions__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-promo-card {
    min-height: 420px;
  }
}
@media (max-width: 767px) {
  .home-promotions {
    padding: 38px 0 46px;
  }
  .home-promotions__head {
    align-items: flex-start;
  }
  .home-section-title {
    font-size: 26px;
  }
  .home-promotions__arrow {
    display: none;
  }
  .home-promotions__list {
    display: flex;
    gap: 14px;
    margin-right: calc(var(--container-padding-x) * -1);
    margin-left: calc(var(--container-padding-x) * -1);
    padding: 0 var(--container-padding-x) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .home-promo-card {
    flex: 0 0 82%;
    min-height: 398px;
    scroll-snap-align: start;
  }
}
@media (max-width: 575px) {
  .home-promotions__head {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .home-promotions__actions {
    flex: 0 0 auto;
    gap: 8px;
    margin-top: 0;
  }
  .home-promotions__all {
    padding-right: 16px;
    padding-left: 16px;
  }
  .home-promo-card {
    flex-basis: 88%;
  }
}
.home-promotions__viewport {
  overflow: hidden;
}
.home-promotions__track {
  --promo-visible: 3;
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.home-promotions__track .home-promo-card {
  flex: 0 0 calc((100% - 48px) / 3);
}
.home-promotions__arrow:disabled {
  color: rgba(77, 170, 65, 0.24);
  border-color: rgba(77, 170, 65, 0.12);
  background: #fff;
  cursor: default;
}
.home-promo-card {
  color: #374151;
  text-decoration: none;
  transition: background-color 0.22s ease;
}
.home-promo-card:hover,
.home-promo-card:focus {
  color: #374151;
  text-decoration: none;
}
.home-promo-card__body {
  min-height: 202px;
}
.home-promo-card__title {
  display: block;
  margin: 0;
  font-family: "Cuprum", Arial, sans-serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}
.home-promo-card__image span,
.home-promo-card__image strong {
  display: none;
}
.home-promo-card__image_cardio {
  background: radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.34) 0 64px, transparent 65px), linear-gradient(135deg, #4daa41 0%, #6bbd62 44%, #374151 100%);
}
.home-promo-card__image_children {
  background: radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.35) 0 66px, transparent 67px), linear-gradient(135deg, #accb49 0%, #7cbc5b 48%, #2f343d 100%);
}
@media (max-width: 1199px) {
  .home-promotions__track .home-promo-card {
    flex-basis: calc((100% - 24px) / 2);
  }
}
@media (max-width: 767px) {
  .home-promotions__viewport {
    margin-right: calc(var(--container-padding-x) * -1);
    margin-left: calc(var(--container-padding-x) * -1);
    padding: 0 var(--container-padding-x);
    overflow: hidden;
  }
  .home-promotions__track {
    gap: 14px;
  }
  .home-promotions__track .home-promo-card {
    flex-basis: 82%;
  }
  .home-promotions__arrow {
    display: inline-flex;
  }
}
@media (max-width: 575px) {
  .home-promotions__track .home-promo-card {
    flex-basis: 88%;
  }
  .home-promo-card__body {
    min-height: 176px;
  }
  .home-promo-card__title {
    font-size: 22px;
  }
}
.home-promotions__track .home-promo-card {
  min-height: 410px;
  padding: 6px 6px 22px;
}
.home-promo-card:hover,
.home-promo-card:focus {
  box-shadow: none;
  transform: none;
}
.home-promo-card__image {
  order: 0;
  min-height: 220px;
  padding: 0;
  margin-bottom: 20px;
}
.home-promo-card__body {
  order: 1;
  display: flex;
  flex-direction: column;
  min-height: 140px;
  padding: 0 16px;
}
.home-promo-card__title {
  margin-bottom: 18px;
}
.home-promo-card__tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  color: #4daa41;
  font-size: 13px;
  line-height: 1.1;
  background: rgba(77, 170, 65, 0.12);
}
.home-promo-card__badge {
  margin-top: auto;
  margin-bottom: 0;
  font-size: 15px;
  font-weight: 400;
}
@media (max-width: 575px) {
  .home-promotions__track .home-promo-card {
    min-height: 390px;
  }
  .home-promo-card__image {
    min-height: 190px;
  }
}
.home-news {
  padding: 34px 0 70px;
  color: #374151;
  background: #fff;
}
.home-news__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.home-news__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 20px;
  border-radius: 999px;
  color: #4daa41;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(77, 170, 65, 0.13);
}
.home-news__all:hover,
.home-news__all:focus {
  color: #4daa41;
  text-decoration: none;
  background: rgba(77, 170, 65, 0.2);
}
.home-news__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.home-news-card,
.home-news-item {
  color: #374151;
  text-decoration: none;
}
.home-news-card:hover,
.home-news-card:focus,
.home-news-item:hover,
.home-news-item:focus {
  color: #374151;
  text-decoration: none;
}
.home-news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding: 6px;
  border-radius: 16px;
  background: #f5f6f7;
  overflow: hidden;
  transition: background-color 0.22s ease;
}
.home-news-card::before,
.home-news-item::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(77, 170, 65, 0.12) 0%, rgba(172, 203, 73, 0.16) 100%);
  transition: opacity 0.22s ease;
}
.home-news-card:hover::before,
.home-news-card:focus::before,
.home-news-item:hover::before,
.home-news-item:focus::before {
  opacity: 1;
}
.home-news-card__image {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 260px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #8fcf65 0%, #4daa41 52%, #374151 100%);
}
.home-news-card__image::before,
.home-news-card__image::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}
.home-news-card__image::before {
  width: 230px;
  height: 230px;
  right: -60px;
  top: -70px;
}
.home-news-card__image::after {
  width: 150px;
  height: 150px;
  left: 34px;
  bottom: -70px;
}
.home-news-card__image_event {
  background: radial-gradient(circle at 72% 32%, rgba(255, 255, 255, 0.32) 0 82px, transparent 83px), linear-gradient(135deg, #accb49 0%, #4daa41 46%, #2f343d 100%);
}
.home-news-card__image_doctor {
  background: radial-gradient(circle at 22% 28%, rgba(255, 255, 255, 0.34) 0 88px, transparent 89px), linear-gradient(135deg, #5fba69 0%, #accb49 44%, #374151 100%);
}
.home-news-card__body {
  position: relative;
  z-index: 1;
  display: block;
  padding: 16px 16px 18px;
}
.home-news-card__date,
.home-news-item__date {
  display: block;
  margin-bottom: 10px;
  color: rgba(55, 65, 81, 0.58);
  font-size: 15px;
  line-height: 1.2;
}
.home-news-card__title {
  display: block;
  font-family: "Cuprum", Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
}
.home-news__side {
  display: grid;
  gap: 18px;
}
.home-news-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 18px;
  align-items: center;
  min-height: 122px;
  padding: 22px;
  border-radius: 16px;
  background: #f5f6f7;
  overflow: hidden;
  transition: background-color 0.22s ease;
}
.home-news-item__title {
  position: relative;
  z-index: 1;
  display: block;
  font-family: "Cuprum", Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.12;
}
.home-news-item i {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(77, 170, 65, 0.22);
  border-radius: 50%;
  color: rgba(77, 170, 65, 0.68);
  transition: color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}
.home-news-item:hover i,
.home-news-item:focus i {
  color: #fff;
  border-color: #4daa41;
  background: #4daa41;
}
@media (max-width: 1199px) {
  .home-news__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-news__side {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home-news-item {
    display: flex;
    min-height: 150px;
  }
  .home-news-item i {
    margin-left: auto;
  }
}
@media (max-width: 767px) {
  .home-news {
    padding: 28px 0 48px;
  }
  .home-news__grid,
  .home-news__side {
    grid-template-columns: 1fr;
  }
  .home-news-card {
    min-height: auto;
  }
  .home-news-card__image {
    min-height: 210px;
  }
  .home-news-item {
    min-height: 112px;
  }
}
@media (max-width: 575px) {
  .home-news__head {
    align-items: flex-start;
  }
  .home-news__all {
    flex: 0 0 auto;
    padding-right: 16px;
    padding-left: 16px;
  }
  .home-news-card__title,
  .home-news-item__title {
    font-size: 21px;
  }
}
.home-news__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.home-news__arrow {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(77, 170, 65, 0.22);
  border-radius: 50%;
  color: rgba(77, 170, 65, 0.68);
  background: #fff;
  cursor: pointer;
  transition: color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}
.home-news__arrow:hover,
.home-news__arrow:focus {
  color: #fff;
  border-color: #4daa41;
  background: #4daa41;
}
.home-news__arrow:disabled {
  color: rgba(77, 170, 65, 0.24);
  border-color: rgba(77, 170, 65, 0.12);
  background: #fff;
  cursor: default;
}
.home-news__slider {
  display: none;
  overflow: hidden;
}
.home-news__slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.home-news__slider .home-news-card {
  flex: 0 0 calc((100% - 24px) / 2);
}
@media (max-width: 1199px) {
  .home-news__grid {
    display: none;
  }
  .home-news__arrow,
  .home-news__slider {
    display: flex;
  }
  .home-news__slider {
    display: block;
  }
  .home-news__side {
    grid-column: auto;
    grid-template-columns: none;
  }
}
@media (max-width: 767px) {
  .home-news__slider {
    margin-right: calc(var(--container-padding-x) * -1);
    margin-left: calc(var(--container-padding-x) * -1);
    padding: 0 var(--container-padding-x);
  }
  .home-news__slider-track {
    gap: 14px;
  }
  .home-news__slider .home-news-card {
    flex-basis: 82%;
  }
}
@media (max-width: 575px) {
  .home-news__head {
    align-items: center;
    gap: 12px;
  }
  .home-news__actions {
    flex: 0 0 auto;
    gap: 8px;
  }
  .home-news__slider .home-news-card {
    flex-basis: 88%;
  }
}
.home-promo-card__image,
.home-news-card__image {
  aspect-ratio: 1288 / 725;
  min-height: 0;
  background-image: url("../img/building.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.home-promo-card__image::before,
.home-promo-card__image::after,
.home-news-card__image::before,
.home-news-card__image::after {
  display: none;
}
.home-promo-card__image_checkup,
.home-promo-card__image_family,
.home-promo-card__image_children,
.home-news-card__image_event {
  background-image: url("../img/building.webp");
  background-position: center top;
}
.home-promo-card__image_doctor,
.home-promo-card__image_lab,
.home-promo-card__image_cardio,
.home-news-card__image_doctor {
  background-image: url("../img/building.webp");
  background-position: center 42%;
}
@media (max-width: 575px) {
  .home-promo-card__image,
  .home-news-card__image {
    min-height: 0;
  }
}
.home-articles {
  padding: 20px 0 76px;
  color: #374151;
  background: #fff;
}
.home-articles__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.home-articles__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.home-articles__all,
.home-articles__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.home-articles__all {
  min-height: 34px;
  padding: 8px 20px;
  border-radius: 999px;
  color: #4daa41;
  font-size: 14px;
  font-weight: 600;
  background: rgba(77, 170, 65, 0.13);
}
.home-articles__all:hover,
.home-articles__all:focus {
  color: #4daa41;
  text-decoration: none;
  background: rgba(77, 170, 65, 0.2);
}
.home-articles__arrow {
  display: none;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(77, 170, 65, 0.22);
  border-radius: 50%;
  color: rgba(77, 170, 65, 0.68);
  background: #fff;
  cursor: pointer;
  transition: color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}
.home-articles__arrow:hover,
.home-articles__arrow:focus {
  color: #fff;
  border-color: #4daa41;
  background: #4daa41;
}
.home-articles__arrow:disabled {
  color: rgba(77, 170, 65, 0.24);
  border-color: rgba(77, 170, 65, 0.12);
  background: #fff;
  cursor: default;
}
.home-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.home-article-card,
.home-article-item {
  color: #374151;
  text-decoration: none;
}
.home-article-card:hover,
.home-article-card:focus,
.home-article-item:hover,
.home-article-item:focus {
  color: #374151;
  text-decoration: none;
}
.home-article-card {
  position: relative;
  display: block;
  min-height: 248px;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f6f7;
}
.home-article-card::before,
.home-article-item::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(77, 170, 65, 0.12) 0%, rgba(172, 203, 73, 0.16) 100%);
  transition: opacity 0.22s ease;
}
.home-article-card:hover::before,
.home-article-card:focus::before,
.home-article-item:hover::before,
.home-article-item:focus::before {
  opacity: 1;
}
.home-article-card__image {
  display: block;
  aspect-ratio: 1288 / 725;
  min-height: 248px;
  background-image: url("../img/building.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.home-article-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(180deg, rgba(47, 52, 61, 0) 0%, rgba(47, 52, 61, 0.82) 100%);
}
.home-article-card__title {
  position: absolute;
  z-index: 2;
  right: 56px;
  bottom: 18px;
  left: 18px;
  color: #fff;
  font-family: "Cuprum", Arial, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.1;
}
.home-article-card i,
.home-article-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(77, 170, 65, 0.22);
  border-radius: 50%;
  color: rgba(77, 170, 65, 0.68);
  transition: color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}
.home-article-card i {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.34);
}
.home-article-card:hover i,
.home-article-card:focus i,
.home-article-item:hover i,
.home-article-item:focus i {
  color: #fff;
  border-color: #4daa41;
  background: #4daa41;
}
.home-article-card__image_birth {
  background-position: center top;
}
.home-article-card__image_dental {
  background-position: center 42%;
}
.home-articles__side {
  display: grid;
  gap: 16px;
}
.home-article-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 18px;
  align-items: center;
  min-height: 72px;
  padding: 18px;
  border-radius: 14px;
  background: #f5f6f7;
  overflow: hidden;
  transition: background-color 0.22s ease;
}
.home-article-item span {
  position: relative;
  z-index: 1;
  font-family: "Cuprum", Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.12;
}
.home-articles__slider {
  display: none;
  overflow: hidden;
}
.home-articles__slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.home-articles__slider .home-article-card {
  flex: 0 0 calc((100% - 24px) / 2);
}
@media (max-width: 1199px) {
  .home-articles__grid {
    display: none;
  }
  .home-articles__arrow {
    display: inline-flex;
  }
  .home-articles__slider {
    display: block;
  }
}
@media (max-width: 767px) {
  .home-articles {
    padding: 18px 0 54px;
  }
  .home-articles__slider {
    margin-right: calc(var(--container-padding-x) * -1);
    margin-left: calc(var(--container-padding-x) * -1);
    padding: 0 var(--container-padding-x);
  }
  .home-articles__slider-track {
    gap: 14px;
  }
  .home-articles__slider .home-article-card {
    flex-basis: 82%;
  }
}
@media (max-width: 575px) {
  .home-articles__head {
    align-items: center;
    gap: 12px;
  }
  .home-articles__actions {
    flex: 0 0 auto;
    gap: 8px;
  }
  .home-articles__all {
    padding-right: 16px;
    padding-left: 16px;
  }
  .home-articles__slider .home-article-card {
    flex-basis: 88%;
  }
  .home-article-card,
  .home-article-card__image {
    min-height: 214px;
  }
  .home-article-card__title {
    font-size: 20px;
  }
}
