html {
    scroll-behavior: smooth;
}

#nashi-raboty {
    scroll-margin-top: 24px;
}

:root {
    --color-dark: #262626;
    --color-accent: #e5ccb0;
    --color-accent-deep: #4d3d30;
    --color-muted: #8e8e8e;
    --color-surface: #f4f4f4;
    --color-cta: #fa6e37;
    --color-white: #ffffff;
    --radius-sm: 8px;
    --radius-md: 16px;
    --container-max: 1400px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.2s;
    --duration-base: 0.45s;
    --duration-slow: 0.7s;
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-lift: 0 16px 48px rgba(0, 0, 0, 0.12);
        --swiper-theme-color: #000000;
        --webkit-text-fill-color: #000;
}

* {
    box-sizing: border-box;
}

*::before,*::after {
    box-sizing: inherit;
}

button {
    outline: none;
    border: none;
}

/* @supports (-webkit-appearance: none) {
    body {
        overflow:auto!important;
    }
} */

img {
    border: none;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

select {
    appearance: none;
}

input[type='number'] {
    -moz-appearance: textfield;
}

input[type='submit'] {
    -webkit-appearance: none;
    cursor: pointer;
}

input::-webkit-outer-spin-button,input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

html {
    touch-action: manipulation;
    overflow-x: hidden;
}

body {
    position: relative;
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-family: 'Fixel Display';
    font-weight: 500;
    color: rgba(38, 38, 38, 1);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column; 
}

main {
    flex: 1;
    margin-top: 84px;
}

button {
    cursor: pointer;
}

button[type="submit"] {
    padding: 0;
    background: none;
    border: none;
    outline: none;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}


/* main__page */

.herosection {
    background: url(../images/herosection-b.png);
}

.header__top {
    margin: 30px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.header__logo {
    font-family: 'Fixel Display';
    font-size: 40px;
    line-height: 42px;
    font-weight: 400;
    color: #fff;
}
.header__logo a span {
    font-weight: 500;
}
.header__info {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 80px;
}
.header__lineL {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.header__adress, .header__timeWork{
    font-family: 'Fixel Display';
    font-weight: 500;
    font-size: 16px;
    color: #fff;
}

.header__lineR {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
a.header__phone--active {
    font-family: 'Fixel Display';
    font-weight: 500;
    font-size: 24px;
    line-height: 30px;
    color: #fff;
}
.header__callback a {
    font-family: 'Fixel Display';
    font-weight: 500;
    font-size: 16px;
    text-decoration: underline;
    color: #fff;
}

/*  */
.menu__item--sub {
    display: none;
}
/*  */

nav.menu {
    display: flex;
    flex-direction: row;
    padding: 0 70px;
    background: #fff;
    border-radius: 8px;
    justify-content: space-evenly;
}

.menu__item--container {
    font-family: 'Fixel Display';
    font-weight: 600;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    border-right: 1px solid rgba(220, 220, 219, 1);
    padding-right: 33px;
}
.menu__item:nth-last-child(1) .menu__item--container {
    border: none;
}
.menu__item {
    position: relative;
    padding: 24px 0;
}
.menu__item-list--sub {
    border-radius: 0 0 8px 8px;
    position: absolute;
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 16px;
    left: 0;
    top: 68px;
    gap: 8px;
    width: max-content;
    z-index: 11;
}
a.menu__item-list--subitem {
    font-family: 'Fixel Display';
    font-weight: 600;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}
.menu__item:hover > .menu__item--sub{ 
    
    display: block;
    /* -webkit-animation: spMenuFadeIn 400ms;
    animation: spMenuFadeIn 400ms; */
}

/* @keyframes spMenuFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
} */

.herosection__title {
    margin-top: 72px;
    margin-bottom: 97px;
    max-width: 786px;
    position: relative;
    z-index: 1;
}

.herosection__title--step1 {
    font-family: 'Fixel Display';
    color: #fff;
    font-weight: 400;
    font-size: 54px;
    line-height: 56px;
    max-width: 700px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0 18px;
}
.herosection__title--step1 b {
    font-family: 'Fixel Display';
    color: #E5CCB0;
    font-weight: 400;
    font-size: 54px;
    line-height: 56px;
}
.herosection__title--step1 a {
    gap: 16px;
    font-family: 'Fixel Display';
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    flex-direction: row;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 0 8px 0 24px;
    align-items: center;
    margin-top: -15px;
    position: relative;
    z-index: 1;
}
.herosection--step2 {
    margin: 35px 0 50px 0;
}
a.herosection__title-herobtn {
    font-family: 'Fixel Display';
    font-weight: 600;
    font-size: 14px;
    background: #fff;
    padding: 20px 24px;
    border-radius: var(--radius-sm);
    transition:
        transform var(--duration-fast) var(--ease-out),
        box-shadow var(--duration-fast) var(--ease-out),
        background var(--duration-fast) var(--ease-out);
}
a.herosection__title-herobtn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
    background: var(--color-accent);
    color: var(--color-dark);
}
a.herosection__title-herobtn:active {
    transform: translateY(0) scale(0.98);
}
.herosection__utp {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 28px;
}
.herosection__utp-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    color: #fff; 
}
.herosection__utp-name {
    font-family: 'Fixel Display';
    font-weight: 500;
    font-size: 16px;
    max-width: 231px;
}

.herosection {
    padding-top: 184px;
    background: url(../images/herosection-b.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}
.herosection__container:after {
    content: '';
    background: url(../images/shkaf.png);
    background-repeat: no-repeat;
    background-position-x: right;
    position: absolute;
    width: 100%;
    height: 584px;
    bottom: -97px;
}
body.page__main header {
    position: absolute;
    width: 100%;
    z-index: 11;
}
.herosection__container.container {
    position: relative;
}

section.whywe {
    background: rgba(38, 38, 38, 1);
    padding: 80px 0;
}
section.cat__slider {
    background: rgba(38, 38, 38, 1);
    padding-bottom: 98px;
    overflow: hidden;
}
.title--all {
    font-family: 'Fixel Display';
    font-weight: 500;
    font-size: 40px;
    line-height: 44px;
    color: #fff;
    margin-bottom: 24px;
}
.title--all--gray {
    color: rgba(38, 38, 38, 1);
}
.whywe__list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
}
.whywe__name {
    padding-top: 84px;
    font-family: 'Fixel Display';
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    margin-bottom: 8px;
}
.whywe__item {
    position: relative;
    padding: 0 24px;
    width: 25%;
}
.whywe__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
    width: 96%;
    margin-left: 2%;
  background: rgba(244, 240, 234, 0.2);
}

.whywe__item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: rgba(244, 240, 234, 0.2);
}

.whywe__item:nth-last-child(1)::after {
    display: none;
}
.whywe__item {

}
.whywe__item--f1 {
    background: url(../images/1.png);
    background-position-x: 30px;
    background-position-y: 50%;
    background-repeat: no-repeat;
}
.whywe__item--f2 {
    background: url(../images/2.png);
    background-position-x: 30px;
    background-position-y: 50%;
    background-repeat: no-repeat;
}
.whywe__item--f3 {
    background: url(../images/3.png);
    background-position-x: 30px;
    background-position-y: 50%;
    background-repeat: no-repeat;
}
.whywe__item--f4 {
    background: url(../images/4.png);
    background-position-x: 30px;
    background-position-y: 50%;
    background-repeat: no-repeat;
}
.whywe__name {
    padding-top: 84px;
    font-family: 'Fixel Display';
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    margin-bottom: 8px;
}
.whywe__descrition {
    color: rgba(142, 142, 142, 1);
    font-family: 'Fixel Display';
    font-weight: 400;
    font-size: 14px;
    line-height: 16.8px;
}
.swiper-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start; 
}
.swiper-slide.cat__slide {
    transition: 300ms all ease;
    position: relative;
}
.swiper-slide.cat__slide.swiper-slide-active {
    flex: 0 0 692px;
    width: 692px !important;
}
.swiper-slide.cat__slide:not(.swiper-slide-active) {
    flex: 0 0 338px;

    border-radius: 18px;
    overflow: hidden;
}
.swiper__cat .swiper-wrapper img {
        max-width: 692px;
        width: 692px;
        height: 535px;
        border-radius: 16px;
}

