/* ============================================================
   SPARS — современный редизайн
   Кастомные стили поверх Bootstrap 5.3
   ============================================================ */

:root {
  /* Палитра */
  --sp-navy: #052063;
  --sp-navy-2: #093478;
  --sp-navy-3: #125ba0;
  --sp-navy-4:#263169;
  --sp-accent: #ff7a1a;
  --sp-accent-2: #ff9d4d;
  --sp-accent-dark: #e85f00;
  --sp-blue: #2f6fed;
  --sp-ink: #182437;
  --sp-muted: #5d6d86;
  --sp-bg: #f4f7fc;
  --sp-line: #e4eaf3;
  --sp-radius: 18px;
  --sp-radius-sm: 12px;
  --sp-shadow: 0 10px 30px rgba(13, 32, 64, 0.08);
  --sp-shadow-lg: 0 24px 60px rgba(13, 32, 64, 0.16);
  --sp-header-h: 78px;
  --bs-body-font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
}

/* ---------- База ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

body {
  font-family: var(--bs-body-font-family);
  color: var(--sp-ink);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.font-display {
  font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

::selection {
  background: var(--sp-accent);
  color: #fff;
}

:focus-visible {
  outline: 3px solid rgba(255, 122, 26, 0.55);
  outline-offset: 2px;
  border-radius: 4px;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--sp-bg); }
::-webkit-scrollbar-thumb { background: #b9c6da; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #94a6c2; }

img, svg { max-width: 100%; }

/* ---------- Утилиты ---------- */
.text-accent { color: var(--sp-accent) !important; }
.text-navy { color: var(--sp-navy) !important; }
.text-muted-2 { color: var(--sp-muted) !important; }
.bg-navy { background-color: var(--sp-navy) !important; }
.bg-soft { background-color: var(--sp-bg); }

a {
    color: var(--sp-accent);
    text-decoration: underline;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sp-accent);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--sp-accent);
}
.eyebrow.on-dark { color: var(--sp-accent-2); }
.eyebrow.on-dark::before { background: var(--sp-accent-2); }

.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }

.section-title {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  color: var(--sp-navy);
}
.section-title.on-dark { color: #fff; }
.section-sub {
  color: var(--sp-muted);
  font-size: 1.05rem;
  max-width: 640px;
}

.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-fill { fill: currentColor; stroke: none; }

/* ---------- Кнопки ---------- */
.btn { border-radius: 12px; font-weight: 700; transition: all 0.25s ease; }

.btn-accent {
  background: linear-gradient(135deg, var(--sp-accent) 0%, var(--sp-accent-2) 100%);
  color: #fff;
  border: 0;
  box-shadow: 0 8px 22px rgba(255, 122, 26, 0.35);
}
.btn-accent:hover, .btn-accent:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 122, 26, 0.45);
  background: linear-gradient(135deg, var(--sp-accent-dark) 0%, var(--sp-accent) 100%);
}
.btn-accent:active { transform: translateY(0); }

.btn-navy {
  background: var(--sp-navy);
  color: #fff;
  border: 0;
}
.btn-navy:hover, .btn-navy:focus {
  background: var(--sp-navy-3);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost-light {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: transparent;
}
.btn-ghost-light:hover, .btn-ghost-light:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.btn-outline-navy {
  border: 1.5px solid var(--sp-navy);
  color: var(--sp-navy);
  background: transparent;
}
.btn-outline-navy:hover, .btn-outline-navy:focus {
  background: var(--sp-navy);
  color: #fff;
}

.btn-outline-accent {
  border: 1.5px solid var(--sp-accent);
  color: var(--sp-accent);
  background: transparent;
}
.btn-outline-accent:hover, .btn-outline-accent:focus {
  background: var(--sp-accent);
  color: #fff;
}

.btn-white { background: #fff; color: var(--sp-navy); border: 0; }
.btn-white:hover { background: #f0f4fa; color: var(--sp-navy); transform: translateY(-2px); }

.btn-sm-round {
  width: 44px; height: 44px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  padding: 0;
}

/* ============================================================
   ВЕРХНЯЯ ПАНЕЛЬ (topbar)
   ============================================================ */
.topbar {
  background: var(--sp-navy);
  color: #9fb1cc;
  font-size: 0.8rem;
  padding: 8px 0;
  position: relative;
  z-index: 1031;
}
.topbar a { color: #c6d3e6; text-decoration: none; transition: color 0.2s; }
.topbar a:hover { color: var(--sp-accent-2); }
.topbar .ico { width: 15px; height: 15px; opacity: 0.85; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar .divider { width: 1px; height: 14px; background: rgba(255,255,255,0.14); }
.topbar-sale {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--sp-accent), var(--sp-accent-2));
  color: #fff; font-weight: 800; border-radius: 99px; padding: 3px 12px;
  font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.topbar-sale:hover { color: #fff; }

/* ============================================================
   ШАПКА + НАВИГАЦИЯ
   ============================================================ */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(10, 30, 60, 0.1);
  border-bottom-color: var(--sp-line);
}

.header-main { padding: 14px 0; }

/* Логотип */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  background: linear-gradient(135deg, var(--sp-navy-4) 0%, var(--sp-navy-3) 100%);
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(10, 30, 60, 0.25);
  position: relative; overflow: hidden;
}
.brand-mark::after {
  content: ''; position: absolute; right: -14px; top: -14px;
  width: 40px; height: 40px; border-radius: 50%;
}
.brand-name {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800; font-size: 1.5rem; letter-spacing: 0.06em;
  color: var(--sp-navy); line-height: 1;
}
.brand-name span { color: var(--sp-accent); }
.brand-tagline {
  font-size: 0.66rem; color: var(--sp-muted); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px;
}

/* Телефон в шапке */
.header-phone { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.header-phone .ph-icon {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: rgba(255, 122, 26, 0.1); color: var(--sp-accent);
  display: grid; place-items: center; font-size: 20px;
  animation: ph-pulse 2.4s infinite;
}
@keyframes ph-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.35); }
  50% { box-shadow: 0 0 0 9px rgba(255, 122, 26, 0); }
}
.header-phone .ph-num {
  font-weight: 800; font-size: 1.12rem; color: var(--sp-navy);
  line-height: 1.15; white-space: nowrap;
}
.header-phone .ph-note { font-size: 0.72rem; color: var(--sp-muted); font-weight: 600; }
.header-phone:hover .ph-num { color: var(--sp-accent); }

/* Навигация */
.site-nav {
  border-top: 1px solid var(--sp-line);
  background: #fff;
}
.site-nav .navbar-nav { gap: 4px; }
.site-nav .nav-link {
  font-weight: 700; font-size: 0.92rem; color: var(--sp-ink);
  padding: 0.85rem 1rem !important;
  border-radius: 10px;
  display: inline-flex; align-items: center; gap: 7px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: var(--sp-accent); background: rgba(255, 122, 26, 0.07); }
.site-nav .nav-link .ico { width: 14px; height: 14px; stroke-width: 2.4; transition: transform 0.25s; }
.site-nav .dropdown.show .nav-link .ico-chevron { transform: rotate(180deg); }

.nav-badge {
  background: var(--sp-accent); color: #fff;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.05em;
  border-radius: 99px; padding: 2px 7px; text-transform: uppercase;
}

/* Мега-меню */
.mega-menu {
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow-lg);
  padding: 26px 28px;
  margin-top: 10px !important;
 /* animation: mega-in 0.22s ease;*/
}
@keyframes mega-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.mega-menu.mega-catalog { width: min(960px, calc(100vw - 32px)); left: 50%; transform: translateX(-50%); }
.mega-menu.mega-service { width: min(760px, calc(100vw - 32px)); left: 50%; transform: translateX(-50%); }
.mega-menu.mega-solutions { width: min(620px, calc(100vw - 32px)); left: 50%; transform: translateX(-50%); }

.mega-col-title {
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--sp-accent);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--sp-line);
  display: flex; align-items: center; gap: 8px;
}
.mega-list { list-style: none; margin: 0; padding: 0; }
.mega-list li + li { margin-top: 2px; }
.mega-list a {
  display: flex; align-items: center; gap: 8px;
  color: var(--sp-ink); text-decoration: none;
  font-size: 0.88rem; font-weight: 600;
  padding: 6px 10px; border-radius: 9px;
  transition: all 0.18s;
}
.mega-list a::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: #c6d3e6; flex: none; transition: all 0.18s;
}
.mega-list a:hover { background: var(--sp-bg); color: var(--sp-accent); }
.mega-list a:hover::before { background: var(--sp-accent); transform: scale(1.3); }

