/* START HERO SECTION*/
.section-hero {
  background: radial-gradient(circle at center, var(--color-blue-200) 26%, var(--color-blue-500) 100%);
  position: relative;
}

.section-hero .central-container {
  min-height: 800px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
}

.section-hero .hero-image {
  position: absolute;
  bottom: 0;
  max-width: 1440px;
  width: 1440px;
  left: 50%;
  transform: translateX(-50%);
}

.section-hero .content {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
}

.visual {
  width: 100%;
  aspect-ratio: 1/0.7;
}

.section-hero .list-wrap {
  border-radius: 2.2rem;
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: color-mix(in srgb, var(--color-black) 10%, transparent);
  backdrop-filter: blur(10px);
  width: fit-content;
  position: absolute;
  bottom: 39%;
  left: 10%;
}

.section-hero .list-wrap p:first-child {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}

.section-hero .list-items {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.section-hero .list-items .item {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.section-hero .list-items .item img {
  width: 15px;
  height: 15px;
}

.section-hero .list-items .item p {
  font-size: 1.13rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 140%;
}

.section-hero .list-items .item:nth-child(4) {
  opacity: 0.06;
}

.section-hero .list-items .item:nth-child(3) {
  opacity: 0.3;
}

.section-hero .list-items .item:nth-child(2) {
  opacity: 0.6;
}

.section-hero .rating {
  background-color: color-mix(in srgb, var(--color-black) 10%, transparent);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-secondary);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: fit-content;
  position: absolute;
  bottom: 30%;
  right: 8%;
}

.section-hero .rating > img {
  width: 100%;
  max-width: 84px;
}

.section-hero .rating p:first-child {
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 130%;
}

.section-hero .rating p:last-child {
  font-size: 1rem;
  font-weight: 600;
  line-height: 150%;
  opacity: 0.6;
}

@media all and (max-width: 1250px) {
  .section-hero .list-wrap {
    left: 7%;
  }

  .section-hero .rating {
    right: 5%;
  }
}

@media all and (max-width: 1200px) {
  .section-hero .central-container {
    min-height: 750px;
  }
  .section-hero .hero-image {
    width: 1350px;
  }

  .section-hero .list-wrap {
    left: 4%;
  }

  .section-hero .rating {
    right: 3%;
  }
}

@media all and (max-width: 1023px) {
  .section-hero .central-container {
    min-height: 700px;
    padding-bottom: 32px;
  }
  .section-hero .hero-image {
    width: 1250px;
  }

  .section-hero .list-wrap {
    left: 4%;
    bottom: 30%;
  }

  .section-hero .rating {
    right: 3%;
    bottom: 28%;
  }
}

@media all and (max-width: 950px) {
  .section-hero .content {
    max-width: 440px;
  }

  .section-hero .list-wrap {
    bottom: 12%;
  }
}

@media all and (max-width: 810px) {
  .section-hero .central-container {
    min-height: 0;
  }

  .section-hero .content {
    max-width: none;
  }

  .section-hero .hero-image {
    left: 48%;
  }

  .section-hero .hero-image {
    width: 128%;
  }

  .section-hero .list-wrap {
    border-radius: 1.2rem;
    padding: 1.2rem;
    gap: 0.8rem;
    left: 7%;
    bottom: 2%;
  }

  .section-hero .list-wrap p:first-child {
    font-size: 0.8rem;
  }

  .section-hero .list-items {
    gap: 0.5rem;
  }

  .section-hero .list-items .item {
    gap: 0.6rem;
  }

  .section-hero .list-items .item img {
    width: 12px;
    height: 12px;
  }

  .section-hero .list-items .item p {
    font-size: 0.9rem;
    line-height: 100%;
  }

  .section-hero .rating {
    border-radius: 1.2rem;
    padding: 1.2rem;
    gap: 0.4rem;
    right: 3%;
    bottom: 35%;
  }

  .section-hero .rating > img {
    max-width: 50px;
  }

  .section-hero .rating p:first-child {
    font-size: 2rem;
  }

  .section-hero .rating p:last-child {
    font-size: 0.8rem;
  }

  .section-hero .button {
    width: 100%;
  }
}

/* END HERO SECTION*/

/* START TREATMENT OPTIONS SECTION */
.section-why-life-md > .central-container {
  padding: 8.2rem 0.8rem;
}

.section-why-life-md .central-container .headline {
  padding: 0 1.2rem;
}

.section-why-life-md .central-container .cards {
  display: flex;
  gap: 0.8rem;
}

.section-why-life-md .central-container .cards .why-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4.8rem;
  padding: 4.6rem;
  border-radius: var(--radius-primary);
  background-color: var(--color-gray-50);
}

.section-why-life-md .central-container .cards .why-card .image-wrapper {
  max-width: 400px;
  position: relative;
}

.section-why-life-md .central-container .cards .why-card .image-wrapper > img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.section-why-life-md .central-container .cards .why-card .image-wrapper .tag {
  display: flex;
  align-items: center;
  padding: 0.8rem 1.4rem;
  gap: 0.8rem;
  background-color: var(--color-soft-blue);
  border-radius: 99rem;
  width: fit-content;
  position: absolute;
}

.section-why-life-md .central-container .cards .why-card .image-wrapper .tag img {
  width: 24px;
  height: 24px;
}

.section-why-life-md .central-container .cards .why-card .image-wrapper .tag p {
  font: var(--font-caption);
  color: var(--color-white);
  text-transform: uppercase;
}

