@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Bold.woff2") format("woff2"),
    url("../fonts/CormorantGaramond-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Regular.woff2") format("woff2"),
    url("../fonts/CormorantGaramond-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Regular.woff2") format("woff2"),
    url("../fonts/Lato-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Bold.woff2") format("woff2"),
    url("../fonts/Lato-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
.fade-in-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.fade-in-scale {
  opacity: 1;
  transform: scale(1);
}

:root {
  --main-font: "Lato";
  --second-font: "Cormorant Garamond";
  --dark-grey: #272727;
  --pink: #f5588c;
  --blue: #45adb8;
  --yellow: #fbb659;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body,
html {
  height: 100%;
}
body {
  font-family: var(--main-font);
  color: var(--dark-grey);
  font-size: 18px;
  line-height: 1.3;
  background-color: #f9f9f9;
}
a,
button,
div,
footer,
form,
h1,
h2,
h3,
h4,
header,
iframe,
img,
li,
nav,
p,
section,
span,
title,
ul,
body {
  background: transparent;
  border: 0;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}
ol {
  list-style: none;
  padding-left: 0;
}
h1 {
  font-size: 3rem;
  text-align: center;
  color: #45adb8;
  margin-bottom: 2rem;
  font-family: "Cormorant Garamond";
  text-transform: uppercase;
}
h2,
h3 {
  font-family: "Cormorant Garamond";
  font-weight: bold;
}
h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--pink);
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

input {
  box-sizing: border-box;
  font-family: Helvetica, Arial, sans-serif;
}
ul {
  list-style: none;
}
a,
button {
  cursor: pointer;
  text-decoration: none;
}
a {
  color: inherit;
}
:focus {
  outline: none;
}
img,
picture {
  display: block;
  width: 100%;
  height: auto;
}
.container {
  width: 100%;
  max-width: 1440px;
  padding-left: 25px;
  padding-right: 25px;
  margin-inline: auto;
  position: relative;
}

.section {
  width: 100%;
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
  background-color: #f9f9f9;
}
.section.bg {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.nowrap {
  white-space: nowrap;
}

/*PROMO*/
.promo {
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
}
.no-webp .promo {
  background-image: linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.4),
      rgba(255, 255, 255, 0.2)
    ),
    url("../img/promo.jpg");
}
.webp .promo {
  background-image: linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.4),
      rgba(255, 255, 255, 0.2)
    ),
    url("../img/promo.webp");
}
.no-webp .supplements__promo {
  background-image: linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.2),
      rgba(255, 255, 255, 0.2)
    ),
    url("../img/supplements.jpg");
}
.webp .supplements__promo {
  background-image: linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.2),
      rgba(255, 255, 255, 0.2)
    ),
    url("../img/supplements.webp");
}
.no-webp .about__promo {
  background-image: linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.4),
      rgba(255, 255, 255, 0.2)
    ),
    url("../img/about-promo.jpg");
}
.webp .about__promo {
  background-image: linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.4),
      rgba(255, 255, 255, 0.2)
    ),
    url("../img/about-promo.webp");
}
.no-webp .goals__promo {
  background-image: linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.4),
      rgba(255, 255, 255, 0.2)
    ),
    url("../img/goals.jpg");
}
.webp .goals__promo {
  background-image: linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.4),
      rgba(255, 255, 255, 0.2)
    ),
    url("../img/goals.webp");
}
.no-webp .cosmetics__promo {
  background-image: linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.4),
      rgba(255, 255, 255, 0.2)
    ),
    url("../img/cosmetics-promo.jpg");
}
.webp .cosmetics__promo {
  background-image: linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.4),
      rgba(255, 255, 255, 0.2)
    ),
    url("../img/cosmetics-promo.webp");
}
.no-webp .promo-map {
  background-image: linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.4),
      rgba(255, 255, 255, 0.2)
    ),
    url("../img/contacts.jpg");
  background-position: center;
}
.webp .promo-map {
  background-image: linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.4),
      rgba(255, 255, 255, 0.2)
    ),
    url("../img/contacts.webp");
  background-position: center;
}
.promo::before {
  position: absolute;
  content: "";
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
}
.promo-btn {
  transition: inherit;
  color: #ffffff;
  font-style: normal;
  font-size: 43px;
  font-weight: 700;
  display: block;
  font-family: "Cormorant Garamond";
  border: none;
  transition: all 0.2s ease;
  z-index: 5;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

/*HEADER*/
header {
  position: relative;
  width: 100%;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    border-bottom 0.3s ease;
  z-index: 1000;
}

.second-header {
  background-color: #0f0f0f;
  border-bottom: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
header.scrolled {
  padding: 10px 0;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #0f0f0f;
  border-bottom: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

header.scrolled .header__navigation a,
header.scrolled .dropdown__name p,
.second-header .header__navigation a,
.second-header .dropdown__name p {
  color: #fff;
}
header.scrolled .dropdown__list,
.second-header .dropdown__list {
  background-color: #232323;
}
header.scrolled .header__logo img,
.second-header .header__logo img {
  filter: brightness(0) invert(1);
}
header.scrolled .header__logo,
.second-header .header__logo {
  max-width: 100px;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__menu-mobile {
  display: none;
}
.header__nav--left {
  order: 1;
}

.header__logo {
  order: 2;
  margin: 0 2rem;
}

.header__nav--right {
  order: 3;
}

.dropdown__item a {
  width: fit-content;
}
.header__logo {
  max-width: 140px;
  height: auto;
}

.header__navigation {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu__item a,
.dropdown__name p {
  font-weight: 500;
  text-decoration: none;
  color: #333;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
}

.dropdown {
  position: relative;
}
.dropdown::after {
  content: "";
  height: 10px;
  width: 100%;
  position: absolute;
  bottom: -10px;
  left: 0;
  background: transparent;
}
.dropdown__list {
  position: absolute;
  top: 100%;
  left: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  padding: 0.5rem 0;
  min-width: 160px;
  display: none;
  z-index: 10;
  flex-direction: column;
  gap: 4px;
  background-color: #d2d2d2;
  border-radius: 4px;
  margin-top: 10px;
}

.dropdown__item {
  padding: 0.5rem 1rem;
}

.dropdown__item a {
  color: #333;
  text-decoration: none;
  display: block;
  transition: background 0.3s ease;
}

.dropdown:hover .dropdown__list {
  display: flex;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
}

/*INTRO*/
.intro {
  text-align: center;
}
.intro-bg {
  background: linear-gradient(135deg, #e8f0ff, #fef6f9);
}

.product-section {
  display: flex;
  flex-direction: column;
  padding-bottom: 0 !important;
}
.product-section.cosmetics-product-section {
  padding-top: 0;
}
.top-block .container,
.bottom-block .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.top-block {
  margin-bottom: 60px;
}
.bottom-block {
  background-color: #fce4ec;
  padding-top: 60px;
  padding-bottom: 60px;
}
.text-content {
  flex: 1 1 300px;
  max-width: 500px;
}

.text-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}
.product-link {
  display: block;
  margin-top: 40px;
  border-radius: 4px;
  border: 2px solid var(--yellow);
  width: 250px;
  text-align: center;
  padding: 10px 15px;
  background-color: transparent;
  font-family: "Cormorant Garamond";
  transition: all 0.3s ease;
  font-size: 18px;
}
.product-link:hover {
  background-color: var(--yellow);
  color: white;
}
.overlay-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 300px;
  width: 500px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.no-webp .top-block .card-bg {
  background-image: url("../img/intro-1.jpg");
}
.webp .top-block .card-bg {
  background-image: url("../img/intro-1.webp");
}
.no-webp .bottom-block .card-bg {
  background-image: url("../img/intro-2.jpg");
}
.webp .bottom-block .card-bg {
  background-image: url("../img/intro-2.webp");
}
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.6)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.card-content {
  text-align: center;
  z-index: 3;
  padding: 1rem 2rem;
}

.card-content h3 {
  color: #fff;
  font-size: 2.5rem;
}

.card-content p {
  font-size: 1.3rem;
  color: #f0f0f0;
}
/*FOOTER*/
.footer {
  background-color: #0f0f0f;
  color: #e0e0e0;
  padding: 40px 0;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.footer p {
  margin-bottom: 16px;
  color: #b0b0b0;
  text-align: center;
}
.footer-email {
  transition: color 0.3s ease;
}
.footer-email:hover {
  color: white;
}
.footer__list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.footer__link {
  color: #ffffff;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.footer__link::after,
.menu__item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.footer__link:hover,
header.scrolled a:hover,
.second-header a:hover {
  color: var(--yellow);
}

.footer__link:hover::after,
.menu__item a:hover::after {
  transform: scaleX(1);
}

.date-0 {
  color: #ffffff;
  font-weight: 500;
}

/*ABOUT*/

.intro p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
  color: #333;
  text-align: center;
}

.about__section {
  margin-bottom: 60px;
}

.about__section p {
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
  color: #555;
}

.about__list {
  list-style: none;
  padding-left: 0;
  max-width: 700px;
  text-align: left;
}

.about__item {
  position: relative;
  padding-left: 24px;
  margin-bottom: 16px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
}
.about__item:last-child {
  margin-bottom: 0;
}
.about__item::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--pink);
  font-size: 1.5rem;
  line-height: 1;
}
.flex-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 60px;
}

.flex-block.reverse {
  flex-direction: row-reverse;
}

.about__text {
  flex: 1 1 400px;
}

.about__image {
  flex: 1 1 400px;
  max-width: 500px;
}

.about__image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px,
    rgba(0, 0, 0, 0.22) 0px 15px 12px;
  object-fit: cover;
}
/*GOALS*/

.goals__block {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.goals__item {
  background-color: #fff;
  padding: 0 2rem 2rem 2rem;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  width: 350px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.goals__item.visible {
  opacity: 1;
  transform: translateY(0);
}

.goals__item:hover {
  transform: translateY(-5px);
}

.goals__item h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--yellow);
  background-color: #0f0f0f;
  border-radius: 12px 12px 0 0;
  padding: 2rem 4rem 2rem 2rem;
  margin-left: -2rem;
  margin-right: -2rem;
  height: 139px;
  align-content: center;
  background-position: right 20px bottom 20px;
  background-size: 40px;
  background-repeat: no-repeat;
}
.goals__item:nth-of-type(1) h2 {
  background-image: url(../img/goal-icon-1.png);
}
.goals__item:nth-of-type(2) h2 {
  background-image: url(../img/goal-icon-2.png);
}
.goals__item:nth-of-type(3) h2 {
  background-image: url(../img/goal-icon-3.png);
}
.goals__item:nth-of-type(4) h2 {
  background-image: url(../img/goal-icon-4.png);
}
.goals__item:nth-of-type(5) h2 {
  background-image: url(../img/goal-icon-5.png);
}
.goals__item p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}
/*SUPPLEMENTS*/
.supplement-product-section,
.cosmetics-product-section {
  padding-top: 0;
}
.supplement-product-section .bottom-block,
.cosmetics-product-section .bottom-block {
  padding-top: 0;
  padding-bottom: 60px;
  background-color: transparent;
}
.top-block.intro-bg {
  padding-block: 60px;
}

