@charset "UTF-8";

/* ===== Прелоадер ===== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    transition: opacity .5s ease, visibility .5s ease;
}

.preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader__inner {
    width: min(320px, 80vw);
    text-align: center;
    color: #fff;
}

.preloader__logo img {
    height: 44px;
    width: auto;
    margin-bottom: 28px;
    animation: preloaderPulse 1.8s ease-in-out infinite;
}

.preloader__bar {
    position: relative;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: rgba(255,255,255,0.15);
    overflow: hidden;
}

.preloader__fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    border-radius: 3px;
    background: linear-gradient(90deg, #a78bfa, #22d3ee);
    transition: width .3s ease;
}

.preloader__percent {
    margin-top: 16px;
    font-family: "Jost", sans-serif;
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 0.04em;
}

.preloader__text {
    margin-top: 6px;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
}

@keyframes preloaderPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .65; transform: scale(.96); }
}

@media (prefers-reduced-motion: reduce) {
    .preloader__logo img { animation: none; }
    .preloader { transition: none; }
}

body, html {
    
    margin: 0;
    padding: 0;
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto; 
    font-weight: 400;
    font-style: normal; 
    font-size: 14px;
    
}

html {
    
    
    
}

.wrapper {
    
    width: calc(100% - 20px);
    max-width: 1600px;
    margin: 0 auto;
    
}

a {
    
    text-decoration: none
    
}

h1, h2 {
    
    font-family: "Jost", sans-serif;
    font-size:44px;
    text-align: center;
    color: #707070
    
}

/* ===== Бургер в шапке .logoEtc ===== */
.logoEtc__burger {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 5;
    transition: transform .25s ease;
}

.logoEtc__burger span {
    display: block;
    width: 28px;
    height: 2px;
    background: #fff;
    margin: 0 auto;
    transition: transform .3s ease, opacity .3s ease;
}

.logoEtc__burger:hover {
    opacity: .85;
}

/* ===== Выезжающее меню (общее для десктопа и мобильных) ===== */
.navdrawer {
    position: fixed;
    inset: 0;
    z-index: 1200;
    visibility: hidden;
    pointer-events: none;
}

.navdrawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.navdrawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    transition: opacity .35s ease;
}

.navdrawer.is-open .navdrawer__overlay {
    opacity: 1;
}

.navdrawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(420px, 90vw);
    background: #111827;
    color: #fff;
    padding: 80px 40px 40px;
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.22,.61,.36,1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.navdrawer.is-open .navdrawer__panel {
    transform: translateX(0);
}

.navdrawer__close {
    position: absolute;
    top: 22px;
    right: 24px;
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    padding: 4px;
    line-height: 0;
    transition: transform .25s ease;
}

.navdrawer__close:hover {
    transform: rotate(90deg);
}

.navdrawer__menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.navdrawer__menu a {
    color: #fff;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: color .2s ease, padding-left .2s ease;
}

.navdrawer__menu a:hover {
    color: #22d3ee;
    padding-left: 6px;
}

.navdrawer__contacts {
    margin-top: auto;
    padding-top: 32px;
}

.navdrawer__label {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 14px;
}

.navdrawer__phone {
    display: block;
    color: #fff;
    font-size: 26px;
    margin-bottom: 10px;
}

.navdrawer__mail {
    display: block;
    color: #22d3ee;
    font-size: 16px;
    margin-bottom: 10px;
}

.navdrawer__adres {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.4;
}

/* Верх */

.top {
    
    height: 100vh;
    color: #fff;
    position: relative
    
    
}

.top video {
    
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
}

 @supports (object-fit: cover) {
     .top > video {
         top: 0;
         left: 0;
         width: 100%;
         height: 100%;
         object-fit: cover;
     }
 }

/* Шапка — sticky и сжимающаяся при прокрутке */
.top .logoEtc {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 30px 10px;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(5px);
    transition: padding .3s ease, background .3s ease;
}

.top .logoEtc .wrapper {
    position: relative;
    width: calc(100% - 90px);
    padding-right: 70px; 
}

.top .logoEtc.is-scrolled {
    padding: 10px 10px;
    background: rgba(17,24,39,0.92);
}

.top .logoEtc.is-scrolled .logo img {
    height: 26px;
    transition: height .3s ease;
}

.top .logoEtc.is-scrolled .text {
    display: none;
}

.top .logoEtc.is-scrolled .adres {
    display: none;
}

.top .logoEtc.is-scrolled .phone a {
    font-size: 22px;
}

.top .logoEtc .logo {
    
    display: inline-block;
    vertical-align: middle
    
}

.top .logoEtc .logo img {
    
    height: 40px;
    transition: height .3s ease;
    
}

.top .logoEtc .text {
    
    font-size: 14px;
    display: inline-block;
    vertical-align: top;
    line-height: 18px;
    text-transform: uppercase;
    margin-top: 2px;
    margin-left: 10px;
    
}

.top .logoEtc .phone {
    
    display: inline-block;
    vertical-align: middle;
    float: right
    
}

.top .logoEtc .phone a {
    
    color: #fff;
    font-size: 32px;
    transition: font-size .3s ease;
    
}

.top .logoEtc .adres {
    
    display: inline-block;
    vertical-align: middle;
    float: right;
    margin-left: 20px;
    
}

.top .logoEtc .adres .mail a {
    
    color: #FFF;
    text-decoration: none
    
}

.top .intro {
    
    position: absolute;
    bottom: 60px;
    left: 0;
    z-index: 5;
    width: 100%
    
}

.top .intro .big {
    
    font-size: 52px;
    font-weight: 600
    
}

.top .intro .small {
    
    font-size: 32px;
    line-height: 28px
    
}

.top .intro .knopki {
    
    margin-top: 40px;
    
}

.top .intro .knopki .cons, .top .intro .knopki .proj {
    
    display: inline-block;
    margin-right: 30px;
    
}

