/* ================================================================
   СТАНЭКСПЕРТ — стили страниц (дополнение к styles.css)
   Блоки: hero, segments, why-us, ticker, quiz, catalog, cases, video, cta
   ================================================================ */

/* ── HEADER scrolled — стили в styles.css ─────────────────────── */

/* ================================================================
   HERO CAROUSEL
   ================================================================ */
.hero {
  position: relative;
  min-height: clamp(480px, 70vh, 720px);
  overflow: hidden;
  color: #fff;
}
/* Обёртка слайдов */
.hero-slides {
  position: relative;
  height: 100%;
  min-height: inherit;
}
/* Каждый слайд — абсолютный, скрытый по умолчанию */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity .7s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  min-height: inherit;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,rgba(0,31,69,.88) 0%,rgba(0,31,69,.72) 50%,rgba(0,77,118,.60) 100%);
}
.hero-overlay--teal {
  background: linear-gradient(135deg,rgba(0,55,90,.90) 0%,rgba(0,90,120,.75) 50%,rgba(0,110,140,.60) 100%);
}
.hero-overlay--dark {
  background: linear-gradient(135deg,rgba(10,20,60,.92) 0%,rgba(20,40,80,.80) 50%,rgba(40,60,100,.65) 100%);
}
.hero-slide .container { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 100px; }

.hero-content { max-width: 820px; }

.hero-badge {
  display: inline-block;
  background: var(--clr-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-badge--red { background: var(--clr-accent); }
.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.08;
  margin-bottom: 20px;
  color: #fff;
}
.hero-subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,.78);
  line-height: 1.65;
  margin-bottom: 36px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Точки-навигаторы ────────────────────────────────────── */
.hero-dots {
  position: absolute;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: background .3s, transform .3s;
  padding: 0;
}
.hero-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ── Стрелки ────────────────────────────────────────────── */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.3);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background .25s;
}
.hero-arrow:hover { background: rgba(255,255,255,.28); }
.hero-arrow--prev { left: 24px; }
.hero-arrow--next { right: 24px; }

/* ── Статистика (нижняя полоса) ──────────────────────────── */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,20,50,.55);
  backdrop-filter: blur(8px);
  z-index: 5;
  padding: 16px 0;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-stat strong {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stat span {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.2);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroScrollBounce 2s ease-in-out infinite;
  z-index: 6;
}
@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ================================================================
   ADVANTAGES STRIP — компактная горизонтальная полоска
   ================================================================ */
.adv-strip {
  background: #fff;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: 22px 0;
}
.adv-strip-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.adv-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  justify-content: center;
  padding: 0 24px;
}
.adv-strip-sep {
  width: 1px;
  height: 40px;
  background: var(--clr-border);
  flex-shrink: 0;
}
.adv-strip-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.adv-strip-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.adv-strip-text strong {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 15px;
  color: var(--clr-dark);
  line-height: 1.2;
}
.adv-strip-text span {
  font-size: 13px;
  color: var(--clr-text-muted);
  line-height: 1.3;
}
@media (max-width: 768px) {
  .adv-strip-grid {
    flex-direction: column;
    gap: 16px;
  }
  .adv-strip-sep {
    width: 80%;
    height: 1px;
  }
  .adv-strip-item {
    padding: 0;
    justify-content: flex-start;
    width: 100%;
  }
}

/* ================================================================
   POPULAR CATEGORIES — карточки разделов
   ================================================================ */
.pop-cat { background: var(--clr-bg); }
.pop-cat-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}
.pop-cat-header h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 0;
  border: none;
  padding: 0;
}
.pop-cat-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #004D76;
  transition: color var(--transition);
}
.pop-cat-all:hover { color: var(--clr-accent); }
.pop-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pop-cat-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--clr-border);
  text-decoration: none;
  transition: box-shadow .3s ease, transform .3s ease;
}
.pop-cat-card:hover {
  box-shadow: 0 8px 28px rgba(0,31,69,.1);
  transform: translateY(-4px);
}
.pop-cat-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #F0F4F8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pop-cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.pop-cat-card:hover .pop-cat-card-img img { transform: scale(1.05); }
.pop-cat-placeholder {
  width: 60px;
  height: 60px;
}
.pop-cat-card-title {
  padding: 16px 20px;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 15px;
  color: var(--clr-dark);
  text-align: center;
}
@media (max-width: 768px) {
  .pop-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .pop-cat-header { flex-direction: column; gap: 8px; }
}
@media (max-width: 480px) {
  .pop-cat-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   SEGMENTS
   ================================================================ */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.segment-card {
  background: #fff;
  border: 1.5px solid var(--clr-border);
  border-radius: 12px;
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.segment-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--clr-btn-select);
  transition: height var(--transition);
}
.segment-card--accent::before { background: var(--clr-btn-offer); }
.segment-card:hover, .segment-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.segment-card:hover::before, .segment-card:focus-within::before { height: 4px; }

.segment-icon { margin-bottom: 20px; }
.segment-badge {
  display: inline-block;
  background: rgba(255,45,45,.1);
  color: var(--clr-accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.segment-badge--green {
  background: rgba(34,197,94,.12);
  color: #15803d;
}
.segment-badge--spacer {
  visibility: hidden;
}
.segment-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--clr-heading);
  margin-bottom: 12px;
  letter-spacing: .5px;
  min-height: 52px;
}
.segment-text {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.segment-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  flex-grow: 1;
}
.segment-card > .btn {
  align-self: flex-start;
}
.segment-list li {
  font-size: 13px;
  color: var(--clr-text);
  padding-left: 18px;
  position: relative;
}
.segment-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--clr-btn-select);
  font-weight: 700;
}

/* ================================================================
   WHY-US
   ================================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.why-card {
  background: #fff;
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.why-num {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 800;
  color: var(--clr-btn-select);
  line-height: 1;
  margin-bottom: 12px;
}
.why-icon { margin-bottom: 16px; display: flex; justify-content: center; }
.why-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--clr-heading);
  margin-bottom: 12px;
}
.why-card p { font-size: 14px; color: var(--clr-text-muted); line-height: 1.65; }

/* ================================================================
   TICKER (бегущая строка партнёров)
   ================================================================ */
.ticker-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: tickerScroll 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item { flex-shrink: 0; display: flex; align-items: center; }
.partner-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border: 1.5px solid var(--clr-border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
  background: #fff;
  transition: all var(--transition);
}
.partner-logo-placeholder:hover {
  border-color: var(--clr-btn-select);
  color: var(--clr-btn-select);
}
.partner-logo {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: filter var(--transition);
}
.ticker-item:hover .partner-logo {
  filter: grayscale(0%) opacity(1);
}

/* ================================================================
   QUIZ
   ================================================================ */
