@font-face {
  font-family: "PoppinsBlack";
  src:
    url("../fonts/Poppins-Black.woff2") format("woff2"),
    url("../fonts/Poppins-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src:
    url("../fonts/Poppins-Regular.woff2") format("woff2"),
    url("../fonts/Poppins-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PoppinsBold";
  src:
    url("../fonts/Poppins-Bold.woff2") format("woff2"),
    url("../fonts/Poppins-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PoppinsLight";
  src:
    url("../fonts/Poppins-Light.woff2") format("woff2"),
    url("../fonts/Poppins-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@keyframes pulse-inner {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes pulse-outer {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.3;
  }
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
}

:root {
  --main-black: #2c2c2c;
  --white: #fff;
  --soft-white: #fef9ff;
  --blue: #c0dff1;
  --pink: #e0afdd;
  --violet: #cca0f5;
  --beige: #e4d1c1;
  --background-beige: radial-gradient(
    circle at 30% 30%,
    #f5e7dd 0%,
    #e4d1c1 40%,
    #c9b3a5 100%
  );
}

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

html,
body {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: "Poppins", sans-serif;
  background-color: var(--soft-white);
  color: var(--main-black);
  font-size: 16px;
  line-height: 1.7;
}
body.no-scroll {
  overflow: hidden;
  height: 100vh;
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}
a,
button {
  cursor: pointer;
}
.nowrap {
  white-space: nowrap;
}
.container {
  width: 100%;
  position: relative;
  margin-inline: auto;
  padding: 0 15px;
}
.block {
  display: block;
  width: 100%;
  padding: 25px 0;
}
.title {
  font-family: "PoppinsBold", sans-serif;
  text-align: center;
  font-size: 26px;
  line-height: 1.5;
  width: fit-content;
  margin-inline: auto;
  margin-bottom: 25px;
  color: #422951;
}
.subtitle {
  margin-bottom: 25px;
  font-size: 16px;
  text-align: center;
  font-style: italic;
}
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 199;
  background-color: var(--main-black);
  padding-block: 15px;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}
.header.scrolled {
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  max-width: 200px;
}
.header__logo img,
.header__logo svg {
  display: block;
  width: 100%;
  height: auto;
}
.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 22px;
  flex-shrink: 0;
  cursor: pointer;
}
.header__burger span {
  width: 100%;
  height: 1px;
  border-bottom: 2px solid var(--white);
  transition: all 0.3s ease-in-out;
}
.header__burger:hover span {
  border-bottom: 2px solid var(--pink);
}
.menu__close {
  width: 26px;
  height: 24px;
  position: absolute;
  top: 10px;
  right: 0;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu__close span {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transition: all 0.3s ease-in-out;
}
.menu__close span:nth-child(1) {
  transform: rotate(45deg);
}
.menu__close span:nth-child(2) {
  transform: rotate(-45deg);
}
.menu__close:hover span {
  background-color: var(--pink);
}
.menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100%;
  max-width: 350px;
  background: var(--main-black);
  padding: 15px;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
  z-index: 100;
  transform: translateX(100%);
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  display: flex;
  flex-direction: column;
}
.menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.menu__container {
  position: relative;
}
.menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 100px auto 0;
}
.menu__link {
  color: var(--white);
  font-size: 22px;
  position: relative;
  padding-bottom: 2px;
  width: fit-content;
}
.menu__link.current {
  color: var(--beige);
}
.menu__link::after {
  content: "";
  width: 0;
  height: 2px;
  background-color: var(--pink);
  transition: all 0.3s ease-in-out;
  position: absolute;
  left: 0;
  bottom: 0;
}
.menu__link:hover::after {
  width: 100%;
  background: linear-gradient(
    90deg,
    var(--pink) 0%,
    var(--violet) 50%,
    var(--blue) 100%
  );
  box-shadow:
    0 0 6px var(--pink),
    0 0 12px var(--violet),
    0 0 18px var(--blue);
}
.hero {
  background-color: #3a3a3a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: calc(100vh - 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.main .hero {
  padding-bottom: 55px;
  justify-content: flex-end;
}
.webp .main .hero {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url(../img/main-hero-sm.webp);
}
.no-webp .main .hero {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url(../img/main-hero-sm.jpg);
}
.webp .about .hero {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../img/about-hero-sm.webp);
}
.no-webp .about .hero {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../img/about-hero-sm.jpg);
}
.webp .cosmetics .hero {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../img/cosmetics-hero-sm.webp);
}
.no-webp .cosmetics .hero {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../img/cosmetics-hero-sm.jpg);
}
.webp .supplements .hero {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../img/hero-supplements-sm.webp);
}
.no-webp .supplements .hero {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../img/hero-supplements-sm.jpg);
}
.webp .career .hero {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../img/hero-career-sm.webp);
}
.no-webp .career .hero {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../img/hero-career-sm.jpg);
}
.webp .contacts .hero {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../img/contacts-hero-sm.webp);
}
.no-webp .contacts .hero {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../img/contacts-hero-sm.jpg);
}
.hero__title {
  font-family: "PoppinsBold", sans-serif;
  color: var(--soft-white);
  letter-spacing: 0.05rem;
  line-height: 1.4;
  font-size: 28px;
  text-align: center;
  margin-bottom: 25px;
  text-shadow:
    0 0 3px rgba(255, 255, 255, 0.8),
    0 0 3px rgba(255, 0, 150, 0.6),
    0 0 5px rgba(138, 43, 226, 0.6),
    0 0 5px rgba(0, 191, 255, 0.6);
}
.hero__subtitle {
  font-family: "PoppinsLight", sans-serif;
  color: var(--soft-white);
  text-align: center;
  font-size: 18px;
  text-shadow: 0 0 2px var(--main-black);
}
.hero__btn {
  font-family: "PoppinsBold", sans-serif;
  color: var(--soft-white);
  text-shadow: 0 0 2px #000;
  width: fit-content;
  display: block;
  margin-inline: auto;
  margin-top: 25px;
  text-align: center;
  text-transform: uppercase;
  padding: 16px 20px;
  border: 4px solid transparent;
  border-radius: 10px;
  background:
    linear-gradient(#fef9ff81, #fef9ff81) padding-box,
    linear-gradient(90deg, var(--pink), var(--violet), var(--blue)) border-box;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.hero__btn::after {
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-image: linear-gradient(
    90deg,
    var(--pink) 0%,
    var(--violet) 50%,
    var(--blue) 100%
  );
  z-index: -1;
  opacity: 0;
  transition: all 0.3s ease;
}
.hero__btn:hover::after,
.hero__btn:focus::after {
  opacity: 1;
}
.cards__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
}
.cards__item,
.care__item__card {
  position: relative;
  padding: 20px;
  border-radius: 16px;
  background-size: cover;
  background-repeat: no-repeat;
  height: 250px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.care__item__card {
  border-radius: unset;
}
.cards__item {
  width: 320px;
  max-width: 100%;
}
.cards__item:nth-child(1),
.cards__item:nth-child(3) {
  background-position: top right;
}
.cards__item:nth-child(2) {
  background-position: top left;
}
.webp .cards__item:nth-child(1) {
  background-image: url(../img/card1.webp);
}
.no-webp .cards__item:nth-child(1) {
  background-image: url(../img/card1.png);
}
.webp .cards__item:nth-child(2) {
  background-image: url(../img/card2.webp);
}
.no-webp .cards__item:nth-child(2) {
  background-image: url(../img/card2.jpg);
}
.webp .cards__item:nth-child(3) {
  background-image: url(../img/card3.webp);
}
.no-webp .cards__item:nth-child(3) {
  background-image: url(../img/card3.jpg);
}
.cards__text {
  position: absolute;
  bottom: -125px;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 15px 20px;
  border-top: 4px solid transparent;
  border-image: linear-gradient(
    90deg,
    var(--pink) 0%,
    var(--violet) 50%,
    var(--blue) 100%
  );
  border-image-slice: 1;
  transition: all 0.4s ease-in-out;
}
.cards__name,
.care__title {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}
.cards__name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  cursor: pointer;
}
.cards__name__arrow {
  transition: all 0.4s ease-in-out;
}
.cards__item.open .cards__text {
  bottom: 0;
}
.cards__item.open .cards__name {
  cursor: default;
}
.cards__item.open .cards__name__arrow {
  transform: rotate(180deg);
}
.order {
  background: var(--background-beige);
}
.order__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.order__step {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 15px;
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset;
}

.order__step p {
  font-size: 15px;
  line-height: 1.5;
}
.order__step__marker {
  width: 60px;
  flex-shrink: 0;
}
.articles .title {
  margin-bottom: 15px;
}

/* BLOG */

.blog {
  background: var(--background-beige);
  padding-top: 57px;
}
.blog__wrapper {
  background-color: var(--soft-white);
  padding-block: 15px;
  box-shadow: 0px 4px 4px -1px rgba(0, 0, 0, 0.35);
  -webkit-box-shadow: 0px 4px 4px -1px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 0px 4px 4px -1px rgba(0, 0, 0, 0.35);
  border-radius: 24px;
}
.blog__title,
.blog__inner {
  padding-inline: 15px;
}
.blog__title {
  margin-bottom: 15px;
}
.blog__inner {
  margin-top: 15px;
}
.blog__subtitle {
  font-size: 18px;
  margin-bottom: 12px;
}
.blog__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.blog__text {
  margin-bottom: 20px;
}
.blog__back-btn,
.articles__link,
.contacts__btn {
  display: block;
  margin-inline: auto;
  padding: 10px 15px;
  width: fit-content;
  text-align: center;
  border: 4px solid transparent;
  border-radius: 12px;
  background:
    linear-gradient(var(--soft-white), var(--soft-white)) padding-box,
    linear-gradient(90deg, var(--pink), var(--violet), var(--blue)) border-box;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.blog__back-btn::after,
.contacts__btn::after {
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-image: linear-gradient(
    90deg,
    var(--pink) 0%,
    var(--violet) 50%,
    var(--blue) 100%
  );
  z-index: -1;
  opacity: 0;
  transition: all 0.3s ease;
}
.blog__back-btn:hover,
.blog__back-btn:focus,
.contacts__btn:hover,
.contacts__btn:focus,
.contacts__btn.current {
  color: white;
}
.blog__back-btn:hover::after,
.blog__back-btn:focus::after,
.contacts__btn:hover::after,
.contacts__btn:focus::after,
.contacts__btn.current::after {
  opacity: 1;
}
.articles__list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.articles__item {
  display: flex;
  flex-direction: column;
  background-color: var(--soft-white);
  padding: 15px;
  box-shadow:
    0px 4px 4px -1px rgba(0, 0, 0, 0.35),
    0px -1px 4px -1px rgba(0, 0, 0, 0.35);
  -webkit-box-shadow:
    0px 4px 4px -1px rgba(0, 0, 0, 0.35),
    0px -1px 4px -1px rgba(0, 0, 0, 0.35);
  -moz-box-shadow:
    0px 4px 4px -1px rgba(0, 0, 0, 0.35),
    0px -1px 4px -1px rgba(0, 0, 0, 0.35);
  border-radius: 14px;
  text-align: center;
}
.articles__link {
  margin-top: 15px;
  border: none;
  background: #e8cae6;
}
.articles__link:hover,
.articles__link:focus {
  background: var(--violet);
}
.articles__img {
  margin-block: 15px;
  width: 100%;
  border-radius: 10px;
  min-height: 168px;
}
.articles__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.footer {
  background-color: rgba(0, 0, 0, 0.9);
  padding-block: 20px;
  color: var(--white);
  text-align: center;
}
.footer__logo {
  max-width: 200px;
  margin: 0 auto 25px;
}
.footer__logo img,
.footer__logo svg {
  display: block;
  width: 100%;
  height: auto;
}
.footer__links,
.footer__address {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
  align-items: center;
}
.footer__address {
  margin-bottom: 0;
}
.footer__link {
  position: relative;
  width: fit-content;
  padding-bottom: 2px;
  line-height: 1.3;
}
.footer__link::after {
  content: "";
  width: 0;
  height: 2px;
  background-color: var(--pink);
  transition: all 0.3s ease-in-out;
  position: absolute;
  left: 0;
  bottom: 0;
}
.footer__link:hover::after {
  width: 100%;
  background: linear-gradient(
    90deg,
    var(--pink) 0%,
    var(--violet) 50%,
    var(--blue) 100%
  );
  box-shadow:
    0 0 6px var(--pink),
    0 0 12px var(--violet),
    0 0 18px var(--blue);
}
.footer__address__mail {
  transition: color 0.3s ease;
}
.footer__address__mail:hover,
.footer__address__mail:focus {
  color: var(--pink);
}

/* ABOUT */

.company__list {
  display: flex;
  flex-direction: column;
}
.company__item {
  padding: 25px 0;
  overflow: hidden;
}
.company__item:nth-child(2) {
  background: var(--background-beige);
}
.company__title {
  margin-bottom: 15px;
}
.company__resume,
.career__info {
  background: var(--background-beige);
}
.company__resume__text,
.career__info p {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 25px;
  box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset;
  border-radius: 16px;
  text-align: center;
  font-size: 18px;
  font-style: italic;
}
.company__item__descr {
  margin-bottom: 25px;
}
.company__item__img {
  overflow: hidden;
  border-radius: 16px;
}

/*COSMETICS*/

.care__list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.webp .care__item:nth-child(1) .care__item__card {
  background-image: url(../img/care-1.webp);
}
.no-webp .care__item:nth-child(1) .care__item__card {
  background-image: url(../img/care-1.jpg);
}
.webp .care__item:nth-child(2) .care__item__card {
  background-image: url(../img/care-2.webp);
}
.no-webp .care__item:nth-child(2) .care__item__card {
  background-image: url(../img/care-2.jpg);
}
.webp .care__item:nth-child(3) .care__item__card {
  background-image: url(../img/care-3.webp);
}
.no-webp .care__item:nth-child(3) .care__item__card {
  background-image: url(../img/care-3.jpg);
}
.webp .care__item:nth-child(1) .supplement-card {
  background-image: url(../img/supplement-1.webp);
}
.no-webp .care__item:nth-child(1) .supplement-card {
  background-image: url(../img/supplement-1.jpg);
}
.webp .care__item:nth-child(2) .supplement-card {
  background-image: url(../img/supplement-2.webp);
}
.no-webp .care__item:nth-child(2) .supplement-card {
  background-image: url(../img/supplement-2.jpg);
}
.webp .care__item:nth-child(3) .supplement-card {
  background-image: url(../img/supplement-3.webp);
}
.no-webp .care__item:nth-child(3) .supplement-card {
  background-image: url(../img/supplement-3.jpg);
}
.care__info {
  margin-bottom: 15px;
}
.composition {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.care__item {
  cursor: pointer;
  border: 2px solid #e4e2e2;
  border-radius: 16px;
  overflow: hidden;
}
.care__item__card {
  background-position: center;
}
.composition b {
  background: linear-gradient(90deg, #d56fcf 0%, #ac6ae9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.care__item__wrapper {
  position: relative;
}
.care__title {
  position: absolute;
  top: 175px;
  left: 0;
  width: 100%;
  padding: 15px 20px;
  color: var(--main-black);
  height: 75px;
  align-content: center;
  background-color: #fef9ff81;
}
.care__btn {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--pink), var(--violet));
  animation: pulse-inner 2s infinite ease-in-out;
  margin-left: auto;
  font-size: 12px;
  font-style: italic;
  text-align: center;
  align-content: center;
}

.care__btn::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(255, 110, 196, 0.4),
    rgba(120, 115, 245, 0.2)
  );
  animation: pulse-outer 2s infinite ease-in-out;
  z-index: -1;
}
.care__item-hidden {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.5s ease,
    padding 0.5s ease;
  padding: 0;
}
.care__item.open {
  cursor: default;
}
.care__item.open .care__item-hidden {
  max-height: 500px;
  padding: 15px 20px;
}
.care__item.open .care__btn {
  display: none;
}

