:root {
  --hero-padding-x: 6vw;

  --accent: #1b5f9f;
  --accent-soft: rgba(27, 95, 159, 0.08);

  --text-main: #101010;
  --text-muted: #4a4a4a;

  --card-bg: #fff;
  --card-border: rgba(148, 163, 184, 0.4);
  --shadow-soft: 0 16px 36px rgba(15, 23, 42, 0.06);
  --shadow-mid: 0 18px 40px rgba(15, 23, 42, 0.18);
  --shadow-hard: 0 26px 60px rgba(15, 23, 42, 0.16);
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 0% 0%, #f2f7ff 0, transparent 50%),
    radial-gradient(circle at 100% 100%, #f6f6f6 0, #ffffff 55%);
}

/* ===========================
   ANIM: subtle pulse for clickable (inactive)
   =========================== */
@keyframes ui-pulse {
  0%   { transform: scale(1); box-shadow: 0 0 0 rgba(27,95,159,0); }
  60%  { transform: scale(1.02); box-shadow: 0 14px 28px rgba(27,95,159,0.18); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(27,95,159,0); }
}

/* ===========================
   Pulse without scaling text:
   animate ::before, not the label itself
   =========================== */

.mpsu-type-tabs__tab,
.mpsu-tabs__tab,
.product-tabs__tab,
.mpsu-cta__btn {
  position: relative;
  isolation: isolate;
}

.mpsu-type-tabs__tab::before,
.mpsu-tabs__tab::before,
.product-tabs__tab::before,
.mpsu-cta__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  z-index: -1;
  pointer-events: none;
}

/* ===========================
   HERO
   =========================== */

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: -10%;
  top: 35%;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.9), transparent 55%),
    radial-gradient(circle at 65% 80%, rgba(0,0,0,0.20), transparent 60%);
  opacity: 0.25;
  filter: blur(4px);
  transform: translate3d(0,0,0);
  pointer-events: none;
}

/* TOPBAR */
.hero__topbar {
  position: fixed;
  top: 24px;
  left: 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 12px 28px;
  min-width: 340px;

  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 24px 50px rgba(15, 23, 42, 0.18),
    0 0 0 0.5px rgba(148, 163, 184, 0.4);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  z-index: 50;

  transform: translateY(10px);
  opacity: 0;
  animation: topbar-in 0.8s ease-out 0.1s forwards;

  transition: box-shadow .25s ease, background .25s ease;
}

.hero__topbar:hover {
  box-shadow:
    0 32px 70px rgba(15, 23, 42, 0.22),
    0 0 0 1px rgba(148, 163, 184, 0.5);
}

.hero__logo img {
  display: block;
  height: 34px;
}

/* BURGER */
.hero__menu-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 0;
  background: var(--accent-soft);

  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;

  padding: 0;
  cursor: pointer;

  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}

.hero__menu-btn span {
  display: block;
  height: 2px;
  width: 28px;
  margin-left: 10px;

  background: var(--text-main);
  border-radius: 999px;

  transition: transform 0.25s ease, opacity 0.2s ease;
}

.hero__menu-btn:hover {
  background: rgba(27, 95, 159, 0.18);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
}

.hero__menu-btn:hover span:nth-child(1) { transform: translateY(4px) rotate(7deg); }
.hero__menu-btn:hover span:nth-child(3) { transform: translateY(-4px) rotate(-7deg); }

.hero__menu-btn.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hero__menu-btn.is-open span:nth-child(2) { opacity: 0; }
.hero__menu-btn.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* NAV */
.hero__nav {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);

  z-index: 20;
  display: flex;
  gap: 14px;

  padding: 10px 20px;
  border-radius: 999px;

  background: rgba(15, 23, 42, 0.96);
  box-shadow:
    0 24px 50px rgba(15, 23, 42, 0.6),
    0 0 0 1px rgba(148, 163, 184, 0.5);

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero__nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.hero__nav a {
  font-size: 13px;
  text-decoration: none;
  color: #e5e7eb;
  white-space: nowrap;

  padding: 4px 10px;
  border-radius: 999px;

  transition: background 0.2s ease, color 0.2s ease;
}

.hero__nav a:hover {
  background: rgba(148, 163, 184, 0.3);
  color: #ffffff;
}