.quiz {
  max-width: 680px;
  margin: 0 auto;
}
.quiz-progress-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}
.quiz-progress-bg {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,.15);
  border-radius: 3px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: var(--clr-accent);
  border-radius: 3px;
  transition: width .4s ease;
}
.quiz-step-counter {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
  font-weight: 600;
}
.quiz-step { display: none; animation: fadeSlide .35s ease; }
.quiz-step.active { display: block; }
@keyframes fadeSlide { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:none; } }
.quiz-step-title {
  font-family: var(--font-head);
  font-size: 22px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 24px;
}
.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 12px;
  cursor: pointer;
  color: rgba(255,255,255,.85);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  transition: all .2s ease;
  font-family: var(--font-body);
}
.quiz-option:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.4);
  color: #fff;
  transform: translateY(-2px);
}
.quiz-option.selected {
  background: var(--clr-btn-select);
  border-color: var(--clr-btn-select);
  color: #fff;
}
.quiz-option-icon { font-size: 20px; flex-shrink: 0; }
.quiz-result-title {
  font-family: var(--font-head);
  font-size: 20px;
  color: #fff;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.quiz-models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.quiz-model-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .3s;
}
.quiz-model-card:hover { border-color: rgba(255,255,255,.35); }
.quiz-model-img { width: 100%; aspect-ratio: 16/10; overflow: hidden; background: rgba(255,255,255,.05); }
.quiz-model-img img { width: 100%; height: 100%; object-fit: cover; }
.quiz-model-img-placeholder { width: 100%; height: 100%; background: rgba(255,255,255,.05); }
.quiz-model-info { padding: 16px 20px 20px; display: flex; flex-direction: column; flex-grow: 1; }
.quiz-model-info h3 {
  font-family: var(--font-head);
  color: #fff;
  margin-bottom: 8px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .3px;
  line-height: 1.3;
}
.quiz-model-info p { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 14px; line-height: 1.5; flex-grow: 1; }
.quiz-model-btns { display: flex; gap: 8px; flex-wrap: wrap; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ================================================================
   CATALOG PREVIEW
   ================================================================ */
.catalog-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
/* old product-card styles removed — see unified block below (.product-card at ~1153) */
.product-name {
  font-family: var(--font-head);
  font-size: 16px;
  text-transform: uppercase;
  color: var(--clr-dark);
  margin-bottom: 12px;
  letter-spacing: .3px;
}
.product-props { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.product-prop { display: flex; gap: 8px; font-size: 13px; }
.product-prop span { color: var(--clr-text-muted); }
.product-prop strong { color: var(--clr-text); }
.product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-btn-select);
  margin-bottom: 16px;
}
.product-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.catalog-preview-footer { text-align: center; }

/* ================================================================
   CASES
   ================================================================ */
.slider-wrap { position: relative; }
.slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 8px;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.slider-track.is-dragging * {
  pointer-events: none;
}
.case-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.case-card-img {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--clr-bg-grey);
  overflow: hidden;
}
.case-card-img img,
.case-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8edf2 0%, #d1d9e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-img-placeholder::after {
  content: '';
  width: 48px;
  height: 48px;
  background: rgba(1,77,118,.12);
  border-radius: 50%;
}
.case-tags {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
}
.case-tag {
  background: var(--clr-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 4px 10px;
  border-radius: 20px;
}
.case-card-body { padding: 20px; }
.case-card-body h3 {
  font-family: var(--font-head);
  font-size: 16px;
  text-transform: uppercase;
  color: var(--clr-dark);
  margin-bottom: 8px;
  letter-spacing: .3px;
  line-height: 1.3;
}
.case-card-body p { font-size: 13px; color: var(--clr-text-muted); line-height: 1.6; margin-bottom: 14px; }
.case-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-btn-select);
  transition: color var(--transition);
}
.case-link:hover { color: var(--clr-accent); }

.slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.slider-prev, .slider-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--clr-border);
  background: #fff;
  cursor: pointer;
  color: var(--clr-dark);
  transition: all var(--transition);
}
.slider-prev:hover, .slider-next:hover {
  background: var(--clr-btn-select);
  border-color: var(--clr-btn-select);
  color: #fff;
}
.cases-footer { text-align: center; margin-top: 36px; }

/* ================================================================
   VIDEO
   ================================================================ */
.video-track .video-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--clr-dark);
  margin-bottom: 12px;
}
.video-thumb-img { width: 100%; height: 100%; object-fit: cover; }
.video-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #001F45 0%, #003A5A 100%);
}
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform var(--transition);
}
.video-play-btn:hover { transform: scale(1.1); }
.video-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.4;
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(28px, 4vw, 44px);
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: .5px;
}
.cta-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  margin-bottom: 36px;
}
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.cta-note {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  letter-spacing: .3px;
}

/* ================================================================
   RESPONSIVE АДАПТИВНОСТЬ (страничные блоки)
   ================================================================ */
@media (max-width: 1100px) {
  .segments-grid { grid-template-columns: 1fr 1fr; }
  .catalog-placeholder-grid { grid-template-columns: 1fr 1fr; }
  .quiz-options { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero { min-height: 100svh; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .segments-grid { grid-template-columns: 1fr; }
  .segment-title { min-height: auto; }
  .segment-badge--spacer { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .catalog-placeholder-grid { grid-template-columns: 1fr 1fr; }
  .case-card { flex: 0 0 280px; }
  .video-card { flex: 0 0 260px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 360px; }
  .quiz-options { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .hero-stat strong { font-size: 22px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .catalog-placeholder-grid { grid-template-columns: 1fr; }
  .segment-card { padding: 24px 20px; }
  .why-card { padding: 24px 20px; }
}

/* ================================================================
   КАТАЛОГ — разделы, сетка товаров, детальная страница
   ================================================================ */

/* ── Breadcrumb ───────────────────────────────────────────────── */
.catalog-breadcrumb-bar {
  background: #F0F4F8;
  border-bottom: 1px solid #E8E8E8;
  padding: 12px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: #888;
}
.breadcrumb a {
  color: #888;
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb a:hover { color: #004D76; }
.breadcrumb-sep { display: flex; align-items: center; color: #CCC; }
.breadcrumb span:last-child { color: #333; }

/* ── Catalog Hero (главная каталога) ─────────────────────────── */
.catalog-hero {
  background: #001F45;
  color: #fff;
  padding: 60px 0 52px;
  text-align: center;
}
.catalog-hero-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 52px);
  margin: 0 0 16px;
  letter-spacing: -.02em;
}
.catalog-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,.65);
  margin: 0;
  line-height: 1.6;
}

/* ── Section cards (sections.php) ────────────────────────────── */
.catalog-sections {
  padding: 64px 0;
  background: #fff;
}
.catalog-sections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.catalog-section-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid #E8E8E8;
  border-radius: 16px;
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  cursor: pointer;
}
.catalog-section-card:hover {
  border-color: #004D76;
  box-shadow: 0 12px 48px rgba(1,77,118,.12);
  transform: translateY(-4px);
}
.catalog-section-card--primary {
  border-color: #004D76;
  background: linear-gradient(135deg, #f5faff 0%, #fff 100%);
}
.catalog-section-card-icon {
  margin-bottom: 20px;
}
.catalog-section-card-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 22px;
  color: #001F45;
  margin: 0 0 12px;
}
.catalog-section-card-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  flex: 1;
  margin: 0 0 24px;
}
.catalog-section-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  border-top: 1px solid #EEE;
  padding-top: 16px;
  margin-top: auto;
}
.catalog-section-count {
  color: #888;
  background: #F0F4F8;
  padding: 4px 10px;
  border-radius: 20px;
}
.catalog-section-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #004D76;
  font-weight: 600;
}

/* ── Catalog sections CTA ────────────────────────────────────── */
.catalog-sections-cta {
  background: #F0F4F8;
  padding: 40px 0;
}
.catalog-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.catalog-cta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.catalog-cta-text strong {
  font-size: 18px;
  color: #001F45;
}
.catalog-cta-text span {
  font-size: 15px;
  color: #666;
}
.catalog-cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ── Section header (раздел) ─────────────────────────────────── */
.catalog-section-header {
  padding: 48px 0 32px;
  background: #fff;
  border-bottom: 1px solid #F0F0F0;
}
.catalog-section-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  color: #001F45;
  margin: 0 0 12px;
}
.catalog-section-desc {
  font-size: 16px;
  color: #666;
  max-width: 680px;
  margin: 0;
}

