:root {
  --brand-primary: #970101;
  --brand-dark: #6b0101;
  --brand-light: #fef2f2;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --border-light: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

.nsh16-hero { padding: 64px 0 40px; background: linear-gradient(180deg, rgba(151,1,1,0.06), rgba(151,1,1,0)); }
.nsh16-hero .title { font-weight: 800; font-size: 40px; line-height: 1.2; }
.nsh16-hero .subtitle { font-size: 18px; color: #4E5666; }
.nsh16-cta .btn { padding: 12px 20px; border-radius: 8px; font-weight: 700; }
.nsh16-cta .btn-primary { background: var(--brand-primary); border-color: var(--brand-primary); }
.btn-primary { background: var(--brand-primary); border-color: var(--brand-primary); }
.btn-primary:hover, .btn-primary:focus { background: var(--brand-dark); border-color: var(--brand-dark); }
.nsh16-cta .btn-outline { border: 2px solid var(--brand-primary); color: var(--brand-primary); background: transparent; }
.btn-outline { border: 2px solid var(--brand-primary); color: var(--brand-primary); background: transparent; transition: all 0.2s ease; }
.btn-outline:hover, .btn-outline:focus { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.nsh16-section { padding: 80px 0; }
.nsh16-section h2 { font-weight: 800; margin-bottom: 24px; }
.nsh16-feature { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 20px; height: 100%; }
.nsh16-feature h5 { margin-bottom: 8px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.nsh16-feature h5 i { color: var(--brand-primary); font-size: 24px; }
.nsh16-specs li { margin-bottom: 8px; }
.nsh16-gallery img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.nsh16-doc-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  margin-top: 16px;
  max-width: 100%;
}
.nsh16-doc-card:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  background: var(--brand-light);
}
.nsh16-doc-card i {
  font-size: 32px;
  color: #dc2626;
}
.nsh16-doc-card .doc-info {
  display: flex;
  flex-direction: column;
}
.nsh16-doc-card .doc-title {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.4;
}
.nsh16-doc-card .doc-meta {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}


/* Галерея */
.swiper-wrapper {
  height: auto;
}
.nsh16-gallery-slider { padding-bottom: 30px; user-select: none; }
.nsh16-gallery-wrapper { position: relative; }
.nsh16-gallery-slider .swiper-slide {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  opacity: 0.4;
  transition: opacity 0.3s;
}
.nsh16-gallery-slider .swiper-slide-active { opacity: 1; }
.nsh16-gallery-slider .img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 320px;
  width: 100%;
  margin-bottom: 10px;
}
.nsh16-gallery-slider img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.nsh16-gallery-slider .slide-caption {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  max-width: 90%;
  line-height: 1.3;
}
.swiper-button-prev, .swiper-button-next { color: var(--brand-primary); background: rgba(255,255,255,0.8); border-radius: 50%; width: 50px; height: 50px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); top: 50%; transform: translateY(-50%); z-index: 10; }
.swiper-button-prev::after, .swiper-button-next::after { font-size: 24px; font-weight: bold; }
.swiper-pagination-bullet-active { background: var(--brand-primary); }
.nsh16-gallery-slider .swiper-pagination { bottom: 0 !important; }

@media (min-width: 992px) {
  .nsh16-gallery-wrapper { padding: 0 80px; }
  .swiper-button-prev { left: 0; }
  .swiper-button-next { right: 0; }
}
@media (max-width: 991px) {
  .swiper-button-prev { left: 10px; }
  .swiper-button-next { right: 10px; }
}

