.home-figma {
  color: #005abc;
  /* Self-hosted Inter: @font-face in typography.css */
  font-family: "Inter", Arial, sans-serif;
  position: relative;
}

.hf-menu-state {
  background: #f0ecdf;
  border: 1px solid #f0ecdf;
  border-radius: 10px;
  display: none;
  left: 50%;
  min-height: 252px;
  position: absolute;
  top: 80px;
  transform: translateX(290px);
  width: 170px;
  z-index: 85;
}

.hf-menu-state__caret {
  border-bottom: 8px solid #f0ecdf;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  height: 0;
  left: 50%;
  position: absolute;
  top: -8px;
  transform: translateX(-50%);
  width: 0;
}

.hf-menu-state ul {
  list-style: none;
  margin: 0;
  padding: 14px 12px;
}

.hf-menu-state li {
  color: #005abc;
  font-family: var(--chamyto-font-magra);
  font-size: 15px;
  line-height: 1.45;
  padding: 4px 6px;
  text-align: center;
}

.hf-menu-state li.is-active {
  background: #005abc;
  color: #fff;
}

.hf-hero {
  align-items: flex-end;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  min-height: 560px;
  padding: 180px 24px 44px;
  position: relative;
}

.hf-hero__dots {
  display: none;
}

.hf-hero::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
  content: "";
  inset: 0;
  position: absolute;
}

.hf-hero__overlay {
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid #fff;
  border-radius: 15px;
  color: #fff;
  max-width: 780px;
  padding: 28px 28px 52px;
  position: relative;
  text-align: center;
  width: 100%;
}

.hf-hero__overlay h1 {
  font-family: var(--chamyto-font-magra);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.2;
  margin: 0;
}

.hf-pill-button {
  background: #f2000f;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-family: var(--chamyto-font-magra);
  font-size: 18px;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  min-height: 40px;
  min-width: 200px;
  padding: 10px 22px;
  text-decoration: none;
}

.hf-section-title {
  align-items: center;
  background: #005abc;
  border-radius: 999px;
  color: #fff;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 1170px;
  min-height: 68px;
  position: relative;
  width: calc(100% - 40px);
}

.hf-section-title img {
  height: auto;
  left: 14px;
  max-height: 110px;
  position: absolute;
  width: auto;
}

.hf-section-title h2 {
  font-family: var(--chamyto-font-magra);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  margin: 0;
  text-align: center;
}

.hf-tips,
.hf-benefits,
.hf-products,
.hf-social {
  margin: 56px auto 0;
  max-width: 1220px;
  padding: 0 20px;
}

.hf-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 24px 0 32px;
}

.hf-filter-pill {
  border: 1px solid #005abc;
  border-radius: 999px;
  color: #005abc;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  text-decoration: none;
}

.hf-filter-pill.is-active {
  background: #005abc;
  color: #fff;
}

.hf-tips-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.hf-tip-card {
  border-radius: 10px;
  overflow: hidden;
  padding: 14px;
}

.hf-tip-card__media {
  border: 2px solid #fff;
  display: block;
}

.hf-tip-card__media img {
  aspect-ratio: 16 / 10;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.hf-tip-card__body {
  padding: 16px 8px 8px;
  text-align: center;
}

.hf-tip-card__body h3 {
  font-family: var(--chamyto-font-magra);
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0;
}

.hf-tip-card__body a {
  color: inherit;
  text-decoration: none;
}

.hf-tip-card__body p {
  font-size: 13px;
  margin: 12px 0 0;
}

.hf-tip-card.color-red {
  background: #f2000f;
  color: #fff;
}

.hf-tip-card.color-blue {
  background: #005abc;
  color: #fff;
}

.hf-tip-card.color-beige {
  background: #dcd7c9;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  color: #005abc;
}

.hf-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.hf-empty-state {
  color: #005abc;
  font-family: var(--chamyto-font-magra);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}

.hf-benefits__subtitle {
  color: #3f3f3f;
  margin: 24px 0 0;
  text-align: center;
}

.hf-benefits__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-top: 26px;
}

.hf-benefits__grid article {
  text-align: center;
}

.hf-benefits__grid img {
  height: 120px;
  object-fit: contain;
}

.hf-benefits__grid h3 {
  color: #f2000f;
  font-family: var(--chamyto-font-magra);
  font-size: 1.5rem;
  margin: 10px 0 8px;
}

.hf-benefits__grid p {
  color: #3f3f3f;
  font-size: 14px;
  line-height: 1.45;
  margin: 0 auto;
  max-width: 290px;
}

.hf-products-swiper {
  border: 2px solid #005abc;
  border-radius: 20px;
  margin-top: 24px;
  padding: 60px 66px 54px;
  position: relative;
}

.hf-product-card {
  text-align: center;
}

.hf-product-card__media {
  display: flex;
  justify-content: center;
}

.hf-product-card img {
  max-height: 180px;
  object-fit: contain;
}

.hf-product-card h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 14px 0 0;
}

.hf-product-card a {
  color: #005abc;
  text-decoration: none;
}

.hf-products-prev,
.hf-products-next {
  background: #005abc;
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  height: 44px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  z-index: 5;
}