.top .intro .knopki .cons a, .top .intro .knopki .proj a {
    
    padding: 10px 20px;
    border-radius: 10px;
    color: #FFF;
    border: 1px solid #FFF
    
}

.top .intro .knopki .cons a {
    
    background: #FFF;
    color: #000
    
}



/* ===== Адаптив верхнего блока ===== */
@media (max-width: 1200px) {
    .top .logoEtc .text { display: none; }
    .top .logoEtc .phone a { font-size: 26px; }
    .top .intro .big { font-size: 44px; }
    .top .intro .small { font-size: 26px; line-height: 28px; }
}


@media (max-width: 1023px) {
    .top .logoEtc .phone a { font-size: 22px; }
    .top .intro .big { font-size: 38px; }
    .top .intro .small { font-size: 22px; line-height: 26px; }
}

@media (max-width: 767px) {
    .top { height: auto; min-height: 100vh; }
    .top .logoEtc { padding: 14px 10px; }
    .top .logoEtc .logo img { height: 20px; }
    .top .logoEtc .text { display: none; }
    .top .logoEtc .adres { display: none; }
    .top .logoEtc .phone { display: none; }
    .top .logoEtc .wrapper { padding-right: 58px; }

    .logoEtc__burger { right: 10px; width: 42px; height: 42px; }
    .logoEtc__burger span { width: 24px; }

    .top .intro { position: absolute; margin-top: 0px; padding-bottom: 10px; }
    .top .intro .big { font-size: 28px; text-align: center; }
    .top .intro .small { font-size: 17px; line-height: 22px; text-align: center; }
    .top .intro .small br { display: none; }
    .top .intro .knopki { text-align: center; margin-top: 28px; }
    .top .intro .knopki .cons,
    .top .intro .knopki .proj {
        display: block;
        margin: 0 auto 14px;
        max-width: 280px;
    }
    .top .intro .knopki .cons a,
    .top .intro .knopki .proj a {
        display: block;
        text-align: center;
    }
    
    .top .logoEtc.is-scrolled .logo img {
    height: 18px;
    }

    h1, h2 { font-size: 28px; }
}

@media (max-width: 420px) {
    .top .logoEtc .wrapper { padding-right: 52px; }
    .logoEtc__burger { right: 0px; }
    .top .intro .big { font-size: 24px; }
    .top .intro .small { font-size: 15px; line-height: 20px; }
    h1, h2 { font-size: 24px; }
}

/* --- Секция --- */
.ud-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background: #fafafa;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #1a1a1a;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Внутренний контейнер */
.ud-container {
  position: relative;
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Всё внутри секции и модалки — со своим box-sizing */
.ud-section,
.ud-section *,
.ud-section *::before,
.ud-section *::after,
.ud-modal,
.ud-modal *,
.ud-modal *::before,
.ud-modal *::after {
  box-sizing: border-box;
}

/* --- Фоновая отрисовка логотипа (нижний правый угол) --- */
.ud-bg {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 24px 24px 0;
  pointer-events: none;
  user-select: none;
}

.ud-bg__svg {
  width: min(720px, 60vw);
  height: auto;
  overflow: visible;
  color: #8a7658;
  opacity: 0.22;
}

.ud-bg__svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: ud-draw 16s ease-in-out infinite;
}

/* Порядок «прорисовки»: символ, затем буквы слева направо */
.ud-bg__svg path:nth-child(10) { animation-delay: 0s; }
.ud-bg__svg path:nth-child(1)  { animation-delay: 0.6s; }
.ud-bg__svg path:nth-child(2)  { animation-delay: 1.2s; }
.ud-bg__svg path:nth-child(3)  { animation-delay: 1.8s; }
.ud-bg__svg path:nth-child(4)  { animation-delay: 2.4s; }
.ud-bg__svg path:nth-child(5)  { animation-delay: 3s; }
.ud-bg__svg path:nth-child(6)  { animation-delay: 3.6s; }
.ud-bg__svg path:nth-child(7)  { animation-delay: 4.2s; }
.ud-bg__svg path:nth-child(8)  { animation-delay: 4.8s; }
.ud-bg__svg path:nth-child(9)  { animation-delay: 5.4s; }

@keyframes ud-draw {
  0%   { stroke-dashoffset: 1; opacity: 0; }
  8%   { opacity: 1; }
  60%  { stroke-dashoffset: 0; opacity: 1; }
  85%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

.ud-header {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.ud-title {
  margin: 0 0 20px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.ud-lead {
  margin: 0;
  font-size: 17px;
  color: #666;
}

/* Лента карточек */
.ud-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}

.ud-card {
  position: relative;
  margin: 0;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 28px 22px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ud-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  border-color: #dcdcdc;
}

/* Стрелка-указатель между карточками */
.ud-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  width: 16px;
  height: 1px;
  background: #d4d4d4;
  z-index: 1;
}
.ud-card:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  width: 7px;
  height: 7px;
  border-top: 1px solid #c0c0c0;
  border-right: 1px solid #c0c0c0;
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}

.ud-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #f3f0ea;
  color: #8a7658;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.ud-icon svg {
  width: 30px;
  height: 30px;
  display: block;
}

.ud-num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #b59a73;
  margin-bottom: 8px;
}

.ud-card-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}

.ud-text {
  margin: 0;
  font-size: 14.5px;
  color: #666;
  line-height: 1.55;
}