/* ── Komplektuyushchie banner ────────────────────────────────── */
.komplekt-banner {
  background: #001F45;
  padding: 20px 0;
}
.komplekt-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.komplekt-banner-text {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-size: 15px;
}
.komplekt-banner-text strong { color: #fff; }
.komplekt-banner-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ── Product Grid ─────────────────────────────────────────────── */
.catalog-product-section {
  padding: 32px 0 80px;
  background: #F5F6F8;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
/* ── Product card — Behance Auto Tool style ── */
.product-card {
  background: #fff;
  border: 1px solid #E8EAED;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .22s, transform .22s, border-color .22s;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
  transform: translateY(-3px);
  border-color: #C8D0DC;
}
.product-card-img-wrap {
  position: relative;
  display: block;
  background: #F5F7FA;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-bottom: 1px solid #F0F2F5;
}
.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform .32s;
}
.product-card:hover .product-card-img { transform: scale(1.05); }
.product-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F5F7FA;
}
/* Бейдж наличия */
.product-card-avail {
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}
.product-card-avail span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.product-card-avail--yes { color: #16A34A; }
.product-card-avail--yes span { background: #16A34A; }
.product-card-avail--order { color: #DC7B2E; }
.product-card-avail--order span { background: #DC7B2E; }
/* Бейдж наплавки */
.product-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #001F45;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.product-card-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card-name {
  font-weight: 600;
  font-size: 14px;
  color: #111827;
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 4px;
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-name:hover { color: #004D76; }
.product-card-article {
  font-size: 11px;
  color: #9CA3AF;
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.product-card-desc {
  font-size: 12px;
  color: #6B7280;
  line-height: 1.5;
  margin: 0 0 8px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6B7280;
  margin-bottom: 10px;
}
.product-card-price-row {
  margin-bottom: 12px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #F3F4F6;
}
.product-card-price {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  font-family: var(--font-body);
  line-height: 1.2;
}
.product-card-price small {
  font-size: 11px;
  font-weight: 400;
  color: #9CA3AF;
}
.product-card-price--request {
  font-size: 14px;
  color: #9CA3AF;
  font-weight: 500;
}
.product-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.product-card-actions .btn-sm {
  flex: 1;
  justify-content: center;
  font-size: 13px;
  padding: 10px 14px;
}
.product-card-actions .btn-full {
  width: 100%;
  text-align: center;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 20px;
}
/* Кнопка "Подробнее" — outline на светлом фоне */
.btn-outline-card {
  background: transparent;
  color: #004D76;
  border: 1.5px solid #004D76;
  border-radius: var(--radius);
}
.btn-outline-card:hover {
  background: #004D76;
  color: #fff;
}

/* ── Catalog empty ────────────────────────────────────────────── */
.catalog-empty {
  text-align: center;
  padding: 80px 20px;
  color: #999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.catalog-empty p { font-size: 18px; margin: 0; }

/* ── Pager ────────────────────────────────────────────────────── */
.catalog-pager {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
.catalog-pager .nums {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.catalog-pager .nums li a,
.catalog-pager .nums li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid #E0E0E0;
  color: #333;
  text-decoration: none;
  transition: all .2s;
}
.catalog-pager .nums li.selected span,
.catalog-pager .nums li a:hover {
  background: #004D76;
  border-color: #004D76;
  color: #fff;
}

/* ================================================================
   ДЕТАЛЬНАЯ СТРАНИЦА ТОВАРА (pd = product detail)
   ================================================================ */
.pd { padding: 32px 0 48px; background: #fff; }

/* ── Верхний блок: 2 колонки ─────────────────────────────────── */
.pd-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ── Галерея: миниатюры слева + фото справа ──────────────────── */
.pd-gallery {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
}
.pd-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 480px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.pd-thumb {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border: 2px solid #E8E8E8;
  border-radius: 8px;
  padding: 4px;
  cursor: pointer;
  background: #FAFAFA;
  transition: border-color .2s;
  flex-shrink: 0;
}
.pd-thumb.active,
.pd-thumb:hover { border-color: #014D76; }

.pd-photo {
  position: relative;
  background: #F8F8F8;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}
.pd-photo-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F0F4F8;
}
/* стрелки на фото */
.pd-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  border: 1px solid #E0E0E0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
  z-index: 2;
}
.pd-arrow:hover { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.pd-arrow--prev { left: 10px; }
.pd-arrow--next { right: 10px; }
/* бейдж */
.pd-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #014D76;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

/* ── Без миниатюр (1 фото) ──────────────────────────────────── */
.pd-gallery:not(:has(.pd-thumbs)) {
  grid-template-columns: 1fr;
}

/* ── Правая колонка: инфо ────────────────────────────────────── */
.pd-info { padding-top: 4px; }
.pd-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(20px, 2.5vw, 28px);
  color: #001F45;
  margin: 0 0 12px;
  line-height: 1.2;
}

/* наличие */
.pd-avail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.pd-avail--yes { background: #E8F5E9; color: #2E7D32; }
.pd-avail--req { background: #FFF3E0; color: #E65100; }

/* мета: бренд, артикул */
.pd-meta { margin-bottom: 16px; }
.pd-meta-row {
  display: flex;
  gap: 8px;
  font-size: 14px;
  line-height: 1.8;
}
.pd-meta-label { color: #999; }
.pd-meta-value { color: #333; font-weight: 500; }

/* цена */
.pd-price-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
}
.pd-price {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 32px;
  color: #001F45;
  line-height: 1;
}
.pd-price-vat { font-size: 14px; color: #999; }
.pd-price--req { font-size: 22px; color: #777; font-weight: 700; }

/* кнопки: кол-во + заказать + конверт */
.pd-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.pd-qty {
  display: flex;
  align-items: center;
  border: 1px solid #DDD;
  border-radius: 8px;
  overflow: hidden;
  height: 44px;
}
.pd-qty-btn {
  width: 36px;
  height: 44px;
  border: none;
  background: #F5F5F5;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  color: #333;
}
.pd-qty-btn:hover { background: #E8E8E8; }
.pd-qty-input {
  width: 44px;
  height: 44px;
  border: none;
  border-left: 1px solid #DDD;
  border-right: 1px solid #DDD;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  -moz-appearance: textfield;
  background: #fff;
}
.pd-qty-input::-webkit-inner-spin-button,
.pd-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.pd-btn-buy {
  flex: 1;
  height: 44px;
  border: none;
  border-radius: 8px;
  background: #014D76;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s;
}
.pd-btn-buy:hover { background: #013B5C; }
.pd-btn-buy--wide { max-width: 280px; }
.pd-btn-offer {
  width: 44px;
  height: 44px;
  border: 1px solid #DDD;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all .2s;
  flex-shrink: 0;
}
.pd-btn-offer:hover { border-color: #014D76; color: #014D76; }

/* ── Инфоблоки: доставка / оплата / гарантия ─────────────────── */
.pd-info-blocks {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #E8E8E8;
  border-radius: 12px;
  overflow: hidden;
}
.pd-info-block {
  padding: 16px 20px;
  border-bottom: 1px solid #E8E8E8;
}
.pd-info-block:last-child { border-bottom: none; }
.pd-info-block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  color: #001F45;
  margin-bottom: 8px;
}
.pd-info-block-body {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  padding-left: 28px;
}
.pd-info-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 4px;
}
.pd-info-row svg { flex-shrink: 0; margin-top: 2px; }

/* ── Табы: описание / характеристики / комплектация ──────────── */
.pd-tabs-wrap {
  margin-top: 48px;
  border-top: 1px solid #E8E8E8;
  padding-top: 0;
}
.pd-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #E8E8E8;
}
.pd-tab {
  padding: 16px 28px;
  border: none;
  background: none;
  font-size: 15px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  position: relative;
  transition: color .2s;
}
.pd-tab:hover { color: #014D76; }
.pd-tab.active {
  color: #014D76;
}
.pd-tab.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: #014D76;
}
.pd-tab-content {
  display: none;
  padding: 28px 0;
}
.pd-tab-content.active { display: block; }

.pd-description {
  font-size: 15px;
  color: #444;
  line-height: 1.75;
}
.pd-description ul, .pd-description ol { padding-left: 20px; }
.pd-description li { margin-bottom: 6px; }

/* таблица характеристик */
.pd-chars-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 700px;
}
.pd-chars-table tr { border-bottom: 1px solid #F0F0F0; }
.pd-chars-table tr:last-child { border-bottom: none; }
.pd-chars-table td {
  padding: 12px 0;
  font-size: 14px;
  vertical-align: top;
}
.pd-chars-table td:first-child {
  color: #888;
  width: 45%;
  padding-right: 20px;
}
.pd-chars-table td:last-child {
  color: #001F45;
  font-weight: 500;
}
/* зебра */
.pd-chars-table tr:nth-child(even) { background: #FAFAFA; }
.pd-chars-table tr:nth-child(even) td { padding-left: 8px; padding-right: 8px; }

/* комплектация */
.pd-kit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 40px;
}
.pd-kit-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 10px;
  break-inside: avoid;
}
.pd-kit-list li svg { flex-shrink: 0; margin-top: 2px; }

/* ── Адаптив ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pd-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pd-gallery {
    grid-template-columns: 1fr;
  }
  .pd-thumbs {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    order: 2;
  }
  .pd-photo { order: 1; aspect-ratio: 4/3; }
  .pd-kit-list { columns: 1; }
  .pd-tab { padding: 14px 18px; font-size: 14px; }
}

/* ── Section title medium ─────────────────────────────────────── */
.section-title-medium {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(24px, 3.5vw, 36px);
  color: #001F45;
  margin: 0 0 32px;
}

/* ── Video section ────────────────────────────────────────────── */
.product-video-section {
  background: #001F45;
  padding: 64px 0;
}
.product-video-section .section-title-medium { color: #fff; }
.product-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.product-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ── Base kit ─────────────────────────────────────────────────── */
.product-basekit-section {
  padding: 64px 0;
  background: #F0F4F8;
}
.product-basekit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-basekit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-basekit-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}
.product-basekit-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.product-basekit-cta-inner {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  border: 2px solid #004D76;
}
.product-basekit-cta-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 22px;
  color: #001F45;
  margin-bottom: 12px;
}
.product-basekit-cta-text {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ── Gallery ──────────────────────────────────────────────────── */
.product-gallery-section {
  padding: 64px 0;
  background: #fff;
}
.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.product-gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #F0F4F8;
}
.product-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.product-gallery-item:hover img { transform: scale(1.06); }
.product-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,31,69,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s;
}
.product-gallery-item:hover .product-gallery-overlay { opacity: 1; }

/* ── Lightbox ─────────────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  opacity: .7;
  transition: opacity .2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: .7;
  transition: all .2s;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; background: rgba(255,255,255,.2); }

/* ── Accessories slider ───────────────────────────────────────── */
.product-accessories-section {
  padding: 64px 0;
  background: #F0F4F8;
}
.accessories-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}
.accessories-slider::-webkit-scrollbar { display: none; }
.accessories-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid #E8E8E8;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s;
}
.accessories-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.09); }
.accessories-card-img-wrap {
  display: block;
  aspect-ratio: 4/3;
  background: #F8F8F8;
  overflow: hidden;
}
.accessories-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform .3s;
}
.accessories-card:hover .accessories-card-img-wrap img { transform: scale(1.05); }
.accessories-card-img-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}
.accessories-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.accessories-card-name {
  font-weight: 700;
  font-size: 15px;
  color: #001F45;
  text-decoration: none;
  margin-bottom: 8px;
  display: block;
  line-height: 1.35;
}
.accessories-card-name:hover { color: #004D76; }
.accessories-card-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
  flex: 1;
  margin: 0 0 12px;
}
.accessories-card-btn {
  margin-top: auto;
  text-align: center;
}
.accessories-slider-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #D0D0D0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #555;
  transition: all .2s;
}
.slider-arrow:hover {
  border-color: #004D76;
  color: #004D76;
  background: #f5faff;
}

/* ── Product bottom CTA ───────────────────────────────────────── */
.product-bottom-cta {
  background: #001F45;
  padding: 64px 0;
}
.product-bottom-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.product-bottom-cta-text h2 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 32px;
  color: #fff;
  margin: 0 0 8px;
}
.product-bottom-cta-text p {
  color: rgba(255,255,255,.65);
  font-size: 16px;
  margin: 0;
  max-width: 480px;
}
.product-bottom-cta-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ================================================================
   RESPONSIVE — КАТАЛОГ
   ================================================================ */
@media (max-width: 1024px) {
  .catalog-sections-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-layout { grid-template-columns: 1fr; gap: 40px; }
  .product-gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .product-basekit-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .catalog-sections-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .catalog-cta-inner { flex-direction: column; align-items: flex-start; }
  .komplekt-banner-inner { flex-direction: column; }
  .product-detail-layout { gap: 28px; }
  .product-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .product-bottom-cta-inner { flex-direction: column; align-items: flex-start; }
  .product-detail-btns .btn-lg { font-size: 15px; }
  .specs-table td:first-child { width: 50%; }
}
@media (max-width: 480px) {
  .product-gallery-grid { grid-template-columns: 1fr 1fr; }
  .product-detail-price { font-size: 26px; }
  .catalog-hero-sub { font-size: 15px; }
  .accessories-card { flex: 0 0 240px; }
}

/* ── Section card subsections list ───────────────────────────── */
.catalog-section-subs {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.catalog-section-subs li {
  font-size: 13px;
  color: #777;
  padding: 2px 0;
}
.catalog-section-subs li span {
  color: #aaa;
  font-size: 12px;
}
.catalog-section-subs li.more {
  color: #004D76;
  font-weight: 600;
}

/* ── Subsections chips row ───────────────────────────────────── */
.catalog-subsections {
  padding: 16px 0;
  background: #fff;
}
.subsections-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.subsection-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F0F4F8;
  border: 1.5px solid #E0E0E0;
  border-radius: 24px;
  padding: 8px 18px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all .2s;
}
.subsection-chip:hover {
  border-color: #004D76;
  color: #004D76;
  background: #f0f7fc;
}
.subsection-chip-count {
  background: #E0E0E0;
  color: #666;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  min-width: 20px;
  text-align: center;
}

/* ── Section header badge ────────────────────────────────────── */
.catalog-section-badge {
  display: inline-block;
  background: #F0F0F0;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 20px;
  margin-left: 12px;
  vertical-align: middle;
}

/* ── Toolbar (count + sort) ──────────────────────────────────── */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #F0F0F0;
}
.catalog-count {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #888;
}

/* ── Accessories card price ──────────────────────────────────── */
.accessories-card-price {
  font-weight: 700;
  font-size: 16px;
  color: #001F45;
  margin-bottom: 10px;
  font-family: var(--font-body);
}

/* ══════════════════════════════════════════════════════════════
   О КОМПАНИИ
   ══════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.about-hero {
  padding: 40px 0 60px;
  background: #fff;
}
.about-hero-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(30px, 4.5vw, 48px);
  color: #111;
  margin-bottom: 20px;
}
.about-hero-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.about-hero-facts li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.5;
  color: #444;
  margin-bottom: 8px;
}
.about-hero-facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FD2827;
}
.about-hero-facts li:last-child {
  margin-bottom: 0;
}
/* Video preview */
.about-hero-video {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}
.about-hero-video-thumb {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}
.about-hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.45) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background .3s;
}
.about-hero-video:hover .about-hero-video-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%);
}
.about-hero-play-btn {
  background: none;
  border: none;
  cursor: pointer;
  transition: transform .2s;
}
.about-hero-video:hover .about-hero-play-btn {
  transform: scale(1.1);
}
.about-hero-play-text {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
@media (max-width: 600px) {
  .about-hero { padding: 28px 0 40px; }
  .about-hero-facts li { font-size: 15px; }
  .about-hero-video-thumb { max-height: 280px; }
}

/* ── Sections base ── */
.about-section {
  padding: 60px 0;
}
.about-section--alt {
  background: #F7F8FA;
}
.about-section-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  color: #001F45;
  margin-bottom: 32px;
  text-align: center;
}
.about-section-more {
  text-align: center;
  margin-top: 36px;
}
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 32px;
  border: 2px solid #001F45;
  border-radius: 8px;
  color: #001F45;
  font-weight: 600;
  font-size: 15px;
  background: transparent;
  cursor: pointer;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.btn-outline-dark:hover {
  background: #001F45;
  color: #fff;
}