.mega-promo {
  border-radius: 14px; padding: 20px;
  background: linear-gradient(135deg, var(--sp-navy) 0%, var(--sp-navy-3) 100%);
  color: #fff; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  position: relative; overflow: hidden;
}
.mega-promo::after {
  content: ''; position: absolute; right: -40px; bottom: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,26,0.4), transparent 70%);
}
.mega-promo h6 { color: #fff; font-size: 0.95rem; margin: 0; }
.mega-promo p { color: #b9c8de; font-size: 0.8rem; margin: 0; }

/* Каталог-кнопка (моб.) */
.btn-catalog {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--sp-accent), var(--sp-accent-2));
  color: #fff; border: 0; border-radius: 12px;
  font-weight: 800; padding: 0.65rem 1.2rem; font-size: 0.92rem;
  box-shadow: 0 8px 20px rgba(255, 122, 26, 0.3);
  transition: all 0.25s;
}
.btn-catalog:hover { color: #fff; transform: translateY(-2px); }
.btn-catalog .burger { display: grid; gap: 4px; }
.btn-catalog .burger i { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }
.btn-catalog .burger i:nth-child(2) { width: 13px; }

/* Offcanvas (мобильное меню) — стили действуют только < lg,
   чтобы на десктопе мега-меню работало как dropdown */
@media (max-width: 991.98px) {
  .mobile-nav .offcanvas-header {
    background: var(--sp-navy); color: #fff; padding: 18px 20px;
  }
  .mobile-nav .offcanvas-body { padding: 16px 18px 90px; background: #fff; }
  .mobile-nav .nav-link {
    font-weight: 700; color: var(--sp-ink);
    padding: 12px 14px !important; border-radius: 12px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .mobile-nav .nav-link:hover, .mobile-nav .nav-link.active { color: var(--sp-accent); background: rgba(255,122,26,0.07); }
  .mobile-nav .dropdown-menu {
    border: 0; box-shadow: none; padding: 0 0 8px 8px;
    position: static !important; transform: none !important;
    left: auto !important; right: auto !important;
    width: auto !important; background: transparent;
  }
  .mobile-nav .mega-menu { margin-top: 0 !important; animation: none; }
  .mobile-nav .mega-col { margin-bottom: 18px; }
  .mobile-nav .mega-promo { margin-top: 8px; }
  .mobile-nav-contacts {
    margin-top: 24px; padding: 18px;
    background: var(--sp-bg); border-radius: 16px;
  }
  .mobile-nav-contacts a { color: var(--sp-navy); font-weight: 700; text-decoration: none; }
}

@media (max-width: 991.98px) {
  .header-phone .ph-note { display: none; }
  .header-phone .ph-num { font-size: 0.98rem; }
  .brand-mark { width: 46px; height: 46px; }
  .brand-name { font-size: 1.25rem; }
}
@media (max-width: 575.98px) {
  .header-main .btn-accent { display: none; }
  .brand-tagline { display: none; }
}

/* ============================================================
   HERO-КАРУСЕЛЬ
   ============================================================ */
.hero {
    position: relative;
    background: radial-gradient(1100px 500px at 85% -10%, rgba(47, 111, 237, 0.28), transparent 60%), radial-gradient(900px 420px at -10% 110%, rgba(255, 122, 26, 0.18), transparent 55%), linear-gradient(160deg, var(--sp-navy) 0%, #23509b 70%, #0a3271 100%);
    color: #fff;
    overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 75%);
}
.hero .carousel-item {
  padding: 40px 0 96px;
  min-height: 540px;
}
/* Одинаковая высота слайдов: контент закреплён сверху, кнопки и индикаторы — на своих местах.
   carousel-item-next/prev — входящий/уходящий слайд, чтобы содержимое не перестраивалось во время прокрутки */
.hero .carousel-item:is(.active, .is-measuring, .carousel-item-next, .carousel-item-prev) {
  display: flex;
  flex-direction: column;
}
.hero .carousel-item:is(.active, .is-measuring, .carousel-item-next, .carousel-item-prev) > .row {
  flex: 1 1 auto;
  margin: 0;
}
@media (min-width: 992px) {
  .hero .carousel-item:is(.active, .carousel-item-next, .carousel-item-prev) .hero-text-col {
    display: flex;
    flex-direction: column;
    align-self: stretch !important;
  }
  .hero .carousel-item:is(.active, .carousel-item-next, .carousel-item-prev) .col-lg-6.d-flex { align-self: stretch; }
  .hero .carousel-item:is(.active, .carousel-item-next, .carousel-item-prev) .hero-text-col > .hero-badge { align-self: flex-start; }
  .hero .carousel-item.hero-about:is(.active, .carousel-item-next, .carousel-item-prev) .hero-text-col > .hero-badge { align-self: center; }
  .hero .carousel-item:is(.active, .carousel-item-next, .carousel-item-prev) .hero-text-col > .d-flex:last-child { margin-top: auto; }
}
.hero-slide-row { align-items: center; min-height: 420px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 122, 26, 0.16);
  border: 1px solid rgba(255, 122, 26, 0.45);
  color: var(--sp-accent-2);
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 99px; padding: 7px 16px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  font-weight: 800; color: #fff; margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--sp-accent-2); }
.hero .lead {
  color: #b9c8de; font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  max-width: 520px; margin-bottom: 30px;
}
.hero-price {
  display: inline-flex; align-items: baseline; gap: 10px;
  margin-bottom: 26px;
}
.hero-price .from { color: #8fa3c0; font-size: 0.85rem; font-weight: 600; }
.hero-price .val {
  font-family: 'Unbounded', sans-serif; font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem); color: #fff;
}
.hero-price .val span { color: var(--sp-accent-2); }

.hero-feats { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 34px; padding: 0; list-style: none; }
.hero-feats li { display: inline-flex; align-items: center; gap: 8px; color: #c6d3e6; font-size: 0.88rem; font-weight: 600; }
.hero-feats .ico { color: var(--sp-accent-2); width: 17px; height: 17px; stroke-width: 2.4; }

/* Первый слайд — о компании (без иллюстрации, по центру) */
.hero-about .hero-text-col { max-width: 960px; margin-inline: auto; }
.hero-about .lead { max-width: 720px; margin-inline: auto; }
.hero-points {
  display: grid; gap: 12px 26px;
  margin: 0 auto 34px; padding: 0; list-style: none;
  max-width: 800px; text-align: left;
}
.hero-points li {
  display: flex; align-items: flex-start; gap: 11px;
  color: #c6d3e6; font-size: 0.9rem; font-weight: 600; line-height: 1.45;
}
.hero-points .ico { width: 20px; height: 20px; margin-top: 1px; color: var(--sp-accent-2); stroke-width: 2.1; }
.hero-points strong { color: #fff; font-weight: 800; }
@media (min-width: 992px) {
  .hero-points { grid-template-columns: 1fr 1fr; }
  .hero-points li.is-wide { grid-column: 1 / -1; }
}
@media (max-width: 991.98px) {
  .hero-points { max-width: 560px; }
}

.hero-scene {
  position: relative;
  display: grid; place-items: center;
  animation: scene-float 6s ease-in-out infinite;
}
@keyframes scene-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-scene svg { width: 100%; max-width: 540px; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35)); }

/* Управление каруселью */
.hero .carousel-indicators {
  justify-content: flex-start;
  margin: 0; padding: 0;
  bottom: 34px;
  position: relative;
  inset: auto;
}
.hero .carousel-indicators [data-bs-target] {
  width: 34px; height: 5px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
  border: 0; opacity: 1; transition: all 0.3s;
}
.hero .carousel-indicators .active { background: var(--sp-accent); width: 52px; }

.hero-controls { display: flex; gap: 10px; }
.hero-controls button {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: #fff; display: grid; place-items: center;
  transition: all 0.25s; cursor: pointer;
}
.hero-controls button:hover { background: var(--sp-accent); border-color: var(--sp-accent); }
.hero-controls .ico { width: 20px; height: 20px; stroke-width: 2.2; }

@media (max-width: 991.98px) {
  .hero .carousel-item { padding: 30px 0 70px; min-height: auto; }
  .hero-slide-row { min-height: auto; }
  .hero-scene { margin-top: 36px; }
  .hero-scene svg { max-width: 400px; }
  .hero .carousel-indicators { justify-content: center; margin-top: 30px; position: static; }
  .hero-controls { justify-content: center; margin-top: 18px; }
  .hero-text-col { text-align: center; }
  .hero-feats { justify-content: center; }
  .hero .lead { margin-inline: auto; }
}

/* ============================================================
   ПРЕИМУЩЕСТВА (плашка поверх hero)
   ============================================================ */
.advantages-wrap { position: relative; z-index: 5; margin-top: -52px; }
.advantages-panel {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--sp-shadow-lg);
  padding: 34px 30px;
  border: 1px solid var(--sp-line);
}
.adv-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 16px; height: 100%;
  text-decoration: none; color: inherit;
  transition: all 0.25s;
}
a.adv-item:hover { background: var(--sp-bg); transform: translateY(-3px); }
.adv-icon {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  display: grid; place-items: center; font-size: 24px;
  background: linear-gradient(135deg, rgba(255,122,26,0.12), rgba(255,157,77,0.12));
  color: var(--sp-accent);
  transition: all 0.25s;
}
.adv-item:hover .adv-icon {
  background: linear-gradient(135deg, var(--sp-accent), var(--sp-accent-2));
  color: #fff; transform: scale(1.06);
}
.adv-title { font-weight: 800; font-size: 0.86rem; color: var(--sp-navy); line-height: 1.25; }
.adv-note { font-size: 0.72rem; color: var(--sp-muted); font-weight: 600; }

/* ============================================================
   КАТАЛОГ
   ============================================================ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-btn {
  border: 1.5px solid var(--sp-line);
  background: #fff; color: var(--sp-muted);
  font-weight: 700; font-size: 0.86rem;
  border-radius: 99px; padding: 9px 20px;
  transition: all 0.22s; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.filter-btn .count {
  background: var(--sp-bg); border-radius: 99px;
  font-size: 0.7rem; padding: 1px 8px; color: var(--sp-muted);
  transition: all 0.22s;
}
.filter-btn:hover { border-color: var(--sp-accent); color: var(--sp-accent); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--sp-accent), var(--sp-accent-2));
  border-color: transparent; color: #fff;
  box-shadow: 0 8px 20px rgba(255, 122, 26, 0.3);
}
.filter-btn.active .count { background: rgba(255, 255, 255, 0.25); color: #fff; }

.cat-item { transition: opacity 0.3s ease, transform 0.3s ease; }
.cat-item.filtered-out { display: none; }
.cat-item.fading { opacity: 0; transform: scale(0.96); }

.cat-card {
  display: flex; flex-direction: column; gap: 16px;
  background: #fff; border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius); padding: 26px 22px;
  height: 100%; text-decoration: none; color: inherit;
  position: relative; overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.cat-card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--sp-accent), var(--sp-accent-2));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--sp-shadow-lg); border-color: transparent; }
.cat-card:hover::after { transform: scaleX(1); }

.cat-icon {
  width: 62px; height: 62px; border-radius: 16px;
  display: grid; place-items: center; font-size: 30px;
  transition: transform 0.28s ease;
}
.cat-card:hover .cat-icon { transform: scale(1.08) rotate(-3deg); }
.cat-icon.tint-orange { background: rgba(255,122,26,0.11); color: var(--sp-accent); }
.cat-icon.tint-blue { background: rgba(47,111,237,0.1); color: var(--sp-blue); }
.cat-icon.tint-teal { background: rgba(13,166,144,0.1); color: #0da690; }
.cat-icon.tint-purple { background: rgba(124,77,255,0.1); color: #7c4dff; }
.cat-icon.tint-navy { background: rgba(10,30,60,0.08); color: var(--sp-navy-3); }

.cat-title { font-weight: 800; font-size: 0.95rem; color: var(--sp-navy); line-height: 1.3; }
.cat-meta { font-size: 0.76rem; color: var(--sp-muted); font-weight: 600; margin-top: 3px; }
.cat-arrow {
  position: absolute; top: 22px; right: 22px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--sp-bg); color: var(--sp-muted);
  display: grid; place-items: center;
  transition: all 0.28s; font-size: 15px;
}
.cat-card:hover .cat-arrow { background: var(--sp-accent); color: #fff; transform: translateX(3px); }

/* ============================================================
   ТОВАРЫ
   ============================================================ */
.product-card {
  background: #fff; border: 1px solid var(--sp-line);
  border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--sp-shadow-lg); }