/* CONTENT */
.hero__content {
  position: relative;
  margin-top: 6%;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 120px var(--hero-padding-x) 60px;
  gap: 8vw;
}

.hero__image {
  flex: 0 0 56%;
  align-self: flex-end;
  perspective: 1300px;
}

/* TEXT */
.hero__text {
  flex: 0 0 38%;
  max-width: 580px;

  margin-right: auto;
  margin-left: 0;

  text-align: left;

  transform: translateY(20px);
  opacity: 0;
  animation: text-in 0.9s ease-out 0.25s forwards;
}

.hero__eyebrow {
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero__text h1 {
  margin: 0 0 24px;
  font-size: clamp(30px, 2.4vw + 18px, 40px);
  line-height: 1.2;
  font-weight: 500;
  color: var(--text-main);
}

.hero__divider {
  width: 88px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #56a6ff);
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(27, 95, 159, 0.55);
}

.hero__subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ANIMATIONS */
@keyframes topbar-in { to { opacity: 1; transform: translateY(0); } }
@keyframes text-in  { to { opacity: 1; transform: translateY(0); } }

@keyframes plate-float {
  0%   { transform: translateY(4%) rotateX(12deg) rotateZ(-1.2deg) scale(1.06); }
  50%  { transform: translateY(1%) rotateX(10deg) rotateZ(-0.6deg) scale(1.09); }
  100% { transform: translateY(4%) rotateX(12deg) rotateZ(-1.2deg) scale(1.06); }
}

/* HERO responsive */
@media (max-width: 1100px) {
  :root { --hero-padding-x: 5vw; }
  .hero__content { padding-top: 130px; }
}

@media (max-width: 900px) {
  :root { --hero-padding-x: 24px; }

  .hero__topbar {
    left: 16px;
    right: 16px;
    min-width: auto;
  }

  .hero__content {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    padding-top: 140px;
  }

  .hero__text { margin-top: 12%; text-align: center; }
  .hero__subtitle { text-align: center; }

  .hero__image { align-self: center; }
}

@media (max-width: 768px) {
  .hero__nav {
    max-width: calc(100% - 24px);
    padding: 10px 12px;
    border-radius: 20px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 10px;
    column-gap: 8px;
    justify-items: center;
  }

  .hero__nav a {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero__topbar { padding-inline: 18px; }
  .hero__content { padding-inline: 18px; padding-bottom: 40px; }
  .hero__text h1 { font-size: 26px; }
  .hero__subtitle { font-size: 15px; }
}

/* ===========================
   HERO slider (fixed layout)
   =========================== */

.hero-slider {
  position: relative;
  width: 100%;
  max-width: 1040px;
  aspect-ratio: 16 / 9;
  min-height: 380px;
}

@media (max-width: 900px) {
  .hero-slider { min-height: 320px; }
}
@media (max-width: 600px) {
  .hero-slider { min-height: 260px; }
}

.hero-slider__slide {
  position: absolute;
  inset: 0;

  opacity: 0;
  pointer-events: none;

  transition: opacity 1s ease;
}

.hero-slider__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slider__slide img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  object-fit: contain;

  transform-origin: center;
  transform:
    translateY(4%)
    rotateX(12deg)
    rotateZ(-1.2deg)
    scale(1.06);

  filter: drop-shadow(0 40px 55px rgba(15, 23, 42, 0.4));
  animation: plate-float 6s ease-in-out infinite;
  cursor: zoom-in;
}

.hero-slider:hover .hero-slider__slide img { animation-play-state: paused; }

/* ===========================
   Hero lightbox (CARD IS WHITE NOW)
   =========================== */

.hero-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}

.hero-lightbox.is-open { display: block; }

.hero-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-lightbox__dialog {
  position: relative;
  width: min(1100px, 92vw);
  height: min(700px, 86vh);
  margin: 7vh auto 0;
  border-radius: 22px;

  /* было тёмным — делаем белым */
  background: #ffffff;

  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  overflow: hidden;
}

.hero-lightbox__viewport {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 52px 70px;
}

.hero-lightbox__viewport img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Кнопки на белом фоне — тёмные */
.hero-lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;

  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;

  background: rgba(15,23,42,0.08);
  color: #0f172a;
  font-size: 18px;
  cursor: pointer;
}

