html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}
button {
  cursor: pointer;
}

body {
  position: relative;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  font-style: normal;
  color: rgb(73, 70, 69);
  letter-spacing: 1px;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
}

.btn {
  padding: 18px 30px;
  background-color: rgb(125, 114, 104);
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  transition: all .3s ease-in;
}
.btn:hover, .btn:active {
    opacity: .8;
}

.title {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  font-style: normal;
  letter-spacing: 0.6px;
}

.header {
  padding: 30px 0;
}
.header__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 30px;
}
.header__text-content {
}
.header__title {
  font-family: "Montserrat", sans-serif;
  color: #000;
  font-size: 26px;
  font-weight: 700;
  line-height: normal;
  font-style: normal;
  text-transform: uppercase;
}

.header__subtitle {
  font-size: 12px;
}
.header__social {
  position: fixed;
  right: 6px;
  top: 30px;
  background-color: rgb(125, 114, 104);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  z-index: 100;
  transition: all .3s ease-in;
}
.header__social:active, .header__social:hover {
    background-color: rgb(191, 188, 184);
}
.header__social-link {
}

.header__social-icon {
  width: 40px;
  height: 40px;
}

.about {
  padding: 50px 0;
  background-color: rgb(235, 231, 226);
  margin-bottom: 50px;
}

.about__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.about__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.about__title {
  margin-bottom: 16px;
}

.about__text {
  margin-bottom: 30px;
}
.about__image {
  margin-top: 20px;
}
.about__img {
  object-fit: cover;
  width: 100%;
  border-radius: 8px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.welcome {
  margin-bottom: 50px;
}
.welcome__title {
  text-align: center;
  margin-bottom: 16px;
}

.welcome__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
}
.welcome__image {
}
.welcome__img {
  object-fit: cover;
  width: 100%;
  border-radius: 8px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.welcome__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}
.welcome__subtitle {
  text-transform: uppercase;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.6px;
}
.welcome__text {
}
.welcome__button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.services {
  padding: 50px 0;
  background-color: rgb(235, 231, 226);
  margin-bottom: 50px;
}

.services__title {
  margin-bottom: 30px;
  text-align: center;
}
.services__content {
  display: flex;
  flex-direction: column;
}
.services__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}
.services__item {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  padding: 20px 25px;
}
.services__item-title {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 400;
  line-height: normal;
}
.services__item-descr {
  font-size: 14px;
}
.services__action {
  display: flex;
  flex-direction: column;
  gap: 35px;
}
.services__button {
  display: flex;
  align-items: center;
  justify-content: center;
}
.services__image {
  margin: 0 auto;
}
.services__img {
  object-fit: cover;
  width: 100%;
  border-radius: 8px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.haircare {
  padding: 30px 0;
  margin-bottom: 50px;
}
.haircare__title {
  margin-bottom: 30px;
  text-align: center;
}
.haircare__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.haircare__text {
  text-align: justify;
}
.haircare__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  align-items: stretch;
  justify-content: center;
  gap: 15px;
}
.haircare__list-item {
  height: 100px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.haircare__list-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.price {
  padding: 50px 0;
  margin-bottom: 50px;
  background-color: rgb(235, 231, 226);
}
.price__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price__title {
  margin-bottom: 30px;
}
.price__content {
  display: flex;
  flex-direction: column;
}
.price__card {
  position: relative;
  border-radius: 8px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  padding: 20px 25px;
  margin-bottom: 35px;
}
.price__card--first {
  background-color: rgb(245, 242, 238);
}
.price__card--def {
  background-image: url(../assets/img/price-bg2.jpg);
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  color: #fff;
}
.price__card--def::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.221);
  z-index: 1;
  border-radius: 8px;
}

.price__card-title {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}
.price__card-img {
  object-fit: cover;
  width: 100%;
  border-radius: 4px;
}
.price__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}
.price__row {
  padding: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}
.price__length {
  font-weight: 400;
}
.price__value {
  font-weight: 500;
  color: #7a5f45;
  background-color: rgba(245, 238, 230, 0.8);
  padding: 4px 12px;
  border-radius: 6px;
}

