@font-face {
  font-family: "Nata Sans";
  src: url("/fonts/nata-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MAK";
  src: url("/fonts/mak.woff2/mak.woff2") format("woff2"),
  url("/fonts/mak.woff2/mak.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* =========================================================
   01. GLOBAL / TOKENS / RESET
   ========================================================= */

:root {
  --page-bg: #f6f7f2;
  --sidebar-bg: #5f6b80;
  --white: #fff;
  --text: #0d0d0d;
  --accent: #ed6c02;
  --sidebar-width: 323px;
  --page-left-gap: 24px;
  --page-right-gap: 43px;

  /* Единая горизонтальная сетка */
  --tablet-page-gap: 20px;
  --mobile-page-gap: 12px;

  /* Единый вертикальный ритм */
  --space-section: clamp(56px, 5vw, 72px);
  --space-section-lg: clamp(84px, 7vw, 108px);
  --space-heading: 40px;
  --space-content: 28px;
  --space-tight: 18px;
  --space-footer-y: 42px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
}

html {
  overflow-x: clip;

  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 0;
  color: var(--text);
  background: var(--page-bg);
  font-family: "Nata Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

img,
svg {
  display: block;
}

/* Декоративный паттерн для мобильных синих блоков */
.blue-pattern {
  display: none;
  pointer-events: none;
  user-select: none;
}

.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;
}

button,
input {
  font: inherit;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(22px, 1.65vw, 30px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.1px;
}

/* --- (min-width: 1729px) --- */
@media (min-width: 1729px) {
  :root {
    --sidebar-width: clamp(323px, 18.7vw, 360px);
    --page-left-gap: clamp(24px, 1.4vw, 30px);
    --page-right-gap: clamp(43px, 2.5vw, 50px);
  }
}

/* --- (max-width: 1280px) --- */
@media (max-width: 1280px) {
  :root {
    --sidebar-width: 280px;
    --page-left-gap: 20px;
    --page-right-gap: 28px;
  }
}

/* --- (max-width: 1024px) --- */
@media (max-width: 1024px) {
  :root {
    --mobile-header-height: 76px;
    --page-left-gap: var(--tablet-page-gap);
    --page-right-gap: var(--tablet-page-gap);

    --space-section: 52px;
    --space-section-lg: 72px;
    --space-heading: 32px;
    --space-content: 24px;
    --space-tight: 18px;
    --space-footer-y: 40px;
  }
}

/* --- (max-width: 760px) --- */
@media (max-width: 760px) {
  :root {
    --space-section: 44px;
    --space-section-lg: 60px;
    --space-heading: 28px;
    --space-content: 22px;
    --space-tight: 16px;
    --space-footer-y: 38px;
  }

  .section-heading h2 {
    letter-spacing: -0.4px;
  }
}

/* --- (max-width: 640px) --- */
@media (max-width: 640px) {
  :root {
    --mobile-header-height: 68px;
  }
}

/* --- (max-width: 480px) --- */
@media (max-width: 480px) {
  :root {
    --page-left-gap: var(--mobile-page-gap);
    --page-right-gap: var(--mobile-page-gap);

    --space-section: 36px;
    --space-section-lg: 48px;
    --space-heading: 24px;
    --space-content: 18px;
    --space-tight: 14px;
    --space-footer-y: 34px;
  }

  .section-heading h2 {
    font-size: 24px;
  }
}



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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}






/* =========================================================
   03. FIRST SCREEN / HERO
   ========================================================= */
   
/* --- единая мобильная горизонтальная сетка --- */
@media (max-width: 480px) {
  .products-section,
  .promos-section,
  .reviews-section,
  .life-section,
  .custom-section,
  .contact-order {
    padding-left: var(--mobile-page-gap);
    padding-right: var(--mobile-page-gap);
  }
}

.hero {
  padding: 23px var(--page-right-gap) 0 var(--page-left-gap);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr)
    minmax(0, 1fr);
  align-items: center;
  width: 100%;
  height: calc(100cqw * 0.4 * 613 / 657);
  transition: grid-template-columns 900ms cubic-bezier(.16, 1, .3, 1);
}

.hero__grid:has(.hero-card--woman:hover) {
  grid-template-columns: minmax(0, 1.05fr)
    minmax(0, 0.95fr);
}

.hero__grid:has(.hero-card--man:hover) {
  grid-template-columns: minmax(0, 0.95fr)
    minmax(0, 1.05fr);
}

.hero-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-width: 0;
}

.hero-card--woman,
.hero-card--man {
  aspect-ratio: 657 / 613;
}

.hero-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.002);
  transition: transform 700ms cubic-bezier(.2,.7,.2,1),
    filter 400ms ease;
}