.no-webp .supplement-product-section .top-block .card-bg {
  background-image: url(../img/supplement-1.jpg);
}
.webp .supplement-product-section .top-block .card-bg {
  background-image: url(../img/supplement-1.webp);
}
.no-webp .supplement-product-section .bottom-block .card-bg {
  background-image: url(../img/supplement-2.jpg);
}
.webp .supplement-product-section .bottom-block .card-bg {
  background-image: url(../img/supplement-2.webp);
}

.supplement-item:nth-of-type(1) h2 {
  background-image: url(../img/supplement-icon-1.png);
}
.supplement-item:nth-of-type(2) h2 {
  background-image: url(../img/supplement-icon-2.png);
}
.supplement-item:nth-of-type(3) h2 {
  background-image: url(../img/supplement-icon-3.png);
}
/*COSMETICS*/

.flex-center {
  justify-content: center;
  align-items: center;
}
.text-center {
  text-align: center;
}
.cosmetics__part img {
  width: 300px;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px,
    rgba(0, 0, 0, 0.22) 0px 15px 12px;
}
.cosmetics__part .about__list {
  margin-bottom: 16px;
}
.cosmetics-item:nth-of-type(2) h2 {
  background-image: url(../img/cosmetics-icon-1.png);
}
.cosmetics-item:nth-of-type(1) h2 {
  background-image: url(../img/cosmetics-icon-2.png);
}
.cosmetics-item:nth-of-type(3) h2 {
  background-image: url(../img/cosmetics-icon-3.png);
}
.no-webp .cosmetics-product-section .top-block .card-bg {
  background-image: url(../img/cosmetics-1.jpg);
}
.webp .cosmetics-product-section .top-block .card-bg {
  background-image: url(../img/cosmetics-1.webp);
}
.no-webp .cosmetics-product-section .bottom-block .card-bg {
  background-image: url(../img/cosmetics-2.jpg);
}
.webp .cosmetics-product-section .bottom-block .card-bg {
  background-image: url(../img/cosmetics-2.webp);
}
/*ADVERRTISERS*/
.career-link {
  width: fit-content;
}
.career-block {
  max-width: 840px;
  margin-inline: auto;
  flex-wrap: nowrap;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px,
    rgba(0, 0, 0, 0.22) 0px 15px 12px;
  overflow: hidden;
  border-radius: 12px;
  padding: 0;
}
.advertisers__text {
  padding: 25px;
}
.advertisers__list {
  list-style: none;
  padding: 0;
}