.price__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 40px;
  line-height: normal;
}
.price__info-subtitle {
  font-weight: 500;
}
.price__info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price__info-list li {
  position: relative;
  padding-left: 20px;
}
.price__info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgb(125, 114, 104);
}

.contacts {
  padding: 0 0 50px 0;
}
.contacts__inner {
}
.contacts__title {
  text-align: center;
  margin-bottom: 30px;
}
.contacts__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contacts__item {
  display: flex;
  align-items: center;
  gap: 15px;
}
.contacts__link {
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all .3s ease-in;
}
.contacts__link:hover, .contacts__link:active {
    color: #7a5f45;
    text-decoration: underline;
}
.contacts__icon {
  width: 30px;
  height: 30px;
}
.contacts__text {
}

.contacts__map {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.contacts__map iframe {
  width: 100%;
  height: 100%;
}
@media screen and (min-width: 500px) {
  .services__img {
    width: 380px;
  }
}
@media screen and (min-width: 768px) {
  .container {
    max-width: 720px;
    padding: 0 10px;
    margin: 0 auto;
  }
  .header__social {
    right: 50px;
  }
  .about {
    padding: 40px 0;
  }
  .about__inner {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .about__content {
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex: 1;
  }
  .about__img {
    width: 300px;
  }
  .about__title {
    margin-bottom: 20px;
  }
  .welcome__title {
    margin-bottom: 25px;
  }
  .welcome__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 40px;
    margin-bottom: 30px;
  }
  .welcome__img {
    width: 300px;
    height: 100%;
  }

  .services__content {
    align-items: center;
    gap: 20px;
  }
  .services__items {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .services__item-title {
    font-size: 20px;
  }
  .services__item-descr {
    font-size: 16px;
  }
  .services__button {
    order: 2;
  }
  .haircare__title {
    margin: 0 auto 30px auto;
    max-width: 400px;
  }
  .price__content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
  }
  .price__card {
    margin-bottom: 0;
    width: 350px;
  }
  .price__card-img {
    width: 300px;
  }
  .contacts__map {
    aspect-ratio: 16 / 9;
  }
}

@media screen and (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  .about__inner {
    gap: 40px;
  }
  .title {
    font-size: 36px;
    margin-bottom: 25px;
  }
  .text {
    font-size: 22px;
  }
  .about__img {
    width: 100%;
    max-width: 500px;
  }
  .welcome__inner {
    align-items: center;
    justify-content: center;
    gap: 50px;
  }
  .welcome__content {
    align-items: flex-start;
    max-width: 640px;
  }
  .welcome__img {
    max-width: 320px;
  }
  .services__content {
    flex-direction: row;
    align-items: stretch;
  }
  .services__items {
    margin-bottom: 0;
  }
  .haircare__title {
    max-width: 500px;
  }
  .haircare .container {
    max-width: 992px;
  }
  .haircare__list {
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    align-items: center;
    column-gap: 10px;
    row-gap: 20px;
  }
  .haircare__list-img {
    width: 100px;
    height: 100px;
  }
  .price__card-title {
    font-size: 20px;
  }
  .price__row {
    font-size: 18px;
  }
  .price__info-subtitle {
    font-size: 20px;
  }
  .contacts__list {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
  }
   .contacts__map {
    aspect-ratio: 21 / 9;
  }
}

@media screen and (min-width: 1920px) {
  .container {
    max-width: 1240px;
  }
  .services__items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .services__item {
    align-items: flex-start;
    width: calc((100% / 2) - 15px);
  }
  .price__content {
    align-items: stretch;

    gap: 40px;
  }
  .price__card {
      width: 400px;
      height: 680px;
    }
    .price__card--def {
        display: flex;
        flex-direction: column;
    }
    .price__list {
      flex-grow: 1;
      align-content: center;
      justify-content: center;
    }
  .price__card-img {
    width: 350px;
  }
}
