:root {
  --bg: #f3efe4;
  --bg-2: #fdf8ef;
  --card: #fefdf9;
  --ink: #1b1b1c;
  --accent: #424953;
  --muted: rgba(27, 27, 28, .5);
  --shadow: 0 0 8px rgba(27, 27, 28, .3);
  --shadow-inset: inset 0 0 4px rgba(27, 27, 28, .3);
  --shadow-dark-inset: inset 0 0 8px rgba(0, 0, 0, .51);
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

img {
  max-width: 100%;
  display: block
}

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

.container {
  width: 100%;
}

.section {
  padding: 56px 0
}

.section__title {
  margin: 0 0 37px;
  font-size: 52px;
  font-weight: 500;
  color: var(--accent);
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 56px;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 28px;
  letter-spacing: .02em;
  border: 0;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--bg);
  color: var(--accent);
  box-shadow: var(--shadow);
  position: relative;
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: var(--shadow-inset);
  pointer-events: none;
}

.btn--dark {
  background: var(--accent);
  color: var(--bg);
  position: relative;
}

.btn--dark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: var(--shadow-dark-inset);
  pointer-events: none;
}

.btn--light {
  background-color: var(--card);
  color: var(--ink);
  position: relative;
  box-shadow: inset 0 4px 8.5px rgba(0, 0, 0, .36);
}

/* Hero */
.hero {
  min-height: 674px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(270deg, rgba(66, 73, 83, 0) 45.627%, #424953 100%),
    url("assets/rectangle-13.webp");
  background-size: cover;
  background-position: center;
}

.nav {
  padding: 10px;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  gap: 84px;
  background-color: #F3EFE4;
}

.nav__link {
  font-family: Cormorant, serif;
  font-size: 24px;
  font-weight: 400;
  padding: 10px;
  color: var(--ink);
  transition: color 0.3s ease;

  &:hover {
    color: #7a838f;
  }
}

.hero-wrapper {
  display: flex;
  flex-direction: row;
  align-items: end;
  justify-content: space-between;
  padding: 3vw 5vw;
  height: 100%;
  align-self: center;
  margin-top: 250px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #fff;
}

.hero__kicker {
  margin: 0;
  font-family: Cormorant, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.5vw;
  line-height: 20px;
}

.hero__title {
  margin: 0;
  font-family: Cormorant, serif;
  font-weight: 700;
  font-size: 2.5vw;
  text-transform: uppercase;
}

.hero__sub p {
  margin: 0;
  font-size: 1.3vw;
  line-height: 2.3vw;
}

.btn-hero {
  width: 70%;
  font-size: 1.15vw;
  transition: all 0.3s ease;

  &:hover {
    background-color: #424953;
    color: #F3EFE4;
  }
}

.hero__stats {
  display: flex;
  gap: 24px;
  color: #fff;
  text-align: center;
  font-weight: 700;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  transition: all 0.3s ease;
  cursor: default;

  &:hover {
    scale: 1.1;
  }
}

.stat__value {
  font-size: 2.5vw
}

.stat__label {
  font-size: 1vw;
  font-weight: 700
}

/* Intro */
.intro {
  padding-top: 52px
}

.intro__wrap {
  display: flex;
  flex-direction: column;
  gap: 52px;
  align-items: center;
}

.intro__text {
  width: 100%;
  color: #1B1B1C;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro__title {
  margin: 0 0 51px;
  font-size: 36px;
  font-weight: 600;
  line-height: 44px;
  text-align: center;
}

.intro__body {
  font-family: Cormorant, serif;
  font-size: 28px;
  font-weight: 500;
  line-height: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--accent);
}

.intro__body p {
  margin: 0 0 5px
}

.intro__em {
  margin-top: 16px;
  font-weight: 600;
  width: 70%;
}

.intro__em strong {
  font-family: Cormorant, serif;
  font-weight: 700;
}

.btn-intro {
  transition: all 0.3s ease;

  &:hover {
    color: #424953;
    background-color: #F3EFE4;
  }
}