/* Призыв к действию */
.ud-cta {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

.ud-btn {
  appearance: none;
  border: none;
  background: #1a1a1a;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  padding: 16px 36px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.ud-btn:hover {
  background: #8a7658;
  transform: translateY(-1px);
}

/* Планшет */
@media (max-width: 1024px) {
  .ud-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .ud-card::after,
  .ud-card::before {
    display: none;
  }
}

/* Мобильные */
@media (max-width: 640px) {
  .ud-section { padding: 64px 0; }
  .ud-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ud-card { padding: 24px 20px; }
  .ud-bg__svg { opacity: 0.16; width: 80vw; }
}

/* Отключение анимации для тех, кто просил меньше движения */
@media (prefers-reduced-motion: reduce) {
  .ud-bg__svg path {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

/* --- Модалка с формой --- */
.ud-modal[hidden] { display: none; }
.ud-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}
.ud-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(4px);
}
.ud-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  color: #1a1a1a;
}
.ud-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #999;
  cursor: pointer;
}
.ud-modal__close:hover { color: #1a1a1a; }

.ud-modal__title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
}
.ud-modal__lead {
  margin: 0 0 20px;
  color: #666;
  font-size: 15px;
}

.ud-form { display: flex; flex-direction: column; gap: 14px; }
.ud-field { display: flex; flex-direction: column; gap: 6px; }
.ud-field span { font-size: 13px; color: #555; }
.ud-field input,
.ud-field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fafafa;
  resize: vertical;
}
.ud-field input:focus,
.ud-field textarea:focus {
  outline: none;
  border-color: #8a7658;
  background: #fff;
}
.ud-form .ud-btn { margin-top: 8px; }
.ud-form__done {
  margin: 12px 0 0;
  padding: 14px;
  background: #f3f0ea;
  color: #5c4a2e;
  border-radius: 10px;
  text-align: center;
}

/* Мебель */

.furniture {
  --violet: #a78bfa;
  --cyan: #22d3ee;
  width: 100%;
  margin: 48px 0;

}

.furniture__banner {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 70vh;
  min-height: 340px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 0;
  background: #111827;
}

.furniture__background {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  transition: opacity 360ms ease;
}

.furniture__background--visible {
  opacity: 1;
}

.furniture__zones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 100%;
    max-width: 1600px;
    margin: auto
}

.furniture__zone {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  padding: 20px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.38);
  background: transparent;
  color: #f8fafc;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
    
}

.furniture__zone:last-child {
  border-right: 0;
}

.furniture__zone::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 45%, rgba(2, 6, 23, 0.35));
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
    backdrop-filter:blur(0px);
}

.furniture__zone:hover::after,
.furniture__zone:focus-visible::after,
.furniture__zone--active::after {
  opacity: 1;
    backdrop-filter:blur(6px);
}

.furniture__zone:focus-visible,
.furniture__touch-button:focus-visible {
  z-index: 1;
  outline: 3px solid var(--cyan);
  outline-offset: -3px;
}

.furniture__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.furniture__card {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.furniture__zone--active .furniture__card {
  opacity: 1;
  transform: translateY(0);
    
}

.furniture__card-title {
  display: block;
  margin-bottom: 16px;
  color: #fff;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.furniture__card-text {
  margin: 0 0 20px;
  color: #e2e8f0;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.5;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.furniture__card-button {
  display: block;
  align-items: center;
  padding: 11px 22px;
  background: rgba(255,255,255,0.3);
  color: #fff;
  font-size: 15px;
margin-top: 20px;
  font-weight: 100;
  text-decoration: none;
}

.furniture__touch-controls {
  display: none;
}

/* ===== Мобильная версия блока «Что мы умеем» — карточки с фото ===== */
@media (hover: none), (pointer: coarse) {
  .furniture {
    margin: 32px 0;
  }

  /* Прячем баннер-зоны и подсказки — показываем аккуратные карточки */
  .furniture__banner {
    display: none;
  }

  .furniture__touch-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: min(1600px, calc(100% - 32px));
    margin: 18px auto 0;
  }

  .furniture__touch-button {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 220px;
    padding: 20px;
    border: 0;
    border-radius: 0px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: #fff;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    isolation: isolate;
  }

  .furniture__touch-button::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(2,6,23,0.05) 30%, rgba(2,6,23,0.78) 100%);
  }

  .furniture__touch-button--active {
    
  }

  /* Фон карточки — ставится из JS через inline-стиль не трогаем,
     задаём картинки по порядку */
  .furniture__touch-button:nth-child(1) { background-image: url("/images/mebel/1.jpg"); }
  .furniture__touch-button:nth-child(2) { background-image: url("/images/mebel/2.jpg"); }
  .furniture__touch-button:nth-child(3) { background-image: url("/images/mebel/3.jpg"); }
  .furniture__touch-button:nth-child(4) { background-image: url("/images/mebel/4.jpg"); }

  .furniture__touch-button span,
  .furniture__touch-button {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  .furniture__background,
  .furniture__zone::after,
  .furniture__card {
    transition: none;
  }
}


/* О нас */

.about {
  --about-ink: #111;
  --about-ink-soft: #4b4b4b;
  --about-star: #2D65AE;
  --about-star-soft: rgba(45, 101, 174, 0.1);
  --about-container: 1600px;
  --about-ease: cubic-bezier(.22, .61, .36, 1);

  /* каркас самого блока */
  margin: 0;
  padding: 84px 0 96px;
  background: #fff;
  color: var(--about-ink);

  -webkit-font-smoothing: antialiased;
}

/* box-sizing только внутри блока */
.about,
.about *,
.about *::before,
.about *::after {
  box-sizing: border-box;
}

.about__container {
  max-width: var(--about-container);
  margin: 0 auto;
  padding: 0 28px;
  background: #fff;
}

/* ===== Верх: две колонки ===== */
.about .about__top {
  display: grid;
  grid-template-columns: minmax(0, 59fr) minmax(0, 41fr);
  gap: 64px;
  align-items: stretch;
}

/* ===== Текстовая колонка ===== */
.about .about__text { min-width: 0; }

.about .about__title {
  margin: 0 0 24px;
  max-width: 560px;
  font-size: 33px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.4px;
  color: var(--about-ink);
    text-align: left
}

.about .about__brand {
  font-weight: 600;
}