.cat__slide-info {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: #fff;
    padding: 24px 24px 24px 32px;
    border-radius: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.cat__slide-name {
    font-family: 'Fixel Display';
    font-weight: 500;
    font-size: 20px;
    line-height: 22px;
}
.cat__slide-description {
    font-family: 'Fixel Display';
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    max-width: 342px;
    transition: 300ms all ease;
}
.swiper-slide.cat__slide:not(.swiper-slide-active) .cat__slide-description{
    display: none;
}
.swiper__cat {
    position: relative;
}
.cat__slider .swiper-pagination 
 {
    position: relative;
    right: 0;
    left: auto;
    display: flex;
    flex-direction: row;
    z-index: 1;
    /* justify-content: space-around; */ 
    margin-top: -5px;
    gap: 8px;
}
.swiper_pagi-cat {
    position: absolute;
    display: flex;
    flex-direction: row;
    right: 0;
    top: -40px;
    justify-content: space-between;
    align-items: center;
    gap: 0 25px;
    margin: 0;
}
.swiper-button-prev,.swiper-button-next {
    position: relative;
    left: auto !important;
    right: auto !important;
    top: auto!important;
    bottom: auto!important;
    margin: 0;
    width: 100%;
    height: 12px;
}

.swiper_pagi-cat .swiper-pagination-bullet {
    margin: 0 !important;
    width: 8px !important;
    height: 8px !important;
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

.swiper_pagi-cat .swiper-pagination-bullet-active {
    background-color: #fff;
}

/* ── Section ── */
    .portfolio {
      padding: 64px 0 80px;
    }
 
    /* .portfolio__title {
      font-size: clamp(24px, 3.5vw, 38px);
      font-weight: 600;
      letter-spacing: -0.5px;
      margin-bottom: 28px;
      line-height: 1.15;
    } */
 
    /* ══════════════════════════════════
       TABS — inside container
    ══════════════════════════════════ */
    .tabs-wrap {
      position: relative;
      margin-bottom: 24px;
    }
    .tabs {
      display: flex;
      align-items: flex-end;
      overflow-x: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
      border-bottom: 1.5px solid #e5e5e5;
    }
    .tabs::-webkit-scrollbar { display: none; }
 
    .tab-btn {
      flex-shrink: 0;
      background: none;
      border: none;
      cursor: pointer;
      font-family: inherit;
      font-size: 14px;
      font-weight: 400;
      color: #888;
      padding: 0 0 13px;
      margin-right: 28px;
      position: relative;
      white-space: nowrap;
      transition: color 0.2s;
      -webkit-tap-highlight-color: transparent;
    }
    .tab-btn:last-child { margin-right: 0; }
    .tab-btn::after {
      content: '';
      position: absolute;
      bottom: -1.5px; left: 0; right: 0;
      height: 2px;
      background: #1a1a1a;
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.25s ease;
    }
    .tab-btn:hover { color: #1a1a1a; }
    .tab-btn.active { color: #1a1a1a; font-weight: 500; border-bottom: 1.5px solid rgb(38, 38, 38)}
    .tab-btn.active::after { transform: scaleX(1); }
 
    /* right-edge fade */
    .tabs-wrap::after {
      content: '';
      position: absolute;
      right: 0; top: 0; bottom: 0;
      width: 48px;
      background: linear-gradient(to right, transparent, #fff);
      pointer-events: none;
    }
 
    /* ══════════════════════════════════
       SLIDER PANELS — full width
    ══════════════════════════════════ */
    .panels-wrap {
      width: 100%;
    }
 
    .tab-panel { display: none; }
    .tab-panel.active { display: block; }
 
    /* Full-width slider */
    .slider-outer {
      position: relative;
      width: 100vw;
      /* keep left edge flush with page */
    }
 
    .slider-viewport {
      overflow: hidden;
      width: 100%;
    }
 
    .slider-track {
      display: flex;
      gap: 14px; /* gaps handled via padding/margins so we can compute precisely */
      transition: transform 0.45s cubic-bezier(.4,0,.2,1);
      will-change: transform;
    }
 
    /* Slides */
    .slide {
      flex-shrink: 0;
      /* width set by JS = (100vw - gaps) / 3 */
      overflow: hidden;
      background: #f0f0f0;
      aspect-ratio: 4/3;
      position: relative;
      border-radius: 16px;
    }
 
    .slide img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.5s ease;
    }
    .slide:hover img { transform: scale(1.04); }
 
    /* Arrow buttons — overlaid on the slider */
    .arrow-btn {
      position: absolute;
      top: 50%; transform: translateY(-50%);
      z-index: 10;
      width: 52px; height: 52px;
      border-radius: 50%;
      background: rgba(255,255,255,0.92);
      border: none;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 4px 18px rgba(0,0,0,0.18);
      transition: background 0.2s, box-shadow 0.2s;
      -webkit-tap-highlight-color: transparent;
    }
    .arrow-btn:hover  { background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,0.22); }
    .arrow-btn:disabled { opacity: 0; pointer-events: none; }
    .arrow-btn svg { width: 20px; height: 20px; stroke: #1a1a1a; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .arrow-prev { left: 24px; }
    .arrow-next { right: 24px; }
 
    /* ══════════════════════════════════
       RESPONSIVE
    ══════════════════════════════════ */
    @media (max-width: 900px) {
      /* 2 slides on tablet */
    }
 
    @media (max-width: 600px) {
      .portfolio { padding: 36px 0 0; }
      .container { padding-left: 16px; padding-right: 16px; }
      .portfolio__title { margin-bottom: 20px; }
      .tab-btn { font-size: 13px; margin-right: 18px; }
      .arrow-btn { width: 40px; height: 40px; }
      .arrow-prev { left: 12px; }
      .arrow-next { right: 12px; }
    }

    /* ════════════════════════════════════════
       BLOCK 1 — УЖЕ ЕСТЬ ДИЗАЙН ПРОЕКТ
    ════════════════════════════════════════ */
    .design-block { 
      overflow: hidden;
      position: relative;
      min-height: 220px;
      background:  #F4F4F4;
      background: url(../images/mass.png) #F4F4F4;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: right;
    } 
 
    .design-block__inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 220px;
      gap: 40px;
    }
 
    .design-block__text {
      padding: 48px 0; 
      position: relative;
      z-index: 2;
    }
 
    /* .design-block__title {
      font-size: clamp(22px, 3vw, 36px);
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 14px;
      letter-spacing: -0.5px;
    } */
 
    .design-block__desc {
    font-weight: 500;
    font-size: 16px;
    color: rgba(142, 142, 142, 1);
    letter-spacing: 0%;
    max-width: 522px;
    margin-bottom: 32px;
    margin-top: 24px;
    }
 
    .btn-dark {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: var(--color-dark);
      color: #fff;
      font-family: inherit;
      font-size: 14px;
      font-weight: 600;
      padding: 14px 28px;
      border-radius: var(--radius-sm);
      border: none;
      cursor: pointer;
      text-decoration: none;
      white-space: nowrap;
      transition:
        background var(--duration-fast) var(--ease-out),
        transform var(--duration-fast) var(--ease-out),
        box-shadow var(--duration-fast) var(--ease-out);
    }
    .btn-dark:hover {
      background: #333;
      transform: translateY(-2px);
      box-shadow: var(--shadow-soft);
    }
    .btn-dark:active { transform: translateY(0) scale(0.98); }
 
    .design-block__img {
      flex-shrink: 0;
      width: clamp(280px, 45%, 560px);
      position: relative;
      z-index: 1;
      align-self: flex-end;
    }
    .design-block__img img {
      width: 100%;
      display: block;
      object-fit: contain;
      max-height: 280px;
    }
 
    /* ════════════════════════════════════════
       BLOCK 2 — ПРИМЕРЫ ГОТОВОЙ ПРОДУКЦИИ
    ════════════════════════════════════════ */
    .products {
      padding: 64px 0 0;
      background: #fff;
    }
 
    .products__header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 32px;
    }
 
    /* .products__title {
      font-size: clamp(22px, 3vw, 34px);
      font-weight: 600;
      letter-spacing: -0.4px;
    } */
 
    .swiper-nav {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }
 
      .swiper-nav-btn {
      /* width: 38px; height: 38px;
      border-radius: 50%;
      border: 1.5px solid #ddd; */
      background: #fff;
      cursor: pointer;
      display: flex; 
      align-items: center; 
      justify-content: center;
      /* transition: border-color 0.2s, background 0.2s;
      flex-shrink: 0;
      -webkit-tap-highlight-color: transparent; */
    }
    .swiper-nav-btn:hover { border-color: #aaa; background: #fafafa; }
    .swiper-nav-btn:disabled { opacity: 0.35; cursor: default; }
    /* .swiper-nav-btn svg {   stroke: #1a1a1a; fill: black; stroke-width: 2; stroke-linecap: round;   } */
  
    /* Dots */
    .swiper-pagination-products {
      display: flex;
      align-items: center;
      gap: 5px;
    }
    .swiper-pagination-products .swiper-pagination-bullet {
      width: 7px; height: 7px;
      background: #ccc;
      border-radius: 50%;
      opacity: 1;
      transition: background 0.2s, width 0.2s;
    }
    .swiper-pagination-products .swiper-pagination-bullet-active {
      background: #1a1a1a;
      /* width: 20px; */
      border-radius: 4px;
    }
 
    /* Product card */
    .product-card {
        background: rgba(244, 244, 244, 1);
      border: 1.5px solid #ebebeb;
      border-radius: 16px;
      overflow: hidden;
      height: 100%;
      display: flex;
      flex-direction: column;
      transition:
        box-shadow var(--duration-base) var(--ease-out),
        transform var(--duration-base) var(--ease-out);
    }
    .product-card:hover { 
      transform: translateY(-4px);
    }
 
    .product-card__img {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0;
    border-radius: 16px;
    }
    .product-card__img img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.5s ease;
    }
    .product-card:hover .product-card__img img { transform: scale(1.04); }
 
    .product-card__body {
        padding: 24px 24px 32px;
        display: flex;
        flex-direction: column;
        flex: 1;
    }
 
    .product-card__name {
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 14px;
      line-height: 1.3;
    }
 
    .product-card__specs {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 16px;
    }
 
    .spec-tag {
     display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border-radius: 24px;
    padding: 10px 16px;
    color: #444;
    white-space: nowrap;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0%;
    }
    .spec-tag span { color: #888; }
 
    .product-card__footer {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 12px;
      margin-top: auto;
      padding-top: 14px;
      border-top: 1px solid #f0f0f0;
    }
 
    .product-card__note {
font-weight: 400;
    font-size: 14px;
    color: rgba(145, 142, 153, 1);
    letter-spacing: 0%;
    max-width: 230px;
    }
 
    .product-card__price {
      display: flex;
    text-align: right;
    flex-shrink: 0;
    gap: 6px;
    flex-direction: column;
    }
    .product-card__price-label {
         color: rgba(77, 61, 48, 1);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0%;
    }
    .product-card__price-value {
      font-weight: 600;
    font-size: 24px;
    letter-spacing: 0%;
    color: rgba(77, 61, 48, 1);
    }
 
    /* ════════════════════════════════════════
       BLOCK 3 — ЗАПИШИТЕСЬ / ФОРМА / СОЦСЕТИ
    ════════════════════════════════════════ */
    .contact-section {
      padding: 80px 0 72px; 
    }
 
    .contact-grid {
          display: grid;
        grid-template-columns: 1.8fr 1fr;
        min-height: 420px;
        overflow: hidden;
    }
 
    /* Left — dark bg with photo */
    .contact-left {
      background: url(../images/masscontact.png);background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
      position: relative;
        padding: 40px 40px 40px 56px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        overflow: hidden;
        align-items: center;
        border-radius: 16px;
    } 
    .contact-left-product { 
      background: url(../images/backimg.png);
      background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    }
    .percent-product {
    font-weight: 500;
    font-size: 160px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #fff;
}
.contact-left__title span {
    color: rgba(247, 99, 40, 1);
}
    .contact-left__content { 
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        gap: 32px;
        justify-content: space-between;
     }
    .contact-left__title { 
        color: #fff;
        font-weight: 500; 
        font-size: 40px; 
        line-height: 44px;
        letter-spacing: 0%;

    }
    .contact-perk {
     display: flex;
    gap: 16px;
    background: #fff;
    border-radius: 8px;
    padding: 10px 24px;
    color: rgba(38, 38, 38, 1);
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    justify-content: flex-start;
    width: max-content;
    } 
 
    /* Middle — form */
    .contact-middle {
      background: #fff;
        padding: 32px;
        display: flex;
        flex-direction: column;
        max-width: 384px;
        border-radius: 16px;
    }
    .contact-middle__title { 
    font-weight: 500;
    font-size: 24px;
    line-height: 24px;
    margin-bottom: 16px;
    }
 
    .form-field {
      margin-bottom: 14px;
    }
    .form-field input {
      width: 100%;
    border: 1.5px solid #e5e5e5;
    border-radius: 8px;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 14px;
    color: #1a1a1a;
    background: #ffffff;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
    }
    .form-field input::placeholder { color: #bbb; }
    .form-field input:focus { border-color: #1a1a1a; background: #fff; }
 
    button[type="submit"].btn-orange {
display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-dark);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
    }
    .btn-orange:hover {
      /* background: #e85f2a; */
      transform: translateY(-2px);
      /* box-shadow: 0 12px 28px rgba(250, 110, 55, 0.35); */
    }
    .btn-orange:active { transform: translateY(0) scale(0.98); }
 
    .form-disclaimer {
          font-weight: 400;
    font-size: 10px;
    line-height: 11.2px;
    letter-spacing: 0%;
    color: rgba(145, 142, 153, 1);
    margin-top: 16px;
    }
.form-disclaimer a {
    color: inherit;
    text-decoration: underline;
}

.contact-middle .dns-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.contact-middle .dns-form__message {
    font-size: 13px;
    line-height: 1.4;
    margin: 8px 0 0;
    min-height: 0;
}

.contact-middle .dns-form__message:not(:empty) {
    min-height: 1.4em;
}

.contact-middle .dns-form__message--success {
    color: #1a7f37;
}

.contact-middle .dns-form__message--error {
    color: #c0392b;
}
 
    /* Right — messengers */
    .contact-right {
      background: #222;
      padding: 40px;
      display: flex;
      flex-direction: column; 
      border-radius: 16px;
    justify-content: space-between;
    }
    .contact-right__title {
          font-weight: 500;
    font-size: 24px;
    line-height: 24px;
    color: #fff;
    }
 
    .messenger-btn {
      display: flex;
    justify-content: space-between;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 8px;
    padding: 22px 32px;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    margin-bottom: 8px;
    align-items: center;
    }
    .messenger-btn:last-child { margin-bottom: 0; }
    .messenger-btn:hover { background: #363636; }
    .messenger-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
 
    .tg-icon  { fill: #29b0d8; }
    .wa-icon  { fill: #25d366; }
 
    /* ════════════════════════════════════════
       RESPONSIVE
    ════════════════════════════════════════ */
 
    /* Tablet */
    @media (max-width: 1024px) {
      .contact-grid { grid-template-columns: 1fr 1fr; }
      .contact-right {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        gap: 24px;
        padding: 28px 36px;
      }
      .contact-right__title { margin-bottom: 0; flex-shrink: 0; font-size: 16px; }
      .messengers-row { display: flex; gap: 12px; flex: 1; }
      .messenger-btn { margin-bottom: 0; flex: 1; }
    }
 
    @media (max-width: 900px) {
      .container { padding: 0 24px; }
      .design-block__img { width: clamp(200px, 40%, 360px); }
    }
 
    /* Mobile */
    @media (max-width: 680px) {
      .container { padding-left: 16px; padding-right: 16px; }
 
      /* Design block */
      .design-block__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        min-height: unset;
      }
      .design-block__text { padding: 36px 0 24px; max-width: 100%; }
      .design-block__img {
        width: 100%;
        max-width: 340px;
        align-self: flex-end;
      }
      .design-block__img img { max-height: 200px; }
 
      /* Products */
      .products { padding: 44px 0 52px; }
      .products__header { margin-bottom: 20px; }
 
      /* Contact */
      .contact-section { padding: 0 0 48px; }
      .contact-grid {
        grid-template-columns: 1fr;
        border-radius: 16px;
      }
      .contact-left  { padding: 36px 24px; min-height: 260px; }
      .contact-middle { padding: 32px 24px; }
      .contact-right {
        grid-column: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
        gap: 16px;
      }
      .contact-right__title { margin-bottom: 0; }
      .messengers-row { flex-direction: column; width: 100%; }
      .messenger-btn { width: 100%; }
    }
 
    @media (max-width: 400px) {
      .spec-tag { font-size: 11px; padding: 4px 8px; }
      .product-card__price-value { font-size: 15px; }
    }

.jertej-inner {
    padding: 56px;
    border-radius: 16px;
    background: url(../images/image65.png) rgb(251 251 251);
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.09);
}
.jertej-name {
    font-weight: 500;
    font-size: 40px;
    line-height: 44px;
    letter-spacing: 0%;
    max-width: 50%;
    margin-bottom: 32px;
}
.jertej-description {
    font-weight: 400;
    font-size: 14px;
    line-height: 16.8px;
    letter-spacing: 0%;
    margin-bottom: 40px;
    max-width: 49.97%;
}
.itfor-name {
    font-weight: 500;
    font-size: 24px;
    line-height: 26.4px;
    letter-spacing: 0%;
    margin-bottom: 16px;
}
.itfor-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.jertej-itfor {
    margin-bottom: 40px;
}
.itfor-item {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}
.jertej-btn a {
    background: rgb(38, 38, 38);
    padding: 20px 24px;
    text-align: center;
    color: #fff;
    border-radius: 8px;
}
section.jertej {
    margin-bottom: 90px;
}

.materials-list {
    gap: 24px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.material-item {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.material-info {
    background: rgba(244, 244, 244, 1);
    border-radius: 0 16px 16px 0;
    padding: 24px;
    max-width: 202px;
}
.material-name {
    font-weight: 500;
    font-size: 24px;
    line-height: 26.4px;
    letter-spacing: 0%;
    margin-bottom: 8px;
}
.material-description {
    font-weight: 400;
    font-size: 14px;
    line-height: 16.8px;
    letter-spacing: 0%;
}

.hero {
      background-color: var(--color-bg-dark);
      padding: 80px 20px 60px;
      overflow: hidden;
    }
 
    .hero__container {
      max-width: var(--container);
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }
 
    .hero__content {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
 
    .hero__title {
      font-size: clamp(28px, 3vw, 42px);
      font-weight: 800;
      line-height: 1.25;
      color: var(--color-text);
      letter-spacing: -0.5px;
    }
 
    .hero__title-highlight {
      color: var(--color-accent);
    }
 
    .hero__description {
      font-size: 14px;
      line-height: 1.7;
      color: var(--color-text-muted);
      max-width: 380px;
    }
 
    .hero__button {
      display: inline-block;
      align-self: flex-start;
      padding: 13px 28px;
      background: transparent;
      color: var(--color-text);
      border: 1.5px solid var(--color-border-light);
      border-radius: var(--radius);
      font-family: var(--font);
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: background var(--transition), border-color var(--transition), color var(--transition);
      text-decoration: none;
    }
 
    .hero__button:hover {
      background: var(--color-accent);
      border-color: var(--color-accent);
      color: #fff;
    }
 
    /* Картинка / шкаф */
    .hero__image {
      position: relative;
      height: 400px;
      border-radius: var(--radius);
      overflow: hidden;
      background: #0d0d0d;
    }
 
    .hero__image-placeholder {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
    }
 
    /* SVG-силуэт шкафа */
    .cabinet-svg {
      width: 80%;
      height: 80%;
      opacity: 0.6;
    }
 
    /* ============================================
       PROCESS SECTION
    ============================================ */
    .process {
      background-color: var(--color-bg-darker);
      padding: 60px 20px 80px;
    }
 
    .process__container {
      max-width: var(--container);
      margin: 0 auto;
    }
 
    .process__title {
      font-size: clamp(22px, 2.5vw, 34px);
      font-weight: 800;
      color: var(--color-text);
      margin-bottom: 40px;
      letter-spacing: -0.3px;
    }
 
    .process__list {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2px;
    }
 
    .process__item {
      background-color: var(--color-bg-card);
      padding: 28px 24px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      transition: background var(--transition);
      cursor: default;
    }
 
    .process__item:first-child {
      border-radius: var(--radius) 0 0 var(--radius);
    }
 
    .process__item:last-child {
      border-radius: 0 var(--radius) var(--radius) 0;
    }
 
    .process__item:hover {
      background-color: var(--color-bg-card-hover);
    }
 
    .process__item-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 8px;
    }
 
    .process__item-title {
      font-size: 13px;
      font-weight: 700;
      color: var(--color-text);
      line-height: 1.4;
    }
 
    .process__item-arrow {
      flex-shrink: 0;
      width: 32px;
      height: 32px;
      background-color: var(--color-bg-darker);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background var(--transition), transform var(--transition);
    }
 
    .process__item:hover .process__item-arrow {
      background-color: var(--color-accent);
      transform: translateX(3px);
    }
 
    .process__item-arrow svg {
      width: 14px;
      height: 14px;
      fill: none;
      stroke: #fff;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
 
    .process__item--last .process__item-arrow {
      display: none;
    }
 
    .process__item-description {
      font-size: 12px;
      line-height: 1.65;
      color: var(--color-text-muted);
    }
 
    /* ============================================
       FAQ SECTION
    ============================================ */
    .faq {
      background-color: rgba(244, 244, 244, 1);
      padding: 80px 0;
    } 
 
    .faq__list {
      display: flex;
      flex-direction: column;
    }
 
    .faq__item { 
      overflow: hidden;
    }
    .faq__item-inner {
      border-top: 1px solid #e5e5e5;
    }
    .faq__item:nth-child(1) .faq__item-inner{
        border: none;
    }
    .faq__item.faq__item--active {
        background: #fff;
    } 
    .faq__item--active .faq__item-icon svg line:nth-child(2) {
        display: none;
    }
.faq__item.faq__item--active .faq__item-inner{
        border-top: 1px solid transparent;
    } 

 
    .faq__item--active .faq__item-icon svg {
      transform: rotate(90deg);
    }
    .faq__item-button {
      width: 100%;
      display: flex;
      align-items: center;
      gap: 30px;
      padding: 17px 0;
      background: none;
      border: none;
      cursor: pointer;
      text-align: left;
      font-family: var(--font);
      transition: opacity var(--transition);
    }
 
    .faq__item-button:hover {
      opacity: 0.7;
    }
 
    .faq__item-num {
    border: 1px solid rgba(220, 220, 219, 1);
    color: black;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 24px;
    font-weight: 400;
    font-size: 16px;
    line-height: 14px;
    letter-spacing: 0%;
    }
 
    .faq__item-question {
      flex: 1;
      font-size: 15px;
      font-weight: 600;
      color: #111111;
      line-height: 1.4;
    }
 
    .faq__item-icon {
      flex-shrink: 0;
      width: 36px;
      height: 36px;
      background-color: #111111;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background var(--transition), transform var(--transition);
    }
 
    .faq__item-icon svg {
      width: 14px;
      height: 14px;
      stroke: #ffffff;
      stroke-width: 2.5;
      stroke-linecap: round;
      fill: none;
      transition: transform 0.35s ease;
    }
 
    .faq__item--active .faq__item-icon {
      background-color: #111111;
    }
  
 
    .faq__item-body {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows 0.35s ease;
    }
 
    .faq__item--active .faq__item-body {
      grid-template-rows: 1fr;
    }
 
    .faq__item-body-inner {
      overflow: hidden;
    }
 
    .faq__item-answer {
      padding: 0 0 24px 78px;
        font-size: 14px;
        line-height: 1.75;
        color: #555555;
        max-width: 95%;
        margin: 0;
    }
 
    /* ============================================
       ANIMATIONS (появление)
    ============================================ */
    .animate-in {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
 
    .animate-in.visible {
      opacity: 1;
      transform: translateY(0);
    }
 
    .animate-in:nth-child(1) { transition-delay: 0s; }
    .animate-in:nth-child(2) { transition-delay: 0.1s; }
    .animate-in:nth-child(3) { transition-delay: 0.2s; }
    .animate-in:nth-child(4) { transition-delay: 0.3s; }
 
    /* ============================================
       RESPONSIVE
    ============================================ */
    @media (max-width: 1024px) {
      .hero__container {
        grid-template-columns: 1fr;
      }
 
      .hero__image {
        height: 280px;
      }
 
      .process__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
      }
 
      .process__item:first-child  { border-radius: var(--radius) 0 0 0; }
      .process__item:nth-child(2) { border-radius: 0 var(--radius) 0 0; }
      .process__item:nth-child(3) { border-radius: 0 0 0 var(--radius); }
      .process__item:last-child   { border-radius: 0 0 var(--radius) 0; }
    }
 
    @media (max-width: 640px) {
      .hero { padding: 50px 16px 40px; }
      .hero__image { display: none; }
 
      .process { padding: 40px 16px 60px; }
      .process__list {
        grid-template-columns: 1fr;
        gap: 2px;
      }
      .process__item { border-radius: 0 !important; }
      .process__item:first-child { border-radius: var(--radius) var(--radius) 0 0 !important; }
      .process__item:last-child  { border-radius: 0 0 var(--radius) var(--radius) !important; }
 
      .faq { padding: 50px 16px; }
      .faq__item-answer { padding-left: 0; }
    }
    section.materials {
    margin-bottom: 80px;
}

section.team {
    background: url(../images/teamback.png) rgba(38, 38, 38, 1);
    padding: 64px;
    position: relative;
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
}
.team-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 54%;
}
.team-name {
    font-weight: 500;
    font-size: 40px;
    line-height: 44px;
    letter-spacing: 0%;
    color: #fff;
}
.team-name span {
    color: rgba(229, 204, 176, 1);
}
.team-descr {
    color: rgba(142, 142, 142, 1);
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0%;
}

.team-btn a {
    padding: 20px 32px;
    background: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0%;
}
.team-info {
    margin-top: 72px;
}
.team-info-name {
    color: rgba(255, 255, 255, 1);
    font-weight: 500;
    font-size: 40px;
    line-height: 44px;
    letter-spacing: 0%;
    margin-bottom: 32px;
}
.team-list {
    display: flex;
    flex-direction: row;
    gap: 1px;
}
/* .team-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1); 
    position: relative;
} 
.team-item-name {
    color: rgba(255, 255, 255, 1);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0%;
}
.team-item-descr {
    color: rgba(142, 142, 142, 1);
    font-weight: 400;
    font-size: 14px;
    line-height: 16.8px;
    letter-spacing: 0%;
} */
 
.team-item {
    display: flex;
    flex-direction: column;
    position: relative;
} 
.team-item-name {
    color: rgba(255, 255, 255, 1);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0%;
    padding: 40px 40px 16px 40px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1); 
}
.team-item-descr {
    color: rgba(142, 142, 142, 1);
    font-weight: 400;
    font-size: 14px;
    line-height: 16.8px;
    letter-spacing: 0%;
    padding: 0 40px 40px 40px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1); 
}
.team-item:nth-child(1) .team-item-name {
    border-radius: 16px 0 0 0; 
}
.team-item:nth-child(1) .team-item-descr {
    border-radius: 0 0 0 16px;
}

.team-item:nth-child(4) .team-item-name {
    border-radius: 0 16px 0 0; 
}
.team-item:nth-child(4) .team-item-descr {
    border-radius: 0 0 16px 0;
}
.team-item svg {
    position:absolute;
    width: 55px;
    height: 55px;
    right: 0;
    top: 50%;
    transform: translate(27px, -50%);
    z-index: 3;
}
.team-item:last-child svg {
    display:none
}

.reviews {
  padding: 80px 0;background: rgba(244, 244, 244, 1);
}
.reviews,
.reviews .swiper-slide {
    opacity: 1;
    transform: none;
    visibility: visible;
}
.swiper-reviews .swiper-slide {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    position: relative;
}
.swiper-reviews .swiper-slide:after {
  content: url(../images/reviews.png);
  position: absolute;
    right: 6px;
    top: -4px;
}
.header-slide-rev {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.slide-img img {
    border-radius: 50%;
    max-width: 85px;
}
.slide-name-n {
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0%;
}
.slide-info {
    color: rgba(77, 61, 48, 1);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0%;
    background: rgba(229, 204, 176, 1);
    padding: 8px 16px;
    border-radius: 24px;
}
.descr-slide-rev {
    font-weight: 400;
    font-size: 14px;
    line-height: 16.8px;
    letter-spacing: 0%;
}

.swiper-pagination-bullets.swiper-pagination-horizontal {
  width: auto;
}
.swiper-nav-team {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}
.reviews .swiper-nav-btn {
  background: transparent;
}
.site-footer {
  background: #1a1a1a;
  color: #e8e8e8;
  font-size: 15px;
  line-height: 1.5;
}

.site-footer__inner {  
  padding: 52px 0 21px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.85fr 1.1fr;
  gap: 40px 32px;
  align-items: start;
}

/* Логотип */
.site-footer__logo {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  margin-bottom: 24px;
}

.site-footer__logo-dns {
  display: block;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.site-footer__logo-mebel {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.35em;
  margin-top: 4px;
  color: #fff;
}

.site-footer__desc {
    margin: 0;
    line-height: 1.55;
    color: rgba(142, 142, 142, 1);
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0%;
    max-width: 90%;
}

/* Заголовки колонок */
.site-footer__heading {
    margin: 0 0 32px;
    padding-bottom: 16px;
    color: #fff;
    border-bottom: 1px solid #fff;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0%;
}

/* Списки ссылок */
.site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__list li {
  margin-bottom: 8px;
}

.site-footer__list li:last-child {
  margin-bottom: 0;
}

.site-footer__list a,
.site-footer__col--contacts a {
  color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0%;
}

.site-footer__list a:hover,
.site-footer__col--contacts a:hover {
  color: #ccc;
}

/* Контакты */
.site-footer__contact-block {
  margin-bottom: 16px;
}

.site-footer__contact-block:last-child {
  margin-bottom: 0;
}


.site-footer__label {
  display: block;
  font-size: 13px;
  color: #9a9a9a;
  margin-bottom: 4px;
}

.site-footer__value {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
 

.site-footer__phone-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
}

.site-footer__phone {
  font-weight: 700;
}

.site-footer__wa {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
  transition: transform 0.2s ease;
}

.site-footer__wa:hover {
  transform: scale(1.08);
}

.site-footer__wa svg {
  display: block;
}

/* Нижняя полоса */
.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 60px;
}

.site-footer__copy {
  margin: 0;
  font-size: 13px;
  color: #8f8f8f;
}

.site-footer__privacy {
  font-size: 13px;
  color: #8f8f8f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__privacy:hover {
  color: #bbb;
}


a.site-footer__p {
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 0%;
}


/* ===== Tablet ===== */
@media (max-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }

  .site-footer__col--brand {
    grid-column: 1 / -1;
  }

  .site-footer__desc {
    max-width: 100%;
  }
}

/* ===== Mobile ===== */
@media (max-width: 640px) {
  .site-footer__inner {
    padding: 36px 16px 0;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer__col--brand {
    grid-column: auto;
  }

  .site-footer__logo-dns {
    font-size: 36px;
  }

  .site-footer__heading {
    font-size: 15px;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 32px;
    padding-bottom: 20px;
  }

  .site-footer__copy,
  .site-footer__privacy {
    font-size: 12px;
    line-height: 1.45;
  }
}

@media (max-width: 380px) {
  .site-footer__logo-dns {
    font-size: 32px;
  }

  .site-footer__phone-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
   HEADER — mobile menu & responsive layout
   ============================================ */
.header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    flex-shrink: 0;
    z-index: 12;
}

.header__burger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .header__burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

body.menu-open .header__burger-line:nth-child(2) {
    opacity: 0;
}

body.menu-open .header__burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   GLOBAL RESPONSIVE — hero, whywe, cat, etc.
   ============================================ */
@media (max-width: 1200px) {
    .header__info {
        gap: 40px;
    }

    nav.menu {
        padding: 0 24px;
    }

    .menu__item--container {
        padding-right: 20px;
    }

    .herosection__container:after {
        height: 420px;
        bottom: -60px;
        background-size: contain;
    }
}

@media (max-width: 1024px) {
    main {
        margin-top: 0;
    }

    body.page__main header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 200;
        background: #2c2b2b;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    }

    body.menu-open.page__main header {
        z-index: 1000;
    }

    body.menu-open .header__burger {
        position: relative;
        z-index: 1002;
    }

    .header__top {
        margin: 16px 0;
        gap: 6px;
    }

    .header__burger {
        display: flex;
        margin-left: auto;
    }

    .header__info {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 16px;
    }

    .header__lineL {
        display: none;
    }

    .header__lineR {
        align-items: flex-start;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    a.header__phone--active {
        font-size: 18px;
        line-height: 1.2;
    }

    .header__menu {
        display: none;
        position: fixed;
        inset: 0;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1001;
        background: #fff;
    }

    body.menu-open .header__menu {
        display: block;
    }

    .header__menu--container {
        max-width: none;
        height: 100%;
        padding: 88px 20px 24px;
        overflow-y: auto;
        background: #fff;
    }

    nav.menu {
        flex-direction: column;
        padding: 0;
        border-radius: 0;
        align-items: stretch;
    }

    .menu__item {
        padding: 0;
        border-bottom: 1px solid rgba(220, 220, 219, 1);
    }

    .menu__item--container {
        width: 100%;
        justify-content: space-between;
        border-right: none;
        padding: 16px 0;
        font-size: 16px;
    }

    .menu__item:hover > .menu__item--sub {
        display: none;
    }

    /* :hover перекрывал .menu__item--open на тач-устройствах */
    .menu__item.menu__item--open > .menu__item--sub,
    .menu__item.menu__item--open:hover > .menu__item--sub {
        display: block;
    }

    .menu__item--open > .menu__item--sub {
        position: static;
        width: 100%;
        padding: 0;
    }

    .menu__item--open .menu__item-list--sub,
    .menu__item--sub .menu__item-list--sub {
        position: static;
        top: auto;
        left: auto;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: none;
        padding: 0 16px 16px 24px;
        gap: 12px;
        box-shadow: none;
        border-radius: 0;
    }

    a.menu__item-list--subitem {
        font-size: 15px;
        font-weight: 500;
        padding: 4px 0;
    }

    .menu__item--open .menu__item--arrow svg {
        transform: rotate(180deg);
    }

    .menu__item--arrow svg {
        transition: transform 0.25s ease;
    }

    .herosection {
        padding-top: 120px;
    }

    .herosection__title--step1,
    .herosection__title--step1 b {
        font-size: clamp(28px, 5vw, 48px);
        line-height: 1.15;
    }

    .herosection__container:after {
        opacity: 0.35;
        height: 320px;
        bottom: -40px;
    }

    .whywe__list {
        flex-wrap: wrap;
    }

    .whywe__item {
        width: 50%;
        padding: 0 16px 32px;
    }

    .whywe__item::after {
        display: none;
    }

    .whywe__item:nth-child(odd)::before {
        width: 100%;
        margin-left: 0;
    }

    .swiper-slide.cat__slide.swiper-slide-active {
        flex: 0 0 min(100%, 520px);
        width: min(100%, 520px) !important;
    }

    .swiper-slide.cat__slide:not(.swiper-slide-active) {
        flex: 0 0 min(85%, 280px);
    }

    .materials-list {
        flex-wrap: wrap;
        gap: 16px;
    }

    .material-item {
        flex: 1 1 calc(50% - 8px);
        min-width: 260px;
    }

    section.team {
        padding: 48px 32px;
    }

    .team-left {
        max-width: 100%;
    }

    .team-list {
        flex-wrap: wrap;
    }

    .team-item {
        flex: 1 1 calc(50% - 1px);
        min-width: 200px;
    }

    .team-item svg {
        display: none;
    }

    .jertej-inner {
        padding: 40px 32px;
    }

    .jertej-name,
    .jertej-description {
        max-width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-middle {
        max-width: none;
        width: 100%;
    }

    .title--all {
        font-size: clamp(26px, 4vw, 36px);
        line-height: 1.15;
    }
    .team-item {
        
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.1);
    }

    .team-item-descr,.team-item-name {
        background: transparent;
        backdrop-filter: none;
    }
}
.inner-cat-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}
@media (max-width: 768px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header__logo {
        font-size: 28px;
        line-height: 1.1;
    }

    .header__callback {
        display: none;
    }

    .herosection {
        padding-top: 100px;
        padding-bottom: 48px;
    }

    .herosection__title {
        margin-top: 32px;
        margin-bottom: 48px;
    }

    .herosection__container:after {
        display: none;
    }

    .herosection__title--step1 a {
        margin-top: 12px;
        font-size: 14px;
    }

    .herosection__utp {
        flex-direction: column;
        gap: 16px;
    }

    .herosection__utp-name {
        max-width: none;
    }

    a.herosection__title-herobtn {
        display: block;
        text-align: center;
    }

    section.whywe {
        padding: 48px 0;
    }

    .whywe__item {
        width: 100%;
        padding: 0 0 28px;
    }

    .whywe__item::before {
        width: 100%;
        margin-left: 0;
    }

    .whywe__name {
        padding-top: 72px;
    }

    .swiper-slide.cat__slide.swiper-slide-active,
    .swiper-slide.cat__slide:not(.swiper-slide-active) {
        flex: 0 0 100%;
        width: 100% !important;
    }

    .swiper-slide.cat__slide:not(.swiper-slide-active) .cat__slide-description {
        display: block;
    }

    .cat__slide-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }

    .cat__slide-description {
        max-width: none;
    }

    .swiper_pagi-cat { 
        position: absolute;
        top: -50px;
        right: 0;
        margin-top: 20px;
        justify-content: center;
    }

    section.cat__slider {
        padding-bottom: 56px;
        padding-top: 56px;
    }

    .swiper__cat .swiper-wrapper img {
        width: 100%;
        max-width: 100%;
        height: 399px;
        object-fit: cover;
    }

    .material-item {
        flex: 1 1 100%;
        min-width: 0;
    }

    .material-info {
        max-width: none;
        flex: 1;
    }

    section.team {
        padding: 40px 16px;
        background-position: center bottom;
        background-size: 120% auto;
    }

    .team-info {
        margin-top: 40px;
    }

    .team-info-name {
        font-size: clamp(24px, 5vw, 32px);
        margin-bottom: 20px;
    }

    .team-list {
        flex-direction: column;
    }

    .team-item {
        flex: 1 1 100%;
        min-width: 0;
    }

    .team-item-name,
    .team-item-descr {
        padding: 24px;
    }

    .team-item:nth-child(1) .team-item-name,
    .team-item:nth-child(4) .team-item-name,
    .team-item:nth-child(1) .team-item-descr,
    .team-item:nth-child(4) .team-item-descr {
        border-radius: 0;
    }
    

    .team-item:first-child .team-item-name {
        border-radius: 16px 16px 0 0;
    }

    .team-item:last-child .team-item-descr {
        border-radius: 0 0 16px 16px;
    }

    .jertej-inner {
        padding: 28px 20px;
        background-position: center bottom;
        background-size: 80% auto;
    }

    section.jertej {
        margin-bottom: 48px;
    }

    .jertej-name {
        font-size: clamp(22px, 5vw, 32px);
        line-height: 1.2;
    }

    .reviews {
        padding: 48px 0;
    }

    .swiper-reviews .swiper-slide {
        padding: 24px;
    }

    .faq__item-answer {
        padding-left: 0;
        padding-right: 16px;
    }

    .faq__item-button {
        gap: 12px;
        padding: 14px 0;
    }

    .faq__item-question {
        font-size: 14px;
    }

    .contact-left {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 20px;

    }

    .contact-left__title {
        font-size: clamp(24px, 5vw, 32px);
        line-height: 1.2;
    }

    .contact-perk {
        width: 100%;
        max-width: 100%;
    }

    .products__header {
        flex-wrap: wrap;
    }

    .product-card__footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media screen and (max-width: 525px) {
    
    .material-info {
        padding: 10px 16px;
    }
    .material-info svg {
        margin-bottom: -30px;
        width: 40px;
        transform: rotate(-50deg);
        margin-left: -10px;
    }
        .material-img img {
        width: 183px;
    }
}
@media (max-width: 480px) {
    .contact-left__title {
         
        font-size: clamp(20px, 4vw, 22px);
    }
    .percent-product {
        font-size: 120px;
    }
    .header__info {
        flex-direction: column;
        align-items: stretch;
    }
    .cat__slide-info {
        gap: 0;
    }
    .design-block {
        background-color: #f4f4f4;
        background-image: none;
        margin-top: 56px;
    }
    .header__lineR {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .herosection__title--step1 {
        gap: 8px 12px;
    }

    .herosection__title--step1 a {
        padding: 0 0 0 16px;
    }

    .herosection__title--step1 a svg {
        width: 32px;
        height: 32px;
    }

    .messenger-btn {
        padding: 16px 20px;
        font-size: 14px;
    }

    .jertej-btn a {
        display: block;
        text-align: center;
    }
}
@media screen and (max-width: 375px) {
    .herosection__title--step1 a {
        order: -1;
    }
        section.cat__slider {
        padding-bottom: 36px;
        padding-top: 10px;
    }
    
.swiper-reviews .swiper-slide:after {
    top: -15px;
}
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
body.page__product {
    background: #fff;
    font-family: 'Fixel Display', sans-serif;
}

body.page__product main {
    margin-top: 0;
    padding-top: 16px;
}

@media (min-width: 1025px) {
    body.page__product main {
        padding-top: 24px;
    }
}

body.page__product header.header--inner {
    position: relative;
    width: 100%;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid rgba(220, 220, 219, 1);
}

body.page__product .header__logo,
body.page__product .header__logo a {
    color: rgba(38, 38, 38, 1);
}

body.page__product .header__adress,
body.page__product .header__timeWork,
body.page__product a.header__phone--active,
body.page__product .header__callback a {
    color: rgba(38, 38, 38, 1);
}

body.page__product .header__burger {
    background: rgba(244, 244, 244, 1);
}

body.page__product .header__burger-line {
    background: rgba(38, 38, 38, 1);
}

body.page__product .header__top {
    margin: 20px 0;
}

.product-detail {
    padding-bottom: 0;
}

.product-detail__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    font-size: 13px;
    font-weight: 400;
    color: rgba(142, 142, 142, 1);
    margin-bottom: 20px;
}

.product-detail__breadcrumbs a {
    color: rgba(142, 142, 142, 1);
    transition: color 0.2s;
}

.product-detail__breadcrumbs a:hover {
    color: rgba(38, 38, 38, 1);
}

.product-detail__breadcrumbs span:last-child {
    color: rgba(38, 38, 38, 1);
}

.product-detail__breadcrumbs-sep {
    color: rgba(220, 220, 219, 1);
    user-select: none;
}

.product-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 14px;
    color: rgba(38, 38, 38, 1);
    margin-bottom: 32px;
    transition: opacity 0.2s;
}

.product-detail__back:hover {
    opacity: 0.65;
}

.product-detail__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 48px;
}

.product-detail__gallery-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.product-detail__gallery-main {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(244, 244, 244, 1);
    aspect-ratio: 4 / 3;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.product-detail__gallery-main.swiper,
.product-detail__gallery-main .swiper-wrapper,
.product-detail__gallery-main .swiper-slide {
    height: 100%;
    max-height: 100%;
}

.product-detail__gallery-main .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.product-detail__gallery-main .swiper-wrapper img,
.product-detail__gallery-main img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}

.product-detail__gallery-thumbs {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.product-detail__gallery-thumbs .swiper-slide {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.55;
    border: 2px solid transparent;
    transition: opacity 0.2s, border-color 0.2s;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    background: rgba(244, 244, 244, 1);
}

.product-detail__gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: rgba(38, 38, 38, 1);
}

.product-detail__gallery-thumbs .swiper-wrapper img,
.product-detail__gallery-thumbs img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}

.product-detail__title {
    font-weight: 500;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    letter-spacing: 0;
    margin: 0 0 12px;
    color: rgba(38, 38, 38, 1);
}

.product-detail__subtitle {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(142, 142, 142, 1);
    margin: 0 0 28px;
    max-width: 420px;
}

.product-detail__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.product-detail__spec {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(244, 244, 244, 1);
    border-radius: 24px;
    padding: 12px 20px;
    min-width: 120px;
}

.product-detail__spec-label {
    font-size: 13px;
    font-weight: 400;
    color: rgba(142, 142, 142, 1);
}

.product-detail__spec-value {
    font-size: 16px;
    font-weight: 600;
    color: rgba(38, 38, 38, 1);
}

.product-detail__price-block {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding-top: 28px;
    border-top: 1px solid rgba(244, 244, 244, 1);
}

.product-detail__price-block .product-card__price {
    text-align: left;
}

.product-detail__cta {
    display: inline-block;
    width: auto;
    min-width: 200px;
    padding: 20px 32px;
    text-align: center;
    text-decoration: none;
}

.product-detail__perks {
    list-style: none;
    margin: 0 0 64px;
    padding: 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: rgba(38, 38, 38, 1);
    border-radius: 16px;
}

.product-detail__perk {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.product-detail__perk-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.product-detail__perk-text {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.35;
    color: #fff;
}

.product-detail__perk-text strong {
    font-weight: 600;
    color: rgba(229, 204, 176, 1);
}

.product-detail__promo {
    background: rgba(244, 244, 244, 1);
    padding: 64px 0;
}

.product-detail__promo-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 48px 56px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.product-detail__promo-title {
    font-weight: 500;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.2;
    margin: 0 0 12px;
    color: rgba(38, 38, 38, 1);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.product-detail__promo-desc {
    font-size: 16px;
    font-weight: 400;
    color: rgba(142, 142, 142, 1);
    margin: 0;
}

.product-detail__promo-form .form-field {
    margin-bottom: 12px;
}

.product-detail__promo-form .btn-orange {
    margin-top: 4px;
    margin-bottom: 0;
}

.product-detail__promo-form .form-disclaimer {
    margin-top: 12px;
}

.product-detail__promo-form .form-disclaimer a {
    color: rgba(38, 38, 38, 1);
    text-decoration: underline;
}

.menu__item-list--subitem--active {
    color: rgba(77, 61, 48, 1);
}

@media (max-width: 1024px) {
    body.page__product main {
        padding-top: 16px;
    }

    .product-detail__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-detail__perks {
        grid-template-columns: repeat(2, 1fr);
        padding: 24px;
    }

    .product-detail__promo-inner {
        grid-template-columns: 1fr;
        padding: 32px 28px;
    }
}

@media (max-width: 640px) {
    .product-detail__perks {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .product-detail__price-block {
        flex-direction: column;
        align-items: stretch;
    }

    .product-detail__cta {
        width: 100%;
    }

    .product-detail__promo {
        padding: 40px 0;
    }

    .product-detail__promo-inner {
        padding: 24px 20px;
    }

    .product-detail__spec {
        flex: 1 1 calc(50% - 5px);
        min-width: 0;
    }
}

/* ============================================
   MOTION & MICRO-INTERACTIONS
   ============================================ */
.reveal,
.animate-in {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity var(--duration-slow) var(--ease-out),
        transform var(--duration-slow) var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible,
.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--fade {
    transform: none;
}

.reveal--fade.is-visible {
    transform: none;
}

.reveal--scale {
    transform: scale(0.96);
}

.reveal--scale.is-visible {
    transform: scale(1);
}

[data-reveal-stagger] > .reveal:nth-child(1) { --reveal-delay: 0ms; }
[data-reveal-stagger] > .reveal:nth-child(2) { --reveal-delay: 80ms; }
[data-reveal-stagger] > .reveal:nth-child(3) { --reveal-delay: 160ms; }
[data-reveal-stagger] > .reveal:nth-child(4) { --reveal-delay: 240ms; }
[data-reveal-stagger] > .reveal:nth-child(5) { --reveal-delay: 320ms; }
[data-reveal-stagger] > .reveal:nth-child(6) { --reveal-delay: 400ms; }

body.is-loaded .page__main .herosection__title {
    animation: heroFadeUp var(--duration-slow) var(--ease-out) both;
}

body.is-loaded .page__main nav.menu {
    animation: heroFadeUp var(--duration-slow) var(--ease-out) 0.12s both;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header--scrolled.page__main header,
body.page__product .header--scrolled.header--inner {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(220, 220, 219, 0.8);
}

body.page__main .header--scrolled .header__logo,
body.page__main .header--scrolled .header__adress,
body.page__main .header--scrolled .header__timeWork,
body.page__main .header--scrolled a.header__phone--active,
body.page__main .header--scrolled .header__callback a {
    /* color: var(--color-dark); */
}

body.page__main .header--scrolled .header__burger {
    background: var(--color-surface);
}

body.page__main .header--scrolled .header__burger-line {
    background: var(--color-dark);
}

.menu__item--link {
    transition: color var(--duration-fast) ease;
}

.swiper-nav-btn,
.arrow-btn {
    transition:
        transform var(--duration-fast) var(--ease-out),
        opacity var(--duration-fast) ease;
}

/* .swiper-nav-btn:hover,
.arrow-btn:hover:not(:disabled) {
    transform: scale(1.08);
} */

/* .swiper-nav-btn:active,
.arrow-btn:active:not(:disabled) {
    transform: scale(0.95);
} */

.messenger-btn {
    transition:
        background var(--duration-fast) var(--ease-out),
        transform var(--duration-fast) var(--ease-out),
        border-color var(--duration-fast) ease;
}

.messenger-btn:hover {
    transform: translateY(-2px);
}

.contact-perk {
    transition:
        transform var(--duration-fast) var(--ease-out),
        box-shadow var(--duration-fast) var(--ease-out);
}

.contact-perk:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-soft);
}

.whywe__item {
    transition: transform var(--duration-base) var(--ease-out);
}

.whywe__item:hover {
    transform: translateY(-4px);
}

.material-item {
    transition: transform var(--duration-base) var(--ease-out);
}

.material-item:hover {
    transform: translateY(-3px);
}

.material-item:hover .material-info {
    box-shadow: var(--shadow-soft);
}

.material-info {
    transition: box-shadow var(--duration-base) var(--ease-out);
}

.faq__item-icon {
    transition: transform var(--duration-base) var(--ease-spring);
}

.product-detail__perk {
    transition: transform var(--duration-base) var(--ease-out);
}

.product-detail__perk:hover {
    transform: translateY(-3px);
}

.product-detail__perk-icon {
    transition: transform var(--duration-base) var(--ease-spring);
}

.product-detail__perk:hover .product-detail__perk-icon {
    transform: scale(1.06);
}

.product-card__name {
    transition: color var(--duration-fast) ease;
}

.product-card:hover .product-card__name {
    color: var(--color-accent-deep);
}

.tab-btn {
    transition: color var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal,
    .animate-in {
        opacity: 1;
        transform: none;
    }
}

@media screen and (max-width: 768px) {
    .header__top {
        gap: 0;
    }
}

/* Info pages */
.info-page {
    padding: 24px 0 80px;
}

.info-page__article {
    /* max-width: 900px; */
    margin: 0 auto;
}

.info-page__title {
    font-family: var(--font-display, inherit);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    line-height: 1.15;
    color: var(--color-dark, #262626);
    margin: 0 0 32px;
}

.info-page__content {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-dark, #262626);
}

.info-page__content .dns-h2,
.info-page__content h3,
.info-page__content h4 {
    margin: 1.6em 0 0.6em;
    font-weight: 600;
    line-height: 1.3;
}

.info-page__content p {
    margin: 0 0 1em;
}

.info-page__content ul,
.info-page__content ol {
    margin: 0 0 1em 1.2em;
    padding: 0;
}

.info-page__content li {
    margin-bottom: 0.4em;
}

.info-page__content a {
    color: var(--color-accent, #c4a574);
    text-decoration: underline;
}

.info-page__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.products-grid {
    display: grid;
    gap: 24px;
    margin-top: 32px;
}

.products-grid--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1024px) {
    .products-grid--cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .products-grid--cols-3 {
        grid-template-columns: 1fr;
    }
}

/* Category archive (catalog taxonomy) */
.category-archive {
    padding: 40px 0 80px;
    /* background: #f4f0ea; */
}

/* .category-archive__inner {
    max-width: 100%;
} */

.category-archive__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(38, 38, 38, 0.65);
}

.category-archive__breadcrumbs a {
    color: rgba(38, 38, 38, 0.65);
    text-decoration: none;
    transition: color var(--duration-fast, 0.2s) ease;
}

.category-archive__breadcrumbs a:hover {
    color: #262626;
}

.category-archive__breadcrumbs-sep {
    color: rgba(38, 38, 38, 0.35);
}

.category-archive__title {
    font-family: 'Fixel Display', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 44px;
    color: #262626;
    margin: 0 0 16px;
}

.category-archive__lead {
    max-width: 820px;
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(38, 38, 38, 0.75);
}

.category-archive__grid {
    margin-top: 32px;
}

.category-archive__empty {
    grid-column: 1 / -1;
    color: rgba(38, 38, 38, 0.75);
}

.category-pagination {
    margin-top: 48px;
}

.category-pagination .navigation.pagination {
    margin: 0;
}

.category-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.category-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(38, 38, 38, 0.12);
    color: #262626;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition:
        background var(--duration-fast, 0.2s) ease,
        border-color var(--duration-fast, 0.2s) ease,
        color var(--duration-fast, 0.2s) ease,
        transform var(--duration-fast, 0.2s) ease;
}

.category-pagination a.page-numbers:hover {
    border-color: #262626;
    transform: translateY(-1px);
}

.category-pagination .page-numbers.current {
    background: #262626;
    border-color: #262626;
    color: #fff;
}

.category-pagination .page-numbers.dots {
    min-width: auto;
    padding: 0 6px;
    background: transparent;
    border-color: transparent;
}

.category-pagination .prev.page-numbers,
.category-pagination .next.page-numbers {
    min-width: auto;
    padding: 0 18px;
    gap: 6px;
}

.category-pagination__arrow {
    font-size: 14px;
    line-height: 1;
}

.category-archive__seo {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(38, 38, 38, 0.1);
    color: #262626;
    font-size: 15px;
    line-height: 1.65;
}

.category-archive > .faq {
    margin-top: 56px;
}

.category-archive__seo h2,
.category-archive__seo h3 {
    color: #262626;
    font-family: 'Fixel Display', sans-serif;
    font-weight: 500;
    margin: 1.4em 0 0.6em;
}

.category-archive__seo h2:first-child,
.category-archive__seo h3:first-child {
    margin-top: 0;
}

.category-archive__seo p {
    margin: 0 0 1em;
}

.category-archive__seo ul,
.category-archive__seo ol {
    margin: 0 0 1em 1.2em;
}

.category-archive__seo a {
    color: #262626;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .category-archive {
        padding: 28px 0 56px;
    }

    .category-archive__title {
        font-size: clamp(26px, 4vw, 36px);
        line-height: 1.15;
    }

    .category-pagination .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 14px;
    }

    .category-archive__seo {
        margin-top: 40px;
        padding-top: 28px;
    }
}

/* Contacts page */
.contacts-page__article {
    max-width: none;
}

.contacts-page__intro {
    margin-bottom: 32px;
}

.contacts-page__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.contacts-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    background: #f8f5f0;
    border-radius: 16px;
    border: 1px solid rgba(38, 38, 38, 0.06);
}

.contacts-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    color: #4d3d30;
    box-shadow: 0 4px 16px rgba(38, 38, 38, 0.06);
}

.contacts-card__label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #8f8f8f;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contacts-card__value {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
    color: #262626;
}

.contacts-card__value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contacts-card__value a:hover {
    color: #c4a574;
}

.contacts-card__phones {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contacts-page__messengers {
    margin-bottom: 32px;
}

.contacts-page__messengers-title {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 500;
    color: #262626;
}

.contacts-page__map {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(38, 38, 38, 0.08);
    background: #f3f3f3;
}

.contacts-page__map iframe {
    display: block;
    width: 100%;
    min-height: 420px;
    border: 0;
}

@media screen and (max-width: 768px) {
    .contacts-page__grid {
        grid-template-columns: 1fr;
    }

    .contacts-card {
        padding: 20px;
    }

    .contacts-card__value {
        font-size: 16px;
    }

    .contacts-page__map iframe {
        min-height: 320px;
    }
}

/* 404 page */
.not-found {
    padding: 24px 0 80px;
}

.not-found__card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 32px;
    align-items: stretch;
    margin-top: 8px;
    padding: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #f8f5f0 0%, #ffffff 58%, #f4f4f4 100%);
    border: 1px solid rgba(38, 38, 38, 0.08);
    box-shadow: var(--shadow-soft);
}

.not-found__code {
    margin: 0 0 12px;
    font-family: 'Fixel Display', sans-serif;
    font-size: clamp(72px, 12vw, 120px);
    line-height: 0.9;
    font-weight: 600;
    letter-spacing: -0.04em;
    color: var(--color-accent);
}

.not-found__title {
    margin: 0 0 16px;
    font-family: 'Fixel Display', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 600;
    color: var(--color-dark);
}

.not-found__text {
    max-width: 560px;
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(38, 38, 38, 0.78);
}

.not-found__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.not-found__btn {
    min-width: 160px;
}

.not-found__btn--outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(38, 38, 38, 0.18);
    background: #fff;
    color: var(--color-dark);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background var(--duration-fast) var(--ease-out),
        border-color var(--duration-fast) var(--ease-out),
        transform var(--duration-fast) var(--ease-out),
        box-shadow var(--duration-fast) var(--ease-out);
}