/* ── Mission ── */
.about-mission {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}
.about-mission-text p {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 16px;
}

.about-text {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 16px;
}
.about-text--centered {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 40px;
}

/* ── Structure (2 columns) ── */
.about-structure {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 768px) {
  .about-structure { grid-template-columns: 1fr; gap: 24px; }
}
.about-structure-col {
  background: #fff;
  border: 1px solid #E5E8EE;
  border-radius: 16px;
  padding: 32px;
  transition: box-shadow .2s;
}
.about-structure-col:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
}
.about-structure-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #F0F2F5;
}
.about-structure-header h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 19px;
  color: #001F45;
  margin: 0;
}
.about-structure-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-structure-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  font-size: 15px;
  color: #444;
  line-height: 1.5;
  border-bottom: 1px solid #F5F5F5;
}
.about-structure-list li:last-child {
  border-bottom: none;
}
.about-structure-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* ── Timeline ── */
.about-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}
.about-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #004D76;
  opacity: .2;
}
.about-timeline-item {
  position: relative;
  margin-bottom: 36px;
  padding-left: 28px;
}
.about-timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #004D76;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #004D76;
}
.about-timeline-year {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 20px;
  color: #FF2D2D;
  margin-bottom: 4px;
}
.about-timeline-text h3 {
  font-size: 17px;
  font-weight: 700;
  color: #001F45;
  margin-bottom: 6px;
}
.about-timeline-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* ── Certifications ── */
.about-certs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .about-certs-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .about-certs-grid { grid-template-columns: 1fr 1fr; } }