.section-why-life-md .central-container .cards .why-card .bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  max-width: 408px;
  min-height: 80px;
}

.section-why-life-md .central-container .cards .why-card:nth-child(1) .image-wrapper .tag {
  top: 71%;
  left: 57%;
}

.section-why-life-md .central-container .cards .why-card:nth-child(2) .image-wrapper .tag {
  top: 59%;
  left: 25%;
}

@media all and (max-width: 810px) {
  .section-why-life-md > .central-container {
    padding: 4.6rem 0.8rem;
  }

  .section-why-life-md .central-container .cards {
    flex-direction: column;
  }

  .section-why-life-md .central-container .cards .why-card {
    padding: 3.2rem 2rem;
    gap: 1.2rem;
  }

  .section-why-life-md .central-container .cards .why-card .bottom {
    min-height: 0;
  }
}
/* END TREATMENT OPTIONS SECTION */

/* START WHAT WE DO SECTION */
.section-what-we-do .whatwe-layout {
  position: relative;
  display: grid;
}

.section-what-we-do .whatwe-sticky {
  position: sticky;
  top: 10rem;
  align-self: start;
  z-index: 2;
  height: 700px;
  margin-bottom: 104px;
}

.section-what-we-do .service-cards {
  position: relative;
  min-height: 400px;
  height: 100%;
  margin-bottom: 104px;
}

.section-what-we-do .button-wrapper {
  position: absolute;
  bottom: -104px;
  left: 50%;
  transform: translateX(-50%);
}

.section-what-we-do .service-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 6.4rem;
  border-radius: 99rem;
  overflow: hidden;
  height: 100%;
  max-height: 800px;
}

.section-what-we-do .service-card > img {
  transition: transform 0.4s ease;
}

.section-what-we-do .service-card.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.section-what-we-do .service-card.is-active > img {
  transform: scale(1.02);
}

.section-what-we-do .service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-what-we-do .service-card .text {
  position: relative;
  z-index: 2;
  max-width: 470px;
  text-align: center;
  color: var(--color-white);
}

.section-what-we-do .whatwe-steps {
  height: calc(4 * 100vh);
}

.section-what-we-do .whatwe-step {
  height: 100vh;
}

.section-what-we-do,
.section-what-we-do .central-container {
  overflow: visible;
}

@media all and (max-width: 1600px) {
  .section-what-we-do .whatwe-sticky {
    height: 600px;
  }
}

@media all and (max-width: 810px) {
  .section-what-we-do .service-cards {
    margin-bottom: 90px;
  }

  .section-what-we-do .button-wrapper {
    position: relative;
    bottom: auto;
    margin-top: 2rem;
  }

  .section-what-we-do .whatwe-sticky {
    position: static;
    top: auto;
    height: auto;
  }

  .section-what-we-do .service-cards {
    min-height: auto;
    gap: 1.2rem;
    margin: 0;
  }

  .section-what-we-do .service-card {
    padding: 2.4rem;
    position: relative;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    margin-bottom: 2.4rem;
    gap: 1.2rem;
    min-height: 300px;
    border-radius: var(--radius-primary);
    align-items: flex-end;
  }
  .section-what-we-do .service-card .text h4 {
    margin-bottom: 4px;
  }

  .section-what-we-do .whatwe-steps {
    display: none;
  }
}
/* END WHAT WE DO SECTION */

/* START OUR VALUES SECTION */
.section-our-values .central-container .values-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.section-our-values .central-container .value-card {
  display: flex;
  gap: 2.4rem;
  padding: 4.6rem;
  border-radius: var(--radius-primary);
  background-color: var(--color-gray-50);
  align-items: center;
}

.section-our-values .central-container .value-card.type-2 {
  grid-column: 1 / -1;
  align-items: center;
}

.section-our-values .central-container .value-card .content {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  justify-content: space-between;
  flex: 1;
}

.section-our-values .central-container .value-card.type-2 .content {
  justify-content: center;
}

.section-our-values .central-container .value-card .image-wrapper {
  width: 100%;
  flex: 1;
}

.section-our-values .central-container .value-card .image-wrapper > img {
  width: 100%;
}
@media all and (max-width: 1200px) {
  .section-our-values .central-container .value-card {
    padding: 3.2rem;
  }
}

@media all and (max-width: 810px) {
  .section-our-values .central-container .values-cards {
    grid-template-columns: repeat(1, 1fr);
  }

  .section-our-values .central-container .value-card {
    padding: 2.4rem;
    gap: 1.2rem;
  }

  .section-our-values .central-container .value-card.type-2 {
    flex-direction: column;
    gap: 2rem;
  }

  .section-our-values .central-container .value-card .content {
    gap: 1.2rem;
  }
}
/* END OUR VALUES SECTION */

/* START PRIVACY SECTION */
.section-privacy .central-container .privacy-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.section-privacy .central-container .privacy-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2.4rem;
}

.section-privacy .central-container .privacy-card .image-wrapper {
  width: 84px;
  height: 84px;
  background-color: var(--color-gray-200);
  border-radius: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-privacy .central-container .privacy-card .content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.section-privacy .line {
  width: 100%;
  height: 1px;
  background-color: var(--color-gray-200);
}

@media all and (max-width: 810px) {
  .section-privacy .central-container .privacy-cards {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
  }

  .section-privacy .central-container .privacy-card {
    gap: 1.2rem;
    flex-direction: row;
  }

  .section-privacy .central-container .privacy-card .content {
    gap: 1rem;
    flex: 1;
  }
}

/* END PRIVACY SECTION */
