/* =========================================================
   Sukanya Oosterse Massage Techniek
   Homepage
========================================================= */

/* ======================================================
   Hero
====================================================== */

.home-hero {
  position: relative;
  width: 100%;
  height: min(68vw, 700px);
  min-height: 440px;
  overflow: hidden;
  background-color: var(--color-cream);
}

.home-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ======================================================
   Introduction
====================================================== */

.home-intro {
  display: flex;
  min-height: 500px;
  align-items: center;
  justify-content: center;
  padding-block: 100px;
  background-color: var(--color-white);
}

.home-intro__title {
  display: flex;
  flex-direction: column;
  color: var(--color-green);
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
}

.home-intro__text {
  max-width: 430px;
  margin: 30px auto 0;
  color: var(--color-text);
  font-size: 0.78rem;
  line-height: 1.9;
  text-align: center;
}

/* ======================================================
   Towels image
====================================================== */

.home-towels {
  height: min(38vw, 470px);
  min-height: 300px;
}

.home-towels img {
  object-position: center 55%;
}

/* ======================================================
   About preview
====================================================== */

.home-about {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background-color: var(--color-white);
}

.home-about__inner {
  position: relative;
  display: flex;
  min-height: 520px;
  align-items: center;
  justify-content: center;
  padding-block: 90px;
}

.home-about__content {
  position: relative;
  z-index: 2;
  width: min(100%, 680px);
  margin-inline: auto;
}

.home-about__title {
  margin-top: 28px;
  color: var(--color-green);
  font-family: var(--font-body);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-about__text {
  max-width: 640px;
  margin: 0 auto 36px;
  color: var(--color-text);
  font-size: 0.78rem;
  line-height: 1.9;
  text-align: center;
}

.home-about__decoration {
  position: absolute;
  right: -10px;
  bottom: 38px;
  width: 350px;
  height: auto;
  object-fit: contain;
}

/* ======================================================
   Treatments preview
====================================================== */

.home-treatments {
  padding-block: 86px 76px;
}

.home-treatments__grid {
  margin-top: 62px;
}

/* ======================================================
   Values
====================================================== */

.home-values {
  padding-block: 88px;
  background-color: var(--color-white);
}

.value-card__icon img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

/* ======================================================
   Interior image
====================================================== */

.home-interior {
  height: min(57vw, 750px);
  min-height: 420px;
}

.home-interior img {
  object-position: center center;
}

/* ======================================================
   Tablet
====================================================== */

@media (max-width: 1023px) {
  .home-hero {
    height: 62vw;
    min-height: 420px;
  }

  .home-about__decoration {
    right: -45px;
    width: 210px;
  }
}

@media (max-width: 1024px) {
  .home-values {
    padding-block: 72px;
  }

  .value-card__icon img {
    width: 28px;
    height: 28px;
  }
}

/* ======================================================
   Mobile
====================================================== */

@media (max-width: 767px) {
  .home-hero {
    height: 68vw;
    min-height: 330px;
  }

  .home-hero__image {
    object-position: 58% center;
  }

  .home-hero__curve {
    width: 50%;
    height: 90px;
  }

  .home-intro {
    min-height: 430px;
    padding-block: 76px;
  }

  .home-intro__title {
    font-size: 1.18rem;
  }

  .home-intro__text {
    font-size: 0.72rem;
  }

  .home-towels {
    height: 58vw;
    min-height: 250px;
  }

  .home-about,
  .home-about__inner {
    min-height: 480px;
  }

  .home-about__inner {
    align-items: flex-start;
    padding: 80px 20px 170px;
  }

  .home-about__title {
    font-size: 1.4rem;
  }

  .home-about__text {
    font-size: 0.72rem;
  }

  .home-about__decoration {
    right: -25px;
    bottom: 20px;
    width: 185px;
    opacity: 0.95;
  }

  .home-treatments {
    padding-block: 72px 66px;
  }

  .home-treatments__grid {
    margin-top: 46px;
  }

  .home-values {
    padding-block: 72px;
  }

  .home-interior {
    height: 72vw;
    min-height: 330px;
  }
}

@media (max-width: 768px) {
  .home-values {
    padding-block: 56px;
  }

  .value-card__icon img {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 480px) {
  .home-values {
    padding-block: 44px;
  }

  .value-card__icon img {
    width: 24px;
    height: 24px;
  }
}