.product-media {
  position: relative; height: 220px;
  background: linear-gradient(180deg, #f3f7fd 0%, #e8eff9 100%);
  display: grid; place-items: center; padding: 16px;
}
.product-media svg.scene { width: 100%; height: 100%; }
.product-badges { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge-hit {
  background: linear-gradient(135deg, var(--sp-accent), var(--sp-accent-2));
  color: #fff; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; border-radius: 99px; padding: 5px 12px;
  box-shadow: 0 4px 12px rgba(255,122,26,0.35);
}
.badge-new { background: var(--sp-blue); color: #fff; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 99px; padding: 5px 12px; }
.badge-rent { background: var(--sp-navy); color: #fff; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 99px; padding: 5px 12px; }

.product-body { padding: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.product-title { font-size: 1rem; font-weight: 800; color: var(--sp-navy); line-height: 1.35; font-family: 'Manrope', sans-serif; }
.product-title a { color: inherit; text-decoration: none; }
.product-title a:hover { color: var(--sp-accent); }

.product-specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.product-specs li {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.8rem; color: var(--sp-muted); font-weight: 600;
}
.product-specs .ico { width: 16px; height: 16px; color: var(--sp-blue); }

.product-footer {
  margin-top: auto; 
  padding-top: 16px;
  border-top: 1px dashed var(--sp-line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.product-price { line-height: 1.1; }
.product-price .from { font-size: 0.72rem; color: var(--sp-muted); font-weight: 600; }
.product-price .val { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--sp-navy); white-space: nowrap; }
.product-price .val.on-request { font-family: 'Manrope', sans-serif; font-size: 0.85rem; color: var(--sp-muted); font-weight: 700; }

/* Таблица цен */
.price-table-toggle {
  border: 1.5px dashed var(--sp-line); background: var(--sp-bg);
  border-radius: 16px; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  cursor: pointer; width: 100%; text-align: left;
  font-weight: 800; color: var(--sp-navy); font-size: 0.95rem;
  transition: all 0.25s;
}
.price-table-toggle:hover { border-color: var(--sp-accent); color: var(--sp-accent); }
.price-table-toggle .ico { transition: transform 0.3s; width: 20px; height: 20px; color: var(--sp-accent); }
.price-table-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }

.table-prices { --bs-table-bg: transparent; margin: 0; font-size: 0.88rem; }
.table-prices thead th {
  background: var(--sp-navy-2); color: #fff;
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.03em;
  border: 0; padding: 12px 16px; white-space: nowrap;
}
.table-prices thead th:first-child { border-radius: 12px 0 0 12px; }
.table-prices thead th:last-child { border-radius: 0 12px 12px 0; }
.table-prices td { padding: 11px 16px; border-color: var(--sp-line); color: var(--sp-ink); }
.table-prices tbody tr:hover td { background: rgba(255, 122, 26, 0.05); }
.table-prices .total-col { font-weight: 800; color: var(--sp-navy); }
/* Цены: первая колонка липкая + панель прокрутки над таблицей (полоса + стрелки) */
.table-prices thead th:first-child,
.table-prices tbody tr > *:first-child {
  position: sticky; left: 0; z-index: 2;
  background: #fff;
  box-shadow: 10px 0 12px -10px rgba(10, 30, 60, .28);
}
.table-prices thead th:first-child { z-index: 3; background: var(--sp-navy-2); }
.table-prices tbody tr:hover > *:first-child { background: #fff8f4; }
/* Класс-модификатор: у таблицы с .table-no-sticky первая колонка НЕ липкая
   (используется в табе «Требования к макетам») */
.table-prices.table-no-sticky thead th:first-child,
.table-prices.table-no-sticky tbody tr > *:first-child {
  position: static;
  box-shadow: none;
}

.table-scrollbar { display: none; align-items: center; gap: 8px; margin: 0 0 8px; }
.table-scrollbar.active { display: flex; }
.tsb-btn {
  width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto;
  border: 1px solid var(--sp-line); background: #fff; color: var(--sp-navy);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.tsb-btn .ico { width: 16px; height: 16px; }
.tsb-btn:hover:not(:disabled) { background: var(--sp-accent); border-color: var(--sp-accent); color: #fff; }
.tsb-btn:disabled { opacity: .35; pointer-events: none; }
.tsb-track {
  flex: 1 1 auto; overflow-x: auto; height: 10px;
  scrollbar-width: thin; scrollbar-color: #b9c6da var(--sp-bg);
}
.tsb-track::-webkit-scrollbar { height: 8px; }
.tsb-track::-webkit-scrollbar-thumb { background: #b9c6da; border-radius: 8px; }
.tsb-track::-webkit-scrollbar-track { background: var(--sp-bg); }
.tsb-spacer { height: 1px; }

.price-table-card { background: #fff; border: 1px solid var(--sp-line); border-radius: 18px; overflow: hidden; box-shadow: var(--sp-shadow); }

/* ============================================================
   УСЛУГИ
   ============================================================ */
.service-card {
  background: #fff; border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius); padding: 30px 26px;
  height: 100%; position: relative; overflow: hidden;
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--sp-accent), var(--sp-accent-2));
  opacity: 0; transition: opacity 0.28s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--sp-shadow-lg); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center; font-size: 30px; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--sp-navy), var(--sp-navy-3));
  color: var(--sp-accent-2);
  transition: transform 0.28s;
}
.service-card:hover .service-icon { transform: rotate(-5deg) scale(1.05); }
.service-card h3 { font-family: 'Manrope', sans-serif; font-size: 1.05rem; font-weight: 800; color: var(--sp-navy); margin-bottom: 10px; }
.service-card p { font-size: 0.88rem; color: var(--sp-muted); margin-bottom: 16px; }
.service-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 800; font-size: 0.85rem; color: var(--sp-accent); text-decoration: none;
}
.service-link .ico { transition: transform 0.25s; width: 16px; height: 16px; }
.service-link:hover .ico { transform: translateX(4px); }

/* Карточка услуги: колонка, список материалов, нижняя ссылка прижата */
.service-card { display: flex; flex-direction: column; }
.service-card h3 a { color: var(--sp-navy); text-decoration: none; transition: color 0.2s; }
.service-card h3 a:hover { color: var(--sp-accent); }
.service-links {
  list-style: none; margin: -4px 0 16px; padding: 0;
  display: grid; gap: 2px;
}
.service-links a {
  display: flex; align-items: baseline; gap: 8px;
  padding: 7px 9px; margin: 0 -9px; border-radius: 9px;
  font-size: 0.87rem; font-weight: 600; line-height: 1.35;
  color: var(--sp-navy); text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}
.service-links a:hover { color: var(--sp-accent); background: rgba(255, 122, 26, 0.09); }
.service-links .sl-ico {
  flex: none; width: 14px; height: 14px; color: var(--sp-accent);
  transform: translateY(2px);
}
.service-card .service-link { margin-top: auto; }

/* ============================================================
   ГОТОВЫЕ РЕШЕНИЯ
   ============================================================ */
.solution-card {
  background: #fff; border: 1px solid var(--sp-line);
  border-radius: 20px; padding: 30px 26px; height: 100%;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
  transition: transform 0.28s, box-shadow 0.28s;
}
.solution-card:hover { transform: translateY(-6px); box-shadow: var(--sp-shadow-lg); }
.solution-card.featured {
  background: linear-gradient(160deg, var(--sp-navy) 0%, var(--sp-navy-3) 100%);
  border-color: transparent; color: #fff;
}
.solution-card.featured .solution-meter,
.solution-card.featured h3 { color: #fff; }
.solution-card.featured .solution-list li { color: #b9c8de; }
.solution-card.featured .solution-list .ico { color: var(--sp-accent-2); }
.solution-meter {
  font-family: 'Unbounded', sans-serif; font-weight: 800;
  font-size: 1.6rem; color: var(--sp-navy); line-height: 1;
}
.solution-meter small { font-size: 0.85rem; font-weight: 600; color: var(--sp-muted); display: block; margin-top: 6px; font-family: 'Manrope', sans-serif; }
.solution-card.featured .solution-meter small { color: #8fa3c0; }
.solution-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; flex: 1; }
.solution-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 0.85rem; color: var(--sp-muted); font-weight: 600; }
.solution-list .ico { width: 16px; height: 16px; color: var(--sp-accent); margin-top: 2px; }
.solution-flag {
  position: absolute; top: 18px; right: -34px; transform: rotate(38deg);
  background: var(--sp-accent); color: #fff;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 40px;
}
.events-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--sp-line);
  border-radius: 99px; padding: 10px 20px;
  font-weight: 700; font-size: 0.87rem; color: var(--sp-ink);
  text-decoration: none; transition: all 0.22s;
}
.events-chip .ico { color: var(--sp-accent); width: 17px; height: 17px; }
.events-chip:hover { border-color: var(--sp-accent); color: var(--sp-accent); transform: translateY(-2px); }

/* Иконки блока «Готовые решения» нарисованы CSS-масками (без <svg> в разметке),
   чтобы HTML блока переживал TinyMCE в custom-модуле без потерь. */
.solution-list li::before {
  content: ""; flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px;
  background: var(--sp-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M20%206%209%2017l-5-5%22/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M20%206%209%2017l-5-5%22/%3E%3C/svg%3E") center / contain no-repeat;
}
.solution-card.featured .solution-list li::before { background: var(--sp-accent-2); }
.events-chip::before { content: ""; flex: 0 0 17px; width: 17px; height: 17px; }
.events-chip--tent::before,
.events-chip--users::before,
.events-chip--bulb::before,
.events-chip--map::before,
.events-chip--star::before,
.events-chip--percent::before,
.events-chip--expo::before {
  background: var(--sp-accent);
  -webkit-mask-position: center; -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat;
          mask-position: center;         mask-size: contain;         mask-repeat: no-repeat;
}
.events-chip--tent::before    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M12%204%203%2020h18L12%204Z%22/%3E%3Cpath%20d=%22m8.5%2020%203.5-6.5L15.5%2020%22/%3E%3C/svg%3E");    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M12%204%203%2020h18L12%204Z%22/%3E%3Cpath%20d=%22m8.5%2020%203.5-6.5L15.5%2020%22/%3E%3C/svg%3E"); }
.events-chip--users::before   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M16%2021v-2a4%204%200%200%200-4-4H6a4%204%200%200%200-4%204v2%22/%3E%3Ccircle%20cx=%229%22%20cy=%227%22%20r=%224%22/%3E%3Cpath%20d=%22M22%2021v-2a4%204%200%200%200-3-3.9%22/%3E%3Cpath%20d=%22M16%203.1a4%204%200%200%201%200%207.8%22/%3E%3C/svg%3E");   mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M16%2021v-2a4%204%200%200%200-4-4H6a4%204%200%200%200-4%204v2%22/%3E%3Ccircle%20cx=%229%22%20cy=%227%22%20r=%224%22/%3E%3Cpath%20d=%22M22%2021v-2a4%204%200%200%200-3-3.9%22/%3E%3Cpath%20d=%22M16%203.1a4%204%200%200%201%200%207.8%22/%3E%3C/svg%3E"); }
.events-chip--bulb::before    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M9%2018h6%22/%3E%3Cpath%20d=%22M10%2022h4%22/%3E%3Cpath%20d=%22M12%202a7%207%200%200%200-4%2012.7V17h8v-2.3A7%207%200%200%200%2012%202Z%22/%3E%3C/svg%3E");    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M9%2018h6%22/%3E%3Cpath%20d=%22M10%2022h4%22/%3E%3Cpath%20d=%22M12%202a7%207%200%200%200-4%2012.7V17h8v-2.3A7%207%200%200%200%2012%202Z%22/%3E%3C/svg%3E"); }
.events-chip--map::before     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22m9%204%206%202%206-2v14l-6%202-6-2-6%202V6l6-2Z%22/%3E%3Cpath%20d=%22M9%204v14%22/%3E%3Cpath%20d=%22M15%206v14%22/%3E%3C/svg%3E");     mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22m9%204%206%202%206-2v14l-6%202-6-2-6%202V6l6-2Z%22/%3E%3Cpath%20d=%22M9%204v14%22/%3E%3Cpath%20d=%22M15%206v14%22/%3E%3C/svg%3E"); }
.events-chip--star::before    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22m12%202%203.1%206.3%206.9%201-5%204.9%201.2%206.8-6.2-3.3-6.2%203.3L7%2014.2%202%209.3l6.9-1L12%202Z%22/%3E%3C/svg%3E");    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22m12%202%203.1%206.3%206.9%201-5%204.9%201.2%206.8-6.2-3.3-6.2%203.3L7%2014.2%202%209.3l6.9-1L12%202Z%22/%3E%3C/svg%3E"); }
.events-chip--percent::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M19%205%205%2019%22/%3E%3Ccircle%20cx=%226.5%22%20cy=%226.5%22%20r=%222.5%22/%3E%3Ccircle%20cx=%2217.5%22%20cy=%2217.5%22%20r=%222.5%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M19%205%205%2019%22/%3E%3Ccircle%20cx=%226.5%22%20cy=%226.5%22%20r=%222.5%22/%3E%3Ccircle%20cx=%2217.5%22%20cy=%2217.5%22%20r=%222.5%22/%3E%3C/svg%3E"); }
.events-chip--expo::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Crect%20x=%227%22%20y=%223%22%20width=%2210%22%20height=%2213%22%20rx=%221%22/%3E%3Cpath%20d=%22M12%2016v5%22/%3E%3Cpath%20d=%22M6%2021h12%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Crect%20x=%227%22%20y=%223%22%20width=%2210%22%20height=%2213%22%20rx=%221%22/%3E%3Cpath%20d=%22M12%2016v5%22/%3E%3Cpath%20d=%22M6%2021h12%22/%3E%3C/svg%3E"); }