.about-cert-card {
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 12px;
  padding: 28px 16px;
  text-align: center;
  transition: box-shadow .2s;
}
.about-cert-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.about-cert-icon {
  margin-bottom: 12px;
}
.about-cert-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: #001F45;
  margin-bottom: 4px;
}
.about-cert-card p {
  font-size: 13px;
  color: #888;
}

/* ── Photo gallery ── */
.about-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 900px) { .about-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .about-gallery { grid-template-columns: 1fr 1fr; } }

.about-gallery-item {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #F0F2F5;
  cursor: pointer;
  text-decoration: none;
}
.about-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.about-gallery-item:hover img {
  transform: scale(1.05);
}
.about-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  opacity: 0;
  transition: opacity .3s;
}
.about-gallery-item:hover .about-gallery-caption {
  opacity: 1;
}

/* Gallery lightbox */
.about-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.9);
  align-items: center;
  justify-content: center;
}
.about-lightbox.active {
  display: flex;
}
.about-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}
.about-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  opacity: .7;
  transition: opacity .2s;
}
.about-lightbox-close:hover { opacity: 1; }
.about-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.about-lightbox-nav:hover { background: rgba(255,255,255,.3); }
.about-lightbox-prev { left: 20px; }
.about-lightbox-next { right: 20px; }

/* ── Geography ── */
.about-geo {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 768px) {
  .about-geo { grid-template-columns: 1fr; }
}
.about-geo-map {
  min-height: 420px;
}
.about-geo-map iframe {
  display: block;
}
.about-geo-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-geo-stat-card {
  background: #fff;
  border: 1px solid #E5E8EE;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: box-shadow .2s;
}
.about-geo-stat-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.about-geo-stat-num {
  display: block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 28px;
  color: #004D76;
  line-height: 1.1;
  margin-bottom: 4px;
}
.about-geo-stat-txt {
  font-size: 13px;
  color: #666;
}

/* ── Clients ── */
.about-clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .about-clients-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .about-clients-grid { grid-template-columns: 1fr 1fr; } }

.about-client-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #E5E8EE;
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #001F45;
  transition: box-shadow .2s, border-color .2s;
}
.about-client-card:hover {
  border-color: #004D76;
  box-shadow: 0 4px 16px rgba(0,77,118,.08);
}
.about-client-card svg {
  flex-shrink: 0;
}

/* ── Industries ── */
.about-industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.about-industry-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  transition: border-color .2s, box-shadow .2s;
}
.about-industry-tag:hover {
  border-color: #004D76;
  box-shadow: 0 2px 8px rgba(1,77,118,.1);
}

/* ── Cases grid (about page) ── */
.about-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .about-cases-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .about-cases-grid { grid-template-columns: 1fr; } }

.about-case-card {
  display: block;
  background: #fff;
  border: 1px solid #E5E8EE;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.about-case-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.about-case-img {
  position: relative;
  aspect-ratio: 4/3;
  background: #F0F2F5;
  overflow: hidden;
}
.about-case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-case-img-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.about-case-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,31,69,.85);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}
.about-case-body {
  padding: 14px 16px 18px;
}
.about-case-body h3 {
  font-size: 14px;
  font-weight: 600;
  color: #001F45;
  margin: 0 0 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.about-case-loc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #888;
}

/* ── Articles grid (about page) ── */
.about-articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .about-articles-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .about-articles-grid { grid-template-columns: 1fr; } }

.about-article-card {
  display: block;
  background: #fff;
  border: 1px solid #E5E8EE;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.about-article-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.about-article-img {
  position: relative;
  aspect-ratio: 16/10;
  background: #F0F2F5;
  overflow: hidden;
}
.about-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-article-img-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.about-article-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,77,118,.85);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}
.about-article-body {
  padding: 14px 16px 18px;
}
.about-article-body h3 {
  font-size: 14px;
  font-weight: 600;
  color: #001F45;
  margin: 0 0 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.about-article-body p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.about-article-time {
  font-size: 12px;
  color: #999;
}

/* ── CTA ── */
.about-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #001F45 0%, #004D76 100%);
  text-align: center;
  color: #fff;
}
.about-cta-inner h2 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 12px;
}
.about-cta-inner p {
  font-size: 17px;
  opacity: .85;
  margin-bottom: 32px;
}
.about-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════
   КОНТАКТЫ
   ══════════════════════════════════════════════════════════════ */
.contacts-hero {
  padding: 60px 0 40px;
  text-align: center;
}
.contacts-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  color: #001F45;
  margin-bottom: 12px;
}
.contacts-subtitle {
  font-size: 17px;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

.contacts-section {
  padding: 0 0 60px;
}
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) {
  .contacts-grid { grid-template-columns: 1fr; }
}

.contacts-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 520px) {
  .contacts-cards { grid-template-columns: 1fr; }
}

.contacts-card {
  background: #F7F8FA;
  border: 1px solid #E8E8E8;
  border-radius: 12px;
  padding: 24px;
}
.contacts-card-icon {
  margin-bottom: 12px;
}
.contacts-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: #001F45;
  margin-bottom: 10px;
}
.contacts-card-link {
  display: block;
  font-size: 16px;
  color: #004D76;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 2px;
}
.contacts-card-link--primary {
  font-size: 18px;
}
.contacts-card-link:hover {
  color: #FF2D2D;
}
.contacts-card-note {
  font-size: 13px;
  color: #888;
  display: block;
  margin-bottom: 8px;
}
.contacts-card-text {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 4px;
}

.contacts-form-wrap {
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.contacts-form-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 22px;
  color: #001F45;
  margin-bottom: 8px;
}
.contacts-form-desc {
  font-size: 15px;
  color: #666;
  margin-bottom: 24px;
}

/* Мессенджеры */
.contacts-messengers {
  padding: 60px 0;
  background: #F7F8FA;
  text-align: center;
}
.contacts-messengers-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 24px;
  color: #001F45;
  margin-bottom: 32px;
}
.contacts-messengers-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.contacts-messenger-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #001F45;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.contacts-messenger-card:hover {
  border-color: #004D76;
  box-shadow: 0 4px 16px rgba(1,77,118,.12);
  transform: translateY(-2px);
}
.contacts-messenger-card svg {
  color: #004D76;
}