.hero-card--woman img {
  object-position: 50% 50%;
}

.hero-card--man img {
  object-position: 50% 50%;
}

.hero-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 7%) 0%, transparent 35%, rgb(0 0 0 / 4%) 100%);
  pointer-events: none;
}

.hero-card:hover img,
.hero-card:focus-visible img {
  transform: scale(1.025);
  filter: brightness(0.96);
}

.hero-card__title,
.hero-card__arrow {
  position: absolute;
  z-index: 2;
  color: #fff;
}

.hero-card__title {
  top: 13.5%;
  left: 49%;
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.hero-card--man .hero-card__title {
  top: 13.5%;
  left: 11.5%;
}

.hero-card__arrow {
  right: 10.8%;
  bottom: 6.3%;
  width: clamp(72px, 7.1vw, 112px);
}

.hero-card--man .hero-card__arrow {
  right: 6.5%;
  bottom: 6.5%;
}

.hero-card__arrow svg {
  width: 100%;
  overflow: visible;
}

.hero-card__arrow path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.hero__headline {
  margin: var(--space-tight) 0 0;
  max-width: 1290px;
  font-size: clamp(36px, 2.9vw, 44px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.9px;
}

.next-section {
  min-height: 450px;
  padding: 70px var(--page-right-gap) 100px var(--page-left-gap);
}

.next-section h2 {
  margin: 0;
  font-size: clamp(22px, 1.65vw, 30px);
  font-weight: 300;
  letter-spacing: -0.5px;
}

/* --- (max-width: 1280px) --- */
@media (max-width: 1280px) {
  .hero__headline {
    font-size: clamp(33px, 3.05vw, 40px);
  }
}

/* --- (max-width: 1024px) --- */
@media (max-width: 1024px) {

  .hero {
    padding:
      30px
      var(--tablet-page-gap)
      0;
  }


  .hero__grid {
    grid-template-columns: 1fr 1fr;

    /*
     * Ключевое исправление:
     * высота теперь определяется самими карточками.
     */
    height: auto;

    align-items: stretch;
  }


  .hero-card--woman,
  .hero-card--man {
    width: 100%;
    height: auto;

    aspect-ratio: 657 / 613;
  }


  .hero__headline {
    /*
     * Реальный отступ после изображений
     */
    margin-top: var(--space-content);

    font-size: clamp(24px, 4.4vw, 32px);
  }


  .next-section {
    padding:
      60px
      var(--tablet-page-gap)
      80px;
  }
}

/* --- (max-width: 640px) --- */
@media (max-width: 640px) {

  .hero {
    display: flex;
    flex-direction: column;

    padding: 22px 0 0;
  }


  .hero__headline {
    order: 2;

    margin: 0;
    padding:
      0
      var(--mobile-page-gap)
      var(--space-heading);

    max-width: 100%;

    font-size: clamp(20px, 9vw, 28px);
    line-height: 1.05;
    letter-spacing: -0.35px;
  }


  .hero__headline-break {
    display: none;
  }

  .hero__grid {
    order: 2;

    display: flex;
    flex-direction: row;

    width: 100%;
    height: auto;

    gap: 10px;

    padding-left: var(--mobile-page-gap);
    padding-right: var(--mobile-page-gap);

    scroll-padding-left: var(--mobile-page-gap);
    scroll-padding-right: var(--mobile-page-gap);

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    scrollbar-width: none;

    overscroll-behavior-inline: contain;
  }


  .hero__grid::-webkit-scrollbar {
    display: none;
  }


  .hero-card--woman,
  .hero-card--man {
    flex: 0 0 80vw;

    width: 60vw;

    aspect-ratio: 3 / 5;

    margin: 0;

    scroll-snap-align: start;
    scroll-snap-stop: always;
  }



  .hero-card--man {
    margin-top: 0;
  }


  .hero-card--woman img {
    object-position: 45% 50%;
  }


  .hero-card--man img {
    object-position: 55% 50%;
  }


  .hero-card__title,
  .hero-card--man .hero-card__title {
    top: 20px;
    left: 18px;

    font-size: clamp(24px, 7vw, 32px);
  }

  .hero-card__arrow,
  .hero-card--man .hero-card__arrow {
    right: 16px;
    bottom: 16px;

    width: 72px;
  }

  .hero-card:hover img {
    transform: scale(1.002);
    filter: none;
  }


  .next-section {
    min-height: 300px;
    padding: 58px 12px 70px;
  }

}

/* --- (max-width: 360px) --- */
@media (max-width: 360px) {

  .hero {
    padding-top: 18px;
  }


  .hero__headline {
    padding-right: var(--mobile-page-gap);
    padding-bottom: var(--space-heading);

    font-size: 28px;
  }


  .hero-card--woman,
  .hero-card--man {
    flex: 0 0 62%;
    width: 62%;

    aspect-ratio: 3 / 7;
  }


  .hero-card__title,
  .hero-card--man .hero-card__title {
    top: 16px;
    left: 14px;

    font-size: 22px;
  }


  .hero-card__arrow,
  .hero-card--man .hero-card__arrow {
    right: 12px;
    bottom: 12px;

    width: 60px;
  }

}



/* =========================================================
   05. СКИДКИ И АКЦИИ / PROMOS
   ========================================================= */

.promos-section {
  padding-right: var(--page-right-gap);
  padding-left: var(--page-left-gap);
}

.promos-section > h2 {
  margin: 0;
  font-size: clamp(22px, 1.65vw, 30px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.1px;
}

.promos-section {
  --promo-bg: #5f6b80;
  --promo-accent: #ed6c02;
  --promo-design-width: 1337;
  padding-right: var(--page-right-gap);
  padding-left: var(--page-left-gap);
  container-type: inline-size;
}

.promos-artboard {
  position: relative;
  width: 100%;
  height: calc(100cqw * 593 / 1337);
  min-height: 1px;
}

.promos-title {
  position: absolute;
  z-index: 4;
  top: calc(100cqw * 78 / 1337);
  left: 0;
  margin: 0;
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #111;
}

.promo-card {
  position: absolute;
  z-index: 1;
  top: calc(100cqw * 163 / 1337);
  height: calc(100cqw * 340 / 1337);
  background: var(--promo-bg);
  color: #fff;
}

.promo-card--repeat {
  left: 0;
  width: calc(100cqw * 570 / 1337);
}

.promo-card--vk {
  left: calc(100cqw * 764 / 1337);
  width: calc(100cqw * 573 / 1337);
}

.promo-card__text {
  position: absolute;
  z-index: 2;
  margin: 0;
  font-size: clamp(18px, calc(100cqw * 30 / 1337), 31px);
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: #fff;
}

.promo-card--repeat .promo-card__text {
  top: calc(100cqw * 43 / 1337);
  left: calc(100cqw * 62 / 1337);
  text-align: left;
}

.promo-card--vk .promo-card__text {
  top: calc(100cqw * 43 / 1337);
  right: calc(100cqw * 48 / 1337);
  text-align: right;
}

.promo-card__button {
  position: absolute;
  z-index: 4;
  bottom: calc(100cqw * 33 / 1337);
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: calc(100cqw * 271 / 1337);
  height: calc(100cqw * 55 / 1337);
  border: clamp(2px, calc(100cqw * 4 / 1337), 4px) solid var(--promo-accent);
  border-radius: 999px;
  background: transparent;
  font-size: clamp(14px, calc(100cqw * 24px / 1314px), 20px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.promo-card--repeat .promo-card__button {
  left: calc(100cqw * 64 / 1337);
}

.promo-card--vk .promo-card__button {
  right: calc(100cqw * 49 / 1337);
}

.promo-card__button:hover,
.promo-card__button:focus-visible {
  background: var(--promo-accent);
  outline: none;
}

.promos-decoration {
  position: absolute;
  margin-left: 550px;
  z-index: 3;
  inset: 0 auto auto 0;
  display: block;
  width: auto;
  height: 90%;
  max-width: none;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 1500px) {
  .promos-decoration {
    margin-left: 380px;
}
}

@media (max-width: 1440px) {
  .promos-decoration {
    margin-left: 390px;
}
}

@media (max-width: 1200px) {
  .promos-decoration {
    margin-left: 290px;
}
}


/* --- (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .promos-section {
    padding-right: var(--tablet-page-gap);
    padding-left: var(--tablet-page-gap);
    padding-top: 40px;
    
  }
  .promos-decoration {
  margin-left: 350px;
  }
}
/* --- (max-width: 768px) --- */
@media (max-width: 768px) {
.promos-decoration {
    margin-left: 250px;
  }
}  
/* --- (max-width: 760px) --- */
@media (max-width: 760px) {
  .promos-section {
    container-type: normal;
  }

  .promos-artboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;

    width: 100%;
    height: auto;

    gap: 14px;
  }

  .promos-title,
  .promo-card,
  .promo-card__text,
  .promo-card__button,
  .promos-decoration {
    position: static;
  }

  .promos-title {
    margin-bottom: 18px;
    font-size: 32px;
  }

  .promo-card,
  .promo-card--repeat,
  .promo-card--vk {
    width: 100%;
    height: auto;
    min-height: 270px;
    padding: 34px 28px 28px;
    box-sizing: border-box;
  }

  .promo-card__text,
  .promo-card--repeat .promo-card__text,
  .promo-card--vk .promo-card__text {
    margin: 0;
    font-size: 24px;
    text-align: left;
  }

  .promo-card__button,
  .promo-card--repeat .promo-card__button,
  .promo-card--vk .promo-card__button {
    width: 100%;
    height: 52px;
    margin-top: 72px;
    font-size: 21px;
  }

  .promos-decoration {
    display: none;
    margin-left: 50px;
  }

  .promos-section > h2 {
    letter-spacing: -0.4px;
  }

  .promos-section {
    padding-top: var(--space-section);
    padding-bottom: var(--space-section);
  }

  .promos-grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .promo-card,
  .promo-card--repeat,
  .promo-card--vk {
    position: relative;

    inset: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;

    width: 100%;
    max-width: none;

    margin: 0;
    transform: none;

    min-height: 350px;

    overflow: hidden;
    isolation: isolate;
  }

  /* Фирменный паттерн поверх синей заливки */
  .blue-pattern--promo {
    display: block;
    position: absolute;
    z-index: 0;

    width: 118%;
    height: 118%;
    max-width: none;

    left: -9%;
    bottom: -9%;
    
    opacity: .24;

    object-fit: cover;
  }

  .blue-pattern--promo-right {
    left: auto;
    right: -9%;
    transform: scaleX(-1);
    opacity: .24;
  }

  .promo-card__text,
  .promo-card--repeat .promo-card__text,
  .promo-card--vk .promo-card__text,
  .promo-card__button,
  .promo-card--repeat .promo-card__button,
  .promo-card--vk .promo-card__button {
    position: relative;
    z-index: 2;

    inset: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;

    transform: none;
  }
}

/* --- (max-width: 480px) --- */
@media (max-width: 480px) {
  .promos-section {
    padding-right: var(--mobile-page-gap);
    padding-left: var(--mobile-page-gap);
  }

  .promos-title {
    font-size: 24px;
  }

  .promo-card__text {
    font-size: 22px;
  }
  .promos-section > h2 {
    font-size: 24px;
  }

  .promo-card {
    min-height: 320px;
    padding: 30px 24px;
  }

  .promo-card__text,
  .promo-card--repeat .promo-card__text,
  .promo-card--vk .promo-card__text {
    font-size: 22px;
    line-height: 1.25;
  }

  .pill-button {
    left: 24px;
    bottom: 30px;
    min-width: 190px;
  }

  .blue-pattern--promo {
    width: 128%;
    height: 128%;
    left: -14%;
    bottom: -14%;
    
  }

  .blue-pattern--promo-right {
    left: auto;
    right: -14%;
  }
}

/* --- (max-width: 360px) --- */
@media (max-width: 360px) {
  .promos-artboard {
    gap: 12px;
  }

  .promo-card,
  .promo-card--repeat,
  .promo-card--vk {
    width: 100%;
    min-width: 0;
    max-width: 100%;

    min-height: 280px;
    padding: 24px 20px;
  }

  .promo-card__text,
  .promo-card--repeat .promo-card__text,
  .promo-card--vk .promo-card__text {
    width: 100%;
    max-width: 100%;

    font-size: 20px;
    line-height: 1.25;
  }

  .promo-card__button,
  .promo-card--repeat .promo-card__button,
  .promo-card--vk .promo-card__button {
    width: 100%;
    max-width: 100%;

    height: 48px;
    margin-top: 56px;

    font-size: 16px;
  }

  .blue-pattern--promo {
    width: 130%;
    height: 130%;

    left: -15%;
    bottom: -15%;
  }

  .blue-pattern--promo-right {
    left: auto;
    right: -15%;
  }
}




