:root {
  --navy: #2b307e;
  --navy-dark: #171b64;
  --violet: #a429cc;
  --violet-deep: #7d1ad0;
  --ink: #171825;
  --muted: #9799a4;
  --mist: #f5f7fc;
  --line: #d9dce8;
  --container: 1400px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #fff;
  font-family: "Century Gothic", "Montserrat", "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p,
ul {
  padding: 0;
  margin: 0;
}

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

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

button,
input,
textarea {
  border: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.design-container {
  position: relative;
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.design-narrow {
  --container: 1400px;
}

.design-section {
  position: relative;
  padding: 92px 0;
  overflow: hidden;
}

.design-section--mist {
  background:
    linear-gradient(rgba(255, 255, 255, 0.77), rgba(255, 255, 255, 0.77)),
    url("/images/figma/12e5867a6b3ad37c.png") center 18% / cover no-repeat;
}

.design-heading {
  color: var(--navy);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(2rem, 3.3vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

/* Header */

.site-header {
  position: relative;
  z-index: 50;
  color: #23274f;
  background: #f5f7fc;
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  width: min(calc(100% - 48px), var(--container));
  min-height: 108px;
  margin-inline: auto;
  align-items: center;
}

.site-header__mobile-brand {
  display: none;
  color: var(--navy);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.site-header__panel {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0;
}

.site-header__nav {
  flex: 0 0 auto;
  margin-right: 76px;
}

.site-header__nav-list {
  display: flex;
  align-items: stretch;
  gap: 40px;
  list-style: none;
}

.site-header__nav-link {
  position: relative;
  display: flex;
  min-height: 108px;
  align-items: center;
  color: #30334f;
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
}

.site-header__nav-list li:nth-child(1) .site-header__nav-link { width: 68px; }
.site-header__nav-list li:nth-child(2) .site-header__nav-link { width: 99px; }
.site-header__nav-list li:nth-child(3) .site-header__nav-link { width: 45px; }
.site-header__nav-list li:nth-child(4) .site-header__nav-link { width: 132px; }
.site-header__nav-list li:nth-child(5) .site-header__nav-link { width: 60px; }
.site-header__nav-list li:nth-child(6) .site-header__nav-link { width: 81px; }
.site-header__nav-list li:nth-child(7) .site-header__nav-link { width: 63px; }

.site-header__nav-link::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  content: "";
  background: transparent;
}

.site-header__nav-link[aria-current="page"] {
  color: var(--navy);
  font-weight: 700;
}

.site-header__nav-link[aria-current="page"]::after {
  background: var(--navy);
}

.site-header__language {
  display: flex;
  margin-right: 64px;
  gap: 7px;
  transform: translateY(2px);
}

.site-header__language button {
  min-width: 43px;
  height: 23px;
  padding: 0 8px;
  color: #111;
  background: transparent;
  border: 1px solid #24264d;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.76rem;
  line-height: 1;
}

.site-header__language button.is-active {
  color: #fff;
  background: var(--navy);
  font-weight: 700;
}

.site-header__contacts {
  display: flex;
  width: 196px;
  margin-right: 41px;
  color: var(--navy);
  flex-direction: column;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}

.site-header__contacts a {
  color: inherit;
}

.site-header__order {
  display: inline-flex;
  width: 143px;
  flex: 0 0 143px;
  min-height: 61px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(18, 25, 105, 0.86), rgba(19, 23, 98, 0.86)),
    url("/images/figma/hero-product-link-texture.png") center / cover;
  border-radius: 30px;
  font-size: 0.83rem;
  font-weight: 700;
  text-transform: uppercase;
  transform: translateY(0.5px);
}

.site-header__menu-toggle {
  display: none;
}

/* Buttons */

.texture-button {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(18, 25, 105, 0.86), rgba(19, 23, 98, 0.86)),
    url("/images/figma/hero-product-link-texture.png") center / cover;
  border-radius: 999px;
  box-shadow: 0 13px 30px rgba(28, 31, 112, 0.14);
}

.texture-button--violet {
  background:
    linear-gradient(105deg, rgba(89, 26, 204, 0.74), rgba(191, 25, 211, 0.8)),
    url("/images/figma/hero-product-link-texture.png") center / cover;
}

.arrow-cta {
  display: inline-flex;
  width: 226px;
  height: 78px;
  padding: 0 22px 0 42px;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.arrow-cta b {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--navy);
  background: #e8ebf5;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 400;
}

/* Hero */

.design-hero {
  position: relative;
  min-height: 740px;
  overflow: hidden;
  background: #f6f7fb;
}

.design-hero__art {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 50%;
  width: 1920px;
  height: 856px;
  max-width: none;
  pointer-events: none;
  transform: translateX(-50%);
}

.home-hero-product-link {
  position: absolute;
  z-index: 8;
  display: flex;
  width: 226px;
  height: 89px;
  padding: 0 22px 0 25px;
  align-items: center;
  color: var(--violet);
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    url("/images/figma/hero-product-link-texture.png") center / cover;
  border-radius: 50px;
  box-shadow: 0 24px 48px rgba(42, 48, 94, 0.1);
  font-size: 16px;
  font-weight: 800;
  gap: 22px;
}

.home-hero-product-link b {
  display: grid;
  width: 51px;
  height: 51px;
  flex: 0 0 51px;
  place-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(50, 54, 95, 0.08);
  font-size: 26px;
  font-weight: 400;
}

.hero-dot-field {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 1920px;
  height: 747px;
  overflow: hidden;
  pointer-events: none;
}

.design-hero__inner {
  display: grid;
  min-height: 740px;
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: 38px;
}

.design-hero__copy {
  position: relative;
  z-index: 5;
  padding: 78px 0 58px;
  transform: translateY(-2px);
}

.design-hero h1 {
  display: flex;
  color: var(--navy);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(5rem, 7.5vw, 8.3rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.82;
  text-transform: uppercase;
  flex-direction: column;
}

.design-hero:not(.design-hero--product) h1 {
  margin-bottom: -23px;
  font-size: 100px;
  line-height: 0.9;
  transform: scaleX(0.95);
  transform-origin: left top;
}

.design-hero p {
  max-width: 455px;
  margin-top: 60px;
  font-size: 1rem;
  line-height: 1.75;
}

.design-hero .arrow-cta {
  margin-top: 53px;
}

.design-hero--product h1 {
  font-size: clamp(4.8rem, 7.8vw, 8rem);
  line-height: 0.82;
  transform: translateY(-18px);
}

.design-hero--product p {
  max-width: 860px;
  margin-top: 32px;
}

.design-hero--product .arrow-cta {
  margin-top: 64px;
}

.design-hero--product .design-hero__copy {
  grid-column: 1 / -1;
  transform: translateY(-13px);
}

.design-hero--product .product-composition {
  position: absolute;
  right: -160px;
  bottom: -60px;
  width: 620px;
}

.design-hero--product .product-composition__dots {
  display: none;
}

.decor-leaf {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.decor-leaf--a {
  top: 55px;
  left: 7.4%;
  width: 44px;
  transform: rotate(32deg);
}

.decor-leaf--b {
  top: 75px;
  right: auto;
  left: 55.7%;
  width: 88px;
  transform: rotate(100deg);
}

.decor-leaf--c {
  bottom: -95px;
  left: -55px;
  width: 180px;
}

.decor-leaf--d {
  right: 13%;
  bottom: -36px;
  width: 210px;
  transform: rotate(-22deg);
}

.decor-leaf--e,
.decor-leaf--f {
  display: none;
}

.product-composition {
  position: relative;
  z-index: 4;
  width: 100%;
  height: 650px;
}

.product-composition__dots {
  position: absolute;
  right: 4px;
  bottom: 104px;
  width: 720px;
  height: 570px;
  color: var(--navy);
  clip-path: polygon(46% 0, 100% 0, 100% 100%, 0 100%);
}

.product-composition__bottle {
  position: absolute;
  z-index: 3;
  right: 262px;
  bottom: 30px;
  width: 355px;
  max-width: none;
  filter: drop-shadow(0 26px 28px rgba(30, 31, 82, 0.13));
  transform: rotate(14deg);
}

.product-composition__bottle--foreground,
.product-composition__capsule--three,
.product-composition__link {
  display: none;
}

.product-composition__capsule {
  position: absolute;
  z-index: 4;
  width: 130px;
  filter: drop-shadow(0 20px 20px rgba(67, 37, 134, 0.12));
}

.product-composition__capsule--one {
  right: 430px;
  bottom: 181px;
  transform: rotate(57deg);
}

.product-composition__capsule--two {
  right: 170px;
  bottom: 209px;
  transform: rotate(-35deg) scale(0.82);
}

.product-composition__leaf {
  position: absolute;
  z-index: 5;
  max-width: none;
}

.product-composition__leaf--one {
  right: 105px;
  bottom: 176px;
  width: 155px;
  transform: rotate(-34deg);
}

.product-composition__leaf--two {
  right: 420px;
  bottom: 46px;
  width: 225px;
  transform: rotate(12deg);
}

.design-hero:not(.design-hero--product) .product-composition__bottle {
  right: 287px;
  bottom: 39px;
  width: 390px;
}

.design-hero:not(.design-hero--product) .product-composition__capsule--one {
  right: 285px;
  bottom: 63px;
  width: 370px;
  transform: rotate(76deg);
}

.design-hero:not(.design-hero--product) .product-composition__capsule--two {
  display: none;
}

.design-hero:not(.design-hero--product) .product-composition__leaf--one {
  right: 255px;
  bottom: 297px;
}

.design-hero:not(.design-hero--product) .product-composition__leaf--two {
  right: 605px;
  bottom: 70px;
  width: 115px;
}

/* Home */

.home-about {
  padding-top: 100px;
}

.home-about__text {
  max-width: 1250px;
  margin: 29px auto 0;
  font-size: 0.96rem;
  line-height: 1.9;
  text-align: center;
}

.course-feature {
  position: relative;
  margin-top: 105px;
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(48, 55, 99, 0.05);
}

.course-feature__visual {
  position: relative;
  min-height: 475px;
  overflow: hidden;
  background: #282c73;
}

.course-feature__wave {
  position: absolute;
  right: -10%;
  bottom: -120px;
  width: 88%;
  height: 410px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.65), transparent 28%),
    #e9eef8;
  border-radius: 52% 52% 0 0;
  transform: rotate(-5deg);
}

.course-feature__title {
  position: absolute;
  z-index: 8;
  top: 25px;
  left: 32px;
  display: grid;
  color: #fff;
  gap: 2px;
}

.course-feature__title strong,
.course-feature__title span {
  font-size: 1.14rem;
}

.course-feature__title a {
  margin-top: 10px;
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.course-feature .product-composition {
  position: absolute;
  right: 395px;
  bottom: 26px;
  width: 540px;
  height: 580px;
}

.course-feature .product-composition__dots,
.course-feature .product-composition__leaf {
  display: none;
}

.course-feature .product-composition__bottle {
  right: 8px;
  bottom: -45px;
  width: 470px;
  transform: rotate(14deg);
}

.course-feature .product-composition__capsule--one {
  right: 271px;
  bottom: 0;
  width: 355px;
  transform: rotate(80deg);
}

.course-feature .product-composition__capsule--two {
  right: -10px;
  bottom: 110px;
  width: 240px;
  transform: rotate(60deg);
}

.course-feature > p {
  padding: 38px 46px 46px;
  font-size: 0.9rem;
  line-height: 1.9;
}

.certificates-section {
  padding-top: 44px;
}

.certificate-slider {
  position: relative;
  margin-top: 56px;
}

.certificate-slider__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(230px, 1fr));
  gap: 30px;
  justify-content: center;
  
  /*display: flex;*/
  /*justify-content: center;*/
  /*align-items: stretch;*/
  /*gap: 30px;*/
  /*width: 100%;*/
}

.certificate-slider > button,
.reviews-track > button {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: -23px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  transform: translateY(-50%);
}

.certificate-slider > button.slider-arrow--next,
.reviews-track > button.slider-arrow--next {
  right: -23px;
  left: auto;
}

.certificate-card {
  display: grid;
  min-height: 315px;
  place-items: center;
  color: var(--navy);
  background: #f5f7fc;
  border-radius: 18px;
  font-size: 2rem;
  font-weight: 400;
}

.certificate-card__link {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: inherit;
}

.certificate-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.home-reviews .design-heading,
.home-articles .design-heading {
  margin-bottom: 58px;
}

.reviews-track {
  position: relative;
}

.reviews-track__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(640px, 1fr));
  gap: 30px;
}