.not-found__btn--outline:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.not-found__help {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(38, 38, 38, 0.7);
}

.not-found__help a {
    color: var(--color-accent-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.not-found__help a:hover {
    color: var(--color-dark);
}

.not-found__visual {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 16px;
    padding: 32px;
    border-radius: var(--radius-md);
    background:
        linear-gradient(180deg, rgba(38, 38, 38, 0.72) 0%, rgba(38, 38, 38, 0.88) 100%),
        url('../images/masscontact.png') center / cover no-repeat;
    color: #fff;
}

.not-found__visual-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.not-found__visual-title {
    font-family: 'Fixel Display', sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
    font-weight: 600;
}

.not-found__visual-text {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

@media screen and (max-width: 992px) {
    .not-found__card {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }

    .not-found__visual {
        min-height: 220px;
    }
}

@media screen and (max-width: 640px) {
    .not-found {
        padding-bottom: 56px;
    }

    .not-found__actions {
        flex-direction: column;
    }

    .not-found__btn,
    .not-found__btn--outline {
        width: 100%;
    }
}

/* Blog */
.blog-archive {
    padding-bottom: 80px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

@media screen and (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background: rgba(244, 244, 244, 1);
    border: 1.5px solid #ebebeb;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition:
        box-shadow var(--duration-base) var(--ease-out),
        transform var(--duration-base) var(--ease-out);
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0f0f0;
}

.blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__media img {
    transform: scale(1.04);
}

.blog-card__media-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ececec 0%, #f8f8f8 100%);
}

.blog-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card__date {
    font-size: 13px;
    color: rgba(38, 38, 38, 0.55);
    margin-bottom: 10px;
}

.blog-card__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-dark, #262626);
    text-decoration: none;
    margin-bottom: 12px;
}

.blog-card__title:hover {
    color: var(--color-accent, #c4a574);
}

.blog-card__excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(38, 38, 38, 0.75);
    margin: 0 0 16px;
    flex: 1;
}

.blog-card__more {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark, #262626);
    text-decoration: none;
}

.blog-card__more:hover {
    color: var(--color-accent, #c4a574);
}

.blog-single__header {
    margin-bottom: 24px;
}

.blog-single__date {
    display: block;
    font-size: 14px;
    color: rgba(38, 38, 38, 0.55);
    margin-top: -16px;
    margin-bottom: 24px;
}

.blog-single__thumb {
    width: 90%;
    max-width: 100%;
    margin: 0 auto 32px;
    border-radius: 16px;
    overflow: hidden;
    height: clamp(220px, 52vw, 350px);
    transform: translateZ(0);
}

.blog-single__thumb img,
.blog-single__thumb-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

@media screen and (min-width: 768px) {
    .blog-single__thumb {
        height: clamp(350px, 30vw, 420px);
    }
}

@media screen and (max-width: 480px) {
    .blog-single__thumb {
        width: 100%;
        height: clamp(200px, 58vw, 280px);
    }
}