.hf-products-prev {
  left: 14px;
}

.hf-products-next {
  right: 14px;
}

.hf-social__feed {
  border: 2px solid #005abc;
  border-radius: 20px;
  margin-top: 24px;
  overflow: hidden;
  padding: 18px;
}

.hf-social .sbi {
  margin: 0 !important;
}

@media (min-width: 768px) {
  .hf-menu-state {
    display: block;
  }

  .hf-hero__dots {
    display: flex;
    flex-direction: column;
    gap: 12px;
    left: 38px;
    position: absolute;
    top: 230px;
    z-index: 2;
  }

  .hf-hero__dots span {
    background: #fff;
    border-radius: 50%;
    display: block;
    height: 16px;
    width: 16px;
  }

  .hf-hero__dots span.is-active {
    background: #f2000f;
  }

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

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

@media (min-width: 1140px) {
  .hf-tips-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hf-science-health {
  display: flex;
  justify-content: center;
  margin: 93px 0 0;
  padding: 0 20px 72px;
  width: 100%;
}

.hf-science-health__wrapper {
  align-items: center;
  display: flex;
  flex-direction: column;
  max-width: 1440px;
  width: 100%;
}

.hf-science-health__header {
  align-items: center;
  background: #005abc;
  border-radius: 50px;
  display: flex;
  height: 71px;
  justify-content: center;
  max-width: 718px;
  position: relative;
  width: 100%;
}

.hf-science-health__header img {
  border-radius: 50%;
  height: 80px;
  left: 50%;
  position: absolute;
  top: -62px;
  transform: translateX(-50%);
  width: 80px;
}

.hf-science-health__header h2 {
  color: #fff;
  font-family: var(--chamyto-font-magra);
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin: 0;
  text-align: center;
}

.hf-science-health__content-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 31px;
  max-width: 1170px;
  width: 100%;
}

.hf-science-health-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  max-width: 370px;
  width: 100%;
}

.hf-science-health-card__image img {
  display: block;
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.hf-science-health-card__body {
  align-items: stretch;
  box-sizing: border-box;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  min-height: 310px;
  padding: 21px 26px 26px 25px;
}

.hf-science-health-card__info {
  width: 100%;
}

.hf-science-health-card__date {
  color: #707070;
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin: 0;
}

.hf-science-health-card__title {
  margin: 13px 0 0;
}

.hf-science-health-card__title a {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: #005abc;
  display: -webkit-box;
  font-family: "Inter", Arial, sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
  overflow: hidden;
  text-decoration: none;
}

.hf-science-health-card__description {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: #3f3f3f;
  display: -webkit-box;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  margin: 13px 0 0;
  overflow: hidden;
}

.hf-science-health-card__actions {
  align-items: center;
  display: flex;
  justify-content: flex-start;
  /* margin-top: 90px; */
  width: 100%;
}

.hf-science-health-card__button {
  align-items: center;
  border: 1px solid #005abc;
  border-radius: 30px;
  color: #005abc;
  display: inline-flex;
  font-family: var(--chamyto-font-magra);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  height: 25px;
  justify-content: center;
  line-height: 25px;
  text-decoration: none;
  width: 150px;
}

.hf-science-health__actions {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  width: 100%;
}

.hf-science-health__more-button {
  align-items: center;
  background: #005abc;
  border: 2px solid #fff;
  border-radius: 30px;
  color: #fff;
  display: inline-flex;
  font-family: var(--chamyto-font-magra);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  height: 40px;
  justify-content: center;
  line-height: 40px;
  min-width: 259px;
  text-decoration: none;
}

.hf-science-health__empty {
  box-sizing: border-box;
  color: #005abc;
  font-family: var(--chamyto-font-magra);
  font-size: 20px;
  font-weight: 700;
  margin-left: auto;
  margin-right: auto;
  margin-top: 31px;
  max-width: 1170px;
  text-align: center;
  width: 100%;
}

@media (max-width: 767px) {
  .hf-science-health {
    margin: 106px 0 0;
    padding: 0 20px 36px;
  }

  .hf-science-health__header {
    height: 51px;
    max-width: 100%;
  }

  .hf-science-health__header h2 {
    font-size: 24px;
  }

  .hf-science-health__content-list {
    gap: 30px;
    margin-top: 31px;
  }

  .hf-science-health-card {
    background: #fff;
    display: flex;
    flex-direction: column;
    max-width: 370px;
    width: 100%;
  }

  .hf-science-health-card__image img {
    height: 180px;
  }

  .hf-science-health-card__description {
    margin-top: 8px;
  }

  .hf-science-health-card__body {
    gap: 57px;
    min-height: 310px;
    padding: 20px 20px 22px;
  }

  .hf-science-health-card__actions {
    align-items: center;
    display: flex;
    justify-content: flex-start;
    margin-top: 0;
    width: 100%;
  }

  .hf-science-health__actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    width: 100%;
  }

  .hf-science-health__more-button {
    box-sizing: border-box;
    color: #fff;
    font-family: var(--chamyto-font-magra);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    height: 37.895px;
    line-height: normal;
    min-width: 0;
    text-align: center;
    width: 180.463px;
  }
}