/* ============================================================
   ПРОМО-БАННЕРЫ
   ============================================================ */
.promo-banner {
  border-radius: 24px; padding: 40px 38px; height: 100%;
  position: relative; overflow: hidden; color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
  min-height: 260px;
}
.promo-banner::before {
  content: ''; position: absolute; right: -70px; top: -70px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.promo-banner::after {
  content: ''; position: absolute; right: 40px; bottom: -90px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}
.promo-orange { background: linear-gradient(125deg, #ff7a1a 0%, #ff9d4d 60%, #ffb259 100%); }
.promo-navy { background: linear-gradient(125deg, var(--sp-navy) 0%, var(--sp-navy-3) 100%); }
.promo-banner > * { position: relative; z-index: 2; }
.promo-kicker { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }
.promo-banner h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); color: #fff; margin: 0; }
.promo-banner p { color: rgba(255, 255, 255, 0.85); font-size: 0.92rem; margin: 0; max-width: 420px; }
.promo-icon {
  position: absolute; right: 30px; bottom: 24px; z-index: 2;
  font-size: 110px; opacity: 0.22; transform: rotate(-8deg);
}

/* ============================================================
   СТАТИСТИКА
   ============================================================ */
.stats-band {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(47,111,237,0.25), transparent 60%),
    linear-gradient(140deg, var(--sp-navy-2) 0%, #081730 100%);
  color: #fff; padding: 72px 0; position: relative; overflow: hidden;
}
.stats-band::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}
.stat-item { text-align: center; position: relative; }
.stat-value {
  font-family: 'Unbounded', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.9rem); color: #fff; line-height: 1;
}
.stat-value span { color: var(--sp-accent-2); }
.stat-label { color: #9fb1cc; font-size: 0.88rem; font-weight: 600; margin-top: 10px; }

/* ============================================================
   БЕГУЩИЕ СТРОКИ (производители / клиенты)
   ============================================================ */
.marquee {
  overflow: hidden; position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex; gap: 14px; width: max-content;
  animation: marquee-x 46s linear infinite;
}
.marquee-track.rev { animation: marquee-x-rev 56s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-x-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.logo-tile {
  display: flex; align-items: center; justify-content: center;
  height: 68px; padding: 0 30px; white-space: nowrap;
  background: #fff; border: 1px solid var(--sp-line); border-radius: 14px;
  font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 0.9rem;
  color: #46586f; letter-spacing: 0.02em;
  transition: all 0.25s; text-decoration: none;
}
.logo-tile:hover { border-color: var(--sp-accent); color: var(--sp-navy); transform: translateY(-3px); box-shadow: var(--sp-shadow); }
.logo-tile.client { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; color: #5d6d86; }
.logo-tile.client:hover { color: var(--sp-accent); }

/* ============================================================
   О КОМПАНИИ / SEO-БЛОК
   ============================================================ */
.about-figure {
  border-radius: 24px; overflow: hidden; position: relative;
  background: linear-gradient(160deg, var(--sp-navy), var(--sp-navy-3));
  padding: 34px; color: #fff; height: 100%;
}
.about-figure::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 22px 22px;
}
.about-figure > * { position: relative; z-index: 2; }
.free-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.free-list li { display: flex; gap: 13px; align-items: flex-start; }
.free-list .check {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: rgba(255, 122, 26, 0.18); color: var(--sp-accent-2);
  display: grid; place-items: center; font-size: 13px; margin-top: 1px;
}
.free-list b { color: #fff; font-size: 0.92rem; display: block; }
.free-list span { color: #9fb1cc; font-size: 0.8rem; }

.stand-types { display: grid; gap: 14px; }
.stand-type {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--sp-line);
  border-radius: 16px; padding: 18px 20px;
  transition: all 0.25s; text-decoration: none;
}
.stand-type:hover { border-color: var(--sp-accent); box-shadow: var(--sp-shadow); transform: translateX(4px); }
.stand-type .num {
  font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 1rem;
  color: var(--sp-accent); opacity: 0.9; flex: none; width: 30px;
}
.stand-type b { color: var(--sp-navy); font-size: 0.92rem; display: block; margin-bottom: 4px; }
.stand-type p { color: var(--sp-muted); font-size: 0.82rem; margin: 0; }

.adv-numbered { counter-reset: adv; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.adv-numbered li {
  counter-increment: adv; display: flex; gap: 12px; align-items: baseline;
  font-size: 0.9rem; color: var(--sp-ink); font-weight: 600;
}
.adv-numbered li::before {
  content: counter(adv, decimal-leading-zero);
  font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 0.75rem;
  color: var(--sp-accent);
}

/* ============================================================
   НОВОСТИ
   ============================================================ */
.news-card {
  background: #fff; border: 1px solid var(--sp-line); border-radius: 20px;
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  transition: transform 0.28s, box-shadow 0.28s;
  text-decoration: none; color: inherit;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--sp-shadow-lg); }
.news-media {
  height: 150px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sp-navy) 0%, var(--sp-navy-3) 100%);
  color: rgba(255, 255, 255, 0.9); font-size: 54px; position: relative; overflow: hidden;
}
.news-media::before {
  content: ''; position: absolute; right: -30px; top: -30px;
  width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,26,0.5), transparent 70%);
}
.news-media.orange { background: linear-gradient(135deg, var(--sp-accent-dark), var(--sp-accent-2)); }
.news-media.blue { background: linear-gradient(135deg, #1b4bb8, var(--sp-blue)); }
.news-date {
  position: absolute; left: 16px; bottom: 14px;
  background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff; font-size: 0.72rem; font-weight: 800;
  border-radius: 99px; padding: 5px 13px; letter-spacing: 0.04em;
}
.news-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-body h3 { font-family: 'Manrope', sans-serif; font-size: 1rem; font-weight: 800; color: var(--sp-navy); margin: 0; line-height: 1.4; }
.news-card:hover .news-body h3 { color: var(--sp-accent); }
.news-body p { font-size: 0.85rem; color: var(--sp-muted); margin: 0; flex: 1; }

/* ============================================================
   КОНТАКТЫ + ФОРМА
   ============================================================ */
.contacts-section { background: var(--sp-bg); }
.contact-card {
  background: #fff; border: 1px solid var(--sp-line);
  border-radius: 20px; padding: 30px; height: 100%;
  box-shadow: var(--sp-shadow);
}
.contact-item { display: flex; gap: 15px; align-items: flex-start; padding: 13px 0; }
.contact-item + .contact-item { border-top: 1px dashed var(--sp-line); }
.contact-item .c-icon {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  background: rgba(255, 122, 26, 0.1); color: var(--sp-accent);
  display: grid; place-items: center; font-size: 21px;
}
.contact-item .c-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--sp-muted); font-weight: 800; margin-bottom: 3px; }
.contact-item .c-value { font-weight: 700; color: var(--sp-navy); font-size: 0.95rem; }
.contact-item a.c-value:hover { color: var(--sp-accent); }
.contact-item .c-value small { display: block; font-weight: 600; color: var(--sp-muted); font-size: 0.78rem; margin-top: 2px; }