.intro__body-text_2 {
  width: 70%;
  align-self: center;
  margin-bottom: 25px !important;
}

/* About */
.about {
  background: var(--bg-2);
  padding: 50px 90px;
}

.about__wrap {
  display: flex;
  gap: 48px;
  align-items: center;
}

.about__media {
  width: 358px;
  height: 473px;
  flex: 0 0 auto;
  overflow: hidden;
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__title {
  margin: 0 0 24px;
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
}

.about__body {
  font-family: Cormorant, serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 24px;
}

.about__body p {
  margin: 0
}

.btn-me {
  transition: all 0.3s ease;

  &:hover {
    color: #424953;
    background-color: #F3EFE4;
  }
}

/* Specs */
.specs {
  padding: 50px 90px;
}

.specs__track {
  overflow: hidden;
  padding-bottom: 8px;
  position: relative;
  margin-left: 20px;
}

.specs__track-inner {
  display: flex;
  gap: 16px;
  will-change: transform;
  padding: 30px 0;
  transform: translate3d(0, 0, 0);
}

.spec-card {
  position: relative;
  flex: 0 0 calc((100% - 32px) / 3);
  min-height: 800px;
  background: transparent;
  transition: all 0.3s ease;

  &:hover {
    scale: 1.05;
  }
}

.spec-card__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.spec-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
}

.spec-card__content {
  position: relative;
  padding: 85.5px 31.62px 24px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.spec-card__num {
  font-family: Cormorant, serif;
  font-weight: 700;
  font-size: 32px;
}

.spec-card__title {
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
}

.spec-card__text {
  font-family: Cormorant, serif;
  font-size: 24px;
  font-weight: 500;
}

.spec-card__text p {
  margin: 0 0 12px
}

.flip-y {
  transform: scaleY(-1) rotate(180deg)
}

.specs__controls {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.specs__note {
  margin: 0;
  font-size: 16px;
  font-style: italic;
  text-align: center;
  color: var(--accent);
}

.icon-btn {
  background: transparent;
  border: none;
  transition: all 0.3s easy;

  img {
    cursor: pointer;
  }

  &:active {
    scale: 0.9;
  }
}

/* Trust + Reviews */
.trust {
  position: relative;
  padding: 50px 90px;
}

.trust__wrap {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.trust__head {
  width: 659px;
}

.trust__title {
  margin: 0 0 24px;
  font-family: Cormorant, serif;
  font-size: 54px;
  line-height: 56px;
  font-weight: 700;
  color: var(--ink);
}

.trust__desc {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  color: var(--muted);
}

.reviews {
  display: flex;
  flex-direction: column;
  gap: 24px
}

.reviews__track {
  overflow: hidden;
  padding-bottom: 8px;
  border-radius: 16px 16px 16px 16px;
}

.reviews__track-inner {
  display: flex;
  gap: 48px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.review-card {
  background: var(--card);
  border-radius: 16px;
  padding: 16px;
  flex: 0 0 calc((100% - 96px) / 3);
  max-width: 33%;
}

.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--accent);
  border-radius: 40px;
  padding: 8px 16px;
}

.pill__dot {
  width: 5.465px;
  height: 5.465px;
  border-radius: 50%;
  background: var(--accent);
}

.pill__text {
  font-size: 16px;
  color: var(--accent)
}

.stars {
  width: 97.261px;
  height: auto
}

.review-card__text {
  margin: 0;
  font-family: Cormorant, serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
}

.reviews__controls {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
}

/* Closing */
.closing {
  padding: 56px 0 72px;
}

.reviews_mobile_img_left {
  display: none;
}

.reviews_mobile_img_right {
  display: none;
}

.closing__wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  align-items: center;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

.closing__media {
  position: relative;
  min-height: 384px;
  width: 40%;
}

.closing__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-end;
  width: 60%;
  margin-right: 90px;
}

.closing__text {
  margin: 0;
  font-family: Cormorant, serif;
  font-size: 32px;
  line-height: 36px;
  text-align: right;
}

/* Footer */
.footer {
  padding: 24px 30px;
}

.footer .footer__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  text-align: center;
}