/* Шапка и подвал */
.nsh16-header { 
  background: #fff; 
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.nsh16-header .navbar-brand { font-weight: 800; color: var(--brand-primary); }
.nsh16-footer { background: #111827; color: #E5E7EB; padding: 32px 0; }
.nsh16-footer a { color: #E5E7EB; text-decoration: underline; }
.nsh16-footer .small { color: #9CA3AF; }
a { color: var(--brand-primary); font-weight: 700; }
a.nav-link { 
  font-size: 18px; 
  padding: 10px 14px; 
  position: relative;
}
a.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-primary);
  transition: width 0.3s ease;
}
a.nav-link:hover::after,
a.nav-link.active::after {
  width: 100%;
}
.bg-brand-light { background-color: var(--brand-light); }

/* ===== ФОРМЫ ===== */
.nsh16-form-card {
  background: #fff;
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative;
}
.nsh16-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-dark));
}
.nsh16-form-card .card-body {
  padding: 28px;
}
.nsh16-form-card .form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-size: 14px;
}
.nsh16-form-card .form-control {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.nsh16-form-card .form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(151, 1, 1, 0.1);
}
.nsh16-form-card .form-control::placeholder {
  color: #9ca3af;
}
.nsh16-form-card .input-group-text {
  background: var(--brand-light);
  border: 1px solid var(--border-light);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  color: var(--brand-primary);
  padding: 12px 14px;
}
.nsh16-form-card .input-group .form-control {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.nsh16-form-card textarea.form-control {
  border-radius: var(--radius-md);
  resize: vertical;
  min-height: 100px;
}
.nsh16-form-card .btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 24px;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nsh16-form-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(151, 1, 1, 0.35);
}
.nsh16-form-card .btn-primary:active {
  transform: translateY(0);
}
.nsh16-form-card .form-text {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 4px;
}

/* Блок «Свяжитесь напрямую» */
.nsh16-contact-card {
  background: linear-gradient(135deg, var(--brand-light) 0%, #fff 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.nsh16-contact-card h5 {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.nsh16-contact-card .btn {
  border-radius: var(--radius-md);
  padding: 12px 20px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
}
.nsh16-contact-card .btn i {
  margin-right: 8px;
}
.nsh16-contact-card .btn-primary {
  background: var(--brand-primary);
  border: none;
}
.nsh16-contact-card .btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}
.nsh16-contact-card .btn-outline {
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
  background: #fff;
}
.nsh16-contact-card .btn-outline:hover {
  background: var(--brand-primary);
  color: #fff;
}
.nsh16-contact-card .contact-divider {
  display: flex;
  align-items: center;
  margin: 16px 0;
  color: var(--text-muted);
  font-size: 13px;
}
.nsh16-contact-card .contact-divider::before,
.nsh16-contact-card .contact-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}
.nsh16-contact-card .contact-divider span {
  padding: 0 12px;
}

/* Секции форм */
.nsh16-form-section {
  position: relative;
}
.nsh16-form-section h2 {
  font-weight: 800;
  margin-bottom: 8px;
}
.nsh16-form-section .section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 24px;
}

/* Адаптив */
/* Доставка и шаги */
.nsh16-delivery-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.nsh16-delivery-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.nsh16-delivery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-primary);
}
.nsh16-delivery-card .step-number {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 80px;
  font-weight: 900;
  color: rgba(151, 1, 1, 0.03);
  line-height: 1;
  pointer-events: none;
}
.nsh16-delivery-card .icon-wrapper {
  width: 72px;
  height: 72px;
  background: var(--brand-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--brand-primary);
  font-size: 28px;
  transition: transform 0.3s ease;
}
.nsh16-delivery-card:hover .icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  background: var(--brand-primary);
  color: #fff;
}
.nsh16-delivery-card h5 {
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-dark);
  position: relative;
}
.nsh16-delivery-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 0;
  line-height: 1.5;
  position: relative;
}

@media (max-width: 991px) {
  .nsh16-form-card .card-body { padding: 20px; }
  .nsh16-contact-card { padding: 24px 20px; }
}
@media (max-width: 576px) {
  .nsh16-hero { padding-top: 40px; }
  .nsh16-hero .title { font-size: 30px; }
  .nsh16-form-card .card-body { padding: 16px; }
  .nsh16-form-card .btn-primary { padding: 12px 20px; font-size: 15px; }
}

/* Кастомные маркеры для списков */
.nsh16-hero ul,
#applications ul,
.nsh16-specs {
  list-style: none;
  padding-left: 0;
}
.nsh16-hero ul li,
#applications ul li,
.nsh16-specs li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}
.nsh16-hero ul li::before,
#applications ul li::before,
.nsh16-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  background: url('../../img/list-item.png') no-repeat center center;
  background-size: contain;
}

/* Стили для видео */
.nsh16-video {
  width: 80%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .nsh16-video {
    width: 100%;
  }
}