.form-card {
  background: #fff; border-radius: 24px; padding: 36px;
  box-shadow: var(--sp-shadow-lg); border: 1px solid var(--sp-line);
  height: 100%;
}
.form-card h3 { font-size: 1.25rem; color: var(--sp-navy); margin-bottom: 8px; }
.form-label { font-weight: 700; font-size: 0.82rem; color: var(--sp-navy); margin-bottom: 6px; }
.form-control, .form-select {
  border: 1.5px solid var(--sp-line); border-radius: 12px;
  padding: 0.78rem 1rem; font-size: 0.92rem; font-weight: 600;
  color: var(--sp-ink); background-color: #fbfcfe;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--sp-accent);
  box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.13);
  background-color: #fff;
}
.form-control::placeholder { color: #a5b2c6; font-weight: 500; }
.form-check-input:checked { background-color: var(--sp-accent); border-color: var(--sp-accent); }
.form-check-input:focus { border-color: var(--sp-accent); box-shadow: 0 0 0 4px rgba(255,122,26,0.13); }
.form-check-label { font-size: 0.8rem; color: var(--sp-muted); font-weight: 600; }
.form-check-label a { color: var(--sp-accent); }
.was-validated .form-control:invalid, .form-control.is-invalid {
  border-color: #e5484d; background-image: none;
}
.invalid-feedback { font-size: 0.76rem; font-weight: 700; }

.map-card {
  border-radius: 24px; overflow: hidden; position: relative;
  border: 1px solid var(--sp-line); box-shadow: var(--sp-shadow);
  min-height: 300px; height: 100%;
}
.map-card svg { display: block; width: 100%; height: 100%; position: absolute; inset: 0; }
.map-overlay {
  position: absolute; left: 20px; bottom: 20px; z-index: 3;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px);
  border-radius: 16px; padding: 16px 20px; box-shadow: var(--sp-shadow);
  max-width: 300px;
}
.map-overlay b { color: var(--sp-navy); font-size: 0.88rem; display: block; margin-bottom: 3px; }
.map-overlay span { color: var(--sp-muted); font-size: 0.78rem; display: block; margin-bottom: 10px; }

/* ============================================================
   ПОДВАЛ
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, #081730 0%, var(--sp-navy-2) 100%);
  color: #9fb1cc; padding: 70px 0 0; position: relative;
}
.site-footer .brand-name { color: #fff; }
.site-footer h5 {
  color: #fff; font-family: 'Manrope', sans-serif;
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 20px;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a {
  color: #9fb1cc; text-decoration: none; font-size: 0.88rem; font-weight: 600;
  transition: color 0.2s; display: inline-flex; align-items: center; gap: 7px;
}
.footer-links a:hover { color: var(--sp-accent-2); }
.footer-contact { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.footer-contact .ico { color: var(--sp-accent-2); width: 18px; height: 18px; margin-top: 3px; }
.footer-contact a, .footer-contact span { color: #c6d3e6; text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.footer-contact a:hover { color: var(--sp-accent-2); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.07); color: #c6d3e6;
  display: grid; place-items: center; font-size: 18px;
  transition: all 0.25s; text-decoration: none;
}
.footer-socials a:hover { background: var(--sp-accent); color: #fff; transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  margin-top: 54px; padding: 22px 0;
  font-size: 0.8rem; color: #7387a5;
}
.footer-bottom a { color: #9fb1cc; text-decoration: none; }
.footer-bottom a:hover { color: var(--sp-accent-2); }

/* ============================================================
   КНОПКА «НАВЕРХ» + МОБИЛЬНАЯ ПАНЕЛЬ
   ============================================================ */
.to-top {
  position: fixed; right: 22px; bottom: 26px; z-index: 1035;
  width: 50px; height: 50px; border-radius: 14px; border: 0;
  background: linear-gradient(135deg, var(--sp-accent), var(--sp-accent-2));
  color: #fff; font-size: 20px; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(255, 122, 26, 0.4);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all 0.3s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); }

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--sp-line);
  box-shadow: 0 -8px 30px rgba(10, 30, 60, 0.12);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: none; gap: 10px;
}
.mobile-bar .m-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  border-radius: 12px; padding: 8px 4px; text-decoration: none;
  font-size: 0.66rem; font-weight: 800; color: var(--sp-navy);
  border: 1px solid var(--sp-line); background: #fff;
  transition: all 0.2s;
}
.mobile-bar .m-btn .ico { width: 20px; height: 20px; color: var(--sp-accent); }
.mobile-bar .m-btn.primary {
  background: linear-gradient(135deg, var(--sp-accent), var(--sp-accent-2));
  color: #fff; border-color: transparent;
  box-shadow: 0 6px 16px rgba(255,122,26,0.35);
}
.mobile-bar .m-btn.primary .ico { color: #fff; }
@media (max-width: 767.98px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 74px; }
  .to-top { bottom: 92px; }
}

/* ============================================================
   МОДАЛЬНЫЕ ОКНА
   ============================================================ */
.modal-content { border: 0; border-radius: 24px; overflow: hidden; }
.modal-header {
  background: linear-gradient(135deg, var(--sp-navy), var(--sp-navy-3));
  color: #fff; border: 0; padding: 26px 30px;
  position: relative; overflow: hidden;
}
.modal-header::after {
  content: ''; position: absolute; right: -40px; top: -40px;
  width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,26,0.35), transparent 70%);
}
.modal-title { font-size: 1.15rem; color: #fff; }
.modal-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 0.7; position: relative; z-index: 2;
}
.modal-body { padding: 30px; }
.modal-note { font-size: 0.8rem; color: var(--sp-muted); }

.modal-success { text-align: center; padding: 26px 16px; }
.modal-success .success-ico {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 22px;
  background: linear-gradient(135deg, #16a34a, #4ade80);
  color: #fff; font-size: 42px; display: grid; place-items: center;
  animation: pop-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes pop-in { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-success h4 { color: var(--sp-navy); font-size: 1.2rem; margin-bottom: 10px; }
.modal-success p { color: var(--sp-muted); font-size: 0.92rem; }

/* Тосты */
.toast {
  border: 0; border-radius: 16px; overflow: hidden;
  box-shadow: var(--sp-shadow-lg);
}
.toast-accent { background: var(--sp-navy); color: #fff; }
.toast-accent .btn-close { filter: invert(1) grayscale(100%) brightness(200%); }

/* ============================================================
   АНИМАЦИИ ПОЯВЛЕНИЯ
   ============================================================ */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }
html.js .reveal-delay-1 { transition-delay: 0.08s; }
html.js .reveal-delay-2 { transition-delay: 0.16s; }
html.js .reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .hero-scene { animation: none; }
  .marquee-track { animation: none; }
}

/* ============================================================
   АДАПТИВНЫЕ ПРАВКИ
   ============================================================ */
@media (max-width: 1199.98px) {
  .section { padding: 72px 0; }
  .mega-menu.mega-catalog { width: min(860px, calc(100vw - 32px)); }
}
@media (max-width: 991.98px) {
  .section { padding: 60px 0; }
  .advantages-wrap { margin-top: -36px; }
  .advantages-panel { padding: 24px 18px; }
  .promo-banner { padding: 32px 28px; }
  .form-card, .contact-card { padding: 26px 22px; }
}
@media (max-width: 575.98px) {
  .adv-item { padding: 8px 6px; }
  .adv-icon { width: 44px; height: 44px; font-size: 20px; }
  .adv-title { font-size: 0.78rem; }
  .adv-note { display: none; }
  .product-media { height: 180px; }
  .hero-controls button { width: 42px; height: 42px; }
}

/* ============================================================
   ПОСТ-ПРАВКИ ПОСЛЕ ВИЗУАЛЬНОЙ ПРОВЕРКИ
   ============================================================ */
.site-nav .nav-link { white-space: nowrap; }

@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-nav .nav-link { padding: 0.8rem 0.6rem !important; font-size: 0.86rem; }
  .site-nav .nav-link > .ico { display: none; }
}

@media (min-width: 1200px) and (max-width: 1366.98px) {
  .site-nav .nav-link { padding: 0.85rem 0.8rem !important; }
}

@media (max-width: 991.98px) {
  html { scroll-padding-top: 96px; }
}

@media (max-width: 575.98px) {
  .brand-tagline { display: none !important; }
  .header-phone > span:last-child { display: none; }
  .header-phone .ph-icon { width: 42px; height: 42px; }
}

/* ============================================================
   СТРАНИЦА КАТАЛОГА (catalogue.html)
   ============================================================ */

/* Хлебные крошки + шапка страницы */
.page-head { padding: 34px 0 30px; border-bottom: 1px solid var(--sp-line); }
.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
  font-size: 0.78rem; font-weight: 600; color: var(--sp-muted);
  margin-bottom: 14px; list-style: none; padding: 0;
}
.breadcrumbs a { color: var(--sp-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.breadcrumbs a:hover { color: var(--sp-accent); }
.breadcrumbs .sep { color: #c1cddd; }
.breadcrumbs .current { color: var(--sp-navy); font-weight: 800; }
.page-head h1 { font-size: clamp(1.45rem, 3vw, 2.15rem); color: var(--sp-navy); }
.page-head-card {
  background: #fff; border: 1px solid var(--sp-line); border-radius: 18px;
  padding: 20px 22px; box-shadow: var(--sp-shadow);
}
.page-head-card .phc-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--sp-muted); font-weight: 800; }
.page-head-card .phc-price { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--sp-navy); }
.page-head-card .phc-price span { color: var(--sp-accent); }

