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

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

/* --- единая мобильная горизонтальная сетка --- */
@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);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
/* =========================================================
   02. POLICY
   ========================================================= */

.policy {
  width: 100%;

  padding:
    24px
    var(--page-right-gap)
    var(--space-section-lg)
    var(--page-left-gap);
}


/* =========================================================
   TITLE
   ========================================================= */

.policy h1 {
  width: 100%;
  max-width: none;

  margin: 0;

  font-size: clamp(30px, 2.5vw, 40px);
  font-weight: 300;
  line-height: 1.16;

  letter-spacing: -1.6px;
}


/* =========================================================
   TEXT
   ========================================================= */

.policy-text {
  width: 100%;
  max-width: none;

  margin-top: var(--space-heading);

  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
}


.policy-text p {
  width: 100%;
  max-width: none;

  margin: 0;
}


.policy-text p + p {
  margin-top: var(--space-content);
}


/* =========================================================
   HEADINGS INSIDE POLICY
   ========================================================= */

.policy-text h2 {
  width: 100%;
  max-width: none;

  margin:
    var(--space-section)
    0
    var(--space-content);

  font-size: clamp(22px, 1.65vw, 30px);
  font-weight: 300;
  line-height: 1.12;

  letter-spacing: -.2px;
}


.policy-text h3 {
  width: 100%;
  max-width: none;

  margin:
    var(--space-heading)
    0
    var(--space-tight);

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


/* =========================================================
   LISTS
   ========================================================= */

.policy-text ul,
.policy-text ol {
  width: 100%;
  max-width: none;

  margin:
    var(--space-content)
    0
    0;

  padding-left: 24px;
}


.policy-text li + li {
  margin-top: 10px;
}


/* =========================================================
   LINKS
   ========================================================= */

.policy-text a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}


/* =========================================================
   <= 1280px
   ========================================================= */

@media (max-width: 1280px) {

  .policy {
    padding-top: 22px;
  }

}


/* =========================================================
   <= 1024px
   ========================================================= */

@media (max-width: 1024px) {

  .policy {
    padding:
      24px
      var(--tablet-page-gap)
      var(--space-section-lg);
  }


  .policy h1 {
    font-size: clamp(28px, 4vw, 38px);
    letter-spacing: -1.2px;
  }


  .policy-text {
    font-size: 16px;
    line-height: 1.6;
  }

}


/* =========================================================
   <= 760px
   ========================================================= */

@media (max-width: 760px) {

  .policy {
    padding-top: 22px;
  }


  .policy h1 {
    font-size: clamp(27px, 7.8vw, 34px);
    line-height: 1.08;
    letter-spacing: -1.1px;
  }


  .policy-text h2 {
    font-size: 24px;
  }

}


/* =========================================================
   <= 480px
   ========================================================= */

@media (max-width: 480px) {

  .policy {
    padding:
      20px
      var(--mobile-page-gap)
      var(--space-section-lg);
  }


  .policy h1 {
    font-size: 27px;
  }


  .policy-text {
    margin-top: 28px;

    font-size: 15px;
    line-height: 1.58;
  }


  .policy-text h2 {
    font-size: 22px;
  }


  .policy-text h3 {
    font-size: 18px;
  }

}