/* Реквизиты */
.contacts-requisites {
  padding: 48px 0;
}
.contacts-requisites-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: #001F45;
  margin-bottom: 24px;
  text-align: center;
}
.contacts-requisites-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}
@media (max-width: 520px) {
  .contacts-requisites-grid { grid-template-columns: 1fr; }
}
.contacts-requisite-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.contacts-requisite-label {
  font-size: 13px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.contacts-requisite-value {
  font-size: 15px;
  color: #333;
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════
   КЕЙСЫ
   ══════════════════════════════════════════════════════════════ */
.cases-hero {
  padding: 60px 0 32px;
  text-align: center;
}
.cases-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  color: #001F45;
  margin-bottom: 12px;
}
.cases-subtitle {
  font-size: 17px;
  color: #555;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

.cases-filters-section { padding: 0 0 32px; }

/* Табы */
.cases-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #eee;
  margin-bottom: 20px;
}
.cases-tab {
  padding: 14px 28px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #888;
  white-space: nowrap;
  transition: color .2s, border-color .2s, background .2s;
}
.cases-tab:hover { color: #1A1A2E; }
.cases-tab.active {
  color: #014D76;
  border-bottom-color: #014D76;
  background: rgba(1,77,118,.06);
  border-radius: 8px 8px 0 0;
}

/* Dropdown фильтр */
.cases-dropdown-wrap { margin-bottom: 8px; }
.cases-dropdown-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}
.cases-dropdown {
  width: 100%;
  max-width: 420px;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  color: #1A1A2E;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s;
  appearance: auto;
}
.cases-dropdown:focus { border-color: #014D76; outline: none; }

/* Совместимость (старые классы) */
.cases-filter-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.cases-filter-tag {
  padding: 8px 20px;
  border: 1px solid #D0D0D0;
  border-radius: 100px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: all .2s;
}
.cases-filter-tag:hover { border-color: #004D76; color: #004D76; }
.cases-filter-tag.active { background: #004D76; border-color: #004D76; color: #fff; }

@media (max-width: 600px) {
  .cases-tabs { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
  .cases-tabs::-webkit-scrollbar { display: none; }
  .cases-tab { padding: 12px 18px; font-size: 14px; }
}

.cases-grid-section {
  padding: 0 0 60px;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .cases-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cases-grid { grid-template-columns: 1fr; } }

.case-card {
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 12px;
  padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.case-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

.case-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.case-card-number {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14px;
  color: #004D76;
  background: rgba(1,77,118,.08);
  padding: 4px 10px;
  border-radius: 8px;
}
.case-card-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #888;
}

.case-card-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  color: #001F45;
  margin-bottom: 10px;
  line-height: 1.4;
}
.case-card-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
}

.case-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.case-card-spec {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #004D76;
  font-weight: 500;
  background: rgba(1,77,118,.06);
  padding: 5px 12px;
  border-radius: 8px;
}

.cases-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #001F45 0%, #004D76 100%);
  text-align: center;
  color: #fff;
}
.cases-cta-inner h2 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 12px;
}
.cases-cta-inner p {
  font-size: 17px;
  opacity: .85;
  margin-bottom: 32px;
}
.cases-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════
   СТАТЬИ
   ══════════════════════════════════════════════════════════════ */
.articles-hero {
  padding: 60px 0 40px;
  text-align: center;
}
.articles-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  color: #001F45;
  margin-bottom: 12px;
}
.articles-subtitle {
  font-size: 17px;
  color: #555;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

.articles-grid-section {
  padding: 0 0 60px;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .articles-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .articles-grid { grid-template-columns: 1fr; } }

.article-card {
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 12px;
  padding: 28px;
  transition: box-shadow .2s, transform .2s;
  cursor: pointer;
}
.article-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.article-card-icon {
  margin-bottom: 16px;
}

.article-card-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.article-card-category {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #004D76;
  background: rgba(1,77,118,.08);
  padding: 3px 10px;
  border-radius: 4px;
}
.article-card-date {
  font-size: 13px;
  color: #999;
}
.article-card-read {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #999;
}

.article-card-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  color: #001F45;
  margin-bottom: 10px;
  line-height: 1.4;
}
.article-card-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
}
.article-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #004D76;
}
.article-card:hover .article-card-link {
  color: #FF2D2D;
}

.articles-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #001F45 0%, #004D76 100%);
  text-align: center;
  color: #fff;
}
.articles-cta-inner h2 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 12px;
}
.articles-cta-inner p {
  font-size: 17px;
  opacity: .85;
  margin-bottom: 32px;
}
.articles-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════
   ЮРИДИЧЕСКИЕ СТРАНИЦЫ
   ══════════════════════════════════════════════════════════════ */
.legal-section {
  padding: 48px 0 80px;
}
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}
.legal-content h1 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 32px;
  color: #001F45;
  margin-bottom: 16px;
}
.legal-content h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: #001F45;
  margin: 32px 0 12px;
}
.legal-content p {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 12px;
}
.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-content li {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 6px;
}
.legal-content a {
  color: #004D76;
}
.legal-updated {
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
}

/* ══════════════════════════════════════════════════════════════
   КОРЗИНА — уведомление
   ══════════════════════════════════════════════════════════════ */
.cart-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #004D76;
  color: #fff;
  padding: 14px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  z-index: 9999;
  transform: translateY(20px);
  opacity: 0;
  transition: transform .3s, opacity .3s;
}
.cart-notice.show {
  transform: translateY(0);
  opacity: 1;
}
.cart-notice-link {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
  margin-left: 8px;
}

/* ══════════════════════════════════════════════════════════════
   КОРЗИНА — страница
   ══════════════════════════════════════════════════════════════ */
.cart-section {
  padding: 40px 0 80px;
}
.cart-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 38px);
  color: #001F45;
  margin-bottom: 32px;
}

.cart-empty {
  text-align: center;
  padding: 60px 0;
}
.cart-empty-icon { margin-bottom: 20px; }
.cart-empty h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 24px;
  color: #001F45;
  margin-bottom: 8px;
}
.cart-empty p {
  color: #888;
  margin-bottom: 24px;
}

.cart-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .cart-grid { grid-template-columns: 1fr; }
}

.cart-items-wrap { overflow-x: auto; }

.cart-table {
  width: 100%;
  border-collapse: collapse;
}
.cart-table th {
  font-size: 13px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid #E8E8E8;
}
.cart-table td {
  padding: 16px;
  border-bottom: 1px solid #F0F0F0;
  vertical-align: middle;
}

.cart-product-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cart-product-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid #eee;
  flex-shrink: 0;
}
.cart-product-img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F0F4F8;
}
.cart-product-name {
  font-size: 15px;
  color: #001F45;
  font-weight: 500;
  line-height: 1.4;
}

.cart-td-price {
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}
.cart-td-sum {
  font-weight: 700;
  color: #001F45;
  white-space: nowrap;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #D0D0D0;
  border-radius: 12px;
  overflow: hidden;
}
.cart-qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: #F7F8FA;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.cart-qty-btn:hover { background: #E8E8E8; }
.cart-qty-input {
  width: 48px;
  text-align: center;
  border: none;
  border-left: 1px solid #D0D0D0;
  border-right: 1px solid #D0D0D0;
  font-size: 15px;
  font-weight: 600;
  height: 36px;
  -moz-appearance: textfield;
}
.cart-qty-input::-webkit-inner-spin-button,
.cart-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.cart-del-btn {
  border: none;
  background: none;
  color: #C0C0C0;
  cursor: pointer;
  padding: 4px;
  transition: color .15s;
}
.cart-del-btn:hover { color: #FF2D2D; }

/* Сводка */
.cart-summary {
  position: sticky;
  top: 88px;
}
.cart-summary-inner {
  background: #F7F8FA;
  border: 1px solid #E8E8E8;
  border-radius: 16px;
  padding: 28px;
}
.cart-summary-inner h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: #001F45;
  margin-bottom: 16px;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: #555;
  margin-bottom: 10px;
}
.cart-summary-row--total {
  font-size: 20px;
  font-weight: 700;
  color: #001F45;
  padding-top: 12px;
  border-top: 1px solid #D0D0D0;
  margin-bottom: 6px;
}
.cart-summary-vat {
  font-size: 13px;
  color: #888;
  margin-bottom: 20px;
}
.cart-checkout-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}
.cart-continue-link {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  font-size: 14px;
  color: #004D76;
  text-decoration: none;
}
.cart-continue-link:hover { color: #FF2D2D; }

@media (max-width: 600px) {
  .cart-th-price, .cart-td-price,
  .cart-th-sum, .cart-td-sum { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   ОФОРМЛЕНИЕ ЗАКАЗА
   ══════════════════════════════════════════════════════════════ */
.order-section {
  padding: 40px 0 80px;
}
.order-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 38px);
  color: #001F45;
  margin-bottom: 32px;
}

.order-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .order-grid { grid-template-columns: 1fr; }
}