/* Галерея */
.gallery-frame {
  position: relative; background: #0a1e3c;
  border-radius: 22px; overflow: hidden; box-shadow: var(--sp-shadow-lg);
}
.gallery-frame .carousel-item { aspect-ratio: 600 / 340; }
.gallery-frame .carousel-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-counter {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  background: rgba(10, 30, 60, 0.6); color: #fff; backdrop-filter: blur(6px);
  border-radius: 99px; padding: 5px 14px; font-size: 0.76rem; font-weight: 800;
  letter-spacing: 0.06em;
}
.gallery-controls { position: absolute; right: 16px; bottom: 16px; z-index: 5; display: flex; gap: 8px; }
.gallery-controls button {
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.16); color: #fff; backdrop-filter: blur(6px);
  display: grid; place-items: center; transition: all 0.25s;
}
.gallery-controls button:hover { background: var(--sp-accent); }
.gallery-controls .ico { width: 20px; height: 20px; stroke-width: 2.2; }
.gallery-thumbs {
  display: flex; gap: 10px; overflow-x: auto; padding: 16px 2px 8px;
  scrollbar-width: thin; scrollbar-color: #c1cddd transparent;
}
.gallery-thumb {
  flex: 0 0 auto; width: 108px; height: 72px; padding: 0; cursor: pointer;
  border-radius: 12px; overflow: hidden; background: #fff;
  border: 2px solid transparent; opacity: 0.6; transition: all 0.22s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { opacity: 1; transform: translateY(-2px); }
.gallery-thumb.active { border-color: var(--sp-accent); opacity: 1; box-shadow: 0 6px 16px rgba(255, 122, 26, 0.35); }

/* Табы */
.sp-tabs {
  border-bottom: 2px solid var(--sp-line); gap: 2px;
  flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
}
.sp-tabs::-webkit-scrollbar { display: none; }
.sp-tabs .nav-link {
  border: 0; background: none; border-radius: 0; white-space: nowrap;
  color: var(--sp-muted); font-weight: 800; font-size: 0.9rem;
  padding: 0.95rem 1.3rem; border-bottom: 3px solid transparent;
  margin-bottom: -2px; transition: color 0.2s, border-color 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.sp-tabs .nav-link .ico { width: 17px; height: 17px; }
.sp-tabs .nav-link:hover { color: var(--sp-accent); }
.sp-tabs .nav-link.active { color: var(--sp-accent); border-bottom-color: var(--sp-accent); background: none; }
.tab-title { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.02rem; color: var(--sp-navy); }
.rec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rec-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--sp-ink); font-weight: 600; }
.rec-list .ico { width: 17px; height: 17px; color: var(--sp-accent); flex: none; margin-top: 2px; }
.plus-grid { display: grid; gap: 14px; }
.plus-item {
  background: #fff; border: 1px solid var(--sp-line); border-radius: 16px;
  padding: 18px 20px; transition: all 0.25s;
}
.plus-item:hover { border-color: var(--sp-accent); box-shadow: var(--sp-shadow); transform: translateY(-3px); }
.plus-item b { color: var(--sp-accent); display: block; font-size: 0.92rem; margin-bottom: 5px; }
.plus-item p { margin: 0; font-size: 0.85rem; color: var(--sp-muted); font-weight: 600; }

/* Таблица характеристик внутри карточки */
.table-specs { font-size: 0.82rem; margin: 0; --bs-table-bg: transparent; }
.table-specs th {
  width: 46%; color: var(--sp-muted); font-weight: 600;
  padding: 8px 14px 8px 0; border: 0; vertical-align: top; white-space: nowrap;
}
.table-specs td { padding: 8px 0; border: 0; color: var(--sp-ink); font-weight: 600; }
.table-specs tbody tr + tr th, .table-specs tbody tr + tr td { border-top: 1px dashed var(--sp-line); }
.spec-note { font-size: 0.74rem; color: var(--sp-muted); font-weight: 600; margin-top: 8px; }

/* Мини-таблица цен производителей */
.table-prices-sm { font-size: 0.8rem; }
.table-prices-sm thead th { padding: 9px 10px; font-size: 0.68rem; letter-spacing: 0.04em; white-space: nowrap; }
.table-prices-sm thead th small { display: block; font-weight: 600; opacity: 0.75; letter-spacing: 0; }
.table-prices-sm td { padding: 9px 10px; font-weight: 800; color: var(--sp-navy); white-space: nowrap; }
.table-prices-sm td.best { color: var(--sp-accent-dark); background: rgba(255, 122, 26, 0.07); }
.table-prices-sm thead th.best { background: linear-gradient(135deg, var(--sp-accent), var(--sp-accent-2)); color: #fff; }

/* Карточка товара с фото */
.prod-card {
  background: #fff; border: 1px solid var(--sp-line); border-radius: 20px;
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--sp-shadow-lg); }
.prod-media {
  position: relative; height: 300px;
  background: linear-gradient(180deg, #f6f9fd 0%, #edf2fa 100%);
}
.prod-media img {
  position: absolute; inset: 18px; margin: auto;
  max-width: calc(100% - 36px); max-height: calc(100% - 36px);
  object-fit: contain; transition: transform 0.35s ease;
}
.prod-media .product-badges { z-index: 3; }
.prod-card:hover .prod-media img { transform: scale(1.045); }
.prod-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.prod-body .product-title { font-size: 1.05rem; }

/* Преимущества с иконками-png */
.adv-tile {
  background: #fff; border: 1px solid var(--sp-line); border-radius: 18px;
  padding: 28px 18px; text-align: center; height: 100%;
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}
.adv-tile:hover { transform: translateY(-5px); box-shadow: var(--sp-shadow-lg); border-color: transparent; }
.adv-tile img { width: 76px; height: 76px; display: block; margin: 0 auto 16px; transition: transform 0.28s; }
.adv-tile:hover img { transform: scale(1.1) rotate(-3deg); }
.adv-tile b { display: block; color: var(--sp-navy); font-size: 0.93rem; margin-bottom: 7px; }
.adv-tile span.d-desc { color: var(--sp-muted); font-size: 0.78rem; font-weight: 600; line-height: 1.45; }

/* Текстовый блок описания */
.about-text p { font-size: 0.98rem; color: var(--sp-muted); }
.about-text p b, .about-text p strong { color: var(--sp-navy); }

@media (max-width: 991.98px) {
  .prod-media { height: 260px; }
}
@media (max-width: 575.98px) {
  .prod-media { height: 220px; }
  .gallery-thumb { width: 88px; height: 60px; }
  .page-head { padding: 24px 0 22px; }
}

/* ============================================================
   ПРАВКИ: табы столбиком и цены-блоки на мобильных
   ============================================================ */
.prod-prices-btn { display: none; }
.prod-sizes-btn { display: none; }

/* Hits (главная): кнопки цен видны на всех экранах, таблицы всегда скрыты */
.mod-articles-items .prod-prices-btn,
.mod-articles-items .prod-sizes-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.mod-articles-items .prod-prices-table,
.mod-articles-items .prod-sizes-table {
  display: none !important;
}
/* Группа «таблицы цен/кнопки + футер (цена/Заказать)» прижата к низу блока
   как единое целое. Карточка — flex-колонка (.prod-body), у обёртки .prod-bottom
   margin-top: auto растискивает свободное место над ней. Работает и когда
   таблиц/кнопок нет: футер внизу в любом случае. Применяется во всех
   карточках (.prod-card) — Hits и каталог. */
.prod-card .prod-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.prod-card .prod-bottom .product-footer {
  margin-top: 0;
}

.price-blocks { display: grid; gap: 10px; }
.price-block {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1.5px dashed var(--sp-line); border-radius: 14px;
  padding: 13px 16px; background: #fbfcfe;
}
.price-block .pb-brand { font-weight: 800; color: var(--sp-navy); font-size: 0.92rem; }
.price-block .pb-price {
  font-family: 'Unbounded', sans-serif; font-weight: 700;
  color: var(--sp-ink); font-size: 0.95rem; white-space: nowrap;
}
.price-block.best {
  border-style: solid; border-color: var(--sp-accent);
  background: rgba(255, 122, 26, 0.08);
}
.price-block.best .pb-price { color: var(--sp-accent-dark); }
.price-block.best .pb-brand::after {
  content: 'лучшая цена';
  margin-left: 8px; padding: 2px 8px; border-radius: 99px;
  background: linear-gradient(135deg, var(--sp-accent), var(--sp-accent-2));
  color: #fff; font-size: 0.58rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  vertical-align: 2px; white-space: nowrap;
}

/* Блоки «Цены по ширине» (art_sizes, модалка #modalPricesSizes).
   Отличаются от «цен по производителям»: строка = комплектующее,
   внутри — пары «ширина → цена». */
.price-block.size-block {
  display: block; padding: 14px 16px;
}
.price-block.size-block .size-name {
  font-weight: 800; color: var(--sp-navy); font-size: 0.92rem;
  margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px dashed var(--sp-line);
}
.price-block.size-block .size-rows { display: grid; gap: 6px; }
.price-block.size-block .size-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.price-block.size-block .size-width {
  color: var(--sp-muted); font-weight: 600; font-size: 0.82rem;
}
.price-block.size-block .size-price {
  font-family: 'Unbounded', sans-serif; font-weight: 700;
  color: var(--sp-ink); font-size: 0.88rem; white-space: nowrap;
}

@media (max-width: 575.98px) {
  /* табы — столбиком, без горизонтальной прокрутки */
  .sp-tabs {
    flex-wrap: wrap; overflow-x: visible;
    border-bottom: 0; gap: 8px; padding-bottom: 2px;
  }
  .sp-tabs .nav-item { width: 100%; }
  .sp-tabs .nav-link {
    width: 100%; margin-bottom: 0;
    border: 1.5px solid var(--sp-line); border-radius: 12px;
    padding: 0.85rem 1.1rem; justify-content: flex-start;
  }
  .sp-tabs .nav-link.active {
    border-color: var(--sp-accent);
    background: rgba(255, 122, 26, 0.07);
  }
  /* мини-таблица цен карточки -> кнопка + модалка с блоками */
  .prod-prices-table { display: none !important; }
  .prod-prices-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%;
  }
  /* таблица цен по ширине -> кнопка + модалка с блоками */
  .prod-sizes-table { display: none !important; }
  .prod-sizes-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%;
  }
}

