@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;
  
  /* Совместимость со старыми CSS страниц */
--tablet-gap: var(--tablet-page-gap);
--mobile-gap: var(--mobile-page-gap);

  /* Единый вертикальный ритм */
  --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(28px, 2.5vw, 38px);
  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;
  }
}




/* =========================================================
   03. DELIVERY SECTION / HEADING
   ========================================================= */

.delivery-section {
  padding:
    62px
    var(--page-right-gap)
    72px
    var(--page-left-gap);
}


.delivery-section__header {
  width: min(100%, 1052px);

  padding-bottom: 24px;


}


.delivery-section__header h1 {
  margin: 0;

  font-size:
    clamp(
      38px,
      3.25vw,
      52px
    );

  font-weight: 300;
  line-height: 1;

  letter-spacing: -0.2px;
}


/* --- DELIVERY HEADING: max-width 1280 --- */

@media (max-width: 1280px) {

  .delivery-section {
    padding-top: 52px;
  }

}


/* --- DELIVERY HEADING: max-width 1024 --- */

@media (max-width: 1024px) {

  .delivery-section {
    padding:
      46px
      var(--tablet-gap)
      64px;
  }


  .delivery-section__header {
    width: 100%;
  }


  .delivery-section__header h1 {
    font-size: 42px;
  }

}


/* --- DELIVERY HEADING: max-width 760 --- */

@media (max-width: 760px) {

  .delivery-section {
    padding-top: 34px;
  }


  .delivery-section__header {
    padding-bottom: 18px;
  }


  .delivery-section__header h1 {
    font-size: 34px;
  }

}


/* --- DELIVERY HEADING: max-width 480 --- */

@media (max-width: 480px) {

  .delivery-section {
    padding:
      28px
      var(--mobile-gap)
      54px;
  }


  .delivery-section__header h1 {
    font-size: 31px;
  }

}



/* =========================================================
   04. DELIVERY GRID
   ========================================================= */

.delivery-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(460px, .96fr);

  align-items: start;

  gap:
    clamp(
      72px,
      7.3vw,
      138px
    );

  width: min(100%, 1220px);

  margin-top: 72px;
}


/* --- DELIVERY GRID: max-width 1280 --- */

@media (max-width: 1280px) {

  .delivery-grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(390px, .9fr);

    gap: 56px;

    margin-top: 58px;
  }

}


/* --- DELIVERY GRID: max-width 1024 --- */

@media (max-width: 1024px) {

  .delivery-grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(350px, .9fr);

    gap: 44px;
  }

}


/* --- DELIVERY GRID: max-width 760 --- */

@media (max-width: 760px) {

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

    gap: 58px;

    margin-top: 44px;
  }

}


/* --- DELIVERY GRID: max-width 480 --- */

@media (max-width: 480px) {

  .delivery-grid {
    gap: 48px;

    margin-top: 36px;
  }

}



/* =========================================================
   05. DELIVERY COPY
   ========================================================= */

.delivery-copy {
  min-width: 0;
}


.delivery-copy__block + .delivery-copy__block {
  margin-top: 42px;
}


.delivery-copy__block h2 {
  margin: 0;

  font-size:
    clamp(
      18px,
      1.35vw,
      22px
    );

  font-weight: 700;
  line-height: 1.25;
}


.delivery-copy__block p {
  margin:
    26px
    0
    0;

  font-size:
    clamp(
      17px,
      1.28vw,
      21px
    );

  font-weight: 300;
  line-height: 1.22;
}


/* --- DELIVERY COPY: max-width 1280 --- */

@media (max-width: 1280px) {

  .delivery-copy__block p {
    font-size: 17px;
  }

}


/* --- DELIVERY COPY: max-width 1024 --- */

@media (max-width: 1024px) {

  .delivery-copy__block h2 {
    font-size: 18px;
  }


  .delivery-copy__block p {
    font-size: 16px;
    line-height: 1.3;
  }

}