.about .about__p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--about-ink);
}

.about .about__p--lead {
  margin-top: 22px;
  margin-bottom: 14px;
  font-weight: 500;
  color: var(--about-ink);
}

.about .about__p--mark {
  margin-top: 20px;
  margin-bottom: 0;
  font-weight: 500;
  color: var(--about-ink);
}

/* ===== Список с иконками ===== */
.about .about__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about .about__list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--about-ink);
}

.about .about__list li:last-child { margin-bottom: 0; }

.about .about__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--about-star-soft);
  color: var(--about-star);
  transition: background .35s var(--about-ease), color .35s var(--about-ease), transform .35s var(--about-ease);
}

.about .about__ico svg {
  width: 19px;
  height: 19px;
  display: block;
}

.about .about__list li:hover .about__ico {
  background: var(--about-star);
  color: #fff;
  transform: translateY(-2px) scale(1.06);
}

.about .about__li-text { min-width: 0; }

.about .about__list strong { font-weight: 700; }

/* ===== Фотография ===== */
.about .about__media {
  margin: 0;
  position: relative;
  align-self: stretch;
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 46px -26px rgba(17, 17, 17, 0.35);
  transition: box-shadow .5s var(--about-ease);
}

.about .about__media:hover {
  box-shadow: 0 30px 60px -26px rgba(45, 101, 174, 0.42);
}

.about .about__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  background: #f2f2f2;
  transition: transform .8s var(--about-ease);
}

.about .about__media:hover .about__img {
  transform: scale(1.045);
}

/* ===== Статистика ===== */
.about .about__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
  margin-top: 24px;
}

.about .stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
    margin-top: 60px;
  transition: transform .45s var(--about-ease);
    
}

.about .stat:hover { transform: translateY(-4px); }

/* Круглая подложка под иконку */
.about .stat__ico {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--about-star-soft);
  color: var(--about-star);
  transition: background .4s var(--about-ease), color .4s var(--about-ease);
  animation: about-breathe 5.2s ease-in-out infinite;
}

/* Мягкое пульсирующее кольцо вокруг иконки */
.about .stat__ico::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0;
  animation: about-halo 5.2s ease-out infinite;
}

.about .stat:nth-child(2) .stat__ico { animation-delay: -1.3s; }
.about .stat:nth-child(3) .stat__ico { animation-delay: -2.6s; }
.about .stat:nth-child(4) .stat__ico { animation-delay: -3.9s; }
.about .stat:nth-child(2) .stat__ico::before { animation-delay: -1.3s; }
.about .stat:nth-child(3) .stat__ico::before { animation-delay: -2.6s; }
.about .stat:nth-child(4) .stat__ico::before { animation-delay: -3.9s; }

.about .stat__star {
  width: 24px;
  height: 24px;
  display: block;
  fill: none;
  stroke: currentColor;
  transition: transform .5s var(--about-ease);
}

.about .stat:hover .stat__ico {
  background: var(--about-star);
  color: #fff;
}

.about .stat:hover .stat__star {
  transform: rotate(-8deg) scale(1.12);
}

.about .stat__value {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--about-ink);
  letter-spacing: -0.3px;
  transition: color .35s var(--about-ease);
}

.about .stat:hover .stat__value { color: var(--about-star); }

.about .stat__line {
  width: 195px;
  max-width: 100%;
  height: 1px;
  background: rgba(0,0,0,0.4);
  margin: 14px 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .8s var(--about-ease), background .35s var(--about-ease);
}

.about .stat.is-in .stat__line { transform: scaleX(1); }

.about .stat:hover .stat__line { background: var(--about-star); }

.about .stat__label {
  font-size: 16px;
  line-height: 1.35;
  color: var(--about-ink);
}

/* ===== Постоянные анимации (только для этого блока) ===== */
@keyframes about-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-3px) scale(1.04); }
}

@keyframes about-halo {
  0%   { opacity: 0.35; transform: scale(0.92); }
  70%  { opacity: 0;    transform: scale(1.18); }
  100% { opacity: 0;    transform: scale(1.18); }
}

/* ===== Появление при прокрутке ===== */
.about .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--about-ease), transform .7s var(--about-ease);
}

.about .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ===== Адаптив ===== */
@media (max-width: 900px) {
  .about { padding: 56px 0 72px; }

  .about .about__top {
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: start;
  }

  .about .about__media {
    order: -1;
    width: 100%;
    max-width: 520px;
    align-self: start;
  }

  /* на одной колонке фото снова занимает место в потоке */
  .about .about__img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .about .about__title { font-size: 27px; }

  .about .about__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 36px;
  }
}

@media (max-width: 520px) {
  .about .about__container { padding: 0 20px; }

  .about .about__title { font-size: 24px; }

  .about .about__stats { grid-template-columns: 1fr; }

  .about .stat__value { font-size: 26px; }

  .about .about__list li { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }

  .about .about__ico { width: 32px; height: 32px; }
  .about .about__ico svg { width: 17px; height: 17px; }

  .about .stat__ico { width: 48px; height: 48px; }
  .about .stat__star { width: 22px; height: 22px; }
}

/* Уважаем настройку «меньше движения» — только внутри блока */
@media (prefers-reduced-motion: reduce) {
  .about *,
  .about *::before,
  .about *::after {
    animation: none !important;
    transition: none !important;
  }
  .about .reveal { opacity: 1; transform: none; }
  .about .stat__line { transform: scaleX(1); }
}

/* Почему мы */

.unikvarium-section {
  --fg: #111;
  --muted: #666;
  --line: #e4e4e4;
  box-sizing: border-box;

  color: var(--fg);
  background: #fff;
  line-height: 1.5;
}

.unikvarium-section *,
.unikvarium-modal,
.unikvarium-modal * {
  box-sizing: border-box;
}

.unikvarium-section * {
  margin: 0;
  padding: 0;
}