.hero-lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;

  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;

  background: rgba(15,23,42,0.08);
  color: #0f172a;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.hero-lightbox__arrow--prev { left: 12px; }
.hero-lightbox__arrow--next { right: 12px; }

.hero-lightbox__close,
.hero-lightbox__arrow { transition: none !important; }

.hero-lightbox__close:hover,
.hero-lightbox__arrow:hover { background: rgba(15,23,42,0.10); }

.hero-lightbox__arrow:hover { transform: translateY(-50%); }

@media (max-width: 700px) {
  .hero-lightbox__viewport { padding: 52px 18px; }
  .hero-lightbox__arrow { width: 44px; height: 44px; font-size: 26px; }
}

/* ===========================
   Header contacts
   =========================== */

.hero__contacts-float {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 50;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px 18px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18), 0 0 0 0.5px rgba(148, 163, 184, 0.4);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.hero__contacts-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.hero__contacts-link:hover { color: var(--accent); }

.hero__contacts-sep { color: rgba(15, 23, 42, 0.35); }

@media (max-width: 1100px) {
  .hero__contacts-float { display: none; }
}

/* ===========================
   PROOF
   =========================== */

.proof {
  padding: 70px var(--hero-padding-x) 80px;
  background: #ffffff;
}

.proof__inner { max-width: 1200px; margin: 0 auto; }
.proof__top { margin-bottom: 22px; }

.proof__toptext {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--accent);
  font-weight: 500;
}

.proof__content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: start;
}

.proof__text p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

.proof__list {
  margin: 10px 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.proof__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

.proof__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: rgba(27, 95, 159, 0.18);
  box-shadow: inset 0 0 0 1px rgba(27, 95, 159, 0.35);
}

.proof__docs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.proof__doc {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(148, 163, 184, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.proof__doc img { display: block; width: 100%; height: auto; }

.proof__doc:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.24), 0 0 0 1px rgba(148, 163, 184, 0.6);
}