/* --- DELIVERY COPY: max-width 760 --- */

@media (max-width: 760px) {

  .delivery-copy__block + .delivery-copy__block {
    margin-top: 38px;
  }


  .delivery-copy__block h2 br,
  .delivery-copy__block p br {
    display: none;
  }


  .delivery-copy__block p {
    margin-top: 20px;
  }

}


/* --- DELIVERY COPY: max-width 480 --- */

@media (max-width: 480px) {

  .delivery-copy__block h2 {
    font-size: 17px;
  }


  .delivery-copy__block p {
    font-size: 15px;
  }

}



/* =========================================================
   06. HOW WE WORK / TIMELINE
   ========================================================= */

.delivery-process {
  position: relative;

  min-width: 0;

  padding-left: 26px;
}


.delivery-process::before {
  content: "";

  position: absolute;

  top: 0;
  bottom: 0;
  left: 0;

  width: 1px;

  background: #111;
}


.delivery-process::after {
  content: "";

  position: absolute;

  top: 63px;
  left: -8px;

  width: 16px;
  height: 16px;

  border-radius: 50%;

  background: var(--sidebar-bg);
}


.delivery-process h2 {
  margin:
    0
    0
    26px;

  font-size:
    clamp(
      18px,
      1.35vw,
      22px
    );

  font-weight: 700;
  line-height: 1.2;
}


.delivery-process__steps {
  display: grid;

  gap: 23px;

  margin: 0;

  padding-left: 31px;
}


.delivery-process__steps li {
  padding-left: 0;

  font-size:
    clamp(
      17px,
      1.28vw,
      21px
    );

  font-weight: 300;
  line-height: 1.25;
}


/* --- PROCESS: max-width 1280 --- */

@media (max-width: 1280px) {

  .delivery-process__steps {
    gap: 20px;
  }


  .delivery-process__steps li {
    font-size: 17px;
  }

}


/* --- PROCESS: max-width 1024 --- */

@media (max-width: 1024px) {

  .delivery-process {
    padding-left: 22px;
  }


  .delivery-process::after {
    top: 58px;

    left: -7px;

    width: 14px;
    height: 14px;
  }


  .delivery-process h2 {
    font-size: 18px;
  }


  .delivery-process__steps {
    gap: 18px;

    padding-left: 27px;
  }


  .delivery-process__steps li {
    font-size: 16px;
    line-height: 1.3;
  }

}


/* --- PROCESS: max-width 760 --- */

@media (max-width: 760px) {

  .delivery-process {
    padding-left: 24px;
  }


  .delivery-process::after {
    top: 56px;
  }


  .delivery-process__steps {
    gap: 20px;
  }


  .delivery-process__steps li br {
    display: none;
  }

}


/* --- PROCESS: max-width 480 --- */

@media (max-width: 480px) {

  .delivery-process {
    padding-left: 20px;
  }


  .delivery-process::after {
    top: 52px;

    left: -6px;

    width: 12px;
    height: 12px;
  }


  .delivery-process h2 {
    margin-bottom: 22px;

    font-size: 17px;
  }


  .delivery-process__steps {
    gap: 18px;

    padding-left: 23px;
  }


  .delivery-process__steps li {
    font-size: 15px;
  }

}



/* =========================================================
   07. SMALL MOBILE — 320px STABILIZATION
   ========================================================= */

@media (max-width: 360px) {

  .delivery-section {
    padding-right: var(--mobile-gap);
    padding-left: var(--mobile-gap);
  }


  .delivery-section__header h1 {
    font-size: 29px;
  }


  .delivery-copy__block p,
  .delivery-process__steps li {
    overflow-wrap: anywhere;
  }

}



/* =========================================================
   08. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    transition-duration: .01ms !important;
    animation-duration: .01ms !important;

    animation-iteration-count: 1 !important;
  }

}