.order-form-wrap {
  min-height: 200px;
}
.order-form-block {
  margin-bottom: 32px;
}
.order-form-block-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  color: #001F45;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #E8E8E8;
}
.order-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 520px) {
  .order-form-row { grid-template-columns: 1fr; }
}

/* Summary */
.order-summary {
  position: sticky;
  top: 88px;
}
.order-summary-inner {
  background: #F7F8FA;
  border: 1px solid #E8E8E8;
  border-radius: 16px;
  padding: 28px;
}
.order-summary-inner h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: #001F45;
  margin-bottom: 16px;
}
.order-summary-items {
  margin-bottom: 16px;
}
.order-summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.order-summary-item-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #eee;
  flex-shrink: 0;
}
.order-summary-item-info {
  flex: 1;
  min-width: 0;
}
.order-summary-item-name {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-summary-item-qty {
  display: block;
  font-size: 12px;
  color: #888;
}
.order-summary-item-sum {
  font-size: 14px;
  font-weight: 600;
  color: #001F45;
  white-space: nowrap;
}
.order-summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 12px;
  border-top: 2px solid #D0D0D0;
  margin-bottom: 8px;
}
.order-summary-total-row span:first-child {
  font-size: 14px;
  color: #666;
}
.order-summary-total {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 22px;
  color: #001F45;
}
.order-summary-note {
  font-size: 12px;
  color: #999;
  line-height: 1.5;
  margin-bottom: 12px;
}
.order-edit-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #004D76;
  text-decoration: none;
}
.order-edit-link:hover { color: #FF2D2D; }

/* Success */
.order-success {
  text-align: center;
  padding: 48px 0;
}
.order-success-icon { margin-bottom: 20px; }
.order-success h2 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 28px;
  color: #001F45;
  margin-bottom: 12px;
}
.order-success p {
  font-size: 16px;
  color: #555;
  margin-bottom: 8px;
}
.order-success-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}

/* Cart badge показ */
.cart-badge {
  display: none;
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  background: #FF2D2D;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9px;
  text-align: center;
  line-height: 18px;
  padding: 0 4px;
}
.cart-badge.show {
  display: block;
}
.header-cart {
  position: relative;
}

/* ================================================================
   CASE DETAIL PAGE
   ================================================================ */
.case-detail-hero { padding: 48px 0 0; }
.case-detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.case-detail-hero-img img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 16/10;
}
.case-detail-tag {
  display: inline-block;
  background: rgba(253,40,39,.1);
  color: var(--clr-accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.case-detail-title {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--clr-dark);
  margin-bottom: 16px;
  line-height: 1.25;
  letter-spacing: .3px;
}
.case-detail-lead {
  font-size: 15px;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}
.case-detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.case-detail-spec {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--clr-text);
}
.case-detail-spec svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--clr-btn-select);
}
.case-detail-spec small {
  display: block;
  font-size: 11px;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 2px;
}
.case-detail-spec strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.case-detail-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.case-detail-content { padding-top: 0; }
.case-detail-text {
  max-width: 760px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
  color: var(--clr-text);
}
.case-detail-text h2,
.case-detail-text h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  margin: 32px 0 16px;
  color: var(--clr-dark);
}
.case-detail-text p { margin-bottom: 16px; }
.case-detail-text img {
  max-width: 100%;
  border-radius: 12px;
  margin: 24px 0;
}
.case-detail-section-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--clr-dark);
  margin-bottom: 28px;
  letter-spacing: .3px;
}
.case-detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.case-gallery-item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.case-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.case-gallery-item:hover img { transform: scale(1.05); }
.case-detail-video-wrap {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.case-detail-nav { padding: 32px 0; border-top: 1px solid var(--clr-border); }
.case-detail-nav-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.case-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--clr-text);
  text-decoration: none;
  transition: color var(--transition);
  max-width: 45%;
}
.case-nav-link:hover { color: var(--clr-btn-select); }
.case-nav-link small {
  display: block;
  font-size: 11px;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px;
}
.case-nav-link span {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.case-nav-next { text-align: right; margin-left: auto; }

/* ================================================================
   ARTICLE DETAIL PAGE
   ================================================================ */
.article-detail-hero { padding: 48px 0 32px; }
.article-detail-header { max-width: 760px; margin: 0 auto; text-align: center; }
.article-detail-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.article-detail-category {
  display: inline-block;
  background: rgba(1,77,118,.1);
  color: var(--clr-btn-select);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 4px 12px;
  border-radius: 20px;
}
.article-detail-date,
.article-detail-time {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--clr-text-muted);
}
.article-detail-title {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--clr-dark);
  margin-bottom: 16px;
  line-height: 1.25;
  letter-spacing: .3px;
}
.article-detail-lead {
  font-size: 16px;
  color: var(--clr-text-muted);
  line-height: 1.7;
}
.article-detail-cover {
  max-width: 900px;
  margin: 32px auto 0;
}
.article-detail-cover img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 16/9;
}
.article-detail-text {
  max-width: 760px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.85;
  color: var(--clr-text);
}
.article-detail-text h2,
.article-detail-text h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  margin: 32px 0 16px;
  color: var(--clr-dark);
}
.article-detail-text p { margin-bottom: 16px; }
.article-detail-text ul,
.article-detail-text ol {
  margin: 16px 0;
  padding-left: 24px;
}
.article-detail-text li { margin-bottom: 8px; }
.article-detail-text img {
  max-width: 100%;
  border-radius: 12px;
  margin: 24px 0;
}
.article-detail-text blockquote {
  border-left: 3px solid var(--clr-btn-select);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--clr-bg-grey);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--clr-text-muted);
}
.article-detail-nav { padding: 32px 0; border-top: 1px solid var(--clr-border); }

/* Responsive detail pages */
@media (max-width: 768px) {
  .case-detail-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .case-detail-title { font-size: 22px; }
  .case-detail-specs { grid-template-columns: 1fr; }
  .case-detail-btns { flex-direction: column; }
  .case-detail-btns .btn { width: 100%; justify-content: center; }
  .case-detail-nav-inner { flex-direction: column; gap: 16px; }
  .case-nav-link { max-width: 100%; }
  .case-nav-next { text-align: left; }
  .article-detail-title { font-size: 24px; }
  .article-detail-meta { justify-content: center; }
}

/* ============================================================
   PRODUCT DETAIL PAGE (pd-*)
   ============================================================ */

.pd-section { padding: 40px 0 20px; }

.pd-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 860px) {
    .pd-layout { grid-template-columns: 1fr; gap: 24px; }
}

/* --- Галерея --- */
.pd-gallery { display: flex; flex-direction: column; gap: 0; }

/* Строка: миниатюры слева + главное фото справа */
.pd-photo-row { display: flex; flex-direction: row; gap: 12px; align-items: flex-start; width: 100%; }