.certificate-slider:focus-visible,
.reviews-track:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 8px;
}

.carousel-motion {
  will-change: opacity, transform;
}

.carousel-motion--next {
  animation: carousel-slide-next 280ms ease-out;
}

.carousel-motion--previous {
  animation: carousel-slide-previous 280ms ease-out;
}

@keyframes carousel-slide-next {
  from {
    opacity: 0.72;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes carousel-slide-previous {
  from {
    opacity: 0.72;
    transform: translateX(-18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.design-review {
  min-height: 375px;
  padding: 42px 44px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(51, 57, 98, 0.055);
}

.design-review__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.design-review time {
  display: block;
  margin-bottom: 15px;
  color: #aaaab2;
  font-size: 0.85rem;
}

.design-review h3 {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.2;
}

.design-review__stars {
  margin-top: 7px;
  color: #ffbe00;
  font-size: 1.36rem;
  letter-spacing: 2px;
  line-height: 1;
}

.design-review__bubble {
  position: relative;
  display: grid;
  width: 76px;
  height: 64px;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, #b05bda, #8226ca);
  border-radius: 50% 50% 48% 20%;
  font-size: 1.5rem;
  letter-spacing: 2px;
}

.design-review__bubble::after {
  position: absolute;
  z-index: -1;
  right: -13px;
  bottom: -10px;
  width: 48px;
  height: 48px;
  content: "";
  background: #7928c7;
  border-radius: 50% 50% 45% 20%;
}

.design-review > p {
  margin-top: 24px;
  font-size: 0.96rem;
  line-height: 1.692;
}

.all-link {
  display: block;
  width: fit-content;
  margin: 32px auto 0;
  color: var(--navy);
  font-size: 0.84rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.all-link span {
  margin-left: 7px;
  font-size: 1.2rem;
  text-decoration: none;
}

/* Articles */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.design-article {
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(48, 54, 91, 0.055);
}

.design-article__media {
  display: grid;
  height: 240px;
  overflow: hidden;
  place-items: end center;
  background: #f6f7fb;
  border-radius: 16px;
}

.design-article__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.design-article__body {
  min-height: 155px;
  padding: 24px 30px 28px;
}

.design-article h3 {
  color: #07070e;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.design-article a {
  display: inline-flex;
  margin-top: 16px;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.82rem;
  text-decoration: none;
}

.design-article a u {
  text-underline-offset: 4px;
}

.design-article a span {
  font-size: 1.35rem;
  text-decoration: none;
}

/* Product detail */

.product-details__lead,
.product-details__bottom {
  max-width: 1050px;
  margin-inline: auto;
  font-size: 0.97rem;
  line-height: 1.9;
  text-align: center;
}

.product-details__columns {
  display: grid;
  margin-top: 72px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
}

.product-details__columns h2,
.product-specs h3 {
  margin-bottom: 15px;
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 800;
}

.product-details__columns p,
.product-specs p {
  font-size: 0.9rem;
  line-height: 1.85;
}

.product-specs {
  display: grid;
  margin-top: 66px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.product-specs article {
  padding: 34px;
  background: #f6f7fc;
  border-radius: 17px;
}

.product-specs article p + p {
  margin-top: 15px;
}

.product-details__bottom {
  margin-top: 66px;
}

/* Listing pages */

.listing-page {
  padding: 72px 0 110px;
  overflow: hidden;
}

.listing-page .design-heading {
  margin-bottom: 33px;
}

.prices-page .design-heading {
  margin-bottom: 22px;
}

.prices-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(610px, 1fr));
  gap: 32px;
}

.design-price-card {
  display: grid;
  min-height: 445px;
  padding: 48px 84px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(51, 57, 98, 0.07);
}

.design-price-card h2 {
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 700;
  text-align: center;
}

.design-price-card__content {
  display: grid;
  margin-top: 28px;
  align-items: center;
  grid-template-columns: 174px minmax(0, 1fr);
  gap: 31px;
  transform: translateY(-6px);
}

.design-price-card__photo {
  width: 174px;
  height: 174px;
  overflow: hidden;
  background: #f1f3f8;
  border-radius: 50%;
}

.design-price-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.design-price-card__content p,
.design-price-card__content span {
  color: #9698a1;
  font-size: 0.86rem;
  line-height: 1.45;
}

.design-price-card__content strong {
  display: block;
  margin: 17px 0 12px;
  color: var(--navy);
  font-size: 2rem;
  font-weight: 800;
}

.design-price-card__content strong small {
  font-size: 0.9rem;
  font-weight: 400;
}

.design-price-card__actions {
  display: grid;
  margin-top: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 35px;
  margin-inline: 16px;
  transform: translateY(12px);
}

.design-price-card__actions a {
  display: grid;
  min-height: 60px;
  place-items: center;
  font-size: 0.85rem;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.result-half {
  position: relative;
  height: 322px;
  overflow: hidden;
  background: #eceef3;
  border-radius: 7px;
}

.result-half img {
  position: absolute;
  top: 0;
  width: 200%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.result-half--left img {
  left: 0;
  object-position: left center;
}

.result-half--right img {
  right: 0;
  object-position: right center;
}

.articles-page .articles-grid {
  row-gap: 34px;
}

.design-pagination {
  display: flex;
  margin-top: 50px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: #a2a3aa;
  font-size: 0.82rem;
}

.design-pagination a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #24264d;
  border: 1px dashed #67697c;
  border-radius: 50%;
}

.design-pagination a[aria-current="page"] {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
  font-weight: 800;
}

.design-pagination span {
  width: 20px;
  color: #24264d;
  text-align: center;
}

.reviews-grid-page {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 31px;
}

/* Delivery */

.delivery-page .design-heading {
  white-space: nowrap;
  font-size: 2.35rem;
}

.delivery-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 684px minmax(480px, 1fr);
  gap: 38px;
}

.delivery-art {
  width: 684px;
  height: 590px;
  overflow: hidden;
  background: #ecc4bf;
  border-radius: 18px;
}

.delivery-art__slice {
  position: relative;
  width: 684px;
  overflow: hidden;
}

.delivery-art__slice img {
  position: absolute;
  width: 1280px;
  max-width: none;
}

.delivery-art__slice--top {
  height: 460px;
}

.delivery-art__slice--top img {
  top: -260px;
  left: -260px;
}

.delivery-art__slice--bottom {
  height: 130px;
}

.delivery-art__slice--bottom img {
  top: -220px;
  left: -260px;
}

.delivery-copy h2 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 800;
}

.delivery-copy h2:not(:first-child) {
  margin-top: 22px;
}

.delivery-copy p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.delivery-copy a {
  color: var(--violet);
  font-weight: 700;
  text-decoration: underline;
}

.delivery-copy p + p {
  margin-top: 22px;
}

.delivery-notice {
  max-width: 1060px;
  margin: 58px auto 0;
  text-align: center;
}

.delivery-notice h3 {
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 500;
}

.delivery-notice p {
  margin-top: 22px;
  font-size: 0.92rem;
}

.delivery-notice span {
  display: block;
  margin-top: 22px;
}

/* Contact */

.contact-section {
  position: relative;
  min-height: 625px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    url("/images/figma/12e5867a6b3ad37c.png") center 25% / cover no-repeat;
}

.contact-section__inner {
  position: relative;
  display: grid;
  width: min(calc(100% - 48px), var(--container));
  min-height: 625px;
  margin-inline: auto;
  align-items: center;
  grid-template-columns: minmax(0, 0.95fr) minmax(450px, 1.05fr);
}

.contact-section__content {
  position: relative;
  z-index: 7;
  padding: 70px 0 64px;
  transform: translateY(-13px);
}

.contact-section__eyebrow {
  color: #a0a2aa;
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.contact-section__title {
  margin-top: 11px;
  color: var(--violet);
  font-size: 38.5px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.contact-section__description {
  max-width: 440px;
  margin-top: 18px;
  font-size: 0.96rem;
  line-height: 1.95;
}

.contact-form {
  display: grid;
  max-width: 544px;
  margin-top: 29px;
  gap: 20px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-form__row > div {
  display: grid;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 45px;
  padding: 9px 28px;
  color: #282936;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  outline: none;
}

.contact-form textarea {
  padding-block: 12px;
  min-height: 92px;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #b4b4ba;
  font-size: 0.76rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 2px rgba(164, 41, 204, 0.22);
}

.contact-form__actions {
  display: flex;
  margin-top: 15px;
  align-items: center;
  gap: 22px;
}

.contact-form__submit {
  width: 225px;
  min-height: 60px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.contact-form__actions p {
  font-size: 0.7rem;
  line-height: 1.55;
}

.contact-form__actions a {
  text-decoration: underline;
}

.contact-form__error {
  color: #a72738;
  font-size: 0.78rem;
}

.contact-section__success {
  max-width: 520px;
  padding: 28px;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 14px;
}

.contact-section__success h3 {
  color: var(--navy);
}

.contact-section__success button {
  padding: 12px 20px;
  margin-top: 15px;
  color: #fff;
  background: var(--violet);
  border-radius: 999px;
  cursor: pointer;
}

.contact-section__media {
  position: absolute;
  z-index: 4;
  right: -99px;
  bottom: -7px;
  width: 906px;
  height: 644px;
  overflow: hidden;
}

.contact-section__media::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #f5f8fd 0%, rgba(245, 248, 253, 0.24) 24%, transparent 48%);
}

.contact-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
}

.contact-section__leaf {
  position: absolute;
  z-index: 6;
  pointer-events: none;
}

.contact-section__leaf--one {
  top: -4px;
  left: 186px;
  width: 66px;
  transform: rotate(28deg) scaleY(1.25);
}

.contact-section__leaf--two {
  top: -14px;
  right: auto;
  left: 1090px;
  width: 94px;
}

.contact-section__leaf--three {
  top: 36px;
  bottom: auto;
  left: -55px;
  width: 137px;
  height: 280px;
}

.contact-section__leaf--four {
  top: 259px;
  right: auto;
  bottom: auto;
  left: 976px;
  width: 41px;
  transform: rotate(-128deg);
}

.contact-section__leaf--five {
  top: 315px;
  left: 86.9%;
  width: 100px;
}

.contact-section__leaf--six {
  right: 0;
  bottom: -5px;
  width: 140px;
}

.contact-section__leaf--seven {
  bottom: -356px;
  left: 852px;
  width: 260px;
  transform: rotate(31deg) scaleX(1.03);
}

.contact-section__leaf--eight {
  bottom: -98px;
  left: -13px;
  width: 100px;
  transform: rotate(22deg);
}

/* Footer */

.site-footer {
  background: #fff;
}

.site-footer__inner {
  display: grid;
  width: min(calc(100% - 48px), var(--container));
  min-height: 190px;
  margin-inline: auto;
  align-items: center;
  grid-template-columns: 930px 196px 143px;
  gap: 66px;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 71px;
}

.site-footer__nav-link {
  color: #4f5165;
  font-size: 1rem;
}

.site-footer__contacts {
  display: grid;
  color: var(--navy);
  font-style: normal;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.site-footer__contacts a {
  white-space: nowrap;
}

.site-footer__order {
  display: grid;
  width: 143px;
  min-height: 61px;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(18, 25, 105, 0.86), rgba(19, 23, 98, 0.86)),
    url("/images/figma/hero-product-link-texture.png") center / cover;
  border-radius: 30px;
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* Order and privacy */

.order-heading {
  padding: 68px 24px 38px;
}

.order-heading .design-heading {
  width: max-content;
  margin-inline: auto;
  transform: translateX(18px) scaleX(0.94);
}

.privacy-page {
  min-height: 580px;
}

.privacy-copy {
  max-width: 900px;
}

.privacy-copy p {
  margin-top: 24px;
}

/* Responsive */

@media (min-width: 1500px) {
  .design-heading {
    font-size: 40px;
  }

  /* Figma desktop frame alignment */

  body:has(.design-hero:not(.design-hero--product)) .site-header {
    background: transparent;
  }

  .design-hero:not(.design-hero--product),
  .design-hero:not(.design-hero--product) .design-hero__inner {
    min-height: 747px;
  }

  .design-hero:not(.design-hero--product) {
    overflow: visible;
  }

  .design-hero:not(.design-hero--product) .design-hero__art {
    top: -109px;
  }

  .design-hero:not(.design-hero--product) .home-hero-product-link {
    top: 324px;
    left: 1174px;
  }

  .design-hero:not(.design-hero--product) .design-hero__copy {
    position: absolute;
    top: 25px;
    left: 0;
    transform: none;
  }

  .decor-leaf--c {
    top: 173px;
    bottom: auto;
    left: -101px;
    width: 156px;
  }

  .design-hero:not(.design-hero--product) h1 {
    transform: translateY(12px) scaleX(0.95);
  }

  .design-hero:not(.design-hero--product) p {
    width: 500px;
    max-width: 500px;
    margin-top: 73px;
    font-size: 18px;
    line-height: 1.6;
    transform: scaleX(0.942);
    transform-origin: left top;
  }

  .design-hero:not(.design-hero--product) .product-composition__dots {
    right: -260px;
    bottom: 50px;
    width: 1030px;
    height: 610px;
    clip-path: polygon(33% 0, 100% 0, 100% 100%, 0 100%);
  }

  .design-hero:not(.design-hero--product) .product-composition__bottle:not(.product-composition__bottle--foreground) {
    right: 304px;
    bottom: 110px;
    width: 310px;
    transform: none;
  }

  .design-hero:not(.design-hero--product) .product-composition__bottle--foreground {
    right: 74px;
    bottom: -31px;
    display: block;
    width: 470px;
    transform: rotate(25deg);
  }

  .design-hero:not(.design-hero--product) .product-composition__capsule--one {
    right: 314px;
    bottom: 73px;
    width: 355px;
    transform: rotate(80deg);
  }

  .design-hero:not(.design-hero--product) .product-composition__capsule--two {
    right: 68px;
    bottom: 119px;
    display: block;
    width: 200px;
    transform: rotate(60deg);
  }

  .design-hero:not(.design-hero--product) .product-composition__capsule--three {
    z-index: 2;
    right: 221px;
    bottom: 539px;
    display: block;
    width: 92px;
    transform: rotate(57deg);
  }

  .design-hero:not(.design-hero--product) .product-composition__leaf--one {
    right: 331px;
    bottom: 397px;
    width: 103px;
    opacity: 0.9;
    transform: rotate(-19deg) scaleX(0.81);
  }

  .design-hero:not(.design-hero--product) .product-composition__leaf--two {
    right: 660px;
    bottom: 311px;
    width: 69px;
    transform: rotate(18.25deg);
  }

  .design-hero:not(.design-hero--product) .arrow-cta {
    height: 89px;
    padding-left: 43px;
    justify-content: flex-start;
    margin-top: 49px;
    gap: 31px;
    background:
      linear-gradient(105deg, rgba(18, 25, 105, 0.88), rgba(19, 23, 98, 0.88)),
      url("/images/figma/hero-product-link-texture.png") center / cover;
  }

  .design-hero:not(.design-hero--product) .decor-leaf--a {
    top: 54px;
    left: calc(7.4% + 2px);
    width: 41px;
    transform: rotate(38deg);
  }

  .design-hero:not(.design-hero--product) .decor-leaf--b {
    top: 74px;
    left: calc(56% - 16px);
    width: 109px;
    transform: rotate(103.75deg);
  }

  .design-hero:not(.design-hero--product) .decor-leaf--d {
    z-index: 6;
    right: calc(21% - 8px);
    bottom: 60px;
    width: 230px;
    opacity: 1;
    transform: rotate(45deg) scaleX(1.1);
  }

  .design-hero:not(.design-hero--product) .decor-leaf--e {
    top: 44px;
    right: calc(10.5% - 4px);
    display: block;
    width: 130px;
    transform: rotate(-14deg) scaleX(0.88) scaleY(1.08);
  }

  .design-hero:not(.design-hero--product) .decor-leaf--f {
    top: 302px;
    right: -105px;
    display: block;
    width: 170px;
    transform: rotate(-28deg);
  }

  .product-composition__link {
    position: absolute;
    z-index: 8;
    top: 288px;
    left: 554px;
    display: flex;
    width: 180px;
    height: 66px;
    padding: 0 12px 0 3px;
    align-items: center;
    color: var(--violet);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 999px;
    box-shadow: 0 20px 45px rgba(42, 48, 94, 0.09);
    font-size: 16px;
    font-weight: 700;
    gap: 14px;
  }

  .product-composition__link b {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(50, 54, 95, 0.08);
    font-size: 26px;
    font-weight: 400;
  }

  .design-hero--product,
  .design-hero--product .design-hero__inner {
    min-height: 723px;
  }

  .design-hero--product h1 {
    line-height: 0.915;
    transform: translateY(-13px);
  }

  .design-hero--product p {
    margin-top: 36px;
    line-height: 1.8;
  }

  .design-hero--product .arrow-cta {
    margin-top: 50px;
  }

  .design-hero--product .design-hero__copy {
    transform: translateY(-13px);
  }

  .design-hero--product .decor-leaf--b {
    top: 80px;
    width: 110px;
  }

  .design-hero--product .product-composition {
    right: -272px;
    bottom: -16px;
  }

  .design-hero--product .product-composition__bottle {
    width: 480px;
  }

  .design-hero--product .product-composition__bottle--foreground,
  .design-hero--product .product-composition__capsule {
    display: none;
  }

  .design-hero--product .product-composition__leaf--one {
    right: 275px;
    bottom: 420px;
    width: 60px;
  }

  .design-hero--product .product-composition__leaf--two {
    right: 650px;
    bottom: 246px;
    width: 115px;
  }

  .design-hero--product .product-composition__link {
    top: 39px;
    left: -91px;
    display: flex;
  }

  .home-about {
    padding-top: 81px;
    padding-bottom: 0;
  }

  .home-about__text {
    max-width: 1250px;
    margin-top: 29px;
  }

  .course-feature {
    position: relative;
    width: 1401px;
    margin-top: 104.625px;
    margin-left: -1px;
    overflow: visible;
    background: transparent;
  }

  .course-feature::before {
    position: absolute;
    z-index: 11;
    top: -183px;
    left: 0;
    width: 1401px;
    height: 657px;
    content: "";
    background: url("/images/figma/home-layout-reference.png") -259px -1163px / 1920px 4841px no-repeat;
    pointer-events: none;
  }

  .course-feature__visual {
    height: 474px;
    min-height: 474px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    opacity: 0;
  }

  .course-feature__wave {
    right: 0;
    bottom: -373px;
    width: 1401px;
    height: 840px;
    background: url("/images/figma/home-course-art.png") center bottom / contain no-repeat;
    border-radius: 0;
    transform: none;
  }

  .course-feature__title {
    top: 27px;
    left: 33px;
    gap: 0;
  }

  .course-feature__title strong,
  .course-feature__title span {
    font-size: 20px;
    line-height: 1.6;
  }

  .course-feature > .product-composition {
    top: -182.259px;
    right: auto;
    bottom: auto;
    left: 342px;
    width: 718px;
    height: 712px;
    opacity: 0;
  }

  .course-feature .product-composition__bottle {
    right: 38px;
    bottom: -30px;
    width: 430px;
  }

  .course-feature .product-composition__capsule--one {
    bottom: -4px;
  }

  .course-feature .product-composition__capsule--two {
    bottom: 106px;
  }

  .course-feature > p {
    position: relative;
    z-index: 10;
    height: 267px;
    padding: 70px 35px 30px;
    margin-top: -46px;
    overflow: hidden;
    background: #fff;
    border-radius: 0 0 20px 20px;
    font-size: 16px;
    line-height: 1.8;
  }

  .course-feature > .arrow-cta {
    position: absolute;
    z-index: 12;
    top: 287px;
    left: 1001px;
    width: 226px;
    height: 89px;
    padding-right: 24px;
    padding-left: 39px;
    color: var(--navy);
    background:
      linear-gradient(rgba(255, 255, 255, 0.77), rgba(255, 255, 255, 0.77)),
      url("/images/figma/hero-product-link-texture.png") center / cover;
    box-shadow: 0 24px 48px rgba(42, 48, 94, 0.1);
    opacity: 0;
  }

  .course-feature > .arrow-cta b {
    background: rgba(255, 255, 255, 0.96);
  }

  .course-feature .product-composition__bottle--foreground,
  .course-feature .product-composition__capsule--three,
  .course-feature .product-composition__link {
    display: none;
  }

  .certificates-section {
    padding-top: 88px;
    padding-bottom: 70px;
  }

  .certificate-slider {
    width: 1401px;
    margin-top: 39px;
  }

  .certificate-slider__cards {
    grid-template-columns: repeat(4, 327.5px);
    column-gap: 30.3333px;
  }

  .certificate-slider > button,
  .reviews-track > button {
    width: 46px;
    height: 46px;
    font-size: 1.55rem;
  }

  .certificate-slider > button.slider-arrow--next,
  .reviews-track > button.slider-arrow--next {
    right: -23px;
  }

  .certificate-card {
    min-height: 425px;
  }

  .home-reviews {
    height: 636px;
    padding: 69px 0 0;
    background:
      linear-gradient(rgba(255, 255, 255, 0.89), rgba(255, 255, 255, 0.89)),
      url("/images/figma/12e5867a6b3ad37c.png") center 24% / cover no-repeat;
  }

  .home-reviews .design-heading {
    margin-bottom: 81px;
  }

  .home-reviews .design-review {
    height: 374px;
    min-height: 374px;
    padding: 33px 44px;
    overflow: hidden;
  }

  .home-reviews .reviews-track {
    width: 1401px;
  }

  .home-reviews .reviews-track__cards {
    grid-template-columns: 685px 685px;
    gap: 31px;
  }

  .design-review__bubble {
    z-index: 0;
  }

  .home-reviews .design-review__bubble {
    width: 70px;
    height: 69px;
    transform: translate(-10px, 8px);
  }

  .home-reviews .all-link {
    position: absolute;
    top: 79px;
    right: 0;
    margin: 0;
    text-decoration: none;
    transform: scaleX(1.109);
    transform-origin: right top;
  }

  .home-articles {
    height: 645px;
    padding: 68px 0 0;
  }

  .home-articles .design-heading {
    margin-bottom: 82px;
  }

  .home-articles .all-link {
    position: absolute;
    top: 80px;
    right: 0;
    margin: 0;
    text-decoration: none;
    transform: scaleX(1.09);
    transform-origin: right top;
  }

  .home-articles .articles-grid {
    width: 1401px;
    grid-template-columns: repeat(4, 327.5px);
    column-gap: 30.3333px;
  }

  .articles-grid--preview .design-article:nth-child(2) .design-article__media img {
    transform: translate(21px, 1px) scale(1.14);
    transform-origin: center bottom;
  }

  .articles-grid--preview .design-article:nth-child(3) .design-article__media img {
    transform: translate(-12px, 4px) scale(1.12);
    transform-origin: center bottom;
  }

  .articles-grid--preview .design-article:nth-child(1) .design-article__media img {
    transform: translate(2px, -14px);
  }

  .articles-grid--preview .design-article:nth-child(4) .design-article__media img {
    transform: translate(29px, -3px);
  }

  .design-article {
    height: 383px;
  }

  .articles-grid--preview .design-article__media {
    height: 245px;
  }

  .articles-grid--preview .design-article__body {
    position: relative;
    z-index: 1;
    height: 148px;
    min-height: 148px;
    padding: 37px 30px 20px;
    margin-top: -10px;
    background: #fff;
  }

  .design-article__media {
    height: 245px;
  }

  .design-article__body {
    height: 137px;
    min-height: 137px;
    padding: 27px 28px 14px;
  }

  .design-article a {
    margin-top: 10px;
  }

  .product-details {
    padding: 68px 0 121px;
  }

  .product-details .design-container {
    display: flex;
    flex-direction: column;
  }

  .product-details__lead,
  .product-details__bottom,
  .product-details__columns p {
    max-width: 1400px;
    margin-inline: 0;
    font-size: 16px;
    line-height: 1.85;
    text-align: left;
  }

  .product-details__bottom {
    order: 1;
    margin-top: 0;
  }

  .product-details__columns,
  .product-details__columns > div {
    display: contents;
  }

  .product-details__columns h2 {
    display: none;
  }

  .product-details__columns > div:nth-child(2) p {
    order: 2;
    margin-top: 30px;
  }

  .product-specs {
    order: 3;
    margin-top: 48px;
  }

  .product-details__lead {
    order: 4;
    margin-top: 64px;
  }

  .product-details__columns > div:first-child p {
    order: 5;
    margin-top: 30px;
  }

  .product-specs article:nth-child(-n + 2) {
    padding: 34px 42px 28px;
  }

  .product-specs article:nth-child(n + 3) {
    height: 170px;
    padding: 40px 42px 42px;
    overflow: hidden;
  }

  .product-specs h3 {
    margin-bottom: 22px;
    color: var(--violet);
    font-size: 24px;
    text-align: center;
    text-transform: uppercase;
  }

  .product-specs p {
    font-size: 16px;
    line-height: 1.65;
  }

  .listing-page .design-heading {
    transform: translateY(-4px);
  }

  .prices-page {
    padding-bottom: 107px;
  }

  .prices-page .design-heading {
    margin-bottom: 27px;
  }

  .results-page {
    padding-bottom: 97px;
  }

  .results-grid {
    gap: 15px;
  }

  .articles-page {
    padding-bottom: 110px;
  }

  .articles-page .articles-grid {
    row-gap: 32px;
  }

  .delivery-page {
    padding-bottom: 112px;
  }

  .delivery-page .design-heading {
    margin-bottom: 41px;
    transform: translateY(-3px) scaleX(0.997);
  }

  .delivery-layout {
    gap: 24px;
  }

  .delivery-copy h2 {
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 1.2;
  }

  .delivery-copy h2:not(:first-child) {
    margin-top: 28px;
  }

  .delivery-copy p {
    font-size: 16px;
    line-height: 1.8;
  }

  .delivery-notice {
    margin-top: 54px;
  }

  .reviews-page {
    padding-bottom: 105px;
  }

  .reviews-page .design-heading {
    transform: translateY(-6px);
  }

  .reviews-grid-page .design-review {
    padding: 38px 44px;
  }

  .contact-section,
  .contact-section__inner {
    height: 658px;
    min-height: 658px;
  }

  .contact-section::after {
    position: absolute;
    z-index: 5;
    top: 0;
    left: calc(50% - 157px);
    width: min(1117px, calc(50% + 157px));
    height: 658px;
    content: "";
    background: url("/images/figma/home-layout-reference.png") -803px -3986px / 1920px 4841px no-repeat;
    pointer-events: none;
  }

  .contact-section__content {
    margin-left: 2px;
    padding-bottom: 12px;
    transform: translateY(-27px);
  }

  .contact-section__description {
    margin-top: 20px;
  }

  .contact-section__eyebrow {
    transform: translateY(-1px);
  }

  .contact-section__title {
    transform: translateY(-2px);
  }

  .contact-form {
    max-width: 540px;
    margin-top: 30px;
  }

  .contact-form textarea {
    height: 88px;
    min-height: 88px;
  }

  .contact-form input {
    height: 44px;
    min-height: 44px;
  }

  .contact-form__actions {
    margin-top: 10px;
  }

  .contact-form__submit {
    height: 61px;
    min-height: 61px;
  }

  .contact-section__media {
    right: -140px;
    bottom: 0;
    width: 965px;
    opacity: 0;
  }

  .contact-section__leaf--two,
  .contact-section__leaf--four,
  .contact-section__leaf--five,
  .contact-section__leaf--six,
  .contact-section__leaf--seven {
    display: none;
  }

  .contact-section__leaf--six {
    bottom: 1px;
  }

  .contact-section__leaf--seven {
    bottom: -350px;
  }

  .contact-section__leaf--eight {
    bottom: -68px;
  }

  .site-footer__inner {
    min-height: 197px;
    padding-top: 20px;
  }

  .order-heading {
    padding-top: 66px;
  }

  .order-heading .design-heading {
    transform: none;
  }

}

@media (min-width: 1500px) and (max-width: 1919px) {
  .design-hero:not(.design-hero--product) .design-hero__art {
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
}

@media (min-width: 1051px) and (max-width: 1499px) {
  .certificate-slider > button,
  .reviews-track > button {
    left: 0;
  }

  .certificate-slider > button.slider-arrow--next,
  .reviews-track > button.slider-arrow--next {
    right: 0;
    left: auto;
  }

  .site-header__panel {
    gap: 18px;
  }

  .site-header__nav,
  .site-header__language {
    margin-right: 0;
  }

  .site-header__nav-list {
    gap: 22px;
  }

  .site-header__contacts,
  .site-header__order {
    display: none;
  }

  .design-hero:not(.design-hero--product),
  .design-hero:not(.design-hero--product) .design-hero__inner {
    min-height: 760px;
  }

  .design-hero:not(.design-hero--product) .design-hero__inner {
    display: block;
  }

  .design-hero:not(.design-hero--product) .design-hero__copy {
    max-width: 500px;
  }

  .design-hero:not(.design-hero--product) .design-hero__art {
    top: 0;
    left: 68%;
    width: 1700px;
    height: auto;
    clip-path: inset(0 0 0 260px);
  }

  .design-hero:not(.design-hero--product) .home-hero-product-link {
    top: auto;
    right: 40px;
    bottom: 78px;
    left: auto;
    transform: scale(0.92);
    transform-origin: right bottom;
  }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr) 196px 143px;
    gap: 24px;
  }
}

@media (max-width: 1260px) {
  .site-header__panel {
    gap: 18px;
  }

  .site-header__nav,
  .site-header__language {
    margin-right: 0;
  }

  .site-header__nav-list {
    gap: 22px;
  }

  .site-header__contacts,
  .site-header__order {
    display: none;
  }

  .prices-grid,
  .reviews-track__cards {
    grid-template-columns: repeat(2, minmax(540px, 1fr));
  }

  .articles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .delivery-layout {
    grid-template-columns: 560px minmax(430px, 1fr);
  }

  .delivery-art {
    width: 560px;
  }

  .delivery-art__slice {
    transform-origin: top left;
    transform: scale(0.819);
  }

  .delivery-art__slice--bottom {
    margin-top: -83px;
  }
}

@media (max-width: 1050px) {
  .site-header__inner {
    min-height: 78px;
    justify-content: space-between;
  }

  .site-header__mobile-brand {
    display: block;
  }

  .site-header__menu-toggle {
    position: relative;
    z-index: 4;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 10px;
    place-content: center;
    background: transparent;
    cursor: pointer;
    gap: 5px;
  }

  .site-header__menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
  }

  .site-header__panel {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    padding: 24px;
    align-items: stretch;
    background: rgba(247, 249, 253, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(35, 39, 87, 0.08);
    flex-direction: column;
  }

  .site-header__nav,
  .site-header__language {
    margin-right: 0;
  }

  .site-header__panel.is-open {
    display: flex;
  }

  .site-header__nav-list {
    display: grid;
  }

  .site-header__nav-link {
    min-height: 42px;
  }

  .site-header__nav-link::after {
    display: none;
  }

  .site-header__language {
    justify-content: flex-start;
  }

  .site-header__order {
    display: flex;
    width: fit-content;
  }

  .design-hero,
  .design-hero__inner {
    min-height: 690px;
  }

  .design-hero:not(.design-hero--product),
  .design-hero:not(.design-hero--product) .design-hero__inner {
    min-height: 760px;
  }

  .design-hero:not(.design-hero--product) .design-hero__inner {
    display: block;
    padding-top: 0;
  }

  .design-hero:not(.design-hero--product) .design-hero__art {
    top: 0;
    left: 65%;
    width: 1600px;
    height: auto;
  }

  .design-hero:not(.design-hero--product) .design-hero__copy {
    max-width: 480px;
  }

  .design-hero:not(.design-hero--product) .home-hero-product-link {
    top: auto;
    right: 48px;
    bottom: 78px;
    left: auto;
    transform: scale(0.9);
    transform-origin: right bottom;
  }

  .design-hero__inner {
    grid-template-columns: minmax(0, 1fr) 390px;
  }

  .design-hero h1 {
    font-size: clamp(4.4rem, 9vw, 6.5rem);
  }

  .product-composition__bottle {
    right: -20px;
  }

  .product-composition__dots {
    right: -130px;
  }

  .course-feature .product-composition {
    right: -20px;
  }

  .certificate-slider__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prices-grid {
    grid-template-columns: 1fr;
  }

  .reviews-track__cards {
    grid-template-columns: 1fr;
  }

  .results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .delivery-page .design-heading {
    white-space: normal;
  }

  .delivery-layout {
    grid-template-columns: 1fr;
  }

  .delivery-art {
    width: 684px;
    max-width: 100%;
    margin-inline: auto;
  }

  .delivery-art__slice {
    transform: none;
  }

  .delivery-art__slice--bottom {
    margin-top: 0;
  }

  .contact-section__inner {
    grid-template-columns: minmax(0, 1fr) 380px;
  }

  .contact-section__media {
    right: -510px;
  }

  .site-footer__inner {
    padding: 40px 0;
    grid-template-columns: 1fr auto;
  }

  .site-footer__contacts {
    grid-column: 2;
    grid-row: 1;
  }

  .site-footer__order {
    grid-column: 2;
  }
}

@media (max-width: 780px) {
  .design-container,
  .site-header__inner,
  .contact-section__inner,
  .site-footer__inner {
    width: min(calc(100% - 32px), var(--container));
  }

  .design-section,
  .listing-page {
    padding: 64px 0;
  }

  .design-heading {
    font-size: 2.25rem;
  }

  .design-hero,
  .design-hero__inner {
    min-height: auto;
  }

  .design-hero:not(.design-hero--product),
  .design-hero:not(.design-hero--product) .design-hero__inner {
    min-height: 900px;
  }

  .design-hero__inner {
    padding-top: 30px;
    grid-template-columns: 1fr;
  }

  .design-hero:not(.design-hero--product) .design-hero__inner {
    display: block;
    padding-top: 0;
  }

  .design-hero:not(.design-hero--product) .design-hero__art {
    top: 380px;
    left: 68%;
    width: 1100px;
    height: auto;
  }

  .design-hero__copy {
    padding: 56px 0 10px;
  }

  .design-hero:not(.design-hero--product) .design-hero__copy {
    max-width: 520px;
    padding-bottom: 0;
  }

  .design-hero h1,
  .design-hero--product h1 {
    font-size: clamp(3.8rem, 17vw, 6rem);
  }

  .design-hero p {
    margin-top: 30px;
    font-size: 0.94rem;
  }

  .design-hero:not(.design-hero--product) .home-hero-product-link {
    top: auto;
    right: 24px;
    bottom: 64px;
    left: auto;
    transform: scale(0.9);
    transform-origin: right bottom;
  }

  .design-hero .product-composition {
    height: 500px;
  }

  .design-hero--product .product-composition {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
  }

  .product-composition__bottle {
    right: 12%;
    width: 280px;
  }

  .product-composition__dots {
    right: -100px;
    width: 360px;
    height: 430px;
  }

  .product-composition__capsule--one {
    right: 48%;
  }

  .home-about__text,
  .product-details__lead,
  .product-details__bottom {
    text-align: left;
  }

  .course-feature__visual {
    min-height: 430px;
  }

  .course-feature .product-composition {
    top: 72px;
    right: -20px;
    bottom: auto;
    width: 500px;
    height: 350px;
  }

  .course-feature .product-composition__bottle {
    right: 28px;
    bottom: -28px;
    width: 285px;
  }

  .course-feature .product-composition__capsule--one {
    right: 218px;
    bottom: 12px;
    width: 205px;
  }

  .course-feature .product-composition__capsule--two {
    right: 2px;
    bottom: 82px;
    width: 145px;
  }

  .course-feature > .arrow-cta {
    position: absolute;
    z-index: 10;
    top: 340px;
    left: 24px;
    margin: 0;
  }

  .course-feature > p {
    position: relative;
    z-index: 2;
    background: #fff;
  }

  .certificate-slider__cards,
  .articles-grid,
  .results-grid,
  .product-details__columns,
  .product-specs,
  .reviews-grid-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .certificate-slider {
    padding-bottom: 64px;
  }

  .certificate-card {
    min-height: 260px;
  }

  .reviews-track__cards,
  .prices-grid {
    grid-template-columns: 1fr;
  }

  .reviews-track {
    padding-bottom: 64px;
  }

  .certificate-slider > button,
  .reviews-track > button {
    top: auto;
    bottom: 0;
    left: calc(50% - 54px);
    transform: none;
  }

  .certificate-slider > button.slider-arrow--next,
  .reviews-track > button.slider-arrow--next {
    right: auto;
    left: calc(50% + 6px);
  }

  .design-review {
    min-height: 0;
  }

  .design-price-card {
    padding: 36px 28px;
  }

  .delivery-art {
    height: auto;
    aspect-ratio: 684 / 590;
    transform-origin: top left;
  }

  .delivery-art__slice {
    transform: scale(calc((100vw - 32px) / 684));
  }

  .delivery-art__slice--bottom {
    margin-top: calc((100vw - 716px) * 0.673);
  }

  .contact-section,
  .contact-section__inner {
    min-height: 950px;
  }

  .contact-section__inner {
    grid-template-columns: 1fr;
  }

  .contact-section__content {
    padding-bottom: 420px;
  }

  .contact-section__media {
    right: 0;
    bottom: 0;
    width: 100%;
    height: 400px;
  }

  .contact-section__media img {
    object-position: 80% center;
  }

  .contact-section__leaf {
    display: none;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__contacts,
  .site-footer__order {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 520px) {
  .site-header__inner {
    min-height: 70px;
  }

  .site-header__panel {
    top: 70px;
  }

  .design-heading {
    font-size: 1.85rem;
  }

  .design-hero h1,
  .design-hero--product h1 {
    font-size: clamp(3.35rem, 19vw, 4.7rem);
  }

  .design-hero:not(.design-hero--product),
  .design-hero:not(.design-hero--product) .design-hero__inner {
    min-height: 980px;
  }

  .design-hero:not(.design-hero--product) .design-hero__art {
    top: 520px;
    left: 70%;
    width: 900px;
  }

  .design-hero:not(.design-hero--product) .home-hero-product-link {
    right: 16px;
    bottom: 45px;
    transform: scale(0.78);
  }

  .arrow-cta {
    width: 205px;
    height: 70px;
  }

  .course-feature__title {
    top: 30px;
    left: 24px;
  }

  .course-feature .product-composition {
    top: 92px;
    right: -72px;
    width: 390px;
    height: 320px;
  }

  .course-feature .product-composition__bottle {
    right: 24px;
    bottom: -20px;
    width: 245px;
  }

  .course-feature .product-composition__capsule--one {
    right: 188px;
    bottom: 15px;
    width: 175px;
  }

  .course-feature .product-composition__capsule--two {
    right: 4px;
    bottom: 76px;
    width: 120px;
  }

  .course-feature > p {
    padding: 28px 24px 34px;
  }

  .certificate-slider__cards,
  .articles-grid,
  .results-grid,
  .product-details__columns,
  .product-specs,
  .reviews-grid-page {
    grid-template-columns: 1fr;
  }

  .design-article__media {
    height: 270px;
  }

  .design-price-card__content {
    grid-template-columns: 1fr;
  }

  .design-price-card__photo {
    margin-inline: auto;
  }

  .design-price-card__actions {
    grid-template-columns: 1fr;
  }

  .result-half {
    height: 330px;
  }

  .contact-section__eyebrow,
  .contact-section__title {
    font-size: 2rem;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-form__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-section,
  .contact-section__inner {
    min-height: 1120px;
  }

  .contact-section__content {
    padding-top: 56px;
    padding-bottom: 380px;
  }

  .contact-section__media {
    right: 0;
    width: 100%;
    height: 360px;
  }

  .site-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-heading {
    padding-top: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

/* MODX / FormIt integration */

[hidden] {
  display: none !important;
}

.formit-error {
  display: block;
  margin: 4px 14px 0;
  color: #a51d38;
  font-size: 13px;
  line-height: 1.3;
}

.contact-form__status {
  padding: 18px 22px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 14px;
  font-weight: 700;
}

.contact-form__status--error {
  color: #a51d38;
}

.contact-success-toast {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 1200;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 12px;
  width: min(420px, calc(100vw - 32px));
  padding: 18px 16px 18px 18px;
  overflow: hidden;
  color: var(--navy-dark);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(43, 48, 126, 0.14);
  border-radius: 18px;
  box-shadow: 0 22px 70px rgba(23, 27, 100, 0.24);
  animation: contact-toast-in 0.32s ease-out both;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.contact-success-toast::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--violet), var(--navy));
  content: "";
}

.contact-success-toast.is-closing {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}

.contact-success-toast__message {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-width: 0;
}

.contact-success-toast__icon {
  display: grid;
  width: 44px;
  height: 44px;
  color: #fff;
  background: linear-gradient(145deg, var(--violet), var(--navy));
  border-radius: 50%;
  place-items: center;
}

.contact-success-toast__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.contact-success-toast__copy {
  min-width: 0;
}

.contact-success-toast__copy strong {
  display: block;
  margin-bottom: 2px;
  font-size: 16px;
  line-height: 1.35;
}

.contact-success-toast__copy p {
  color: #565970;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.contact-success-toast__close {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--navy);
  background: rgba(43, 48, 126, 0.08);
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.contact-success-toast__close:hover {
  color: #fff;
  background: var(--navy);
}

.contact-success-toast__close:focus-visible {
  outline: 3px solid rgba(164, 41, 204, 0.38);
  outline-offset: 3px;
}

.contact-success-toast__close:active {
  transform: scale(0.94);
}

.contact-success-toast__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

@keyframes contact-toast-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 520px) {
  .contact-success-toast {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    left: max(16px, env(safe-area-inset-left));
    width: auto;
    padding: 16px 14px 16px 16px;
  }

  .contact-success-toast__message {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 11px;
  }

  .contact-success-toast__icon {
    width: 40px;
    height: 40px;
  }
}

.contact-form__submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.site-header__language a {
  display: grid;
  min-width: 43px;
  height: 23px;
  padding: 0 8px;
  place-items: center;
  color: #111;
  background: transparent;
  border: 1px solid #24264d;
  border-radius: 3px;
  font-size: 0.76rem;
  line-height: 1;
  text-transform: uppercase;
}

.site-header__language a.is-active {
  color: #fff;
  background: var(--navy);
  font-weight: 700;
}