/* ============================================================
   ЛАЙТБОКС ФОТО ТОВАРА (catalogue.html)
   ============================================================ */
.prod-media { cursor: zoom-in; }
.prod-zoom {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 42px; height: 42px; border-radius: 12px; border: 0;
  background: rgba(10, 30, 60, 0.55); color: #fff;
  backdrop-filter: blur(5px); cursor: zoom-in;
  display: grid; place-items: center; font-size: 19px;
  opacity: 0; transition: opacity 0.25s, transform 0.25s;
}
.prod-media:hover .prod-zoom,
.prod-zoom:focus-visible { opacity: 1; }
.prod-zoom:hover { background: var(--sp-accent); transform: scale(1.06); }
@media (hover: none) {
  .prod-zoom { opacity: 0.9; }
}

.modal-lightbox .modal-content {
  background: transparent; border: 0; box-shadow: none;
}
.modal-lightbox .modal-body {
  padding: 0; display: grid; place-items: center; position: relative;
}
.modal-lightbox .lb-close {
  position: absolute; top: 14px; right: 14px; z-index: 6;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(10, 30, 60, 0.55); backdrop-filter: blur(5px);
  color: #fff; display: grid; place-items: center;
  transition: background 0.25s; cursor: pointer;
}
.modal-lightbox .lb-close .ico { width: 20px; height: 20px; stroke-width: 2.2; }
.modal-lightbox .lb-close:hover { background: var(--sp-accent); }
.modal-lightbox .lb-figure { text-align: center; }
.modal-lightbox .lb-figure img {
  max-width: 100%; max-height: 76vh; width: auto;
  object-fit: contain; border-radius: 18px; background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  animation: lb-in 0.3s ease;
}
@keyframes lb-in {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
/* Каталог: ячейка разделённого блока «таблица цен | слайдер» — равные части до 660 px */
.cat-split-cell { width: 100%; max-width: 660px; margin-inline: auto; }

/* Слайдер каталога: не во всю ширину, а до 800 px (просили для Joomla-страницы) */
#gallery .gallery-frame,
#gallery .gallery-thumbs { max-width: 800px; margin-inline: auto; }

/* Лайтбокс: листание галереи */
.modal-lightbox .lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .92); color: var(--sp-navy);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sp-shadow); transition: background .2s, color .2s;
}
.modal-lightbox .lb-nav .ico { width: 20px; height: 20px; }
.modal-lightbox .lb-nav:hover { background: var(--sp-accent); color: #fff; }
.modal-lightbox .lb-prev { left: 12px; }
.modal-lightbox .lb-next { right: 12px; }
.modal-lightbox .lb-counter {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 5;
  background: rgba(18, 38, 63, .78); color: #fff;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  padding: 4px 14px; border-radius: 99px;
}
.modal-lightbox .lb-nav[hidden], .modal-lightbox .lb-counter[hidden] { display: none; }

.modal-lightbox .lb-caption {
  margin-top: 14px; color: #fff; font-weight: 700; font-size: 0.95rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* ============================================================
   ПУНКТ МЕНЮ «ТОЛЬКО ИКОНКА» (class nav-icon-only в пункте меню)
   ============================================================ */
.site-nav .nav-link-icon { padding: 0.8rem 0.7rem; }
.site-nav .nav-link-icon .ico { width: 20px; height: 20px; stroke-width: 2; }
.site-nav .nav-link-icon:hover .ico { transform: scale(1.12); }
.site-nav .nav-link .ico { transition: transform 0.2s; }
@media (max-width: 991.98px) {
  .mobile-nav .nav-link-icon { justify-content: center; padding: 0.9rem; }
  .mobile-nav .nav-link-icon .ico { width: 22px; height: 22px; }
}

/* Картинка пункта меню (штатный параметр «Картинка ссылки» / menu_image) */
.site-nav .nav-link .nav-img,
.mobile-nav .nav-link .nav-img {
  width: 20px; height: 20px; object-fit: contain;
  display: inline-block; vertical-align: -4px; margin-right: 2px;
}

/* Иконки из спрайта внутри мега-меню (уровни 2–3, токен icon:<id> или карта алиасов) */
.mega-col-title .ico { width: 15px; height: 15px; flex: none; }
.mega-list a > .ico { width: 15px; height: 15px; color: var(--sp-accent); flex: none; }
.mega-list a:has(> .ico)::before { display: none; }

.check { position: relative; }
.check::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 6px; height: 11px; margin: -8px 0 0 -2px;
  border: solid currentColor; border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* ============================================================
   НОВОСТИ: карточки из mod_articles 
   ============================================================ */
#news .mod-articles-items {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 24px; grid-template-columns: 1fr;
}
@media (min-width: 768px)  { #news .mod-articles-items { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px)  { #news .mod-articles-items { grid-template-columns: repeat(3, 1fr); } }

#news .mod-articles-item {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--sp-line); border-radius: 20px;
  overflow: hidden; transition: transform 0.28s ease, box-shadow 0.28s ease;
}
#news .mod-articles-item:hover { transform: translateY(-6px); box-shadow: var(--sp-shadow-lg); }
#news .mod-articles-item-content { display: flex; flex-direction: column; gap: 10px; flex: 1; margin: 0; padding: 0; }

#news .mod-articles-item-content::before {
  content: ''; order: -4; height: 150px; flex: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='.92' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4 3 20h18L12 4Z'/%3E%3Cpath d='m8.5 20 3.5-6.5L15.5 20'/%3E%3C/svg%3E"),
    radial-gradient(150px 150px at 88% 8%, rgba(255, 122, 26, 0.5), transparent 70%),
    linear-gradient(135deg, var(--sp-navy-3) 0%, var(--sp-navy) 100%);
  background-repeat: no-repeat;
  background-position: center 46px, 100% 0, 0 0;
  background-size: 54px 54px, auto, cover;
}
#news li:nth-child(3n+2) .mod-articles-item-content::before {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='.92' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M19 5 5 19'/%3E%3Ccircle cx='6.5' cy='6.5' r='2.5'/%3E%3Ccircle cx='17.5' cy='17.5' r='2.5'/%3E%3C/svg%3E"),
    radial-gradient(150px 150px at 88% 8%, rgba(255, 255, 255, 0.35), transparent 70%),
    linear-gradient(135deg, #e85f00 0%, #ff9d4d 100%);
  background-repeat: no-repeat;
  background-position: center 46px, 100% 0, 0 0;
  background-size: 54px 54px, auto, cover;
}
#news li:nth-child(3n+3) .mod-articles-item-content::before {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='.92' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E"),
    radial-gradient(150px 150px at 88% 8%, rgba(255, 122, 26, 0.5), transparent 70%),
    linear-gradient(135deg, #1b4bb8 0%, #2f6fed 100%);
  background-repeat: no-repeat;
  background-position: center 46px, 100% 0, 0 0;
  background-size: 54px 54px, auto, cover;
}

#news .mod-articles-item-content:has(.mod-articles-image)::before { display: none; }
#news .mod-articles-image { order: -4; margin: 0; height: 150px; overflow: hidden; flex: none; }
#news .mod-articles-image img { width: 100%; height: 150px; object-fit: cover; display: block; }

#news .mod-articles-item-content dl { display: contents; }
#news .mod-articles-item-content dt { display: none; }
#news dd.mod-articles-date {
  position: absolute; top: 104px; left: 16px; z-index: 3; margin: 0;
  background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.28); color: #fff;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em;
  border-radius: 99px; padding: 5px 13px;
}
#news .mod-articles-item-content dd:not(.mod-articles-date) { display: none; }

#news .mod-articles-title {
  order: -2; margin: 0; padding: 22px 22px 0;
  font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1rem;
  color: var(--sp-navy); line-height: 1.45;
}
#news .mod-articles-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
#news .mod-articles-item:hover .mod-articles-title a { color: var(--sp-accent); }
#news .mod-articles-item-content > p:not(.readmore) {
  order: -1; margin: 0; padding: 0 22px;
  color: var(--sp-muted); font-size: 0.85rem; line-height: 1.6;
}
#news .mod-articles-item-content .readmore,
#news .mod-articles-item-content p.readmore {
  order: 2; margin: auto 0 0; padding: 14px 22px 22px;
}
#news .readmore a {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 0; padding: 0; border-radius: 0;
  color: var(--sp-accent); font-weight: 800; font-size: 0.85rem;
  text-decoration: none;
}

#news .readmore a::after { content: '\2192'; transition: transform 0.2s; }
#news .readmore a:hover::after { transform: translateX(4px); }
#news .readmore a:hover { color: var(--sp-accent-dark); }
#news .badge { position: absolute; top: 12px; right: 12px; z-index: 3; }

.spars-captcha { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spars-captcha img {
  border: 1px solid var(--sp-line); border-radius: 12px; background: #fff;
  width: 150px; height: 54px;
}
.spars-captcha .spars-captcha-refresh {
  width: 44px; height: 44px; padding: 0;
  display: grid; place-items: center; flex: none;
}
.spars-captcha .spars-captcha-refresh .ico { width: 18px; height: 18px; }
.spars-captcha input[name="spars_captcha"] { max-width: 110px; text-transform: uppercase; }
.captcha-slot:empty { margin: 0 !important; }

.map-legend {
  position: absolute; top: 44px; left: 14px; z-index: 3;
  display: flex; flex-direction: column; gap: 10px;
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--sp-shadow);
  font-size: 0.8rem; font-weight: 800; color: var(--sp-navy);
  line-height: 1.35; max-width: 280px;
}
.map-legend small { display: block; font-weight: 600; color: var(--sp-muted); font-size: 0.7rem; margin-top: 2px; }
.ml-item { display: flex; align-items: flex-start; gap: 10px; }
.ml-pin {
  width: 24px; height: 24px; border-radius: 50%; flex: none; margin-top: 1px;
  display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff;
}
.ml-pin--spars { background: var(--sp-accent); }
.ml-pin--metro { background: var(--sp-navy); }
@media (max-width: 575.98px) {
  .map-legend { display: none; }
}