.unikvarium-section.wrap {
  max-width: 1600px;
  margin: 0 auto;
  padding: 48px 32px;
}

.unikvarium-section .label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;

}

.unikvarium-section .hairline {
  border: none;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}

/* ---------- 1. Партнёры ---------- */
.unikvarium-section .partners {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  margin-bottom: 64px;
  overflow-x: auto;
  scrollbar-width: none;
  animation: unikvariumRise .7s ease both;
}

.unikvarium-section .partners img {
    
    height: 90px;
    width: auto;
    filter: grayscale(100%)
    
}

.unikvarium-section .partners img:hover {
    
    filter: grayscale(0%)
    
}

.unikvarium-section .partners::-webkit-scrollbar {
  display: none;
}

.unikvarium-section .partners__track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-width: max-content;
}

.unikvarium-section .partner {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  white-space: nowrap;
  transition: opacity .25s, filter .25s;
  cursor: default;
  animation: unikvariumLogoIn .6s ease both, unikvariumLogoPulse 9s ease-in-out infinite;
}

.unikvarium-section .partner:nth-child(1) { animation-delay: 0s, 0s; }
.unikvarium-section .partner:nth-child(2) { animation-delay: .08s, 1.5s; }
.unikvarium-section .partner:nth-child(3) { animation-delay: .16s, 3s; }
.unikvarium-section .partner:nth-child(4) { animation-delay: .24s, 4.5s; }
.unikvarium-section .partner:nth-child(5) { animation-delay: .32s, 6s; }
.unikvarium-section .partner:nth-child(6) { animation-delay: .4s, 7.5s; }

.unikvarium-section .partner:hover {
  opacity: 1;
  filter: grayscale(100%) brightness(0);
  animation-play-state: paused;
}

/* ---------- 2. Intro ---------- */
.unikvarium-section .intro {
  display: grid;
  grid-template-columns: 65% 35%;
  gap: 48px;
  margin-bottom: 80px;
}

.unikvarium-section .intro__left {
  animation: unikvariumRise .8s .12s ease both;
}

.unikvarium-section .intro__title {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
    color: #000;
  margin-top: 16px;
}

h2.intro__title  {
    
    text-align: left;
    
}

.unikvarium-section .intro__text {
  font-size: 17px;
  color: #333;
  max-width: 640px;
}

.unikvarium-section .intro__mono {
  display: inline-block;
  margin-top: 24px;

  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.unikvarium-section .intro__right {
  position: relative;
  border-left: 1px solid var(--line);
  padding-left: 32px;
  animation: unikvariumRise .8s .24s ease both;
}

.unikvarium-section .intro__stat {
  position: relative;
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 0.02em;
  animation: unikvariumStatBreath 7s ease-in-out infinite;
}

.unikvarium-section .intro__caption {
  position: relative;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- 3. Преимущества ---------- */
.unikvarium-section .benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 96px;
}

.unikvarium-section .benefit {
  border: 1px solid var(--line);
  margin-left: -1px;
  margin-top: -1px;
  padding: 28px 24px 48px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: transparent;
  transition: background .25s, color .25s;
  cursor: default;
  animation: unikvariumRise .7s ease both;
}

.unikvarium-section .benefit:nth-child(2) { animation-delay: .1s; }
.unikvarium-section .benefit:nth-child(3) { animation-delay: .2s; }
.unikvarium-section .benefit:nth-child(4) { animation-delay: .3s; }

.unikvarium-section .benefit__num {
  font-size: 40px;
  font-weight: 300;
  color: #ccc;
  margin-bottom: 24px;
  transition: color .25s;
}

.unikvarium-section .benefit__title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.unikvarium-section .benefit__text {
  font-size: 15px;
  color: var(--muted);
  transition: color .25s;
}

.unikvarium-section .benefit__icon {
  position: absolute;
  right: 20px;
  bottom: 20px;
  color: #999;
  transition: color .25s, transform .25s;
  animation: unikvariumIconFloat 4s ease-in-out infinite;
}

.unikvarium-section .benefit:nth-child(2) .benefit__icon { animation-delay: .5s; }
.unikvarium-section .benefit:nth-child(3) .benefit__icon { animation-delay: 1s; }
.unikvarium-section .benefit:nth-child(4) .benefit__icon { animation-delay: 1.5s; }

.unikvarium-section .benefit:hover {
  background: #111;
  color: #fff;
}

.unikvarium-section .benefit:hover .benefit__num {
  color: #888;
}

.unikvarium-section .benefit:hover .benefit__text,
.unikvarium-section .benefit:hover .benefit__icon {
  color: #fff;
}

.unikvarium-section .benefit:hover .benefit__icon {
  transform: translate(3px, -3px);
  animation-play-state: paused;
}

/* ---------- 4. Карусель (на всю ширину экрана) ---------- */
.projects.projects {
  width: 100%;
  margin: 0 0 64px;
  padding: 0;

  color: #111;
}

.projects.projects * {
  box-sizing: border-box;
}

.projects .carousel {
  height: 620px;
  width: 100%;
  overflow: hidden;
  padding: 0 16px;
  animation: unikvariumRise .8s .2s ease both;
}

/* Лента со всеми слайдами — скользит целиком */
.projects .carousel__track {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 16px;
  transition: transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

.projects .slide {
  flex: 0 0 auto;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  border-radius: 2px;
  transition: flex-basis .7s cubic-bezier(.22,.61,.36,1),
              opacity .7s cubic-bezier(.22,.61,.36,1);
}

.projects .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter .7s ease, transform .7s cubic-bezier(.22,.61,.36,1);
}

.projects .slide--side {
  flex-basis: 28%;
  opacity: 0.6;
}

.projects .slide--side img {
  filter: grayscale(100%) contrast(1.05);
}

.projects .slide--side:hover img {
  transform: scale(1.04);
}

.projects .slide--active {
  flex-basis: 58%;
  opacity: 1;
}

.projects .slide--active img {
  filter: grayscale(0%);
  animation: unikvariumActiveBreath 8s ease-in-out infinite;
}

.projects .carousel__nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  max-width: 1280px;
  padding: 0 32px;
  margin-left: auto;
  margin-right: auto;
  animation: unikvariumRise .7s .35s ease both;
}

