/* ═══════════════════════════════════════════════════════════════════
   АКВА ГРУПП — Ultra Commercial Design System v2
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --red:        #DA2A34;
  --red-dark:   #b81e27;
  --red-light:  #fee2e2;
  --navy:       #0B1220;
  --navy2:      #111827;
  --navy3:      #1e2d45;
  --blue-mid:   #1d4ed8;
  --gray-light: #f4f6f9;
  --gray-mid:   #e4e8ef;
  --text:       #1a1a2e;
  --muted:      #6b7280;
  --white:      #ffffff;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.07),0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 24px rgba(0,0,0,.10),0 2px 8px rgba(0,0,0,.06);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.16),0 4px 16px rgba(0,0,0,.08);
  --shadow-red: 0 8px 28px rgba(218,42,52,.40);
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --transition: .22s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Montserrat', sans-serif; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ── TOP BAR ─────────────────────────────────────────────────────── */
.topbar { background: #060d18; color: rgba(255,255,255,.5); font-size: 12px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.04); }
.topbar i { color: var(--red); font-size: 11px; }
.topbar a { color: rgba(255,255,255,.65); transition: color .18s; }
.topbar a:hover { color: #fff; }

/* ── HEADER ──────────────────────────────────────────────────────── */
.site-header {
  background: var(--navy);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
  z-index: 1020; /* match Bootstrap sticky-top z-index */
  transition: background .3s;
  /* sticky-top from Bootstrap already sets position:sticky — this serves as
     the containing block for the absolutely-positioned mobile nav dropdown */
}
.logo-link { gap: 10px; }
.logo-main { display: block; font-size: 21px; font-weight: 900; color: #fff; letter-spacing: .5px; line-height: 1; }
.logo-sub  { display: block; font-size: 9.5px; color: rgba(255,255,255,.45); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-top: 3px; }
.logo-img  { max-height: 48px; }
.phone-link { font-size: 16px; font-weight: 800; color: #fff; letter-spacing: -.2px; }
.phone-link:hover { color: var(--red); }
.nav-menu { gap: 0; padding: 4px 0; }
.nav-menu li a { display: block; padding: 7px 10px; font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.78); border-radius: 6px; transition: var(--transition); letter-spacing: .1px; }
.nav-menu li a:hover { color: #fff; background: rgba(255,255,255,.08); }

/* ---- «Ароматы»: переливающийся текст + дымка ---- */
.nav-aroma {
  position: relative;
  overflow: visible !important;
  background: linear-gradient(90deg, #7eb8d4, #a78bfa, #f472b6, #7eb8d4);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: navAromaShimmer 4.5s linear infinite;
}
.nav-aroma:hover { -webkit-text-fill-color: transparent; color: transparent; }
@keyframes navAromaShimmer {
  to { background-position: 300% 0; }
}
.nav-aroma__smoke {
  position: absolute;
  inset: -16px -10px -10px;
  pointer-events: none;
  z-index: -1;
}
.nav-aroma__smoke::before,
.nav-aroma__smoke::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,200,255,.55) 0%, rgba(180,200,255,0) 72%);
  filter: blur(3px);
  opacity: 0;
  animation: navSmokeRise 3.4s ease-in-out infinite;
}
.nav-aroma__smoke::before { left: 18%; animation-delay: 0s; }
.nav-aroma__smoke::after  { left: 55%; width: 10px; height: 10px; animation-delay: 1.4s; }
@keyframes navSmokeRise {
  0%   { transform: translateY(0) scale(.5); opacity: 0; }
  25%  { opacity: .85; }
  75%  { opacity: .25; }
  100% { transform: translateY(-20px) scale(1.6); opacity: 0; }
}
.navbar-toggler { border: none; background: none; padding: 4px; }
.navbar-toggler .bi { color: rgba(255,255,255,.85); }

/* ── BUTTONS ─────────────────────────────────────────────────────── */
.btn-primary-red {
  background: linear-gradient(135deg, #e8303b 0%, var(--red-dark) 100%);
  color: #fff; border: none; font-weight: 800;
  border-radius: var(--radius-sm);
  padding: 11px 26px; transition: var(--transition);
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; cursor: pointer; font-size: 13.5px; letter-spacing: .3px;
  box-shadow: 0 4px 14px rgba(218,42,52,.32);
  position: relative; overflow: hidden;
}
.btn-primary-red::after { content:''; position:absolute; inset:0; background:rgba(255,255,255,0); transition:.22s; }
.btn-primary-red:hover { transform: translateY(-2px); box-shadow: var(--shadow-red); color: #fff; }
.btn-primary-red:hover::after { background: rgba(255,255,255,.07); }
.btn-primary-red:active { transform: translateY(0); }
.btn-whatsapp {
  background: #1fba58; color: #fff; border: none; font-weight: 700;
  border-radius: var(--radius-sm); padding: 10px 22px; transition: var(--transition);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13.5px;
}
.btn-whatsapp:hover { background: #19a34a; color: #fff; transform: translateY(-1px); }
.btn-outline-hero {
  border: 2px solid rgba(255,255,255,.5); color: #fff; border-radius: var(--radius-sm);
  padding: 11px 22px; font-weight: 700; font-size: 13.5px; background: transparent;
  transition: var(--transition); display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-hero:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.8); }
.hero-section:not(.hero-has-bg) .btn-outline-hero { border-color: var(--navy); color: var(--navy); }
.hero-section:not(.hero-has-bg) .btn-outline-hero:hover { background: var(--navy); color: #fff; }
.btn-link-red { color: var(--red); font-weight: 700; font-size: 13px; transition: var(--transition); white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.btn-link-red:hover { color: var(--red-dark); gap: 9px; }
.spin { animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── HERO ────────────────────────────────────────────────────────── */
.hero-section { background: var(--gray-light); padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero-section::before { content:''; position:absolute; top:-140px; right:-100px; width:520px; height:520px; background:radial-gradient(circle,rgba(218,42,52,.05) 0%,transparent 70%); pointer-events:none; }
.hero-has-bg { min-height: 100vh; display: flex; align-items: center; background-size: cover; background-position: center; background-repeat: no-repeat; padding: 0; }
/* Blur only the background layer via ::after — content stays sharp */
.hero-has-bg::after { content: ''; position: absolute; inset: -10px; background-image: inherit; background-size: cover; background-position: center; background-repeat: no-repeat; z-index: 0; transition: filter .45s ease; }
.hero-has-bg:not(.hero-hq)::after { filter: blur(12px) brightness(0.82); }
.hero-hq::after { filter: none; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(6,13,24,.92) 0%, rgba(11,18,32,.72) 55%, rgba(11,18,32,.5) 100%); z-index: 1; }
.hero-inner { position: relative; z-index: 2; padding: 100px 0; width: 100%; }
.hero-section:not(.hero-has-bg) .hero-inner { padding: 0; }
.hero-label { font-size: 11px; font-weight: 800; letter-spacing: 3.5px; text-transform: uppercase; margin-bottom: 16px; display: inline-flex; align-items: center; gap: 10px; }
.hero-label::before { content:''; display:inline-block; width:30px; height:2px; background:var(--red); border-radius:2px; flex-shrink:0; }
.hero-section:not(.hero-has-bg) .hero-label { color: var(--red); }
.hero-has-bg .hero-label { color: rgba(255,255,255,.7); }
.hero-has-bg .hero-label::before { background: rgba(255,255,255,.5); }
.hero-title { font-size: clamp(28px, 4.4vw, 50px); font-weight: 900; line-height: 1.08; letter-spacing: -.5px; }
.hero-section:not(.hero-has-bg) .hero-title { color: var(--navy); }
.hero-has-bg .hero-title { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero-bullets { list-style: none; padding: 0; margin: 0; }
.hero-bullets li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 13px; font-size: 14.5px; line-height: 1.55; }
.hero-section:not(.hero-has-bg) .hero-bullets li { color: var(--text); }
.hero-has-bg .hero-bullets li { color: rgba(255,255,255,.88); }
.hero-bullets .bi { color: var(--red); font-size: 16px; flex-shrink: 0; margin-top: 3px; }
.hero-has-bg .hero-bullets .bi { color: #ff7a7a; }
.badge-item { display: flex; align-items: center; gap: 8px; border-radius: var(--radius-sm); padding: 8px 14px; font-size: 12px; font-weight: 700; }
.hero-section:not(.hero-has-bg) .badge-item { background: #fff; box-shadow: var(--shadow-sm); color: var(--navy); }
.hero-has-bg .badge-item { background: rgba(255,255,255,.08); backdrop-filter: blur(12px); color: #fff; border: 1px solid rgba(255,255,255,.15); }
.badge-item .bi { color: var(--red); font-size: 15px; }
.hero-has-bg .badge-item .bi { color: #ffa5a5; }
.hero-form-card { background: #fff; border-radius: var(--radius-lg); padding: 34px; box-shadow: 0 24px 64px rgba(0,0,0,.22); position: relative; }
.hero-form-card::before { display: none; }
.hero-form-card h3 { font-size: 16px; font-weight: 800; color: var(--navy); text-align: center; line-height: 1.45; }
.hero-form-card .form-control { border-radius: var(--radius-sm); border: 1.5px solid var(--gray-mid); font-size: 14px; padding: 12px 16px; height: auto; }
.hero-form-card .form-control:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(218,42,52,.1); }
.hero-form-note { font-size: 11px; color: #9ca3af; text-align: center; margin: 10px 0 0; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; flex-direction: column; align-items: center; gap: 5px; color: rgba(255,255,255,.5); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; animation: bounceHint 2.2s ease-in-out infinite; }
@keyframes bounceHint { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ── STATS BAR ───────────────────────────────────────────────────── */
.stats-bar { background: linear-gradient(135deg, #060d18 0%, var(--navy) 100%); padding: 28px 0; border-top: 1px solid rgba(218,42,52,.3); }
.stat-item { text-align: center; padding: 10px 16px; border-right: 1px solid rgba(255,255,255,.07); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: clamp(30px, 4vw, 42px); font-weight: 900; color: var(--red); line-height: 1; display: block; }
.stat-sup { font-size: 22px; font-weight: 900; }
.stat-label { font-size: 11.5px; color: rgba(255,255,255,.5); margin-top: 5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }

/* ── SECTION TITLES ──────────────────────────────────────────────── */
.section-header { /* intentionally no display:flex — articles uses d-flex from Bootstrap */ }
.section-title { font-size: clamp(22px, 3.2vw, 36px); font-weight: 900; color: var(--navy); letter-spacing: -.4px; line-height: 1.15; }
.section-label {
  font-size: 11px; font-weight: 800; color: var(--red);
  letter-spacing: 3.5px; text-transform: uppercase; margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content:''; display:inline-block; width:22px; height:2px; background:var(--red); border-radius:2px; flex-shrink:0; }
.justify-content-center.section-label { justify-content: center; }
.section-desc { color: var(--muted); font-size: 15px; max-width: 600px; margin: 12px auto 0; line-height: 1.65; }
.products-section { padding: 80px 0; }
.products-section:nth-child(even) { background: var(--gray-light); }

/* ── PRODUCT CARD ────────────────────────────────────────────────── */
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .28s cubic-bezier(.4,0,.2,1), box-shadow .28s;
  border: 1px solid var(--gray-mid);
  position: relative;
}
.product-card::before {
  content:''; position:absolute; bottom:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  transform: scaleX(0); transform-origin: left; transition: .3s;
  z-index: 2;
}
.product-card:hover { transform: translateY(-7px); box-shadow: 0 20px 48px rgba(0,0,0,.13); border-color: transparent; }
.product-card:hover::before { transform: scaleX(1); }
.product-card__img { overflow: hidden; background: #fff; flex-shrink: 0; height: 300px; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .4s ease; }
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-card__name { font-size: 15.5px; font-weight: 900; color: var(--navy); margin-bottom: 6px; line-height: 1.3; }
.product-card__name a { color: inherit; }
.product-card__name a:hover { color: var(--red); }
.product-card__sku { font-size: 11px; color: var(--muted); margin-bottom: 5px; font-weight: 600; letter-spacing: .3px; }
.product-card__specs { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; line-height: 1.5; }
.product-card__functions { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.fn-tag { font-size: 11px; background: #f0f4ff; color: #3b4ec8; border-radius: 20px; padding: 4px 10px; font-weight: 700; border: 1px solid #dde4ff; }
.product-card__price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--gray-mid); }
.price-old { font-size: 13px; color: #9ca3af; text-decoration: line-through; margin-right: 6px; }
.price-new { font-size: 27px; font-weight: 900; color: var(--red); display: block; line-height: 1.1; }
.price-label { font-size: 11px; color: var(--red); font-weight: 800; margin-top: 5px; background: var(--red-light); display: inline-block; padding: 3px 9px; border-radius: 4px; }
.price-request { font-size: 17px; font-weight: 800; color: var(--navy); display: block; }
.product-card__actions { margin-top: 16px; display: flex; align-items: center; gap: 8px; }
.product-card__actions .btn-primary-red,
.product-card__actions .card-order-btn { flex: 1; font-size: 13px; padding: 10px 16px; }
.product-card__actions .btn-whatsapp { padding: 10px 14px; font-size: 16px; flex-shrink: 0; }

/* ── 3 иконки мессенджеров на карточке (без фона) ── */
.card-msgs { display: flex; gap: 2px; flex-shrink: 0; align-items: center; }
.card-msg {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .18s, opacity .18s;
  text-decoration: none;
  background: none;
}
.card-msg:hover { transform: scale(1.15); opacity: .75; }
.card-msg img { width: 28px; height: 28px; object-fit: contain; display: block; }

/* ── LOAD MORE ───────────────────────────────────────────────────── */
.btn-load-more { background: transparent; border: 2px solid var(--navy); color: var(--navy); border-radius: var(--radius-sm); padding: 13px 36px; font-size: 14px; font-weight: 800; cursor: pointer; transition: var(--transition); font-family: 'Montserrat', sans-serif; letter-spacing: .3px; }
.btn-load-more:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.load-sentinel { height: 1px; }
.product-reveal { animation: fadeUp .4s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ── TERMINALS SECTION ───────────────────────────────────────────── */
.terminals-section { padding: 80px 0; background: var(--navy); position: relative; overflow: hidden; }
.terminals-section::before { content:''; position:absolute; top:0; right:0; width:500px; height:500px; background:radial-gradient(circle,rgba(218,42,52,.1) 0%,transparent 65%); pointer-events:none; }
.terminals-section .section-title { color: #fff; }
.terminals-section .section-label { color: rgba(255,255,255,.45); }
.terminals-section .section-label::before { background: rgba(255,255,255,.35); }
.terminals-subtitle { font-size: 15px; color: rgba(255,255,255,.55); max-width: 600px; margin: 10px 0 0; }
.fn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fn-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-md); padding: 22px 18px; transition: var(--transition); cursor: default; }
.fn-card:hover { background: rgba(255,255,255,.08); border-color: rgba(218,42,52,.4); transform: translateY(-2px); }
.fn-card__emoji { font-size: 30px; display: block; margin-bottom: 12px; }
.fn-card__name { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.fn-card__desc { font-size: 12.5px; color: rgba(255,255,255,.55); line-height: 1.55; margin: 0; }
.fn-card--payment { background: rgba(218,42,52,.1); border-color: rgba(218,42,52,.25); }
.fn-card--payment .fn-card__name { color: var(--red); }
.payment-methods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pm-badge { font-size: 11.5px; font-weight: 700; background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); border-radius: 6px; padding: 4px 10px; }

/* ── TERMINAL SLIDER ─────────────────────────────────────────────── */
.term-slider-wrap { position: relative; }
.term-slider { overflow: hidden; border-radius: var(--radius-lg); }
.term-slide { display: none; }
.term-slide.active { display: block; }
.term-slide-inner { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; align-items: center; min-height: 380px; justify-content: center; }
.term-slide-inner img { max-height: 300px; width: auto; max-width: 100%; object-fit: contain; border-radius: var(--radius-md); filter: drop-shadow(0 8px 28px rgba(0,0,0,.55)); }
.term-slide-placeholder { color: rgba(255,255,255,.3); display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; }
.term-slide-caption { margin-top: 20px; text-align: center; }
.term-slide-caption strong { display: block; color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.term-slide-caption span { font-size: 12px; color: rgba(255,255,255,.5); display: block; margin-bottom: 10px; }
.term-arrow { position: absolute; top: 44%; transform: translateY(-50%); background: rgba(255,255,255,.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.15); color: #fff; width: 42px; height: 42px; border-radius: 50%; font-size: 16px; cursor: pointer; z-index: 5; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.term-arrow:hover { background: var(--red); border-color: var(--red); }
.term-prev { left: -18px; }
.term-next { right: -18px; }

/* ── TERMINAL FUNCTIONS LIST ─────────────────────────────────────── */
.fn-list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fn-list-item { display: flex; align-items: flex-start; gap: 14px; }
.fn-list-icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(218,42,52,.14); border: 1px solid rgba(218,42,52,.22); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fn-list-icon .bi { font-size: 18px; color: var(--red); }
.fn-list-body strong { display: block; font-size: 13px; font-weight: 900; color: #fff; margin-bottom: 3px; letter-spacing: .4px; }
.fn-list-body p { font-size: 12px; color: rgba(255,255,255,.55); margin: 0; line-height: 1.5; }
.fn-list-item--pay { grid-column: span 2; }
.fn-list-item--pay .fn-list-icon { background: rgba(37,211,102,.1); border-color: rgba(37,211,102,.22); }
.fn-list-item--pay .fn-list-icon .bi { color: #4ade80; }
.fn-list-item--pay .fn-list-body strong { color: #4ade80; }

/* ── ADVANTAGES ──────────────────────────────────────────────────── */
.advantages-section { padding: 80px 0; background: #fff; }
.adv-card {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  height: 100%;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 16px;
  row-gap: 10px;
  align-items: start;
}
.adv-card::before { content:''; position:absolute; top:0; left:0; bottom:0; width:3px; background:var(--red); border-radius:3px 0 0 3px; transform:scaleY(0); transform-origin:top; transition:.3s; }
.adv-card:hover { background: #fff; box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--gray-mid); }
.adv-card:hover::before { transform: scaleY(1); }
.adv-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--red-light), rgba(218,42,52,.05)); border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; grid-column: 1; grid-row: 1; }
.adv-icon .bi { font-size: 22px; color: var(--red); }
.adv-card h4 { font-size: 15px; font-weight: 900; color: var(--navy); margin: 0; line-height: 1.3; grid-column: 2; grid-row: 1; align-self: center; }
.adv-card p  { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.65; grid-column: 1 / span 2; grid-row: 2; }

/* ── HOW WE WORK ─────────────────────────────────────────────────── */
.how-section { background: var(--navy); padding: 80px 0; position: relative; overflow: hidden; }
.how-section::before { content:''; position:absolute; top:0; right:0; width:400px; height:400px; background:radial-gradient(circle,rgba(218,42,52,.1) 0%,transparent 65%); pointer-events:none; }
.step-card { background: rgba(255,255,255,.04); border-radius: var(--radius-md); padding: 24px 20px; height: 100%; border: 1px solid rgba(255,255,255,.07); transition: var(--transition); position: relative; }
.step-card:hover { background: rgba(255,255,255,.08); border-color: rgba(218,42,52,.3); }
.step-card--last { background: linear-gradient(135deg, var(--red), var(--red-dark)); border-color: transparent; }
.step-card--last:hover { opacity: .92; }
.step-num { font-size: 40px; font-weight: 900; color: var(--red); line-height: 1; margin-bottom: 12px; }
.step-card--last .step-num { color: rgba(255,255,255,.35); }
.step-card p { color: rgba(255,255,255,.82); font-size: 13px; margin: 0; line-height: 1.6; }
.step-card--last p { color: #fff; font-weight: 700; }

/* ── PORTFOLIO MARQUEE ───────────────────────────────────────────── */
.portfolio-section { padding: 64px 0; overflow: hidden; background: var(--gray-light); }
.portfolio-track-wrap { overflow: hidden; position: relative; }
.portfolio-track-wrap::before,
.portfolio-track-wrap::after { content:''; position:absolute; top:0; bottom:0; width:140px; z-index:2; pointer-events:none; }
.portfolio-track-wrap::before { left:0;  background: linear-gradient(to right, var(--gray-light), transparent); }
.portfolio-track-wrap::after  { right:0; background: linear-gradient(to left,  var(--gray-light), transparent); }
.portfolio-track { display: flex; gap: 16px; animation: marquee 180s linear infinite; width: max-content; }
.portfolio-track:hover { animation-play-state: paused; }
.portfolio-item { flex-shrink: 0; width: 350px; height: 415px; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.portfolio-item:hover img { transform: scale(1.07); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── VIDEO REVIEWS ───────────────────────────────────────────────── */
.reviews-section { padding: 80px 0; background: var(--navy2); }
.reviews-section .section-title { color: #fff; }
.reviews-section .section-desc  { color: rgba(255,255,255,.5); }
.vr-carousel-wrap { position: relative; display: flex; align-items: center; gap: 14px; }
.vr-viewport { overflow: hidden; flex: 1; }
.vr-track { display: flex; gap: 16px; transition: transform .45s cubic-bezier(.25,.8,.25,1); will-change: transform; }
.vr-item { flex: 0 0 calc((100% - 32px) / 3); }
.vr-iframe-wrap { position: relative; width: 100%; padding-bottom: 177.78%; border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 10px 36px rgba(0,0,0,.6); background: #000; }
.vr-iframe-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vr-nav { flex-shrink: 0; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.15); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.vr-nav:hover { background: var(--red); border-color: var(--red); transform: scale(1.1); }
.vr-dots,.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.2); cursor: pointer; transition: var(--transition); border: none; padding: 0; }
.slider-dot.active { background: var(--red); width: 28px; border-radius: 4px; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 18px; cursor: pointer; z-index: 5; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.slider-arrow:hover { background: var(--red); border-color: var(--red); }
.slider-prev { left: -4px; }
.slider-next { right: -4px; }

/* ── CALCULATOR CTA ──────────────────────────────────────────────── */
.calc-section { padding: 80px 0; background: var(--gray-light); }
.calc-card { background: linear-gradient(135deg, #060d18 0%, var(--navy3) 100%); border-radius: var(--radius-xl); padding: 60px; overflow: hidden; position: relative; border: 1px solid rgba(255,255,255,.05); }
.calc-card::before { content:''; position:absolute; top:-120px; right:-80px; width:380px; height:380px; background:radial-gradient(circle,rgba(218,42,52,.22) 0%,transparent 65%); }
.calc-card::after  { content:''; position:absolute; bottom:-80px; left:40px; width:280px; height:280px; background:radial-gradient(circle,rgba(29,78,216,.1) 0%,transparent 65%); }
.calc-title { font-size: clamp(20px, 3vw, 33px); font-weight: 900; color: #fff; margin-bottom: 14px; line-height: 1.22; position: relative; z-index: 1; }
.calc-desc { color: rgba(255,255,255,.65); font-size: 14.5px; line-height: 1.65; position: relative; z-index: 1; }
.calc-features { list-style: none; padding: 0; margin: 22px 0 0; position: relative; z-index: 1; }
.calc-features li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); font-size: 13.5px; margin-bottom: 10px; }
.calc-features .bi { color: #4ade80; font-size: 15px; flex-shrink: 0; }
.calc-form { position: relative; z-index: 1; }
.calc-form .form-control { background: rgba(255,255,255,.97); border: 1.5px solid transparent; border-radius: var(--radius-sm); font-size: 14.5px; padding: 12px 16px; height: auto; }
.calc-form .form-control:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(218,42,52,.15); }

/* ── CLIENTS MAP ─────────────────────────────────────────────────── */
.clients-map-section { padding: 80px 0; background: var(--gray-light); }
.clients-map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
#clientsMap { width: 100%; height: 520px; }

/* ── MAP ─────────────────────────────────────────────────────────── */
.map-section { padding: 80px 0; background: #fff; }
.map-embed-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); height: 420px; }
.map-embed-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder { height: 420px; background: var(--gray-light); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; }
.map-info-card { background: var(--navy); border-radius: var(--radius-lg); padding: 32px; height: 100%; }
.map-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.map-info-item:last-of-type { margin-bottom: 0; }
.map-info-item i { font-size: 18px; color: var(--red); flex-shrink: 0; margin-top: 2px; width: 22px; }
.map-info-item strong { font-size: 11px; font-weight: 800; color: rgba(255,255,255,.45); display: block; margin-bottom: 4px; letter-spacing: .5px; text-transform: uppercase; }
.map-info-item p { font-size: 14px; color: rgba(255,255,255,.85); margin: 0; line-height: 1.5; font-weight: 600; }
.map-info-item a { color: #fff; }
.map-info-item a:hover { color: var(--red); }
.social-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 800; color: #fff; transition: var(--transition); }
.social-btn.whatsapp { background: #25d366; }
.social-btn.telegram { background: #229ED9; }
.social-btn.youtube  { background: #ff0000; }
.social-btn:hover { opacity: .85; color: #fff; transform: translateY(-1px); }

/* ── REQUIREMENTS ────────────────────────────────────────────────── */
.requirements-section { padding: 80px 0; background: var(--gray-light); }
.req-list { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.req-item { display: flex; align-items: flex-start; gap: 18px; background: #fff; border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--gray-mid); }
.req-item:hover { box-shadow: var(--shadow-md); border-color: var(--red-light); transform: translateX(4px); }
.req-icon { width: 48px; height: 48px; background: linear-gradient(135deg, var(--red-light), rgba(218,42,52,.06)); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.req-icon .bi { font-size: 22px; color: var(--red); }
.req-item strong { font-size: 14px; font-weight: 900; color: var(--navy); display: block; margin-bottom: 5px; }
.req-item p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }
.req-cta-card { background: var(--navy); border-radius: var(--radius-lg); padding: 38px; position: relative; overflow: hidden; }
.req-cta-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: linear-gradient(90deg, var(--red), #f97316); }
.req-cta-card::after { content:''; position:absolute; bottom:-60px; right:-60px; width:200px; height:200px; background:radial-gradient(circle,rgba(218,42,52,.15) 0%,transparent 65%); }
.req-cta-card h3 { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 10px; position: relative; z-index:1; }
.req-cta-card p { font-size: 13.5px; color: rgba(255,255,255,.6); line-height: 1.65; position: relative; z-index:1; }
.req-cta-card .form-control { border-radius: var(--radius-sm); border: 1.5px solid rgba(255,255,255,.12); background: rgba(255,255,255,.08); color: #fff; font-size: 14px; padding: 12px 16px; height: auto; position: relative; z-index:1; }
.req-cta-card .form-control::placeholder { color: rgba(255,255,255,.4); }
.req-cta-card .form-control:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(218,42,52,.2); background: rgba(255,255,255,.1); }
.req-cta-card select.form-control option { color: #1a1a2e; background: #fff; }

/* ── WORKS / PROJECTS SECTION ───────────────────────────────────── */
.works-section { padding: 80px 0; background: var(--gray-light); }

/* Project card */
.project-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: var(--transition); text-decoration: none; color: inherit; height: 100%; }
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); color: inherit; text-decoration: none; }
.project-card__img { position: relative; height: 240px; overflow: hidden; background: var(--gray-light); flex-shrink: 0; }
.project-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project-card:hover .project-card__img img { transform: scale(1.06); }
.project-card__no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--gray-mid); }
.project-card__city { position: absolute; top: 12px; left: 12px; background: rgba(11,18,32,.75); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; backdrop-filter: blur(4px); }
.project-card__year { position: absolute; top: 12px; right: 12px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 20px; }
.project-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.project-card__title { font-size: 16px; font-weight: 800; color: var(--navy); margin: 0 0 8px; line-height: 1.3; }
.project-card__excerpt { font-size: 13px; color: #6b7280; line-height: 1.5; margin: 0 0 auto; padding-bottom: 12px; }
.project-card__link { font-size: 13px; font-weight: 700; color: var(--red); margin-top: 12px; display: inline-flex; align-items: center; gap: 5px; }
.project-card__link i { transition: transform .2s; }
.project-card:hover .project-card__link i { transform: translateX(4px); }

/* btn-outline-navy */
.btn-outline-navy { border: 2px solid var(--navy); color: var(--navy); background: transparent; font-weight: 700; border-radius: var(--radius-sm); padding: 12px 28px; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* Projects list page */
.projects-page-hero { background: var(--navy); padding: 80px 0 60px; text-align: center; }

/* Single project */
.project-hero { position: relative; height: 520px; background-size: cover; background-position: center; }
.project-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,13,24,.88) 40%, rgba(6,13,24,.25)); display: flex; align-items: flex-end; }
.project-hero__overlay .container { padding-bottom: 48px; }
.project-hero__meta { display: flex; gap: 10px; margin-bottom: 12px; }
.project-hero__city, .project-hero__year { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 20px; font-size: 13px; font-weight: 700; }
.project-hero__city { background: rgba(255,255,255,.15); color: #fff; backdrop-filter: blur(4px); }
.project-hero__year { background: var(--red); color: #fff; }
.project-hero__title { font-size: clamp(26px, 4vw, 48px); font-weight: 900; color: #fff; margin: 0 0 10px; }
.project-hero__excerpt { font-size: 16px; color: rgba(255,255,255,.75); margin: 0; max-width: 640px; }

.project-section-title { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.project-body { font-size: 15px; line-height: 1.8; color: #374151; }
.project-body h2, .project-body h3 { color: var(--navy); font-weight: 800; margin-top: 1.5em; }

/* Photo gallery grid */
.pg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pg-item { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; display: block; }
.pg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.pg-item__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s; color: #fff; font-size: 1.8rem; }
.pg-item:hover img { transform: scale(1.06); }
.pg-item:hover .pg-item__overlay { opacity: 1; }
.pg-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* Video embed */
.project-video__wrap { position: relative; padding-bottom: 56.25%; border-radius: var(--radius-lg); overflow: hidden; }
.project-video__wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Info sidebar card */
.project-info-card { background: var(--navy); border-radius: var(--radius-lg); overflow: hidden; }
.project-info-card__header { background: rgba(218,42,52,.9); color: #fff; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; padding: 12px 20px; }
.project-info-card__body { padding: 20px; }
.pi-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.pi-row:last-child { margin-bottom: 0; }
.pi-row i { font-size: 16px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.pi-row strong { display: block; font-size: 11px; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 2px; }
.pi-row span { font-size: 14px; color: rgba(255,255,255,.85); font-weight: 600; }
.project-info-card__cta { padding: 0 20px 20px; }
.project-info-card__cta p { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 12px; }

/* Lightbox */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.93); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .25s; }
.lightbox-overlay.active { opacity: 1; pointer-events: all; }
.lb-img-wrap { max-width: 90vw; max-height: 90vh; }
.lb-img-wrap img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius-md); object-fit: contain; }
.lb-close, .lb-prev, .lb-next { position: absolute; background: rgba(255,255,255,.12); border: none; color: #fff; border-radius: 50%; width: 46px; height: 46px; font-size: 18px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(218,42,52,.8); }

/* SEO TEXT SECTION ────────────────────────────────────────────── */
.seo-section { padding: 80px 0; background: #fff; }
.seo-article { background: var(--gray-light); border-radius: var(--radius-xl); padding: 44px 48px; border: 1px solid var(--gray-mid); }
.seo-h3 { font-size: 18px; font-weight: 900; color: var(--navy); margin: 28px 0 10px; padding-left: 14px; border-left: 3px solid var(--red); line-height: 1.3; }
.seo-visible p, .seo-hidden p { font-size: 14.5px; color: var(--muted); line-height: 1.8; margin-bottom: 14px; }
.seo-visible p strong, .seo-hidden p strong { color: var(--navy); }
.seo-list { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.seo-list li { font-size: 14px; color: var(--muted); line-height: 1.7; padding-left: 22px; position: relative; }
.seo-list li::before { content:'✓'; position:absolute; left:0; color:var(--red); font-weight:900; font-size:13px; top:2px; }
.seo-list li strong { color: var(--navy); }
.seo-read-more { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; background: none; border: 2px solid var(--red); color: var(--red); font-weight: 800; font-size: 13.5px; border-radius: var(--radius-sm); padding: 10px 22px; cursor: pointer; font-family: 'Montserrat', sans-serif; transition: var(--transition); letter-spacing: .2px; }
.seo-read-more:hover { background: var(--red); color: #fff; }
.seo-rm-icon { transition: transform .3s ease; font-size: 14px; }
.seo-hidden { animation: fadeUp .35s ease both; }
/* CTA badges */
.req-cta-badges { display: flex; flex-direction: column; gap: 10px; }
.req-cta-badge { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.7); }
.req-cta-badge .bi { color: var(--red); font-size: 16px; flex-shrink: 0; }
@media (max-width: 991px) {
  .seo-article { padding: 28px 24px; }
  .seo-section { padding: 52px 0; }
}
@media (max-width: 575px) {
  .seo-article { padding: 22px 18px; }
}

/* ── ARTICLES ────────────────────────────────────────────────────── */
.articles-section { padding: 80px 0; background: #fff; }
.article-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; transition: var(--transition); border: 1px solid var(--gray-mid); }
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: transparent; }
.article-card__img { height: 210px; overflow: hidden; }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.article-card:hover .article-card__img img { transform: scale(1.06); }
.article-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.article-card__body h4 a, .article-card__body h5 a { color: var(--navy); font-weight: 800; font-size: 15px; line-height: 1.4; }
.article-card__body h4 a:hover, .article-card__body h5 a:hover { color: var(--red); }
.article-card__body h5 { margin: 0; font-size: 15px; }
.read-more { font-size: 13px; font-weight: 800; color: var(--red); margin-top: auto; display: inline-flex; align-items: center; gap: 5px; padding-top: 14px; transition: var(--transition); }
.read-more:hover { color: var(--red-dark); gap: 9px; }
.article-title { font-size: clamp(22px, 3vw, 36px); font-weight: 900; color: var(--navy); letter-spacing: -.3px; }
.article-hero-img { border-radius: var(--radius-lg); overflow: hidden; max-height: 420px; }
.article-hero-img img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; object-position: center top; display: block; border-radius: var(--radius-lg); }
.article-content { font-size: 15px; line-height: 1.9; }
.article-content h2,.article-content h3 { font-weight: 900; color: var(--navy); margin-top: 36px; letter-spacing: -.2px; }
.article-content img { max-width: 100%; border-radius: var(--radius-md); margin: 16px 0; }

/* ── 404 PAGE ────────────────────────────────────────────────────── */
.err404-section { padding: 70px 0 80px; background: var(--gray-light); min-height: calc(100vh - 200px); }
.err404-hero { text-align: center; margin-bottom: 64px; position: relative; }
.err404-code {
  font-size: clamp(120px, 20vw, 200px); font-weight: 900; line-height: 1;
  color: transparent; -webkit-text-stroke: 3px var(--red); letter-spacing: -8px;
  opacity: .1; position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.err404-icon { font-size: 72px; color: var(--red); line-height: 1; margin-bottom: 20px; position: relative; animation: err404swing 5s ease-in-out infinite; }
@keyframes err404swing { 0%,100% { transform: rotate(-10deg); } 50% { transform: rotate(10deg); } }
.err404-title { font-size: clamp(26px, 4vw, 42px); font-weight: 900; color: var(--navy); margin-bottom: 14px; position: relative; }
.err404-sub { font-size: 15px; color: var(--muted); max-width: 480px; margin: 0 auto 32px; line-height: 1.75; position: relative; }
.err404-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; }
.err404-btn-outline { background: #fff; color: var(--navy); border: 2px solid var(--gray-mid); font-weight: 700; }
.err404-btn-outline:hover { border-color: var(--red); color: var(--red); background: #fff; }
.err404-products { }
.err404-products-label { text-align: center; font-size: 12px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.err404-prod-card { text-decoration: none; color: inherit; display: block; }
.err404-prod-card:hover { color: inherit; text-decoration: none; }

/* ── PRODUCT PAGE ────────────────────────────────────────────────── */
.product-category-label { font-size: 11px; font-weight: 800; color: var(--red); letter-spacing: 2.5px; text-transform: uppercase; }
.product-title { font-size: clamp(22px, 3vw, 38px); font-weight: 900; color: var(--navy); letter-spacing: -.3px; }
.product-sku { font-size: 13px; }
.product-specs { font-size: 13px; color: var(--muted); }
.fn-badge { display: inline-flex; align-items: center; gap: 7px; background: #f0f4ff; border-radius: var(--radius-sm); padding: 7px 13px; font-size: 13px; font-weight: 700; color: var(--navy); border: 1px solid #dde4ff; }
.fn-badge .fn-emoji { font-size: 18px; }
.pay-badge { background: #f0fdf4; color: #16a34a; border-radius: var(--radius-sm); padding: 7px 13px; font-size: 13px; font-weight: 700; border: 1px solid #bbf7d0; }
.price-old-lg { font-size: 18px; color: #9ca3af; text-decoration: line-through; }
.price-new-lg { font-size: 46px; font-weight: 900; color: var(--red); line-height: 1; }
.price-badge-label { display: inline-block; background: var(--red-light); color: var(--red); border-radius: 6px; padding: 5px 14px; font-size: 13px; font-weight: 800; margin-top: 6px; }
/* Gallery main */
.gallery-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.gallery-main img { width: 100%; height: 480px; object-fit: contain; display: block; transition: opacity .18s ease; }
.gallery-main img.fading { opacity: 0; }

/* Zoom button */
.gal-zoom { position: absolute; bottom: 12px; right: 12px; width: 38px; height: 38px; background: rgba(0,0,0,.5); color: #fff; border: none; border-radius: 8px; font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; z-index: 2; }
.gal-zoom:hover { background: var(--red); }

/* Prev/next arrows */
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: rgba(0,0,0,.45); color: #fff; border: none; border-radius: 50%; font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; z-index: 2; }
.gal-nav:hover { background: var(--red); }
.gal-prev { left: 10px; }
.gal-next { right: 10px; }

/* Thumbnails */
/* Thumbs slider wrapper */
.gallery-thumbs-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  position: relative;
}
.gallery-thumbs-scroll {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  /* hide scrollbar */
  scrollbar-width: none;
}
.gallery-thumbs-scroll::-webkit-scrollbar { display: none; }
.gallery-thumbs-inner {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  padding: 2px 0;
}
.thumbs-nav {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-mid);
  background: #fff;
  color: var(--text);
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  padding: 0;
}
.thumbs-nav:hover { border-color: var(--red); color: var(--red); }
.gallery-thumb {
  flex-shrink: 0;
  width: 74px; height: 74px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--red); }

/* Lightbox */
.gal-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.93); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .25s; }
.gal-lightbox.active { opacity: 1; pointer-events: all; }
.gal-lightbox .lb-img-wrap img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius-md); object-fit: contain; }
.gal-lightbox .lb-close { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,.12); border: none; color: #fff; border-radius: 50%; width: 46px; height: 46px; font-size: 18px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.gal-lightbox .lb-prev, .gal-lightbox .lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: none; color: #fff; border-radius: 50%; width: 46px; height: 46px; font-size: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.gal-lightbox .lb-prev { left: 16px; }
.gal-lightbox .lb-next { right: 16px; }
.gal-lightbox .lb-close:hover, .gal-lightbox .lb-prev:hover, .gal-lightbox .lb-next:hover { background: rgba(218,42,52,.8); }
.product-short-desc { background: var(--gray-light); border-radius: var(--radius-sm); padding: 18px; font-size: 14px; line-height: 1.7; border-left: 3px solid var(--red); }
.product-desc-content { font-size: 15px; line-height: 1.85; }
.product-desc-content img { max-width: 100%; border-radius: var(--radius-sm); margin: 12px 0; }

/* ── FOOTER ──────────────────────────────────────────────────────── */
/* Contact section before footer */
.contact-section { background: linear-gradient(135deg, #060d18 0%, var(--navy) 100%); padding: 72px 0; position: relative; overflow: hidden; }
.contact-section::before { content:''; position:absolute; top:-80px; right:-80px; width:300px; height:300px; background:radial-gradient(circle,rgba(218,42,52,.15) 0%,transparent 65%); }
.contact-section .section-title { color: #fff; }
.contact-form .form-control { background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.12); color: #fff; border-radius: var(--radius-sm); font-size: 14.5px; padding: 12px 16px; height: auto; }
.contact-form .form-control::placeholder { color: rgba(255,255,255,.35); }
.contact-form .form-control:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(218,42,52,.2); background: rgba(255,255,255,.1); }
.contact-form select.form-control option { color: #1a1a2e; background: #fff; }

.site-footer {
  background: #f4f6f9;
  color: #6b7280;
  padding: 56px 0 0;
  border-top: 1px solid #e2e8f0;
}
.footer-heading { color: var(--navy); font-weight: 800; font-size: 13px; margin-bottom: 20px; letter-spacing: .5px; text-transform: uppercase; position: relative; padding-bottom: 12px; }
.footer-heading::after { content:''; position:absolute; bottom:0; left:0; width:28px; height:2px; background:var(--red); border-radius:2px; }
.footer-logo .logo-main { color: var(--navy); font-size: 20px; }
.footer-logo .logo-sub  { color: #9ca3af; }
.footer-logo-img { max-height: 44px; }
.footer-desc { font-size: 13px; color: #6b7280; line-height: 1.7; margin-top: 14px; max-width: 280px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a { color: #6b7280; font-size: 13px; transition: var(--transition); font-weight: 500; display: flex; align-items: center; gap: 6px; text-decoration: none; }
.footer-links li a::before { content:'›'; color: var(--red); font-size: 15px; line-height: 1; }
.footer-links li a:hover { color: var(--navy); padding-left: 4px; }
.footer-contacts p { margin-bottom: 12px; font-size: 13px; display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; color: #374151; }
.footer-contacts a { color: var(--navy); transition: var(--transition); font-weight: 600; text-decoration: none; }
.footer-contacts a:hover { color: var(--red); }
.footer-contacts .bi { flex-shrink: 0; margin-top: 2px; color: var(--red); }
.footer-hr { border: none; border-top: 1px solid #e2e8f0; margin: 40px 0 0; }
.footer-bottom { background: #e8ecf1; padding: 18px 0; }
.footer-bottom .text-muted { font-size: 12px; color: #9ca3af !important; }
.legal-item { font-size: 11.5px; color: rgba(255,255,255,.28); margin-bottom: 4px; }
.text-red { color: var(--red); }

/* ── SOCIAL LINKS (footer) ───────────────────────────────────────── */
.social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ── FLOATING CONTACT WIDGET ─────────────────────────────────────── */
.float-widget { position: fixed; bottom: 26px; right: 26px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.float-btn { width: 60px; height: 60px; background: linear-gradient(135deg, var(--red), var(--red-dark)); border: none; border-radius: 50%; color: #fff; font-size: 24px; box-shadow: var(--shadow-red); cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float-btn:hover { transform: scale(1.12); }
.float-menu { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; }
.float-menu.open { pointer-events: auto; }
.float-menu-item { display: flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 30px; font-size: 14px; font-weight: 800; color: #fff !important; box-shadow: 0 4px 18px rgba(0,0,0,.22); transition: transform .28s cubic-bezier(.34,1.56,.64,1), opacity .22s; transform: translateY(16px) scale(.86); opacity: 0; pointer-events: none; white-space: nowrap; }
.float-menu-item.show { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.float-menu-item i { font-size: 19px; }
.float-menu-item:hover { filter: brightness(1.1); transform: translateY(0) scale(1.04) !important; }
.float-tg      { background: #229ED9; }
.float-wa-link { background: #25d366; }

/* ── MODAL ───────────────────────────────────────────────────────── */
.modal-content { border-radius: var(--radius-lg); border: none; box-shadow: 0 30px 80px rgba(0,0,0,.22); }
.modal-header  { border-bottom: 1px solid var(--gray-mid); }
.modal-title   { font-weight: 800; color: var(--navy); font-size: 16px; }
.modal-body .form-control { border-radius: var(--radius-sm); border: 1.5px solid var(--gray-mid); font-size: 14.5px; padding: 12px 16px; height: auto; }
.modal-body .form-control:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(218,42,52,.1); }

/* ── FORM RESULT ─────────────────────────────────────────────────── */
.form-result.success { color: #22c55e; font-weight: 700; font-size: 14px; }
.form-result.error   { color: #ef4444; font-weight: 700; font-size: 14px; }

/* ── FORM SUCCESS ANIMATION ─────────────────────────────────────── */
.form-success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px 24px;
  text-align: center;
  animation: fsIn .45s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes fsIn {
  from { opacity: 0; transform: scale(.82) translateY(12px); }
  to   { opacity: 1; transform: scale(1)  translateY(0); }
}
.form-success-check { margin-bottom: 16px; }
.success-svg { width: 72px; height: 72px; display: block; }
.success-circle {
  stroke: #22c55e; stroke-width: 2.2;
  stroke-dasharray: 151; stroke-dashoffset: 151;
  animation: sCircle .55s ease .1s forwards;
}
.success-path {
  stroke: #22c55e; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 38; stroke-dashoffset: 38;
  animation: sCircle .35s ease .6s forwards;
}
@keyframes sCircle { to { stroke-dashoffset: 0; } }
.form-success-title {
  font-size: 19px; font-weight: 800; color: #1a1a2e;
  margin: 0 0 6px;
  animation: fsIn .4s ease .45s both;
}
.form-success-sub {
  font-size: 13px; color: #6b7280;
  margin: 0;
  animation: fsIn .4s ease .6s both;
}

/* ── PRODUCT / ARTICLE PAGE ──────────────────────────────────────── */
.breadcrumb-item a { color: var(--blue-mid); }
.breadcrumb-item.active { color: var(--muted); }
.text-navy { color: var(--navy) !important; }

/* ── DESKTOP NAV ─────────────────────────────────────────────────── */
@media (min-width: 992px) { #mainNav { display: block !important; } }

/* ── MOBILE NAV — полноэкранный оверлей ─────────────────────────── */
@media (max-width: 991px) {
  /* Bootstrap добавляет show/collapsing — переопределяем на fixed overlay */
  #mainNav {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important; left: 0 !important;
    right: 0 !important; bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    background: #13161f !important;
    z-index: 9990 !important;
    overflow-y: auto !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column;
    /* Bootstrap collapse ставит display:none — нужно !important только на show */
  }
  /* Пока не открыто — скрыто через Bootstrap .collapse:not(.show) { display:none } */
  #mainNav:not(.show):not(.collapsing) { display: none !important; }
  /* Анимация: Bootstrap collapsing использует height — отключаем её для overlay */
  #mainNav.collapsing {
    height: 100% !important;
    transition: opacity .22s ease !important;
    opacity: 0;
  }
  #mainNav.show { opacity: 1; }

  /* Содержимое nav-меню — без лишних отступов */
  .nav-menu { flex-direction: column; gap: 0; padding: 0; margin: 0; }
  .nav-menu li { border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-menu li:first-child { border-top: 1px solid rgba(255,255,255,.07); }
  .nav-menu li a {
    font-size: 14.5px; padding: 14px 20px;
    color: rgba(255,255,255,.85);
    border-radius: 0;
    display: flex; align-items: center; justify-content: space-between;
  }
  .nav-menu li a:hover { background: rgba(255,255,255,.05); color: #fff; }
}

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .products-section,.advantages-section,.how-section,.articles-section,
  .reviews-section,.calc-section,.map-section,.requirements-section,
  .terminals-section { padding: 56px 0; }
  .fn-list-grid { gap: 14px; }
  .vr-item { flex: 0 0 calc((100% - 16px) / 2); }
  .calc-card { padding: 44px; }
}

@media (max-width: 991px) {
  .hero-has-bg { min-height: auto; }
  .hero-inner { padding: 64px 0 56px; }
  .nav-menu { flex-direction: column; gap: 2px; }
  .hero-form-card { padding: 26px; margin-top: 10px; }
  .hero-scroll-hint { display: none !important; }
  .gallery-main img { height: 300px; }
  .vr-item { flex: 0 0 calc((100% - 16px) / 2); }
  .calc-card { padding: 36px 28px; }
  .map-embed-wrap { height: 320px; }
  .fn-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); padding: 14px 0; }
  .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 767px) {
  .hero-title { font-size: clamp(24px, 7vw, 36px); }
  .section-title { font-size: clamp(20px, 5.5vw, 28px); }
  .products-section,.advantages-section,.how-section,.articles-section { padding: 44px 0; }
  .product-card__img { height: 220px; }
  .price-new { font-size: 25px; }
  .how-section .row { gap: 12px; }
  .step-card { padding: 20px 16px; }
  .step-num { font-size: 34px; }
  .float-widget { bottom: 16px; right: 16px; }
  .vr-item { flex: 0 0 100%; }
  .vr-nav { width: 36px; height: 36px; font-size: 16px; }
  .fn-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fn-card { padding: 16px 14px; }
  .fn-card__emoji { font-size: 26px; }
  .calc-card { padding: 28px 20px; border-radius: var(--radius-lg); }
  .calc-card::before,.calc-card::after { display: none; }
  .req-cta-card { padding: 28px 22px; }
  .price-new-lg { font-size: 38px; }
  .gallery-main img { height: 250px; }
  .portfolio-item { width: 200px; height: 240px; }
  .portfolio-track { gap: 12px; animation-duration: 80s; }
  .map-info-card { border-radius: var(--radius-md); }
}

@media (max-width: 767px) {
  /* Hero bullets: show only first 2 on tablet/mobile */
  .hero-bullets li:nth-child(n+3) { display: none; }
}

@media (max-width: 575px) {
  /* Logo */
  .logo-img { max-height: 34px !important; }

  /* Hero */
  .hero-has-bg { min-height: 100svh; }
  .hero-inner { padding: 44px 0 32px; }
  .hero-title { font-size: clamp(22px, 7.5vw, 32px); }
  /* Show only first bullet on mobile */
  .hero-bullets li:nth-child(n+2) { display: none; }
  .hero-bullets { margin-top: 12px !important; }
  .hero-form-card { padding: 20px 16px; border-radius: var(--radius-md); }
  .hero-form-card h3 { font-size: 14px; }
  .hero-cta-row .btn-primary-red { width: 100%; justify-content: center; }

  /* Products */
  .product-card__actions { flex-direction: row; flex-wrap: wrap; }
  .product-card__actions .card-order-btn { width: 100%; flex: none; }
  .card-msgs { flex: 1; justify-content: flex-end; }
  .card-msg { width: 38px; height: 38px; }
  .card-msg img { width: 30px; height: 30px; }

  /* Terminals grid */
  .fn-list-grid { grid-template-columns: 1fr; }
  .fn-list-item--pay { grid-column: 1; }
  .term-prev { left: 0; }
  .term-next { right: 0; }

  /* Footer */
  .footer-heading::after { display: none; }

  /* Sections padding */
  .products-section, .advantages-section, .how-section,
  .articles-section, .reviews-section, .calc-section,
  .map-section, .requirements-section, .terminals-section,
  .works-section, .contact-section { padding: 40px 0; }

  /* Stats */
  .stat-num { font-size: 28px; }
}

/* ── PRODUCT INFO BLOCK ──────────────────────────────────────────── */
.prod-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.prod-sku {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.prod-specs-inline {
  font-size: 12px;
  color: var(--muted);
}
.prod-short-desc {
  font-size: 14px;
  color: #374151;
  line-height: 1.65;
  border-left: 3px solid var(--red);
  padding-left: 12px;
  margin: 12px 0;
}
.prod-section {
  margin-bottom: 8px;
}
.prod-section__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 6px;
}
.prod-price-card {
  background: var(--gray-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  border: 1px solid var(--gray-mid);
}
.prod-price-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.price-old-lg {
  font-size: 16px;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 500;
}
.prod-discount-badge {
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: .3px;
}
.price-new-lg {
  font-size: 34px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.1;
}
.price-label-text {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.prod-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.prod-pays {
  display: block;
  margin-top: 4px;
}
.pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--gray-mid);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.pay-chip i {
  font-size: 13px;
  color: var(--red);
}
/* Кнопка заказа на странице товара */
.prod-order-btn {
  font-size: 17px;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 10px;
  letter-spacing: .3px;
}

/* Мессенджеры под ценой */
.prod-msg-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.prod-msg-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 8px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid;
  transition: opacity .18s, transform .15s;
  white-space: nowrap;
}
.prod-msg-link:hover { opacity: .8; transform: translateY(-1px); }
.prod-msg-link img { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
.prod-msg-link--wa  { background: #e8faf0; border-color: #b3efd1; color: #1a7a44; }
.prod-msg-link--tg  { background: #e8f4fd; border-color: #b3d9f7; color: #1a6fa8; }
.prod-msg-link--max { background: #f0ebf8; border-color: #d0b8ef; color: #5a2f8a; }

/* Цена по запросу */
.price-request-lg { font-size: 22px; font-weight: 800; color: var(--navy); }

@media (max-width: 575px) {
  .price-new-lg { font-size: 28px; }
  .prod-price-card { padding: 12px 14px; }
  .prod-actions { flex-direction: column; }
  .prod-actions .btn { width: 100%; justify-content: center; }
  .prod-msg-link { font-size: 12px; gap: 5px; padding: 8px 6px; }
  .prod-msg-link img { width: 18px; height: 18px; }
}

/* ── ВИДЕО: CLICK-TO-PLAY POSTER ────────────────────────────────── */
.vid-lazy {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: #000;
}
.vid-lazy .vid-poster-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s, opacity .35s;
}
.vid-lazy:hover .vid-poster-img { transform: scale(1.04); opacity: .85; }
.vid-poster-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0b1220 0%, #1e2d45 100%);
  color: rgba(255,255,255,.25);
  font-size: 52px;
}
.vid-play-btn {
  position: absolute;
  inset: 0; margin: auto;
  width: 64px; height: 64px;
  border-radius: 50%;
  /* White circle with subtle glass effect */
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  color: var(--red);
  font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.35), 0 0 0 6px rgba(255,255,255,.18);
  transition: transform .22s, box-shadow .22s, background .22s;
  cursor: pointer;
  z-index: 3;
  padding-left: 4px; /* optical center for play icon */
}
.vid-lazy:hover .vid-play-btn {
  transform: scale(1.13);
  background: #fff;
  box-shadow: 0 6px 32px rgba(0,0,0,.45), 0 0 0 8px rgba(255,255,255,.22);
}
.vid-lazy.playing .vid-play-btn,
.vid-lazy.playing .vid-poster-img,
.vid-lazy.playing .vid-poster-placeholder { display: none; }

/* ── ШОРТСЫ (вертикальные видео 9:16) ───────────────────────────── */
.shorts-wrap {
  position: relative; /* arrows are absolute inside */
}
.shorts-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0 8px;
}
.shorts-scroll::-webkit-scrollbar { display: none; }
.short-item {
  flex-shrink: 0;
  width: 200px;
  aspect-ratio: 9/16;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-md);
}
/* Arrows: absolute, vertically centred, overlaid on the scroll area */
.shorts-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--text);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,.22);
  padding: 0;
  z-index: 10;
}
.shorts-prev { left: 6px; }
.shorts-next { right: 6px; }
.shorts-nav:hover { background: #fff; color: var(--red); box-shadow: 0 4px 16px rgba(0,0,0,.3); }

/* ── ГОРИЗОНТАЛЬНЫЕ ВИДЕО 16:9 ───────────────────────────────────── */
.horiz-videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.horiz-video-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/9;
}
@media (max-width: 767px) {
  .horiz-videos-grid { grid-template-columns: 1fr; }
  .short-item { width: 160px; }
}

/* ── БАЗОВАЯ КОМПЛЕКТАЦИЯ ────────────────────────────────────────── */
.kompl-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.kompl-card {
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.kompl-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.kompl-card-img {
  background: var(--gray-light);
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.kompl-card-img img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 8px;
}
.kp-no {
  display: none;
  width: 100%; height: 100%;
  align-items: center; justify-content: center;
  color: #cbd5e1; font-size: 28px;
  background: var(--gray-light);
}
.kompl-card-body {
  padding: 10px 10px 12px;
}
.kompl-name {
  font-size: 13px; font-weight: 700; color: var(--text);
  line-height: 1.3; margin-bottom: 3px;
}
.kompl-sub {
  font-size: 11px; color: var(--muted); margin-bottom: 10px;
}
.kompl-qty-wrap {
  display: flex; align-items: center; gap: 6px;
}
.kompl-qty-label {
  font-size: 10px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .5px;
}
.kompl-qty {
  width: 54px; border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-sm); padding: 3px 6px;
  font-size: 13px; font-weight: 700; color: var(--text);
  text-align: center;
}
.kompl-qty:focus { outline: none; border-color: var(--red); }
.kompl-unit {
  font-size: 11px; color: var(--muted); font-weight: 600;
}
@media (max-width: 1199px) { .kompl-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px)  { .kompl-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px)  { .kompl-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ── ДОСТУПНЫЕ ОПЦИИ ─────────────────────────────────────────────── */
.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--gray-mid);
}
.options-list {
  list-style: none;
  padding: 0; margin: 0;
}
.options-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
  line-height: 1.45;
}
.options-list li:last-child { border-bottom: none; }
.options-list li i {
  color: var(--red);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}
@media (max-width: 991px)  { .options-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .options-grid { grid-template-columns: 1fr; padding: 18px 16px; } }

/* ── КОНСТРУКЦИЯ РАМЫ ────────────────────────────────────────────── */
.konstrukt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: start;
}
.konstrukt-card {
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--gray-mid);
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.konstrukt-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.konstrukt-header {
  color: #fff;
  padding: 10px 12px;
  position: relative;
}
.konstrukt-num {
  font-size: 8px; opacity: .55; font-weight: 700;
  letter-spacing: .7px; text-transform: uppercase;
}
.konstrukt-title {
  font-size: 14px; font-weight: 800; margin-top: 2px;
}
.konstrukt-badge {
  position: absolute; top: 10px; right: 10px;
  color: #fff; border-radius: 5px; padding: 2px 8px;
  font-size: 8px; font-weight: 700;
}
.konstrukt-img {
  overflow: hidden; background: #f1f5f9;
  position: relative;
}
.konstrukt-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block;
}
.konstrukt-img .kp-no {
  display: none; width: 100%; height: 100%;
  align-items: center; justify-content: center;
  color: #cbd5e1; font-size: 28px; background: #f8fafc;
}
.konstrukt-body {
  padding: 10px; flex: 1;
  display: flex; flex-direction: column; gap: 7px;
}
.konstrukt-for {
  background: var(--gray-light);
  border-radius: 7px; padding: 7px 9px;
}
.konstrukt-for-label {
  font-size: 8px; font-weight: 800; color: var(--muted);
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px;
}
.konstrukt-for-text {
  font-size: 10px; color: var(--navy); font-weight: 600; line-height: 1.35;
}
.konstrukt-tasks {
  background: #eff6ff; border-radius: 7px; padding: 7px 9px;
  border: 1px solid #bfdbfe;
}
.konstrukt-tasks-label {
  font-size: 8px; font-weight: 800; color: #1d4ed8;
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px;
}
.konstrukt-tasks-text {
  font-size: 10px; color: #1e40af; line-height: 1.35;
}
.konstrukt-pros-label {
  font-size: 9.5px; font-weight: 800; color: #166534; margin-bottom: 5px;
}
.konstrukt-pros li {
  list-style: none;
  display: flex; gap: 5px; align-items: flex-start;
  margin-bottom: 4px;
}
.konstrukt-pros li i { color: #16a34a; font-size: 10px; margin-top: 2px; flex-shrink: 0; }
.konstrukt-pros li span { font-size: 10px; color: #166534; line-height: 1.35; }
.konstrukt-cons {
  background: #fefce8; border-radius: 7px; padding: 7px 9px;
  border: 1px solid #fde68a; margin-top: auto;
}
.konstrukt-cons-label {
  font-size: 9.5px; font-weight: 800; color: #92400e; margin-bottom: 4px;
}
.konstrukt-cons-item {
  display: flex; gap: 5px; align-items: flex-start;
}
.konstrukt-cons-item i { color: #d97706; font-size: 10px; margin-top: 2px; flex-shrink: 0; }
.konstrukt-cons-item span { font-size: 10px; color: #78350f; line-height: 1.35; }
.konstrukt-upgrade-note {
  background: #faf5ff; border: 1.5px dashed #a78bfa;
  border-radius: var(--radius-md); padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: #5b21b6;
  margin-top: 16px;
}
.konstrukt-upgrade-note i { font-size: 20px; color: #7c3aed; flex-shrink: 0; }
@media (max-width: 1199px) { .konstrukt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .konstrukt-grid { grid-template-columns: 1fr; } }