.footer__copy {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  line-height: 20px;
  font-weight: 500;
  font-size: 12px;
}

.footer__pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  opacity: 1;
}
.footer__pay img {
  height: 20px;
  width: 62px;
  display: block;
}

.footer__mail {
  color: #000;
  font-size: 14px;
}

.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  font-size: 13px;
  color: rgba(27, 27, 28, .5);
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: #1b1b1c;
}

.btn-closing {
  transition: all 0.3s ease;
}

.btn-closing:hover {
  color: #FDF8EF;
  background-color: #424953;

}

.stats_mobile {
  display: none;
}

@media (max-width: 1200px) {
  .hero__kicker {
    font-size: 2.5vw;
  }

  .hero__title {
    font-size: 3.5vw;
  }

  .hero__sub p {
    font-size: 1.5vw;
  }

  .btn-hero {
    font-size: 1.5vw;
  }

  .stat__value {
    font-size: 3vw;
  }

  .stat__label {
    font-size: 1.1vw;
  }
}


@media (max-width: 1100px) {
  .spec-card {
    flex: 0 0 calc((100% - 16px) / 2);
    max-width: none;
  }

  .review-card {
    flex: 0 0 calc((100% - 48px) / 2);
    max-width: none;
  }
}

@media (max-width: 900px) {
  .intro__body-text_2 {
    width: 100%;
  }

  .intro__em {
    width: 100%;
  }

  .about__title {
    font-size: 2.5vw;
  }

  .about__body {
    font-size: 2.5vw;
  }

  .closing__text {
    font-size: 2.5vw;
  }

  .footer__copy {
    font-size: 1vw;
  }

  .footer__mail {
    font-size: 1vw;
  }

  .btn-me {
    font-size: 18px;
  }
}