.projects .counter {

  font-size: 14px;
  letter-spacing: 0.08em;
}

.projects .progress {
  flex: 1;
  height: 1px;
  background: #e4e4e4;
  position: relative;
  overflow: hidden;
}

.projects .progress::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(17,17,17,.25), transparent);
  animation: unikvariumProgressShine 4s ease-in-out infinite;
}

.projects .progress__bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  background: #111;
  transition: width .6s cubic-bezier(.22,.61,.36,1);
  z-index: 1;
}

.projects .arrows {
  display: flex;
  gap: 8px;
}

.projects .arrow {
  width: 44px;
  height: 44px;
  border: 1px solid #e4e4e4;
  background: transparent;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.projects .arrow:hover {
  background: #111;
  color: #fff;
}

@keyframes unikvariumRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes unikvariumLogoIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: .55; transform: translateY(0); }
}

@keyframes unikvariumLogoPulse {
  0%, 92%, 100% { opacity: .55; }
  96% { opacity: .9; }
}

@keyframes unikvariumStatBreath {
  0%, 100% { opacity: 1; letter-spacing: 0.02em; }
  50% { opacity: .78; letter-spacing: 0.05em; }
}

@keyframes unikvariumIconFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(2px, -2px); }
}

@keyframes unikvariumActiveBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.015); }
}

@keyframes unikvariumProgressShine {
  0% { transform: translateX(-120%); }
  60%, 100% { transform: translateX(350%); }
}

/* ---------- Контакты ---------- */
.contacts {
  background: #111827;
  color: #fff;
  padding: 72px 0 80px;
}

.contacts__title {
  color: #fff;
  margin: 0 0 40px;
}

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contacts__label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 12px;
}

.contacts__value {
  color: #fff;
  font-size: 20px;
}

a.contacts__value:hover {
  color: #22d3ee;
}

@media (max-width: 767px) {
  .contacts { padding: 48px 0 56px; }
  .contacts__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contacts__title { margin-bottom: 28px; }
}

/* ---------- 5. Модальное окно ---------- */
.unikvarium-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;

  line-height: 1.5;
  animation: unikvariumFadeIn .3s ease;
}

.unikvarium-modal[hidden] {
  display: none;
}

.unikvarium-modal .modal__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 28px;
  color: #fff;
}

.unikvarium-modal .modal__name {
  font-size: 16px;
  font-weight: 600;
}

.unikvarium-modal .modal__num {

  font-size: 13px;
  opacity: .7;
  margin-top: 4px;
}

.unikvarium-modal .modal__close {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  line-height: 0;
  transition: transform .25s;
}

.unikvarium-modal .modal__close:hover {
  transform: rotate(90deg);
}

.unikvarium-modal .modal__img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  filter: none !important;
  animation: unikvariumZoomIn .3s ease;
}

.unikvarium-modal .modal__counter {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 20px;
  color: #fff;

  font-size: 14px;
  letter-spacing: .08em;
}

@keyframes unikvariumFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes unikvariumZoomIn {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}

/* ---------- Планшет ---------- */
@media (max-width: 1023px) {
  .unikvarium-section .intro {
    grid-template-columns: 1fr;
  }

  .unikvarium-section .intro__right {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 32px;
  }

  .unikvarium-section .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects .slide--side {
    flex-basis: 18%;
  }

  .projects .slide--active {
    flex-basis: 64%;
  }

  .projects .carousel {
    height: 480px;
  }
}

/* ---------- Мобильные ---------- */
@media (max-width: 767px) {
  .unikvarium-section.wrap {
    padding: 28px 18px;
  }

  .unikvarium-section .intro__title {
    font-size: 30px;
  }

  .unikvarium-section .intro__stat {
    font-size: 36px;
  }

  .unikvarium-section .benefits__grid {
    grid-template-columns: 1fr;
  }

  .unikvarium-section .benefit {
    min-height: 200px;
    padding: 24px 20px 40px;
  }

  .unikvarium-section .partners img {
    height: 60px;
  }

  .projects .carousel {
    height: 60vw;
    min-height: 260px;
    padding: 0;
  }

  .projects .carousel__track {
    gap: 0;
  }

  .projects .slide--side {
    flex-basis: 0;
    opacity: 0;
  }

  .projects .slide--active {
    flex-basis: 100%;
  }

  .projects .carousel__nav {
    flex-wrap: wrap;
    padding: 0 18px;
    gap: 16px;
  }
}

@media (max-width: 420px) {
  .unikvarium-section .intro__title { font-size: 26px; }
  .unikvarium-section .benefit__title { font-size: 19px; }
  .unikvarium-section .partners img { height: 48px; }
  .navdrawer__menu a { font-size: 18px; padding: 14px 0; }
  .navdrawer__phone { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .unikvarium-section .partners,
  .unikvarium-section .partner,
  .unikvarium-section .intro__left,
  .unikvarium-section .intro__right,
  .unikvarium-section .intro__stat,
  .unikvarium-section .benefit,
  .unikvarium-section .benefit__icon,
  .projects .carousel,
  .projects .carousel__track,
  .projects .carousel__nav,
  .projects .slide img,
  .projects .slide--active img,
  .projects .progress::after,
  .unikvarium-modal,
  .unikvarium-modal .modal__img {
    animation: none;
  }

  .unikvarium-section .partner,
  .unikvarium-section .benefit,
  .unikvarium-section .benefit__icon,
  .projects .carousel__track,
  .projects .slide,
  .projects .slide img,
  .projects .progress__bar,
  .projects .arrow,
  .unikvarium-modal .modal__close {
    transition: none;
  }
}

/* ---------- Наше производство ---------- */
.production {
  background: #fff;
  color: #111;
  padding: 84px 0 96px;

}

.production, .production *, .production *::before, .production *::after {
  box-sizing: border-box;
}

.production__head {
  max-width: 900px;
  margin: 0 auto 56px;
  text-align: center;
}

.production__title {
  margin: 0 0 20px;
  font-size: 44px;
  font-weight: 600;
  color: #111;
  letter-spacing: -0.3px;
  text-align: center;
}

.production__lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: #4b4b4b;
}