/* Изображение категории в плитке каталога (mod_articles_categories, layout katalog) */
.cat-icon .cat-img { /*width: 70px; height: 70px;*/ object-fit: contain; border-radius: 8px; }

.sp-art-intro { margin: 18px 0 24px; }
.sp-art-intro img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    box-shadow: var(--sp-shadow);
}

.sp-art-intro .float-left,
.sp-art-intro .float-right { float: none; }

/* ============================================================
layout blogcards 
============================================================ */
.spars-bcards {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
    margin-top: 32px;
}
@media (min-width: 768px) { .spars-bcards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .spars-bcards { grid-template-columns: repeat(3, 1fr); } }

.spars-bcard {
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.spars-bcard:hover { transform: translateY(-6px); box-shadow: var(--sp-shadow-lg); }
.spars-bcard.system-unpublished { border: 1.5px dashed #e5484d; }

.spars-bcard-bar {
    position: relative;
    height: 60px;
    flex: none;
    overflow: hidden;
    background: linear-gradient(135deg, var(--sp-navy-3) 0%, var(--sp-navy) 100%);
}

.spars-bcards > .spars-bcard:nth-child(3n+2) .spars-bcard-bar {
    background: linear-gradient(135deg, #e85f00 0%, #ff9d4d 100%);
}
.spars-bcards > .spars-bcard:nth-child(3n+3) .spars-bcard-bar {
    background: linear-gradient(135deg, #1b4bb8 0%, #2f6fed 100%);
}

.spars-bcard.has-img .spars-bcard-bar { background: none; }
.spars-bcard.has-img .spars-bcard-bar img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}

.spars-bcard-date {
    position: absolute;
    left: 16px; bottom: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: 99px;
    padding: 5px 13px;
}
.spars-bcard-date .ico { width: 14px; height: 14px; }

.spars-bcard-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.spars-bcard-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--sp-navy);
    margin: 0;
    line-height: 1.45;
}
.spars-bcard-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.spars-bcard:hover .spars-bcard-title a { color: var(--sp-accent); }

.spars-bcard-intro {
    flex: 1;
    color: var(--sp-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}
.spars-bcard-intro p { margin: 0 0 0.5em; }
.spars-bcard-intro p:last-child { margin-bottom: 0; }

.spars-bcard-readmore { margin: auto 0 0; padding-top: 14px; }
.spars-bcard-readmore a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sp-accent);
    font-weight: 800;
    font-size: 0.85rem;
    text-decoration: none;
}
.spars-bcard-readmore a::before {
    content: '';
    width: 7px; height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}
.spars-bcard-readmore a::after { content: '\2192'; transition: transform 0.2s; }
.spars-bcard-readmore a:hover { color: var(--sp-accent-dark); }
.spars-bcard-readmore a:hover::after { transform: translateX(4px); }

.spars-bcards-more { margin-top: 32px; }
.spars-bcards-more h3 { font-size: 1rem; color: var(--sp-navy); margin-bottom: 10px; }
.spars-bcards-more-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.spars-bcards-more-list a { color: var(--sp-accent); font-weight: 600; text-decoration: none; }
.spars-bcards-more-list a:hover { color: var(--sp-accent-dark); }

.spars-bcards-nav { margin-top: 34px; }
.spars-bcards-pagination .pagination { margin: 0; }
.spars-bcards-pagination .page-link {
    border-radius: 10px; margin: 0 3px;
    border-color: var(--sp-line); color: var(--sp-navy); font-weight: 700;
}
.spars-bcards-pagination .page-item.active .page-link {
    background: var(--sp-accent); border-color: var(--sp-accent); color: #fff;
}

.spars-bcards-root .category-desc { color: var(--sp-muted); margin-bottom: 8px; }

@media (max-width: 575.98px) {
    .spars-bcard-bar { height: 70px; }
}
/*end*/
.client-logo {
  display: flex; align-items: center; justify-content: center;
  height: 112px; padding: 18px;
  background: #fff; border: 1px solid var(--sp-line); border-radius: 16px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.client-logo img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; filter: grayscale(1); opacity: .78;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}
.client-logo:hover { border-color: var(--sp-accent); box-shadow: var(--sp-shadow); transform: translateY(-3px); }
.client-logo:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.05); }
.price-block .pb-brand {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  min-width: 0;
}
/*404*/
.sp404 {
      position: relative;
      margin: 0 auto;
      padding: clamp(28px, 5vw, 64px);
      overflow: hidden;
      background:
        radial-gradient(680px 340px at 88% -10%, rgba(255, 122, 26, 0.16), transparent 62%),
        radial-gradient(520px 320px at 0% 110%, rgba(47, 111, 237, 0.10), transparent 60%),
        linear-gradient(135deg, #ffffff 0%, var(--sp-bg) 100%);
      border: 1px solid var(--sp-line);
      border-radius: 24px;
      box-shadow: var(--sp-shadow, 0 10px 30px rgba(13, 32, 64, 0.08));
      font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
      color: var(--sp-ink);
    }

    .sp404::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: radial-gradient(rgba(10, 30, 60, 0.10) 1px, transparent 1px);
      background-size: 22px 22px;
      -webkit-mask-image: linear-gradient(115deg, rgba(0, 0, 0, 0.55), transparent 55%);
      mask-image: linear-gradient(115deg, rgba(0, 0, 0, 0.55), transparent 55%);
      pointer-events: none;
    }

    .sp404__inner {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1fr;
      gap: clamp(20px, 4vw, 48px);
      align-items: center;
    }

    @media (min-width: 992px) {
      .sp404__inner {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 56px;
      }
    }

    .sp404__visual {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: clamp(14px, 3vw, 26px) 0;
      text-align: center;
    }

    .sp404__visual::before,
    .sp404__visual::after {
      content: '';
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
    }

    .sp404__visual::before {
      width: clamp(190px, 24vw, 280px);
      height: clamp(190px, 24vw, 280px);
      border: 1.5px dashed rgba(255, 122, 26, 0.45);
      animation: sp404-spin 26s linear infinite;
    }

    .sp404__visual::after {
      width: clamp(140px, 18vw, 210px);
      height: clamp(140px, 18vw, 210px);
      background: radial-gradient(circle, rgba(255, 122, 26, 0.16), transparent 68%);
      filter: blur(2px);
    }

    @keyframes sp404-spin {
      to { transform: rotate(360deg); }
    }

    @media (prefers-reduced-motion: reduce) {
      .sp404__visual::before { animation: none; }
    }

    .sp404__code {
      position: relative;
      z-index: 1;
      font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
      font-weight: 800;
      font-size: clamp(76px, 12vw, 148px);
      line-height: 0.9;
      letter-spacing: -0.05em;
      background: linear-gradient(135deg, var(--sp-accent) 10%, var(--sp-accent-2) 55%, var(--sp-accent-dark) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      -webkit-text-fill-color: transparent;
      filter: drop-shadow(0 14px 28px rgba(255, 122, 26, 0.28));
    }

    .sp404__hint {
      position: relative;
      z-index: 1;
      margin-top: 14px;
      padding: 7px 16px;
      border-radius: 99px;
      background: #fff;
      border: 1px solid var(--sp-line);
      box-shadow: 0 6px 18px rgba(13, 32, 64, 0.06);
      color: var(--sp-muted);
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .sp404__content {
      min-width: 0;
    }

    .sp404__title {
      font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
      font-weight: 700;
      font-size: clamp(1.35rem, 2.6vw, 2.1rem);
      line-height: 1.22;
      letter-spacing: -0.02em;
      color: var(--sp-navy);
      margin: 0 0 14px;
      text-wrap: balance;
    }

    .sp404__text {
      margin: 0 0 26px;
      max-width: 520px;
      color: var(--sp-muted);
      font-size: clamp(0.95rem, 1.1vw, 1.05rem);
      line-height: 1.75;
    }

    .sp404__actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 14px 22px;
    }

    .sp404__actions .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border-radius: 12px;
      font-weight: 800;
    }

    .sp404__actions .btn-accent {
      padding: 14px 26px;
      box-shadow: 0 10px 24px rgba(255, 122, 26, 0.32);
    }

    .sp404__actions .btn-accent:hover,
    .sp404__actions .btn-accent:focus {
      transform: translateY(-2px);
    }

    .sp404__link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--sp-navy);
      font-weight: 800;
      font-size: 0.92rem;
      text-decoration: none;
      border-bottom: 2px solid transparent;
      transition: color 0.2s ease, border-color 0.2s ease;
    }

    .sp404__link svg {
      transition: transform 0.2s ease;
    }

    .sp404__link:hover,
    .sp404__link:focus {
      color: var(--sp-accent);
      border-color: var(--sp-accent);
    }

    .sp404__link:hover svg,
    .sp404__link:focus svg {
      transform: translateX(3px);
    }

    .sp404__foot {
      margin-top: 26px;
      padding-top: 18px;
      border-top: 1px dashed var(--sp-line);
      color: var(--sp-muted);
      font-size: 0.86rem;
      line-height: 1.6;
    }

    .sp404__foot a {
      color: var(--sp-navy);
      font-weight: 800;
      text-decoration: none;
      white-space: nowrap;
    }

    .sp404__foot a:hover,
    .sp404__foot a:focus {
      color: var(--sp-accent);
    }

    @media (max-width: 575.98px) {
      .sp404 {
        border-radius: 18px;
      }

      .sp404__actions {
        align-items: stretch;
        flex-direction: column;
      }

      .sp404__actions .btn {
        width: 100%;
      }

      .sp404__link {
        justify-content: center;
      }
    }



