/* CAREER & CONTACTS */

.career__content .container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  text-align: center;
}
.career__form {
  max-width: 400px;
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
}
.career__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.career__form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
}
input,
textarea {
  padding: 10px 15px;
  border: 2px solid var(--beige);
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
}
input:hover,
textarea:hover,
input:focus,
textarea:focus {
  border-color: var(--blue);
}
textarea {
  resize: none;
  height: 120px;
}
.career__form .consent {
  flex-direction: row;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  text-align: left;
}
.career__form .consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--beige);
  border-radius: 4px;
  display: inline-block;
  position: relative;
  cursor: pointer;
  margin: 0;
  transition: all 0.3s ease;
  padding: 0;
  flex-shrink: 0;
}
.career__form .consent input[type="checkbox"]:checked {
  background: linear-gradient(90deg, var(--pink), var(--violet), var(--blue));
  border-color: var(--violet);
}
.career__form .consent input[type="checkbox"]:checked::after {
  content: "✔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  color: #fff;
}
.contacts__forms {
  max-width: 850px;
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
}
.map {
  margin-bottom: 25px;
}
.map iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 8px;
}
.enquiry__buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.forms form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 25px;
}
.forms button,
.career__btn {
  background: var(--violet);
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.forms button:hover,
.forms button:focus,
.career__btn:hover,
.career__btn:focus {
  background-color: var(--blue);
}
.forms .hidden {
  display: none;
}
.address {
  background: var(--background-beige);
}
.msg.show {
  display: flex;
}
.msg {
  display: none;
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 200;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  top: 0;
  left: 0;
}
.msg__text {
  font-size: 17px;
  background: #fff;
  line-height: 1.5;
  padding: 35px;
  margin-inline: auto;
  max-width: 400px;
  border-radius: 14px;
  text-align: center;
}
@media screen and (min-width: 375px) {
  .container {
    max-width: 375px;
  }
  .cards__item {
    width: 345px;
  }
  .cards__text {
    bottom: -95px;
  }
  .order__step {
    padding: 10px 15px 10px 15px;
  }
  .articles__img {
    min-height: 203px;
  }
}
@media screen and (min-width: 480px) {
  .container {
    max-width: 480px;
  }
  .title {
    font-size: 27px;
  }
  .hero__title {
    font-size: 30px;
  }
  .cards__item {
    width: 450px;
  }
  .cards__text {
    bottom: -70px;
  }
  .cards__item:nth-child(3) .cards__text {
    bottom: -95px;
  }
  .cards__item:nth-child(3).open .cards__text {
    bottom: 0;
  }
  .order__step {
    gap: 20px;
  }
  .order__step p {
    font-size: 16px;
  }
  .order__step__marker {
    width: 65px;
  }
  .blog__subtitle {
    font-size: 19px;
  }
  .articles__img {
    min-height: 271px;
  }
  .articles__name {
    font-size: 17px;
  }
  .footer__links {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }
  .company__resume__text,
  .career__info p {
    padding: 35px;
  }
  .enquiry__buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media screen and (min-width: 640px) {
  .container {
    max-width: 640px;
  }
  .block {
    padding: 30px 0;
  }
  .title {
    font-size: 28px;
  }
  .hero__title {
    font-size: 32px;
    max-width: 90%;
    margin-inline: auto;
  }
  .hero__subtitle {
    font-size: 19px;
  }
  .cards__list,
  .order__list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .cards__item,
  .order__step {
    width: 100%;
    max-width: 47%;
  }
  .cards__text,
  .cards__item:nth-child(3) .cards__text {
    bottom: -125px;
  }
  .order__step {
    gap: 18px;
    flex-direction: column;
    text-align: center;
    padding: 18px;
  }
  .order__step__marker {
    width: 70px;
  }
  .order__step p {
    padding-top: 15px;
    border-top: 1px solid transparent;
    border-image: linear-gradient(
      90deg,
      var(--pink) 0%,
      var(--violet) 50%,
      var(--blue) 100%
    );
    border-image-slice: 1;
  }
  .blog__title {
    margin-bottom: 20px;
  }
  .blog__inner {
    margin-top: 20px;
  }
  .blog__wrapper {
    padding-block: 20px;
  }
  .articles__list {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px 20px;
  }
  .articles__item {
    max-width: 48%;
  }
  .articles__item:first-child {
    max-width: 100%;
  }
  .articles__img {
    min-height: 374px;
  }
  .articles__name {
    font-size: 18px;
  }
  .footer {
    padding-block: 25px;
  }
  .footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
  }
  .footer__logo,
  .footer__links {
    margin: 0;
  }
  .company__item .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
  }
  .company__item:nth-child(odd) {
    text-align: right;
  }
  .company__item:nth-child(odd) .company__title {
    margin-right: 0;
  }
  .company__item:nth-child(2) .company__title {
    margin-left: 0;
  }
  .company__item:nth-child(2) .container {
    flex-direction: row-reverse;
  }
  .company__item__img {
    width: 50%;
    flex-shrink: 0;
  }
  .company__item__descr {
    margin-bottom: 0;
  }
  .company__resume__text {
    font-size: 19px;
  }
  .care__item__card {
    width: 100%;
    transition: all 0.5s ease;
    height: 320px;
  }
  .supplement-card {
    height: 350px;
  }

  .care__item__wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
  }

  .care__title {
    position: static;
    background: none;
    padding: 0;
    margin-bottom: 15px;
    height: 46px;
    border-top: none;
  }

  .care__item-hidden {
    position: absolute;
    left: 0;
    bottom: -244px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    background: #f0f0f0e8;
    max-height: unset;
    transition: bottom 0.5s ease;
    width: 100%;
  }
  .supplement-item .care__item-hidden {
    bottom: -275px;
  }
  .supplement-item:nth-child(2) .care__item-hidden {
    bottom: -250px;
  }
  .supplement-item:nth-child(3) .care__item-hidden {
    bottom: -225px;
  }
  .supplement-item.open .supplement-item:nth-child(2) .care__item-hidden,
  .supplement-item.open .supplement-item:nth-child(3) .care__item-hidden {
    bottom: 0;
  }
  .care__item.open .care__item-hidden {
    bottom: 0;
    height: 100%;
    justify-content: flex-start;
    border-top: 2px solid #e4e2e2;
  }
  .career__content .container {
    flex-direction: row;
    text-align: left;
  }
  .career__form {
    width: 56%;
    flex-shrink: 0;
  }
  .enquiry__buttons button {
    margin: 0;
  }
  .contacts__wrapper {
    display: flex;
    gap: 25px;
    justify-content: center;
  }
  .map {
    width: 60%;
    flex-shrink: 0;
    margin-bottom: 0;
  }
}
@media screen and (min-width: 768px) {
  .webp .main .hero {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
      url(../img/main-hero.webp);
  }
  .no-webp .main .hero {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
      url(../img/main-hero.jpg);
  }
  .webp .about .hero {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url(../img/about-hero.webp);
  }
  .no-webp .about .hero {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url(../img/about-hero.jpg);
  }
  .webp .cosmetics .hero {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url(../img/cosmetics-hero.webp);
  }
  .no-webp .cosmetics .hero {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url(../img/cosmetics-hero.jpg);
  }
  .webp .supplements .hero {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url(../img/hero-supplements.webp);
  }
  .no-webp .supplements .hero {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url(../img/hero-supplements.jpg);
  }
  .webp .career .hero {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url(../img/hero-career.webp);
  }
  .no-webp .career .hero {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url(../img/hero-career.jpg);
  }
  .webp .contacts .hero {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url(../img/contacts-hero.webp);
  }
  .no-webp .contacts .hero {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url(../img/contacts-hero.jpg);
  }
  .container {
    max-width: 768px;
  }
  .title {
    font-size: 30px;
  }
  .menu__close,
  .header__burger {
    display: none;
  }

  .header .container {
    justify-content: center;
  }
  .menu {
    position: static;
    display: flex;
    width: 100%;
    height: unset;
    transform: none;
    opacity: 1;
    background: transparent;
    box-shadow: none;
    max-width: unset;
    padding: 0;
    transition: all 0.3s ease;
  }
  .menu__links {
    flex-direction: row;
    margin: 0;
    justify-content: flex-end;
    gap: 20px;
    margin-left: 20px;
  }
  .menu__link {
    font-size: 15px;
  }
  .header__logo,
  .footer__logo {
    max-width: 150px;
  }
  .hero__title {
    font-size: 35px;
    max-width: 100%;
  }
  .hero__subtitle {
    max-width: 75%;
    margin-inline: auto;
    font-size: 20px;
  }
  .cards__text,
  .cards__item:nth-child(3) .cards__text {
    bottom: -95px;
  }
  .order__step {
    max-width: 230px;
  }
  .blog__subtitle {
    font-size: 20px;
  }
  .articles__list {
    gap: 25px;
  }
  .articles__name {
    font-size: 19px;
  }
  .articles__item:first-child {
    max-width: 70%;
  }
  .articles__item:nth-child(2) .articles__name,
  .articles__item:nth-child(3) .articles__name {
    height: 62px;
    align-content: center;
  }
  .articles__item:first-child .articles__img {
    min-height: 314px;
  }
  .articles__img {
    min-height: 209px;
  }
  .footer__address {
    align-items: flex-end;
  }
  .care__item-hidden {
    bottom: -190px;
  }
  .supplement-item .care__item-hidden {
    bottom: -185px;
  }
  .supplement-item:nth-child(2) .care__item-hidden {
    bottom: -190px;
  }
  .supplement-item:nth-child(3) .care__item-hidden {
    bottom: -165px;
  }
  .company__item {
    padding-block: 30px;
  }
  .company__resume__text {
    font-size: 20px;
  }
  .enquiry__buttons {
    justify-content: space-between;
  }
}
@media screen and (min-width: 1024px) {
  body {
    font-size: 18px;
  }
  .container {
    max-width: 1024px;
  }
  .block {
    padding: 40px 0;
  }
  .title {
    font-size: 32px;
  }
  .subtitle {
    font-size: 18px;
  }
  .header__logo,
  .footer__logo {
    max-width: 200px;
  }
  .menu__link {
    font-size: 16px;
  }
  .menu__links {
    gap: 30px;
  }
  .menu__link {
    font-size: 18px;
  }
  .main .hero {
    height: calc(100vh - 62px);
    padding-bottom: 55px;
  }
  .hero__title {
    font-size: 40px;
  }
  .cards__item {
    width: 31%;
  }
  .cards__text,
  .cards__item:nth-child(3) .cards__text {
    bottom: -135px;
  }
  .order__step {
    max-width: 315px;
  }
  .blog {
    padding-top: 62px;
  }
  .blog__wrapper {
    max-width: 800px;
    margin-inline: auto;
    padding-block: 25px;
  }
  .blog__subtitle {
    font-size: 22px;
  }
  .blog__inner {
    margin-top: 25px;
    padding-inline: 25px;
  }
  .blog__title {
    margin-bottom: 25px;
  }
  .blog__back-btn {
    margin-top: 25px;
  }
  .articles__item {
    padding-block: 20px;
  }
  .articles__item,
  .articles__item:first-child {
    max-width: 31%;
  }
  .articles__name,
  .articles__item:nth-child(2) .articles__name,
  .articles__item:nth-child(3) .articles__name {
    font-size: 20px;
    height: 62px;
    align-content: center;
  }
  .articles__img {
    margin-block: 20px;
  }
  .articles__img,
  .articles__item:first-child .articles__img {
    min-height: 179px;
  }
  .articles__link {
    margin-top: 20px;
  }
  .company__item {
    padding-block: 40px;
  }
  .company__item .company__item__descr {
    padding: 50px 35px;
    background: white;
    border-radius: 16px;
    margin-top: auto;
    position: relative;
    box-shadow:
      rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
      rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  }
  .company__item:nth-child(2) .company__item__descr {
    margin-left: -140px;
  }
  .company__item:nth-child(odd) .company__item__descr {
    margin-right: -140px;
  }
  .company__resume__text {
    max-width: 800px;
    margin-inline: auto;
    font-size: 22px;
  }
  .career__info p {
    max-width: 850px;
    margin-inline: auto;
  }
  .career__content .container {
    max-width: 850px;
    gap: 40px;
  }
  .career__form label,
  input,
  textarea,
  .career__form .consent {
    font-size: 18px;
  }
  .contacts__wrapper {
    gap: 40px;
  }
  .care__list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .care__item {
    width: 48%;
  }
  .care__item__card {
    height: 410px;
  }
  .care__item-hidden {
    bottom: -330px;
  }
  .care__item:nth-child(2) .care__item-hidden {
    bottom: -300px;
  }
  .care__item:nth-child(2).open .care__item-hidden {
    bottom: 0;
  }
  .care__item:nth-child(3) .care__item-hidden {
    bottom: -270px;
  }
  .care__item:nth-child(3).open .care__item-hidden {
    bottom: 0;
  }
  .supplement-item .care__item-hidden,
  .supplement-item:nth-child(2) .care__item-hidden {
    bottom: -325px;
  }
}
@media screen and (min-width: 1220px) {
  .container {
    max-width: 1220px;
  }
  .block {
    padding: 60px 0;
  }
  .title {
    font-size: 35px;
    margin-bottom: 30px;
  }
  .header {
    padding-block: 20px;
  }
  .menu__link {
    font-size: 19px;
  }
  .main .hero {
    height: calc(100vh - 72px);
    padding-bottom: 75px;
  }
  .hero__subtitle {
    max-width: 80%;
  }
  .articles .title {
    margin-bottom: 20px;
  }
  .articles__img,
  .articles__item:first-child .articles__img {
    min-height: 219px;
  }
  .blog {
    padding-top: 74px;
  }
  .subtitle {
    font-size: 20px;
    margin-bottom: 30px;
  }
  .cards__text,
  .cards__item:nth-child(3) .cards__text {
    bottom: -105px;
  }
  .cards__item:nth-child(1) .cards__text {
    bottom: -136px;
  }
  .cards__item:nth-child(1).open .cards__text {
    bottom: 0;
  }
  .cards__name {
    font-size: 20px;
  }
  .footer {
    padding-block: 30px;
  }
  .company__item .company__item__descr {
    max-width: 50%;
    margin-bottom: auto;
  }

  .care__item__card {
    height: 390px;
  }
  .care__item-hidden {
    bottom: -310px;
  }
  .care__item:nth-child(2) .care__item-hidden {
    bottom: -215px;
  }

  .care__item:nth-child(3) .care__item-hidden {
    bottom: -245px;
  }
  .supplement-item .care__item-hidden,
  .supplement-item:nth-child(2) .care__item-hidden {
    bottom: -305px;
  }
  .supplement-item:nth-child(3) .care__item-hidden {
    bottom: -275px;
  }
}
@media screen and (min-width: 1440px) {
  .container {
    max-width: 1440px;
    padding-inline: 25px;
  }
  .block {
    padding: 80px 0;
  }
  .title,
  .subtitle {
    margin-bottom: 40px;
  }
  .order__list,
  .articles__list {
    gap: 25px;
  }
  .order__step {
    max-width: 385px;
  }
  .articles__img,
  .articles__item:first-child .articles__img {
    min-height: 268px;
  }
  .cards__item {
    height: 270px;
  }
  .cards__item:nth-child(1) .cards__text {
    bottom: -105px;
  }
  .cards__item,
  .articles__item,
  .articles__item:first-child {
    max-width: 32%;
  }
  .footer {
    padding-block: 40px;
  }
  .care__item-hidden {
    bottom: -275px;
  }
  .care__item:nth-child(3) .care__item-hidden {
    bottom: -220px;
  }
  .supplement-item:nth-child(2) .care__item-hidden {
    bottom: -275px;
  }
  .supplement-item:nth-child(3) .care__item-hidden {
    bottom: -250px;
  }
}