.production__lead strong {
  color: #111;
  font-weight: 600;
  white-space: nowrap;
}

.production__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  align-items: start;
}

.production__grid > .prod-card:nth-child(1) { grid-column: 1 / span 2; grid-row: 1; }
.production__grid > .prod-card:nth-child(2) { grid-column: 3 / span 2; grid-row: 1; }
.production__grid > .prod-card:nth-child(3) { grid-column: 5 / span 2; grid-row: 1; }
.production__grid > .prod-card:nth-child(4) { grid-column: 2 / span 2; grid-row: 2; }
.production__grid > .prod-card:nth-child(5) { grid-column: 4 / span 2; grid-row: 2; }

.prod-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 14px;
  transition: transform .35s cubic-bezier(.22,.61,.36,1),
              box-shadow .35s cubic-bezier(.22,.61,.36,1),
              border-color .35s;
}

.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px -26px rgba(17, 17, 17, 0.35);
  border-color: #cfd6e0;
}

.prod-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(45, 101, 174, 0.1);
  color: #2D65AE;
  transition: background .35s, color .35s, transform .35s;
}

.prod-card__icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.prod-card:hover .prod-card__icon {
  background: #2D65AE;
  color: #fff;
  transform: rotate(-4deg) scale(1.05);
}

.prod-card__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #111;
}

.prod-card__text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: #4b4b4b;
}

/* ===== «Наше производство» — переработанный блок ===== */
.production {
  --p-ink: #101418;
  --p-muted: #5b6570;
  --p-line: #e6eaef;
  --p-accent: #2D65AE;
  --p-accent-soft: rgba(45, 101, 174, .10);
  --p-ease: cubic-bezier(.22, .61, .36, 1);
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  color: var(--p-ink);
  padding: 96px 0 104px;

  -webkit-font-smoothing: antialiased;
}
.production *,
.production *::before,
.production *::after { box-sizing: border-box; }

.production__wrapper { max-width: 1600px; margin: 0 auto; padding: 0 28px; }

/* Заголовок */
.production__head {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}
.production__kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--p-accent-soft);
  color: var(--p-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.production__title {
  margin: 0 0 20px;
  font-size: 46px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--p-ink);
  text-align: center;
}
.production__lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--p-muted);
}
.production__lead strong { color: var(--p-ink); font-weight: 600; }

/* Медиа-полоса: 3 фото + видео (2x2, крупный первый) */
.production__media {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-rows: 300px ;
  gap: 6px;
  margin-bottom: 60px;
}
.production__media-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #e9edf2;
  box-shadow: 0 18px 40px -30px rgba(16, 20, 24, .45);
}
.production__media-item--wide {
  grid-row: 1 / span 2;
}
.production__media-item img,
.production__media-item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--p-ease);
}
.production__media-item:hover img,
.production__media-item:hover video { transform: scale(1.05); }

.production__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 20, 24, .62);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  letter-spacing: .04em;
}

/* Сетка карточек: 3 сверху, 2 снизу по центру */
.production__grid {
  display: grid;
  grid-template-columns: 6 6;
  gap: 24px;
}




.prod-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px 26px 32px;
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: 16px;
  transition: transform .35s var(--p-ease), box-shadow .35s var(--p-ease), border-color .35s var(--p-ease);
}
.prod-card:hover {
  transform: translateY(-5px);
  border-color: #cfd8e4;
  box-shadow: 0 26px 50px -30px rgba(16, 20, 24, .40);
}

.prod-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.prod-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--p-accent-soft);
  color: var(--p-accent);
  transition: background .35s, color .35s, transform .35s var(--p-ease);
}
.prod-card__icon svg { width: 30px; height: 30px; display: block; }
.prod-card:hover .prod-card__icon {
  background: var(--p-accent);
  color: #fff;
  transform: rotate(-4deg) scale(1.05);
}
.prod-card__num {
  font-size: 38px;
  font-weight: 300;
  line-height: 1;
  color: #d7dde5;
  transition: color .35s var(--p-ease);
}
.prod-card:hover .prod-card__num { color: var(--p-accent); }

.prod-card__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--p-ink);
}
.prod-card__text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--p-muted);
}

/* Появление при прокрутке (тот же .fade-up из общего скрипта) */
.production .prod-card,
.production__media-item,
.production__head { opacity: 1; }