@media (max-width: 790px) {

  .stats_mobile {
    display: block;
    display: flex;
    flex-direction: row;
    height: 120px;
    justify-content: space-between;
    width: 100%;
    padding: 20px 30px;
    margin-bottom: 20px;
  }

  .stat_label_mobile {
    text-align: center;
  }

  .stat_mobile_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
  }

  .item_2 {
    justify-content: start;
  }

  .hero__stats {
    display: none;
  }

  .container {
    width: 100%;
  }

  .section {
    padding: 30px 0;
  }

  .section__title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .nav {
    justify-content: space-between;
    gap: 0;
    padding: 8px 16px;
  }

  .nav__link {
    font-size: 16px;
    padding-inline: 10px;
  }

  .hero {
    min-height: auto;
  }

  .hero-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 0 16px 16px;
    padding-top: 40vw;
    margin-top: 0;
    padding-bottom: 10vw;
    background:
      linear-gradient(270deg, rgba(66, 73, 83, 0) 45.627%, #424953 100%),
      url("assets/rectangle-14.webp");
    background-size: cover;
    background-position: bottom;
  }

  .hero__content {
    gap: 10px;
  }

  .hero__kicker {
    font-size: 19px;
    line-height: 20px;
  }

  .hero__title {
    font-size: 30px;
    line-height: 26px;
  }

  .hero__sub p {
    font-size: 11px;
    line-height: 12px;
  }

  .btn-hero {
    width: 243px;
    max-width: 100%;
    font-size: 14px;
    padding-block: 10px;
  }

  .hero__stats {
    width: 100%;
    padding: 24px 16px 8px;
    justify-content: center;
    gap: 14px;
    overflow-x: auto;
  }

  .hero__stats::-webkit-scrollbar {
    height: 6px;
  }

  .stat {
    min-width: 110px;
  }

  .stat__value {
    font-size: 24px;
    font-weight: bold;
  }

  .stat__label {
    font-size: 10px;
  }

  .intro__wrap {
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }

  .intro__title {
    font-size: 20px;
    line-height: 24px;
    text-align: left;
    margin: 20px 20px;
  }

  .intro__body {
    font-size: 19px;
    line-height: 20px;
    text-align: left;
    align-items: flex-start;
    padding: 0 20px;
    width: 100%;
    font-weight: bold;
  }

  .intro__body-text_2,
  .intro__em {
    width: 100%;
  }

  .btn-intro {
    font-size: 11px;
    padding: 12px 16px;
    width: 50%;
    align-self: end;
    margin-right: 20px;
  }

  .about {
    padding: 30px 30px;
  }

  .about__wrap {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .about__media {
    width: 100%;
    height: 100%;

    img {
      height: 100%;
      object-fit: unset;
      border-radius: 20px;
    }
  }

  .about__title {
    font-size: 18px;
  }

  .about__body {
    font-size: 17px;
    line-height: 18px;
    font-weight: bold;
  }

  .btn-me {
    font-size: 11px;
    padding: 12px 16px;
  }

  .specs {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .specs__track-inner {
    gap: 8px;
    width: max-content;
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }

  .spec-card {
    flex: 0 0 217px;
    max-width: 217px;
    min-height: 332px;
    scroll-snap-align: start;
  }

  .spec-card__content {
    padding: 42px 16px 16px;
    gap: 8px;
  }

  .spec-card__num {
    font-size: 16px;
  }

  .spec-card__title {
    font-size: 12px;
  }

  .spec-card__text {
    font-size: 14px;
  }

  .specs__controls {
    flex-direction: row;
    align-items: center;
    padding: 0 30px;
  }

  .specs__track {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
  }

  .prev-button {
    display: none;
  }

  .next-button {
    display: none;
  }

  .specs__note {
    font-size: 12px;
    width: 100%;
    text-align: center;
  }

  .trust {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 30px;
    margin-bottom: 50px;
  }

  .trust__wrap {
    gap: 16px;
  }

  .trust__head {
    width: 100%;
  }

  .trust__title {
    font-size: 25px;
    line-height: 24px;
  }

  .trust__desc {
    font-size: 14px;
    line-height: 20px;
  }

  .reviews__track-inner {
    gap: 12px;
    width: max-content;
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }

  .review-card {
    flex: 0 0 240px;
    max-width: 240px;
    scroll-snap-align: start;
  }

  .reviews__track {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
  }

  .reviews__controls {
    display: none;
  }

  .pill__text {
    font-size: 10px;
  }

  .review-card__text {
    font-size: 14px;
  }

  .closing {
    padding: 40px 0;
  }

  .closing__wrap {
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }

  .closing__content {
    width: 100%;
    margin-right: 0;
    align-items: center;
    text-align: center;
  }

  .closing__text {
    font-size: 16px;
    line-height: 18px;
    text-align: center;
    font-weight: bold;
    padding: 0 30px;
  }

  .closing__text_1 {
    width: 68%;
  }

  .closing__media {
    order: 2;
    width: 100%;
    min-height: 260px;
  }

  .footer {
    padding: 20px 0;
  }

  .footer .footer__wrap {
    flex-direction: column;
    gap: 8px;
    white-space: normal;
    width: 100%;
  }

  .footer__copy,
  .footer__mail {
    font-size: 10px;
    line-height: 18px;
  }

  .footer__links {
    gap: 14px;
  }

  .footer__links a {
    font-size: 10px;
  }

  .btn-closing {
    font-size: 12px;
    padding: 5px 20px;
  }

  .closing__media {
    display: none;
  }

  .reviews_mobile_img_left {
    display: block;
    position: absolute;
    height: 30vw;
    bottom: -8vw;
    z-index: -1;
    left: -10vw;
  }

  .reviews_mobile_img_right {
    display: block;
    position: absolute;
    height: 30vw;
    right: 0vw;
    bottom: -12vw;
    z-index: 10;
  }

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

  .btn-me {
    align-self: end;
    width: 50%;
  }

  .order-1 {
    order: 1;
  }

  .order-2 {
    order: 2;
  }

  .order-3 {
    order: 3;
  }
}