@media (max-width: 960px) {
  .proof__content { grid-template-columns: 1fr; }
  .proof__docs { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .proof { padding-inline: 18px; }
}

/* ===========================
   MPSU
   =========================== */

.mpsu {
  padding: 60px var(--hero-padding-x) 80px;
  background: radial-gradient(circle at 0 0, #f3f6ff 0, #f9fafb 35%, #ffffff 70%);
}

.mpsu__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: center;
}

/* top tabs */
.mpsu-type-tabs {
  max-width: 1200px;
  margin: 60px auto 24px;
  padding: 6px;
  display: flex;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(148, 163, 184, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mpsu-type-tabs__tab {
  border: 0;
  background: transparent;
  border-radius: 999px;

  /* bigger */
  padding: 12px 30px;
  min-width: 150px;

  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;

  cursor: pointer;
  color: var(--text-muted);

  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

/* subtle pulse on inactive to show clickable */
.mpsu-type-tabs__tab:not(.is-active)::before {
  animation: ui-pulse 2.6s ease-in-out infinite;
}

.mpsu-type-tabs__tab:not(.is-active):hover {
  background: rgba(148, 163, 184, 0.10);
}

.mpsu-type-tabs__tab:not(.is-active):hover::before { animation: none; }

.mpsu-type-tabs__tab.is-active {
  background: linear-gradient(90deg, var(--accent), #56a6ff);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(27, 95, 159, 0.65);
  transform: translateY(-1px);
  animation: none;
}

/* visibility */
.mpsu-block { display: none; }
.mpsu-block.is-active { display: block; }

/* columns */
.mpsu__left {
  flex: 0 0 46%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mpsu__right {
  flex: 0 0 54%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mpsu__head h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 600;
}

.mpsu__lead {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* inner tabs */
.mpsu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.mpsu-tabs__tab {
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #ffffff;
  border-radius: 999px;

  /* bigger */
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;

  cursor: pointer;
  color: var(--text-main);

  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease,
              border-color 0.2s ease, transform 0.15s ease;
}

/* subtle pulse on inactive tabs */
.mpsu-tabs__tab:not(.is-active)::before {
  animation: ui-pulse 2.8s ease-in-out infinite;
}

.mpsu-tabs__tab:not(.is-active):hover::before { animation: none; }

.mpsu-tabs__tab.is-active {
  background: linear-gradient(90deg, var(--accent), #56a6ff);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(27, 95, 159, 0.6);
  transform: translateY(-1px);
  animation: none;
}

.mpsu-tabs__panes { position: relative; }

.mpsu-tabs__pane {
  display: none;
  border-radius: 22px;
  padding: 18px 20px 18px 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft), inset 3px 0 0 rgba(27, 95, 159, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.4);
  animation: mpsu-pane-in 0.25s ease-out forwards;
}

.mpsu-tabs__pane.is-active { display: block; }

.mpsu-tabs__pane h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
}

.mpsu-tabs__pane p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.mpsu-tabs__pane ul {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.6;
}

.mpsu-tabs__pane ul li + li { margin-top: 6px; }

@keyframes mpsu-pane-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== Доп. комплектация (красивее) ===== */
.mpsu-addons__lead {
  margin: 0 0 12px;
  color: var(--text-muted);
}

.mpsu-addons__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.mpsu-addons__list li {
  position: relative;
  padding: 10px 12px 10px 44px;
  border-radius: 16px;
  background: rgba(27, 95, 159, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.mpsu-addons__list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 10px;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--accent);
  background: rgba(27, 95, 159, 0.12);
  box-shadow: inset 0 0 0 1px rgba(27, 95, 159, 0.18);
}

.mpsu-addons__note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}



/* ===========================
   MPSU gallery (FIXED FRAME, NO JUMP)
   =========================== */

.mpsu-gallery {
  position: relative;
  width: 100%;
  max-width: 520px;

  /* фиксируем рамку */
  aspect-ratio: 4 / 3;

  /* чтобы стрелки не прыгали */
  min-height: 360px;
}

@media (max-width: 900px) {
  .mpsu-gallery { min-height: 320px; }
}
@media (max-width: 600px) {
  .mpsu-gallery { min-height: 260px; }
}

.mpsu-gallery__card {
  position: absolute;
  inset: 0;
  border-radius: 20px;

  /* фикс padding чтобы не менялся */
  padding: 14px;

  background: var(--card-bg);
  box-shadow: var(--shadow-mid);
  border: 1px solid rgba(148, 163, 184, 0.8);
  overflow: hidden;
  transform-origin: center;
  opacity: 0;
}

.mpsu-gallery__card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: none;
}

/* AUTO cycle (оставляем, но без разных padding!) */
.mpsu-gallery__card:nth-of-type(1) { animation: mpsu-gallery-cycle 12s infinite; }
.mpsu-gallery__card:nth-of-type(2) { animation: mpsu-gallery-cycle 12s infinite 4s; }
.mpsu-gallery__card:nth-of-type(3) { animation: mpsu-gallery-cycle 12s infinite 8s; }

@keyframes mpsu-gallery-cycle {
  0%   { opacity: 0; transform: translateY(18px) scale(0.96) rotate(-1deg); }
  8%   { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
  30%  { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
  40%  { opacity: 0; transform: translateY(-14px) scale(0.98) rotate(1deg); }
  100% { opacity: 0; transform: translateY(18px) scale(0.96) rotate(-1deg); }
}

/* arrows shared (NO hover jumps) */
.layouts__arrow,
.product-slider__arrow,
.mpsu-gallery__arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;

  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(148, 163, 184, 0.4);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;
  line-height: 1;
  cursor: pointer;

  transition: none;
}

.mpsu-gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}
.mpsu-gallery__arrow--prev { left: -18px; }
.mpsu-gallery__arrow--next { right: -18px; }

/* manual mode */
.mpsu-gallery.is-manual .mpsu-gallery__card {
  animation: none !important;
  transform: none !important;
  opacity: 0 !important;
  transition: opacity .2s ease;
}

.mpsu-gallery.is-manual .mpsu-gallery__card.is-active {
  opacity: 1 !important;
}

/* responsive */
@media (max-width: 960px) {
  .mpsu__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .mpsu { padding-inline: 24px; }
}

@media (max-width: 600px) {
  .mpsu { padding-inline: 18px; }
  .mpsu-gallery { max-width: 100%; }
}

@media (max-width: 768px) {
  .layouts__arrow,
  .product-slider__arrow,
  .mpsu-gallery__arrow {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  .mpsu-gallery__arrow--prev { left: -10px; }
  .mpsu-gallery__arrow--next { right: -10px; }
}

/* ===========================
   BENEFITS
   =========================== */

.benefits {
  padding: 80px var(--hero-padding-x) 90px;
  background: #f7f8fb;
}

.benefits__inner { max-width: 1200px; margin: 0 auto; }

.benefits__head {
  text-align: center;
  margin-bottom: 40px;
}

.benefits__head h2 {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 600;
}

.benefits__underline {
  width: 120px;
  height: 3px;
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #f9a826);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 60px;
}

.benefit { text-align: center; }

.benefit__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(27, 95, 159, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
}

.benefit__icon img { max-width: 70px; max-height: 70px; }

.benefit h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.benefit p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 36px;
  }
}

@media (max-width: 640px) {
  .benefits { padding-inline: 18px; }
  .benefits__grid { grid-template-columns: 1fr; }
}

/* ===========================
   LAYOUTS
   =========================== */

.layouts {
  padding: 80px var(--hero-padding-x) 90px;
  background: #ffffff;
}

.layouts__inner { max-width: 1200px; margin: 0 auto; }

.layouts__head {
  text-align: center;
  margin-bottom: 36px;
}

.layouts__head h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
}

.layouts__slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.layouts__viewport {
  width: 100%;
  max-width: 820px;
  border-radius: 26px;
  background: #f8fafc;
  box-shadow: var(--shadow-hard), 0 0 0 1px rgba(148, 163, 184, 0.4);
  overflow: hidden;
  padding: 18px 18px 22px;
}

.layouts-slide { display: none; flex-direction: column; }
.layouts-slide.is-active { display: flex; }

.layouts-slide img {
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: 18px;
  margin: 0 auto 14px;
}

.layouts-slide__caption {
  margin: 0;
  font-size: 14px;
  text-align: center;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .layouts { padding-inline: 18px; }
  .layouts__slider { gap: 10px; }
}

/* ===========================
   DOCS (4 in row already)
   =========================== */

.docs {
  padding: 80px var(--hero-padding-x) 90px;
  background: #f7f8fb;
}

.docs__inner { max-width: 1200px; margin: 0 auto; }

.docs__head {
  text-align: center;
  margin-bottom: 40px;
}

.docs__head h2 {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 600;
}

.docs__underline {
  width: 120px;
  height: 3px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #f9a826);
}

.docs__grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.doc-card { text-decoration: none; color: inherit; }

.doc-card__inner {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(148, 163, 184, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doc-card__inner img { display: block; width: 100%; height: auto; }

.doc-card:hover .doc-card__inner {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.24), 0 0 0 1px rgba(148, 163, 184, 0.6);
}

.doc-card__caption {
  margin: 10px 4px 0;
  font-size: 14px;
  text-align: center;
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .docs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .docs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .docs { padding-inline: 18px; }
  .docs__grid { grid-template-columns: 1fr; }
}

/* ===========================
   CLIENTS
   =========================== */

.clients {
  padding: 70px var(--hero-padding-x) 80px;
  background: #ffffff;
}

.clients__inner { max-width: 1200px; margin: 0 auto; }

.clients__head {
  text-align: center;
  margin-bottom: 40px;
}

.clients__head h2 {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 600;
}

.clients__underline {
  width: 120px;
  height: 3px;
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #f9a826);
}

.clients__grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 40px;
  align-items: center;
  justify-items: center;
}

.client {
  display: flex;
  align-items: center;
  justify-content: center;
}

.client img {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.2s ease;
}

.client:hover img { transform: translateY(-2px) scale(1.02); }

@media (max-width: 960px) {
  .clients__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .clients { padding-inline: 18px; }
  .clients__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .client img { max-width: 140px; }
}

/* ===========================
   PRODUCT PHOTOS
   =========================== */

.product-photos {
  padding: 80px var(--hero-padding-x) 90px;
  background: #ffffff;
}

.product-photos__inner { max-width: 1200px; margin: 0 auto; }

.product-photos__head {
  text-align: center;
  margin-bottom: 28px;
}

.product-photos__head h2 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 600;
}

.product-photos__underline {
  width: 120px;
  height: 3px;
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #f9a826);
}

.product-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.product-tabs__tab {
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #ffffff;
  border-radius: 999px;

  /* bigger */
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;

  cursor: pointer;
  color: var(--text-main);

  transition: background 0.2s ease, color 0.2s ease,
              box-shadow 0.2s ease, border-color 0.2s ease,
              transform 0.15s ease;
}

/* pulse for inactive */
.product-tabs__tab:not(.is-active)::before {
  animation: ui-pulse 2.8s ease-in-out infinite;
}
.product-tabs__tab:not(.is-active):hover::before { animation: none; }

.product-tabs__tab.is-active {
  background: linear-gradient(90deg, var(--accent), #56a6ff);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(27, 95, 159, 0.6);
  transform: translateY(-1px);
  animation: none;
}

.product-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.product-slider__viewport {
  width: 100%;
  max-width: 900px;

  position: relative;
  aspect-ratio: 16 / 9;

  border-radius: 26px;
  background: #f8fafc;
  box-shadow: var(--shadow-hard), 0 0 0 1px rgba(148, 163, 184, 0.4);
  overflow: hidden;
  padding: 18px 18px 22px;
}

.product-gallery { display: none; }
.product-gallery.is-active { display: block; }

.product-gallery,
.product-slide { height: 100%; }

.product-slide { display: none; }
.product-slide.is-active { display: block; }

.product-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
}

@media (max-width: 768px) {
  .product-photos { padding-inline: 18px; }
  .product-slider { gap: 10px; }
  .product-slider__viewport { padding: 14px 14px 18px; }
}

/* ===========================
   CONTACTS
   =========================== */

.contacts {
  padding: 80px var(--hero-padding-x) 90px;
  background: #f7f8fb;
}

.contacts__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
}