/* Адаптив */
@media (max-width: 1100px) {
  .production__title { font-size: 36px; }
  .production__media {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 240px;
  }
  .production__media-item--wide { grid-row: 1 / span 2; }
  .production__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .prod-card:nth-child(1),
  .prod-card:nth-child(2),
  .prod-card:nth-child(3),
  .prod-card:nth-child(4),
  .prod-card:nth-child(5) { grid-column: auto; }
}
@media (max-width: 700px) {
  .production { padding: 56px 0 64px; }
  .production__wrapper { padding: 0 20px; }
  .production__title { font-size: 28px; }
  .production__lead { font-size: 15.5px; }
  .production__media {
    grid-template-columns: 1fr;
    grid-template-rows: 220px;
    gap: 12px;
  }
  .production__media-item--wide { grid-row: auto; min-height: 240px; }
  .production__grid { grid-template-columns: 1fr; gap: 16px; }
  .prod-card { padding: 24px 22px 26px; }
  .prod-card__title { font-size: 18px; }
  .prod-card__num { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .production__media-item img,
  .production__media-item video,
  .prod-card,
  .prod-card__icon { transition: none; }
  .prod-card:hover { transform: none; }
  .prod-card:hover .prod-card__icon { transform: none; }
}

/* ---------- Адаптив блока «Наше производство» ---------- */
@media (max-width: 1023px) {
  .production { padding: 64px 0 72px; }
  .production__title { font-size: 34px; }
  .production__head { margin-bottom: 40px; }

  .production__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .production__grid > .prod-card:nth-child(1),
  .production__grid > .prod-card:nth-child(2),
  .production__grid > .prod-card:nth-child(3),
  .production__grid > .prod-card:nth-child(4),
  .production__grid > .prod-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .production { padding: 48px 0 56px; }
  .production__title { font-size: 28px; }
  .production__lead { font-size: 15.5px; }

  .production__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .prod-card {
    padding: 24px 22px;
    border-radius: 12px;
  }

  .prod-card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
  }

  .prod-card__icon svg {
    width: 28px;
    height: 28px;
  }

  .prod-card__title { font-size: 18px; }
  .prod-card__text { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .prod-card, .prod-card__icon {
    transition: none;
  }
  .prod-card:hover {
    transform: none;
  }
  .prod-card:hover .prod-card__icon {
    transform: none;
  }
}

/* ===== Общее плавное появление ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.fade-up.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ===== Карта расположения ===== */
.geo {
  background: #f6f7f9;
  padding: 84px 0 96px;

}
.geo *, .geo *::before, .geo *::after { box-sizing: border-box; }

.geo__head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.geo__title {
  margin: 0 0 14px;
  font-size: 44px;
  font-weight: 600;
  color: #111;
  letter-spacing: -0.3px;
  text-align: center;
}
.geo__lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: #4b4b4b;
}

.geo__layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 28px;
  align-items: stretch;
}

.geo__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.geo-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px 22px;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 16px;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.geo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px -26px rgba(17,17,17,0.35);
  border-color: #cfd6e0;
}
.geo-card--active {
  border-color: #2D65AE;
  box-shadow: 0 22px 46px -26px rgba(45,101,174,0.45);
}
.geo-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(45,101,174,0.1);
  color: #2D65AE;
  transition: background .3s, color .3s;
}
.geo-card--active .geo-card__icon,
.geo-card:hover .geo-card__icon {
  background: #2D65AE;
  color: #fff;
}
.geo-card__icon svg { width: 26px; height: 26px; display: block; }
.geo-card__label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 4px;
}
.geo-card__addr {
  font-size: 16px;
  color: #111;
  line-height: 1.4;
}

.geo__map {
  position: relative;
  min-height: 440px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e4e4e4;
  background: #e9edf2;
  box-shadow: 0 22px 46px -30px rgba(17,17,17,0.35);
}
.geo__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) contrast(0.95);
  transition: filter .5s ease;
}
.geo__map:hover iframe { filter: grayscale(0%) contrast(1); }

@media (max-width: 900px) {
  .geo { padding: 56px 0 64px; }
  .geo__title { font-size: 32px; }
  .geo__layout { grid-template-columns: 1fr; }
  .geo__map { min-height: 340px; }
}
@media (max-width: 520px) {
  .geo__title { font-size: 26px; }
  .geo__lead { font-size: 15.5px; }
  .geo-card { padding: 16px; grid-template-columns: 48px 1fr; gap: 12px; }
  .geo-card__icon { width: 48px; height: 48px; }
  .geo-card__icon svg { width: 22px; height: 22px; }
}

/* ===== Подвал сайта ===== */
.site-footer {
  background: #fff;
  color: #111;
  padding: 88px 0 28px;
  border-top: 1px solid #ececec;

}
.site-footer *, .site-footer *::before, .site-footer *::after { box-sizing: border-box; }

.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid #ececec;
}

.site-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.site-footer__logo img { height: 48px; width: auto; display: block; }
.site-footer__tagline {
  margin: 0;
  font-size: 15px;
  color: #4b4b4b;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.site-footer__col-title {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 20px;
  font-weight: 600;
}

.site-footer__nav { display: flex; flex-direction: column; }
.site-footer__nav a {
  color: #111;
  font-size: 16px;
  padding: 8px 0;
  position: relative;
  transition: color .25s ease, padding-left .25s ease;
}
.site-footer__nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: #2D65AE;
  transition: width .25s ease;
}
.site-footer__nav a:hover {
  color: #2D65AE;
  padding-left: 18px;
}
.site-footer__nav a:hover::before { width: 12px; }

.site-footer__col { display: flex; flex-direction: column; }

.site-footer__phone {
  color: #111;
  font-size: 22px;
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
  transition: color .25s;
}
.site-footer__phone:hover { color: #2D65AE; }

.site-footer__mail {
  color: #2D65AE;
  font-size: 15px;
  display: block;
  margin-bottom: 14px;
}
.site-footer__mail:hover { text-decoration: underline; }

.site-footer__addr {
  color: #4b4b4b;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.site-footer__hours {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #ececec;
  font-size: 15px;
}
.site-footer__hours:last-child { border-bottom: none; }
.site-footer__hours span { color: #6b7280; }
.site-footer__hours strong { color: #111; font-weight: 600; }

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer__copy {
  color: #6b7280;
  font-size: 14px;
}
.site-footer__policy {
  color: #4b4b4b;
  font-size: 14px;
  transition: color .25s;
}
.site-footer__policy:hover { color: #2D65AE; }

@media (max-width: 1100px) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 600px) {
  .site-footer { padding: 56px 0 24px; }
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 36px;
  }
  .site-footer__logo img { height: 40px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}