.pd-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}
.pd-thumb {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color .2s;
    flex-shrink: 0;
}
.pd-thumb.active,
.pd-thumb:hover { border-color: var(--clr-primary, #014D76); }

.pd-main-photo {
    flex: 1;
    position: relative;
    background: #f7f7f7;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pd-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
    display: block;
}
.pd-no-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 280px;
}

.pd-photo-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.85);
    border: none;
    border-radius: 50%;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    transition: background .2s;
}
.pd-photo-nav:hover { background: #fff; }
.pd-photo-prev { left: 10px; }
.pd-photo-next { right: 10px; }

/* --- Инфо правая колонка --- */
.pd-info { display: flex; flex-direction: column; gap: 20px; }

.pd-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--clr-dark, #1A1A2E);
    margin: 0;
}

.pd-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: #666;
}
.pd-badge-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
}
.pd-meta-sep { color: #ddd; }
.pd-meta-item strong { color: var(--clr-dark, #1A1A2E); }

/* --- Блок покупки --- */
.pd-buy-block { display: flex; flex-direction: column; gap: 16px; }

.pd-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--clr-dark, #1A1A2E);
    line-height: 1;
}
.pd-vat { font-size: 14px; font-weight: 400; color: #888; }
.pd-price--request { font-size: 24px; color: #555; }

.pd-buy-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pd-qty {
    display: flex;
    align-items: center;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    height: 46px;
}
.pd-qty-btn {
    width: 40px; height: 100%;
    background: none; border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--clr-dark, #1A1A2E);
    transition: background .15s;
    line-height: 1;
}
.pd-qty-btn:hover { background: #f5f5f5; }
.pd-qty-input {
    width: 52px;
    height: 100%;
    border: none;
    border-left: 1.5px solid #ddd;
    border-right: 1.5px solid #ddd;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    -moz-appearance: textfield;
}
.pd-qty-input::-webkit-outer-spin-button,
.pd-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.pd-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--clr-primary, #014D76);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0 22px;
    height: 46px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    flex-shrink: 0;
}
.pd-cart-btn:hover { background: #013d60; }
.pd-cart-btn--offer {
    background: var(--clr-accent, #FD2827);
}
.pd-cart-btn--offer:hover { background: #d91c1b; }
.pd-cart-btn--wide {
    flex: 1;
    justify-content: center;
}

.pd-wish-btn {
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    background: none;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    color: #aaa;
    flex-shrink: 0;
    transition: border-color .2s, color .2s;
}
.pd-wish-btn:hover { border-color: var(--clr-accent, #FD2827); color: var(--clr-accent, #FD2827); }

/* --- Аккордеоны --- */
.pd-accordions { display: flex; flex-direction: column; border: 1.5px solid #eee; border-radius: 12px; overflow: hidden; }

.pd-accordion { border-bottom: 1.5px solid #eee; }
.pd-accordion:last-child { border-bottom: none; }

.pd-accordion-head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--clr-dark, #1A1A2E);
    text-align: left;
    transition: background .15s;
}
.pd-accordion-head:hover { background: #fafafa; }
.pd-accordion-head span { flex: 1; }
.pd-acc-arrow { margin-left: auto; transition: transform .2s; flex-shrink: 0; color: #aaa; }
.pd-accordion-head.open .pd-acc-arrow { transform: rotate(180deg); }

.pd-accordion-body {
    display: none;
    padding: 0 16px 14px 46px;
    font-size: 13.5px;
    color: #555;
    line-height: 1.6;
}
.pd-accordion-body.open { display: block; }
.pd-accordion-body p { margin: 0; }

.pd-delivery-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13.5px;
}
.pd-delivery-row:last-child { border-bottom: none; }
.pd-delivery-row svg { flex-shrink: 0; color: #014D76; }
.pd-delivery-row span:nth-child(2) { flex: 1; }
.pd-dnote { color: #999; font-size: 12px; white-space: nowrap; }

/* --- Табы --- */
.pd-tabs-section { padding: 32px 0 0; border-top: 1px solid #eee; }
.pd-tabs-inline {
    margin-top: 20px;
    background: #fff;
    border: 1px solid #e5e8ee;
    border-radius: 12px;
    padding: 0 0 24px;
    overflow: hidden;
}

.pd-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #eee;
    margin-bottom: 24px;
    padding: 0 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.pd-tabs-nav::-webkit-scrollbar { display: none; }
.pd-tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    white-space: nowrap;
    transition: color .2s, border-color .2s;
}
.pd-tab-btn:hover { color: var(--clr-dark, #1A1A2E); }
.pd-tab-btn.active { color: var(--clr-primary, #014D76); border-bottom-color: var(--clr-primary, #014D76); }

.pd-tab-content { display: none; padding: 0 24px; }
.pd-tab-content.active { display: block; }

.pd-text { font-size: 15px; line-height: 1.7; color: #444; }
.pd-text--collapsed {
  max-height: 4.5em; /* ~3 строки (3 × 1.5em line-height) */
  overflow: hidden;
  position: relative;
  transition: max-height .4s ease;
}
.pd-text--collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2em;
  background: linear-gradient(transparent, #fff);
  pointer-events: none;
}
.pd-text--expanded {
  max-height: 3000px;
}
.pd-text--expanded::after {
  display: none;
}
.pd-desc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 0;
  background: none;
  border: none;
  color: #004D76;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s;
}
.pd-desc-toggle:hover { color: #FF2D2D; }
.pd-desc-toggle svg { transition: transform .3s; }
.pd-desc-toggle--expanded svg { transform: rotate(180deg); }
.pd-empty-text { color: #999; font-size: 14px; }

.pd-specs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pd-specs-table tr { border-bottom: 1px solid #f0f0f0; }
.pd-specs-table tr:last-child { border-bottom: none; }
.pd-specs-table td { padding: 10px 12px; }
.pd-specs-table td:first-child { color: #777; width: 45%; }
.pd-specs-table td:last-child { font-weight: 600; color: var(--clr-dark, #1A1A2E); }
.pd-specs-table tr:nth-child(even) td { background: #fafafa; }

.pd-kit-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pd-kit-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.5; }
.pd-kit-list svg { flex-shrink: 0; margin-top: 2px; }

.pd-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 12px; overflow: hidden; }
.pd-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* --- Галерея --- */
.pd-gallery-section { padding: 40px 0; }
.pd-section-title { font-size: 20px; font-weight: 700; margin: 0 0 20px; color: var(--clr-dark, #1A1A2E); }

.pd-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.pd-gallery-item { position: relative; border-radius: 8px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1/1; background: #f5f5f5; }
.pd-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-gallery-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.3); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; }
.pd-gallery-item:hover .pd-gallery-overlay { opacity: 1; }

/* --- Видео-секция (вместо Галереи) --- */
.pd-video-section { padding: 48px 0; }
.pd-video-grid { display: grid; gap: 24px; }
.pd-video-grid--1 { grid-template-columns: 1fr; max-width: 800px; }
.pd-video-grid--2 { grid-template-columns: 1fr 1fr; }
.pd-video-card {
    background: #fff;
    border: 1px solid #e5e8ee;
    border-radius: 12px;
    overflow: hidden;
}
.pd-video-card-label {
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--clr-dark, #1A1A2E);
    border-bottom: 1px solid #eee;
}
.pd-video-card-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}
.pd-video-card-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .pd-video-grid--2 { grid-template-columns: 1fr; }
}

/* --- Похожие --- */
.pd-related-section { padding: 40px 0; border-top: 1px solid #eee; }

/* ================================================================
   HERO CAROUSEL — адаптивность
   ================================================================ */
@media (max-width: 768px) {
  .hero-arrow { display: none; }
  .hero-dots { bottom: 60px; }
  .hero-stats-bar { padding: 12px 0; }
  .hero-stat strong { font-size: 20px; }
  .hero-stats { gap: 16px; }
  .hero-stat-divider { height: 24px; }
  .hero-slide .container { padding-top: 60px; padding-bottom: 110px; }
  .hero-scroll-hint { bottom: 72px; }
}

/* ================================================================
   PRODUCT GRID — адаптивность
   ================================================================ */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 540px) {
  .product-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-card { border-radius: 12px; }
}