.contacts__info { flex: 0 0 48%; }

.contacts__info h2 {
  margin: 0 0 20px;
  font-size: 30px;
  font-weight: 600;
}

.contacts__main { margin-bottom: 20px; }

.contacts__phone,
.contacts__email {
  display: block;
  font-size: 24px;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
}

.contacts__email { margin-top: 6px; }

.contacts__phone:hover,
.contacts__email:hover { color: var(--accent); }

.contacts__details p {
  margin: 4px 0;
  font-size: 15px;
  line-height: 1.5;
}

.contacts__manufacturers { margin-top: 24px; }

.contacts__manufacturers-title {
  margin: 0 0 10px;
  font-weight: 600;
}

.contacts__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.contacts__logo img { 
  height: 60px;
  width: auto;
  display: block; 
}

/* form */
.contacts__form-wrapper {
  flex: 0 0 52%;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-hard), 0 0 0 1px rgba(148, 163, 184, 0.4);
  padding: 24px 26px 26px;
}

.contacts__form-wrapper h3 {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 700;
}

.contacts__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contacts__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contacts__field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.contacts__field input,
.contacts__field select {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  padding: 10px 16px;

  font-size: 14px;
  font-family: inherit;

  outline: none;
  background: #f9fafb;

  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contacts__field input:focus,
.contacts__field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(27, 95, 159, 0.35);
  background: #ffffff;
}