/* Policy pages */
body.policy-page {
  min-height: 100vh;
  background-color: var(--soft-white);
}

.policy-page__header {
  background-color: var(--main-black);
  padding-block: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.policy-page__logo {
  display: block;
  max-width: 200px;
}

.policy-page__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.policy-page__content {
  padding-block: 30px 50px;
}

.policy-page__wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 24px 40px;
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(44, 44, 44, 0.08);
}

.policy-page__wrapper > h1 {
  font-family: "PoppinsBold", sans-serif;
  font-size: 28px;
  line-height: 1.35;
  margin-bottom: 16px;
  color: var(--main-black);
}

.policy-page__wrapper > h2 {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 28px;
  color: rgba(44, 44, 44, 0.85);
}

.policy-page__wrapper > div {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(44, 44, 44, 0.1);
}

.policy-page__wrapper > div:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 36px;
}

.policy-page__wrapper h3,
.policy-page__wrapper h4 {
  font-family: "PoppinsBold", sans-serif;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--main-black);
}

.policy-page__wrapper h3 {
  font-size: 20px;
}

.policy-page__wrapper h4 {
  font-size: 17px;
  margin-top: 8px;
}

.policy-page__wrapper p {
  margin-bottom: 12px;
  color: rgba(44, 44, 44, 0.9);
}

.policy-page__wrapper p:last-child {
  margin-bottom: 0;
}

.policy-page__wrapper ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 12px;
}

.policy-page__wrapper li {
  margin-bottom: 10px;
}

.policy-page__wrapper li p {
  margin-bottom: 0;
}

.policy-page__wrapper a {
  color: #8b5f9e;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.policy-page__wrapper a:hover {
  color: var(--violet);
}

.policy-page__wrapper strong {
  font-family: "PoppinsBold", sans-serif;
  font-weight: bold;
}

.policy-page__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--violet), var(--blue));
  color: var(--main-black);
  font-family: "PoppinsBold", sans-serif;
  font-size: 15px;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.policy-page__back:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(204, 160, 245, 0.35);
  color: var(--main-black);
}

@media screen and (min-width: 768px) {
  .policy-page__content {
    padding-block: 40px 60px;
  }

  .policy-page__wrapper {
    padding: 40px 48px 48px;
  }

  .policy-page__wrapper > h1 {
    font-size: 34px;
  }

  .policy-page__wrapper > h2 {
    font-size: 17px;
  }
}