.advertisers__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  font-size: 18px;
  line-height: 1.5;
}

.advertisers__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.advertisers__title,
.advertisers__subtitle {
  color: white;
}

.career-promo {
  background: linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.5),
      rgba(255, 255, 255, 0.1)
    ),
    linear-gradient(to bottom, var(--pink), var(--yellow));
}
/*CONTACTS*/

.msg.show {
  display: flex;
}
.msg {
  display: none;
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 2;
  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: 160%;
  padding: 35px;
  margin-top: 0vh;
  margin-inline: auto;
  max-width: 400px;
}

.contacts-intro {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 2rem;
  font-family: "Cormorant Garamond", serif;
  color: #272727;
}

.form {
  display: flex;
  flex-direction: column;
}

.content-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.flex-part {
  flex: 1 1 300px;
}

.form__input-data label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form__input-data input,
.form__input-data textarea,
.dropdown-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fff;
  color: #333;
  transition: border-color 0.3s ease;
  font-family: "Lato";
}

.form__input-data input:focus,
.form__input-data textarea:focus,
.dropdown-input:focus {
  border-color: #e91e63;
  outline: none;
}

.form__input-data textarea {
  min-height: 120px;
  resize: vertical;
}

.form__error {
  color: #e91e63;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  margin-top: 8px;
  margin-bottom: 4px;
  min-height: 20px;
  display: flex;
  align-items: center;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.extra {
  margin-left: 4px;
  display: inline-block;
  color: #aa3c3c;
}
.form .input--error {
  border: 1px solid #e91e63;
}
.form__error.visible {
  opacity: 1;
  pointer-events: auto;
}
.dropdown-wrapper {
  position: relative;
  width: 100%;
  font-family: sans-serif;
}

.dropdown-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.dropdown-list {
  position: absolute;
  top: 58px;
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ccc;
  border-top: none;
  background: white;
  z-index: 10;
  display: none;
  width: 250px;
}

.dropdown-list.visible {
  display: block;
}

.dropdown-item {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 16px;
}
.form__btn {
  align-self: center;
  margin-top: 0;
  background-color: var(--yellow);
  color: white;
}
.form__btn:hover {
  background-color: #efa03a;
  border-color: #efa03a;
}
.white-bg {
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  max-width: 400px;
}

.contacts__address {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.contacts__logo img {
  max-width: 160px;
  margin-bottom: 1rem;
}

.form__flex-part {
  width: 50%;
}
.contacts__flex-part {
  width: 50%;
}
.form__input-data {
  display: flex;
  flex-direction: column;
}
.form label {
  color: #171717;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  font-family: var(--main-font);
}
.form input {
  color: #686868;
  background-color: #fff;
  border: 1px solid #e6e6e6;
  min-height: 56px;
  margin-bottom: 0;
  padding: 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  border-radius: 4px;
}
.form textarea {
  height: auto;
  color: #171717;
  background-color: #fff;
  border: 1px solid #e6e6e6;
  min-height: 149px;
  margin-bottom: 0;
  padding: 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  resize: none;
  font-family: var(--main-font);
  border-radius: 4px;
}
/*BLOG*/
.blog__intro {
  padding-bottom: 0;
}

.blog__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.blog-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  width: 350px;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card__image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.no-webp .blog__img-1 {
  background-image: url(../img/blog-1.png);
}
.webp .blog__img-1 {
  background-image: url(../img/blog-1.webp);
}
.no-webp .blog__img-2 {
  background-image: url(../img/blog-2.jpg);
}
.webp .blog__img-2 {
  background-image: url(../img/blog-2.webp);
}
.no-webp .blog__img-3 {
  background-image: url(../img/blog-3.jpg);
}
.webp .blog__img-3 {
  background-image: url(../img/blog-3.webp);
}
.no-webp .blog__img-4 {
  background-image: url(../img/blog-4.jpg);
}
.webp .blog__img-4 {
  background-image: url(../img/blog-4.webp);
}
.no-webp .blog__img-5 {
  background-image: url(../img/blog-5.jpg);
}
.webp .blog__img-5 {
  background-image: url(../img/blog-5.webp);
}
.no-webp .blog__img-6 {
  background-image: url(../img/blog-6.jpg);
}
.webp .blog__img-6 {
  background-image: url(../img/blog-6.webp);
}
.blog-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1rem;
  font-family: "Cormorant Garamond", serif;
  color: #5c2c1f;
  transition: color 0.3s ease;
  margin-bottom: 0;
}

.blog-card:hover .blog-card__title {
  color: #e91e63;
}
.blog__title {
  margin-bottom: 0;
  color: #232323;
}
.blog-hero {
  background-color: var(--yellow);
}
.container.is-small {
  max-width: 900px;
}
.blog-article {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #3e1d14;
}
.blog-article p {
  margin-bottom: 0.8rem;
}
.blog-article__subtitle {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-article__list {
  margin-top: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-article__list li {
  margin-bottom: 0.8rem;
}

.blog-article__closing {
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: 2rem;
  color: #e91e63;
}

.blog-back-btn {
  display: block;
  margin-inline: auto;
  margin-block: 30px;
  width: fit-content;
  transition: color 0.2s ease;
}
.blog-back-btn:hover {
  color: var(--yellow);
}
.blog-article picture {
  max-width: 700px;
  margin-inline: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}
@media screen and (max-width: 1440px) {
  .container {
    max-width: 1220px;
    padding-inline: 20px;
  }

  .flex-block {
    gap: 40px;
  }
  .cosmetics__part {
    width: 31%;
  }
}
@media screen and (max-width: 1220px) {
  .container {
    max-width: 1024px;
    padding-inline: 15px;
  }

  .flex-block {
    gap: 30px;
  }
  .cosmetics__part {
    width: 31%;
  }
  h1 {
    font-size: 46px;
    margin-bottom: 25px;
  }
  .section,
  .top-block.intro-bg {
    padding-block: 40px;
  }
  .cosmetics-product-section .bottom-block {
    padding-bottom: 40px;
  }
  .top-block {
    margin-bottom: 40px;
  }
  .bottom-block {
    padding-block: 40px;
  }
  .header__logo {
    max-width: 120px;
  }
  .promo::before {
    width: 350px;
    height: 350px;
  }
  .promo-btn {
    font-size: 40px;
    bottom: 20px;
  }
  .intro p {
    font-size: 18px;
  }
  h2 {
    font-size: 36px;
  }
  .product-link {
    margin-top: 25px;
  }
  .overlay-card {
    width: 450px;
    height: 260px;
  }
  .card-content h3 {
    font-size: 35px;
  }
  .card-content p {
    font-size: 20px;
  }
  .goals__item h2 {
    padding: 20px;
    height: 110px;
    margin-right: -20px;
    margin-left: -20px;
  }

  .goals__item {
    padding: 0 20px 20px 20px;
    width: 310px;
  }
}
@media screen and (max-width: 1024px) {
  .container {
    max-width: 100%;
  }
  .header__logo {
    max-width: 110px;
  }
  .header__navigation {
    gap: 1.3rem;
  }
  .promo::before {
    width: 330px;
    height: 330px;
  }
  .promo-btn {
    font-size: 37px;
    bottom: 18px;
  }
  h1 {
    font-size: 43px;
    line-height: 1.1;
    margin-bottom: 20px;
  }
  .top-block .container,
  .bottom-block .container,
  .flex-block,
  .goals__block,
  .blog__cards {
    gap: 25px;
  }

  .text-content {
    max-width: 400px;
  }
  .overlay-card {
    width: 400px;
    height: 250px;
  }
  h2 {
    font-size: 33px;
    line-height: 1.2;
  }
  .text-content p {
    line-height: 1.4;
  }
  .section {
    padding-block: 30px;
  }
  .top-block.intro-bg {
    padding-block: 30px;
  }
  .cosmetics-product-section .bottom-block {
    padding-bottom: 30px;
  }
  .top-block {
    margin-bottom: 30px;
  }
  .bottom-block {
    padding-block: 30px;
  }
  .about__image {
    max-width: 380px;
  }
  .about__text {
    flex: 1;
  }
  .goals__item h2 {
    font-size: 26px;
    height: 100px;
    padding-right: 30px;
    background-size: 36px;
  }
  .goals__item p {
    line-height: 1.4;
  }
  .card-content h3 {
    font-size: 33px;
  }
  .career-block {
    width: 730px;
  }
  .advertisers__list li {
    margin-bottom: 16px;
  }
  .advertisers__text {
    padding: 15px;
  }
  .blog-article picture {
    max-width: 650px;
  }
  .blog-article__subtitle {
    margin-top: 25px;
    margin-bottom: 16px;
  }
  .blog-article__closing {
    font-size: 18px;
  }
  .blog-back-btn {
    margin-block: 25px;
  }
  .footer {
    padding-block: 30px;
  }

  .cosmetics__part img {
    width: 230px;
  }
}
@media screen and (max-width: 768px) {
  .section {
    padding-block: 25px;
  }
  .top-block.intro-bg {
    padding-block: 25px;
  }
  .cosmetics-product-section .bottom-block {
    padding-bottom: 25px;
  }
  .top-block {
    margin-bottom: 25px;
  }
  .bottom-block {
    padding-block: 25px;
  }
  header .container {
    padding: 0 1rem;
  }
  .header__nav {
    display: none;
  }
  .header__logo {
    max-width: 100px;
    margin: 0;
    order: 1;
  }
  .burger {
    display: flex;
    order: 2;
  }

  .header__menu-mobile {
    display: none;
    flex-direction: column;
    background-color: transparent;
    padding: 1rem;
    width: 100%;
  }

  .header__menu-mobile.active {
    display: flex;
  }

  .header__menu-mobile .header__navigation {
    flex-direction: column;
    gap: 1rem;
  }
  .header__menu-mobile .menu__item a {
    color: white;
  }
  .dropdown__list {
    display: none;
    padding-left: 1rem;
  }

  .dropdown.open .dropdown__list {
    display: block;
  }

  .dropdown__name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }

  .dropdown__name::after {
    content: "▾";
    font-size: 0.8rem;
    margin-left: 0.5rem;
  }
  header {
    transition: background-color 0.3s ease;
  }

  header.scrolled,
  .second-header.scrolled,
  .second-header.menu-opened {
    background-color: #0f0f0f;
  }

  header.menu-opened {
    background-color: #525454;
  }
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 30px;
  }
  .promo::before {
    width: 300px;
    height: 300px;
  }
  .promo-btn {
    font-size: 33px;
    bottom: 10px;
  }
  .text-content,
  .overlay-card {
    width: 48%;
  }
  .overlay-card {
    height: 210px;
  }
  .card-content h3 {
    font-size: 30px;
  }
  .card-content p {
    font-size: 17px;
  }
  .top-block .container,
  .bottom-block .container {
    gap: 15px;
  }
  .flex-block,
  .flex-block.reverse {
    flex-direction: column;
  }

  .about__image {
    flex: unset;
  }
  .goals__item {
    width: 290px;
  }
  .cosmetics-bottom {
    flex-direction: row;
  }
  .cosmetics-bottom .cosmetics__part:nth-of-type(1) {
    display: none;
  }
  .cosmetics__part {
    width: 47%;
  }
  .cosmetics__part:last-of-type {
    width: fit-content;
  }
  .career-block {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    flex-direction: row;
    padding: 0 15px;
  }
  .advrtisers__img {
    width: 350px;
  }
  .advertisers__text {
    padding: 0;
  }
  .blog-card {
    width: 290px;
  }
  .blog-card__title {
    padding: 15px;
    font-size: 18px;
  }
  .blog-article picture {
    max-width: 550px;
  }
  .blog-article__subtitle {
    font-size: 23px;
    margin-top: 20px;
  }
  .blog-article__closing {
    margin-top: 20px;
  }
  .footer {
    padding-block: 25px;
  }
  header.scrolled .header__logo,
  .second-header .header__logo,
  .header__logo {
    max-width: 90px;
  }
}

@media screen and (max-width: 640px) {
  .header__menu-mobile .menu__item a {
    font-size: 16px;
  }
  header.scrolled .header__logo,
  .second-header .header__logo,
  .header__logo {
    max-width: 80px;
  }
  h1 {
    font-size: 36px;
  }
  h2 {
    font-size: 28px;
  }
  .intro p,
  .text-content p,
  p {
    font-size: 17px;
  }
  .product-link {
    margin-top: 16px;
  }
  .overlay-card,
  .text-content {
    width: 100%;
    max-width: 450px;
  }
  .goals__item h2 {
    font-size: 24px;
  }
  .cosmetics-bottom,
  .career-block {
    flex-direction: column;
  }
  .cosmetics__part {
    width: 100%;
  }
  .form .content-flex {
    gap: 0;
  }
}
@media screen and (max-width: 480px) {
  .text-content,
  .about__text,
  .blog-article {
    text-align: center;
  }
  .blog-article .about__item {
    text-align: left;
  }
  .text-content .product-link,
  .advertisers__text .product-link {
    margin-inline: auto;
  }
  h1 {
    font-size: 33px;
    margin-bottom: 16px;
  }
  .promo-btn {
    font-size: 29px;
    bottom: 14px;
  }
  .advrtisers__img {
    width: 320px;
    max-width: 100%;
  }
}

/*VERIFICATION*/

.image-wrapper {
  position: relative;
}
.blog-image-wrapper {
  width: fit-content;
  margin-inline: auto;
}

.verified-badge {
  position: absolute;
  bottom: 30px;
  right: 15px;
  background: white;
  color: #32373c;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 16px;
  border: 1px solid #32373c;
  font-family: sans-serif;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  opacity: 1;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 10;
  width: fit-content;
}
.verified-badge:hover {
  background: var(--yellow);
  color: white;
  border: 1px solid transparent;
}

.crModal {
  position: absolute;
  bottom: 70px;
  right: 15px;
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 100;
  max-width: 320px;
  width: 100%;
  display: none;
  pointer-events: auto;
  font-size: 14px;
}
.crModal::before {
  content: "";
  position: absolute;
  background: transparent;
  pointer-events: auto;
  height: 15px;
  width: 100%;
  right: 0;
  bottom: -15px;
  top: auto;
}

.verified-badge:hover + .crModal,
.crModal:hover {
  display: block;
}

.crModal a {
  color: var(--yellow);
}
.crModal a:hover {
  text-decoration: underline;
}
.crModal h4 {
  margin: 0;
}

@media screen and (max-width: 480px) {
  .crModal {
    max-width: 290px;
  }
}

.badge-left .verified-badge {
  left: 15px;
  right: auto;
}
.badge-left .crModal {
  right: auto;
  left: 15px;
}

/*POLICIES*/
.policy h2,
.policy h3 {
  font-family: "Lato";
}
.policy p {
  margin-bottom: 15px;
}
.policy h4 {
  margin-bottom: 8px;
}
.policy a {
  color: var(--blue);
  transition: all 0.3s ease;
}
.policy a:hover {
  text-decoration: underline;
}
@media screen and (min-width: 1440px) {
  .policy .container {
    max-width: 1220px;
  }
}