.contacts__submit {
  margin-top: 6px;
  align-self: flex-start;

  border: none;
  border-radius: 999px;

  /* bigger */
  padding: 12px 30px;
  font-size: 15px;
  font-weight: 700;

  cursor: pointer;

  color: #ffffff;
  background: linear-gradient(90deg, var(--accent), #56a6ff);
  box-shadow: 0 12px 26px rgba(27, 95, 159, 0.6);

  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.contacts__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(27, 95, 159, 0.7);
  opacity: 0.95;
}

@media (max-width: 900px) {
  .contacts__inner { flex-direction: column; }
  .contacts__form-wrapper { order: -1; }
}

@media (max-width: 600px) {
  .contacts { padding-inline: 18px; }
  .contacts__form-wrapper { padding-inline: 18px; }
  .contacts__phone, .contacts__email { font-size: 20px; }
}

/* ===========================
   FOOTER
   =========================== */

.footer {
  padding: 16px var(--hero-padding-x) 22px;
  background: #0f172a;
  color: #e5e7eb;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

/* ===========================
   MPSU CTA block
   =========================== */

.mpsu-cta {
  padding: 36px var(--hero-padding-x) 56px;
  background: linear-gradient(
    180deg,
    rgba(243, 246, 255, 0.7),
    rgba(255, 255, 255, 0)
  );
}

.mpsu-cta__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.mpsu-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* bigger + more “button-like” */
  padding: 16px 40px;
  border-radius: 999px;

  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;

  color: #ffffff;
  background: linear-gradient(90deg, var(--accent), #56a6ff);

  box-shadow:
    0 18px 38px rgba(27, 95, 159, 0.6),
    0 0 0 1px rgba(148, 163, 184, 0.25);

  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

/* лёгкая “жизнь” у CTA тоже */
.mpsu-cta__btn::before {
  animation: ui-pulse 3.2s ease-in-out infinite;
}

.mpsu-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 52px rgba(27, 95, 159, 0.75),
    0 0 0 1px rgba(148, 163, 184, 0.35);
  opacity: 0.98;
}

.mpsu-cta__btn:hover::before { animation: none; }

@media (max-width: 600px) {
  .mpsu-cta { padding-inline: 18px; }

  .mpsu-cta__btn {
    width: 100%;
    max-width: 340px;
    text-align: center;
  }
}

/* ===========================
   Противоскользящее покрытие
   =========================== */
.slip {
  padding: 80px var(--hero-padding-x) 90px;
  background: #ffffff;
}

.slip__inner { max-width: 1200px; margin: 0 auto; }

.slip__head {
  text-align: center;
  margin-bottom: 40px;
}

.slip__head h2 {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 600;
  color: var(--text-main);
}

.slip__underline {
  width: 120px;
  height: 3px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #f9a826);
}

.slip__lead {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}

.slip__lead strong { color: var(--accent); }

.slip__content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}

.slip__main p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

.slip__subhead {
  margin: 22px 0 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
}

.slip__list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.slip__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

.slip__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: rgba(27, 95, 159, 0.18);
  box-shadow: inset 0 0 0 1px rgba(27, 95, 159, 0.35);
}

.slip__note {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* Боковая карточка с метрикой и преимуществами */
.slip__specs {
  background: var(--accent-soft);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
}

.slip__metric {
  text-align: center;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--card-border);
}

.slip__metric-value {
  display: block;
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}

.slip__metric-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.slip__features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.slip__features li {
  display: grid;
  gap: 3px;
}

.slip__feature-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.slip__feature-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .slip__content { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .slip { padding-inline: 18px; }
  .slip__head h2 { font-size: 26px; }
}

/* ===========================
   Lightbox для документов
   =========================== */

.docs-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.docs-lightbox.is-open {
  display: flex;
}

.docs-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.docs-lightbox__dialog {
  position: relative;
  width: min(1000px, 92vw);
  height: min(700px, 90vh);
  margin: auto;
  border-radius: 22px;
  background: #f0f0f0;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.docs-lightbox__viewport {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow: auto;
  min-height: 0;
}

.docs-lightbox__viewport img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.docs-lightbox__caption {
  flex-shrink: 0;
  background: rgba(15, 23, 42, 0.04);
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding: 16px 24px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Кнопки навигации */
.docs-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.docs-lightbox__close:hover {
  background: rgba(15, 23, 42, 0.12);
}

.docs-lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.docs-lightbox__arrow--prev {
  left: 16px;
}

.docs-lightbox__arrow--next {
  right: 16px;
}

.docs-lightbox__arrow:hover {
  background: rgba(15, 23, 42, 0.12);
}

/* Адаптивность */
@media (max-width: 768px) {
  .docs-lightbox__dialog {
    width: 95vw;
    height: 95vh;
    border-radius: 16px;
  }
  
  .docs-lightbox__arrow {
    width: 44px;
    height: 44px;
    font-size: 26px;
  }
  
  .docs-lightbox__close {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
  
  .docs-lightbox__viewport {
    padding: 20px;
  }
  
  .docs-lightbox__caption {
    padding: 12px 16px;
    font-size: 13px;
  }
}
