/* ===============================
   ГЛАВНАЯ СТРАНИЦА — СЕКЦИЯ 1 (HERO)
   =============================== */

.nb-section {
  position: relative;
  padding: 60px 0;
}

.nb-hero {
  padding-top: 72px;
  padding-bottom: 72px;
  overflow: hidden;
}

.nb-hero__background {
  position: absolute;
  inset: -80px 0 -40px;
  background:
    radial-gradient(circle at 10% 20%, rgba(148, 236, 180, 0.18) 0, transparent 55%),
    radial-gradient(circle at 90% 60%, rgba(62, 231, 255, 0.18) 0, transparent 60%),
    radial-gradient(circle at 50% 110%, rgba(3, 10, 13, 0.9) 0, transparent 65%);
  opacity: 0.7;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: -1;
}

.nb-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

/* Левая колонка */

.nb-hero__content {
  position: relative;
}

.nb-hero__title {
  font-family: "NB-Display", system-ui, sans-serif;
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nb-hero__title span {
  background: linear-gradient(135deg, #ffb547, #ff9147, #3ee7ff);
  -webkit-background-clip: text;
  color: transparent;
}

.nb-hero__lead {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.7;
  color: #ced5e6;
}

.nb-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.nb-hero__meta {
  list-style: none;
  margin: 0;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(8, 38, 39, 0.9), rgba(3, 19, 19, 0.95));
  border: 1px solid rgba(89, 148, 153, 0.8);
  box-shadow: 0 0 26px rgba(15, 68, 69, 0.7);
}

.nb-hero__meta-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 2px;
}

.nb-hero__meta-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8aa3b7;
}

.nb-hero__meta-value {
  font-size: 13px;
  color: #e7eefc;
}

/* Правая колонка: визуал */

.nb-hero__visual {
  position: relative;
}

/* Орбита */

.nb-hero__orbit {
  position: absolute;
  inset: -40px -20px;
  pointer-events: none;
}

.nb-hero__orbit-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px dashed rgba(112, 171, 176, 0.8);
  opacity: 0.55;
  animation: nb-orbit-spin 22s linear infinite;
}

.nb-hero__orbit-ring--outer {
  inset: 8% 4%;
}

.nb-hero__orbit-ring--inner {
  inset: 20% 16%;
  animation-duration: 30s;
  animation-direction: reverse;
}

.nb-hero__orbit-glow {
  position: absolute;
  inset: 30% 28%;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 30%, rgba(62, 231, 255, 0.55), transparent 70%);
  filter: blur(8px);
  opacity: 0.7;
}

/* Стек изображений */

.nb-hero__stack {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 26px;
  background: radial-gradient(circle at 0 0, rgba(255, 181, 71, 0.16), transparent 55%),
              radial-gradient(circle at 100% 100%, rgba(62, 231, 255, 0.18), transparent 60%),
              rgba(3, 18, 19, 0.96);
  border: 1px solid rgba(86, 144, 148, 0.9);
  box-shadow: 0 0 26px rgba(18, 78, 81, 0.9);
}

.nb-hero__photo {
  position: relative;
  margin: 0;
}

.nb-hero__photo--top {
  justify-self: flex-start;
  transform: rotate(-4deg);
}

.nb-hero__photo--middle {
  justify-self: center;
  margin-top: -18px;
}

.nb-hero__photo--bottom {
  justify-self: flex-end;
  margin-top: -16px;
  transform: rotate(3deg);
}

.nb-hero__caption {
  margin-top: 6px;
  font-size: 11px;
  color: #b3c4d6;
  max-width: 260px;
}

/* Пиллары (плавающие индикаторы) */

.nb-hero__pillars {
  position: absolute;
  inset: auto auto 0 0;
  transform: translateY(50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nb-hero__pillar {
  min-width: 170px;
  padding: 8px 10px 9px;
  border-radius: 14px;
  background: rgba(7, 32, 34, 0.96);
  border: 1px solid rgba(103, 165, 169, 0.9);
  box-shadow: 0 0 16px rgba(10, 59, 62, 0.8);
}

.nb-hero__pillar-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #8aa3b7;
  margin-bottom: 2px;
}

.nb-hero__pillar-value {
  display: block;
  font-size: 13px;
  color: #f4f7fb;
  margin-bottom: 5px;
}

.nb-hero__pillar-scale {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(88, 148, 153, 0.4), rgba(16, 38, 40, 0.9));
  overflow: hidden;
  position: relative;
}

.nb-hero__pillar-scale::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #ffb547, #ff9147, #3ee7ff);
  transform-origin: left center;
}

/* Разные варианты заполнения для «живости» */

.nb-hero__pillar-scale--medium::after {
  transform: scaleX(0.55);
}

.nb-hero__pillar-scale--high::after {
  transform: scaleX(0.8);
}

.nb-hero__pillar-scale--pulse::after {
  transform: scaleX(0.7);
  animation: nb-pulse-scale 1.8s ease-in-out infinite;
}

/* Плавающая анимация картинок */

.nb-floating {
  animation: nb-float 7s ease-in-out infinite;
}

.nb-floating--delay {
  animation-delay: 1.2s;
}

.nb-floating--slow {
  animation-duration: 9s;
  animation-delay: 0.4s;
}

/* Кадры анимаций */

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

@keyframes nb-float {
  0% {
    transform: translateY(0) var(--nb-float-rot, rotate(0deg));
  }
  50% {
    transform: translateY(-6px) var(--nb-float-rot, rotate(0deg));
  }
  100% {
    transform: translateY(0) var(--nb-float-rot, rotate(0deg));
  }
}

@keyframes nb-pulse-scale {
  0%,
  100% {
    transform: scaleX(0.55);
  }
  40% {
    transform: scaleX(0.9);
  }
  60% {
    transform: scaleX(0.7);
  }
}

/* ===============================
   АДАПТИВ HERO
   =============================== */

@media (max-width: 1040px) {
  .nb-hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 28px;
  }

  .nb-hero__title {
    font-size: 30px;
  }
}

@media (max-width: 880px) {
  .nb-hero {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .nb-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb-hero__visual {
    order: -1;
  }

  .nb-hero__pillars {
    position: relative;
    transform: none;
    margin-top: 18px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nb-hero__pillar {
    flex: 1 1 140px;
  }

  .nb-hero__stack {
    margin-bottom: 12px;
  }

  .nb-hero__photo--top,
  .nb-hero__photo--bottom {
    transform: none;
  }
}

@media (max-width: 600px) {
  .nb-hero__title {
    font-size: 24px;
  }

  .nb-hero__lead {
    font-size: 14px;
  }

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

  .nb-hero__meta {
    padding: 12px 12px;
  }

  .nb-hero__meta-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb-hero__stack {
    padding: 14px;
    border-radius: 22px;
  }

  .nb-hero__pillars {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .nb-hero__title {
    font-size: 22px;
  }

  .nb-hero__caption {
    max-width: 100%;
  }
}
/* ===============================
   ОБЩИЕ ЗАГОЛОВКИ ДЛЯ СЕКЦИЙ
   =============================== */

.nb-section__title {
  font-family: "NB-Display", system-ui, sans-serif;
  font-size: 24px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.nb-section__lead {
  margin: 0 0 18px;
  font-size: 14px;
  color: #c9d4e5;
}

/* ===============================
   СЕКЦИЯ 2 — МАРШРУТ
   =============================== */

.nb-route {
  padding-top: 40px;
  padding-bottom: 56px;
}

.nb-route__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: stretch;
}

.nb-route__map {
  position: relative;
  padding: 20px 20px 22px;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, rgba(148, 236, 180, 0.18), transparent 55%),
              rgba(4, 24, 25, 0.96);
  border: 1px solid rgba(92, 160, 164, 0.9);
  box-shadow: 0 0 24px rgba(7, 52, 55, 0.9);
}

.nb-route__steps {
  position: relative;
  list-style: none;
  margin: 6px 0 0;
  padding: 6px 0 0 0;
}

.nb-route__steps::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(to bottom, #ffb547, #3ee7ff);
  opacity: 0.45;
}

.nb-route__step {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 10px;
  padding: 8px 0;
}

.nb-route__step-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(173, 226, 219, 0.9);
  background: radial-gradient(circle at 50% 50%, #ffb547 0, transparent 60%);
  box-shadow: 0 0 12px rgba(255, 181, 71, 0.8);
  margin-top: 2px;
}

.nb-route__step-body {
  min-width: 0;
}

.nb-route__step-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #f4f7fb;
}

.nb-route__step-text {
  display: block;
  font-size: 13px;
  color: #c8d1e2;
}

/* Визуал маршрута */

.nb-route__visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 12px;
  align-items: flex-start;
}

.nb-route__photo {
  margin: 0;
  position: relative;
}

.nb-route__photo--shore {
  grid-column: 1 / 3;
  justify-self: stretch;
}

.nb-route__photo--bag {
  justify-self: flex-start;
}

.nb-route__photo--path {
  justify-self: flex-end;
}

.nb-route__caption {
  margin-top: 6px;
  font-size: 11px;
  color: #b3c4d6;
  max-width: 280px;
}

/* Hover-эффект картинок маршрута */

.nb-route__photo .nb-img {
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.nb-route__photo:hover .nb-img {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(62, 231, 255, 0.65);
  filter: brightness(1.05);
}

/* ===============================
   СЕКЦИЯ 3 — СВЕТ
   =============================== */

.nb-lights {
  padding-top: 8px;
  padding-bottom: 56px;
}

.nb-lights__shell {
  border-radius: 26px;
  padding: 22px 20px 20px;
  background: radial-gradient(circle at 50% 0, rgba(62, 231, 255, 0.22), transparent 60%),
              rgba(3, 21, 25, 0.98);
  border: 1px solid rgba(95, 164, 173, 0.95);
  box-shadow: 0 0 32px rgba(8, 60, 67, 0.9);
  position: relative;
  overflow: hidden;
}

.nb-lights__header {
  max-width: 520px;
  margin-bottom: 18px;
}

.nb-lights__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.55fr);
  align-items: center;
  gap: 18px;
}

/* Центр */

.nb-lights__center {
  justify-self: center;
}

.nb-lights__photo {
  margin: 0;
  position: relative;
}

.nb-lights__photo--rod .nb-img {
  box-shadow: 0 0 26px rgba(62, 231, 255, 0.65);
}

/* Орбитальные блоки */

.nb-lights__orbit {
  position: relative;
}

.nb-lights__orbit--left {
  align-self: flex-start;
}

.nb-lights__orbit--right {
  align-self: flex-end;
}

.nb-lights__orbit--left .nb-lights__photo {
  transform-origin: right center;
}

.nb-lights__orbit--right .nb-lights__photo {
  transform-origin: left center;
}

.nb-lights__caption {
  margin-top: 6px;
  font-size: 11px;
  color: #b3c4d6;
  max-width: 260px;
}

/* Светящиеся орбиты */

.nb-lights__shell::before,
.nb-lights__shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px dashed rgba(116, 183, 191, 0.8);
  opacity: 0.5;
}

.nb-lights__shell::before {
  inset: 18% 20%;
  animation: nb-orbit-spin 24s linear infinite;
}

.nb-lights__shell::after {
  inset: 32% 28%;
  animation: nb-orbit-spin 30s linear infinite reverse;
}

/* Бейджи */

.nb-lights__badges {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nb-lights__badge {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(129, 204, 196, 0.9);
  background: rgba(4, 31, 32, 0.9);
  color: #dbe9f7;
  white-space: nowrap;
}

/* Hover-анимация света */

.nb-lights__photo .nb-img {
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.nb-lights__photo:hover .nb-img {
  transform: translateY(-4px);
  filter: brightness(1.08);
  box-shadow: 0 0 22px rgba(255, 181, 71, 0.6);
}

/* ===============================
   СЕКЦИЯ 4 — БЕЗОПАСНОСТЬ
   =============================== */

.nb-safety {
  padding-top: 8px;
  padding-bottom: 60px;
}

.nb-safety__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
}

.nb-safety__content {
  position: relative;
  padding: 18px 20px 20px;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, rgba(148, 236, 180, 0.16), transparent 55%),
              rgba(3, 22, 24, 0.98);
  border: 1px solid rgba(90, 160, 160, 0.95);
  box-shadow: 0 0 24px rgba(9, 63, 63, 0.9);
}

.nb-safety__list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nb-safety__item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 8px;
}

.nb-safety__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, #3ee7ff 0, transparent 60%);
  box-shadow: 0 0 12px rgba(62, 231, 255, 0.8);
  margin-top: 5px;
}

.nb-safety__text {
  font-size: 13px;
  color: #d3e1f0;
}

/* Визуал безопасности */

.nb-safety__visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.nb-safety__photo {
  margin: 0;
}

.nb-safety__caption {
  margin-top: 6px;
  font-size: 11px;
  color: #b3c4d6;
  max-width: 280px;
}

.nb-safety__photo .nb-img {
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.nb-safety__photo:hover .nb-img {
  transform: translateY(-4px);
  box-shadow: 0 0 22px rgba(255, 181, 71, 0.6);
  filter: brightness(1.06);
}

/* ===============================
   АДАПТИВ ДЛЯ СЕКЦИЙ 2–4
   =============================== */

@media (max-width: 960px) {
  .nb-route__grid,
  .nb-safety__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb-route__visual {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .nb-route__photo--shore {
    grid-column: 1 / 3;
  }
}

@media (max-width: 800px) {
  .nb-lights__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb-lights__center {
    order: -1;
    justify-self: center;
  }

  .nb-lights__shell::before,
  .nb-lights__shell::after {
    display: none; /* чтобы не перегружать мелкие экраны */
  }
}

@media (max-width: 640px) {
  .nb-route__grid {
    gap: 22px;
  }

  .nb-safety__grid {
    gap: 22px;
  }

  .nb-section__title {
    font-size: 20px;
  }

  .nb-section__lead {
    font-size: 13px;
  }

  .nb-lights__badges {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .nb-route__map,
  .nb-safety__content,
  .nb-lights__shell {
    padding-inline: 14px;
  }

  .nb-route__caption,
  .nb-lights__caption,
  .nb-safety__caption {
    max-width: 100%;
  }
}
/* ===============================
   СЕКЦИЯ 5 — ПРОФИЛЬ ВОДОЁМА
   =============================== */

.nb-depth {
  padding-top: 8px;
  padding-bottom: 56px;
}

.nb-depth__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: stretch;
}

.nb-depth__content {
  padding: 18px 20px 20px;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, rgba(148, 236, 180, 0.18), transparent 55%),
              rgba(4, 24, 25, 0.96);
  border: 1px solid rgba(92, 160, 164, 0.9);
  box-shadow: 0 0 24px rgba(7, 52, 55, 0.9);
}

.nb-depth__list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nb-depth__item {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  column-gap: 8px;
}

.nb-depth__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, #ffb547 0, transparent 60%);
  box-shadow: 0 0 12px rgba(255, 181, 71, 0.8);
  margin-top: 6px;
}

.nb-depth__text {
  font-size: 13px;
  color: #d3e1f0;
}

/* Визуал глубины */

.nb-depth__visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.nb-depth__profile {
  border-radius: 22px;
  padding: 12px 14px;
  background: linear-gradient(to bottom, rgba(7, 34, 38, 0.95), rgba(5, 24, 27, 0.98));
  border: 1px solid rgba(94, 165, 171, 0.9);
  box-shadow: 0 0 20px rgba(9, 61, 66, 0.9);
}

.nb-depth__layer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border-radius: 14px;
  font-size: 12px;
  color: #e5eefb;
  margin-bottom: 6px;
}

.nb-depth__layer:last-child {
  margin-bottom: 0;
}

.nb-depth__layer--shallow {
  background: linear-gradient(90deg, rgba(255, 181, 71, 0.18), transparent);
}

.nb-depth__layer--slope {
  background: linear-gradient(90deg, rgba(255, 181, 71, 0.08), rgba(62, 231, 255, 0.12));
}

.nb-depth__layer--deep {
  background: linear-gradient(90deg, transparent, rgba(62, 231, 255, 0.18));
}

.nb-depth__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nb-depth__value {
  font-weight: 600;
}

.nb-depth__photo {
  margin: 0;
}

.nb-depth__caption {
  margin-top: 6px;
  font-size: 11px;
  color: #b3c4d6;
  max-width: 280px;
}

/* Hover */

.nb-depth__photo .nb-img {
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.nb-depth__photo:hover .nb-img {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(62, 231, 255, 0.6);
  filter: brightness(1.06);
}

/* ===============================
   СЕКЦИЯ 6 — АКТИВНОСТЬ ХИЩНИКА
   =============================== */

.nb-activity {
  padding-top: 8px;
  padding-bottom: 56px;
}

.nb-activity__shell {
  border-radius: 26px;
  padding: 20px 20px 22px;
  background: radial-gradient(circle at 70% 0, rgba(62, 231, 255, 0.22), transparent 60%),
              rgba(3, 21, 25, 0.98);
  border: 1px solid rgba(95, 164, 173, 0.95);
  box-shadow: 0 0 32px rgba(8, 60, 67, 0.9);
}

.nb-activity__header {
  max-width: 560px;
  margin-bottom: 16px;
}

/* Таймлайн */

.nb-activity__timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.nb-activity__slot {
  border-radius: 18px;
  padding: 10px 10px 12px;
  font-size: 12px;
  color: #e6f0ff;
  position: relative;
  overflow: hidden;
}

.nb-activity__slot::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffb547, #ff9147, #3ee7ff);
  opacity: 0.5;
}

.nb-activity__slot--soft {
  background: linear-gradient(135deg, rgba(255, 181, 71, 0.18), rgba(7, 35, 39, 0.96));
}

.nb-activity__slot--calm {
  background: linear-gradient(135deg, rgba(5, 28, 33, 1), rgba(4, 24, 27, 0.98));
}

.nb-activity__slot--peak {
  background: linear-gradient(135deg, rgba(6, 36, 41, 0.96), rgba(62, 231, 255, 0.18));
}

.nb-activity__time {
  display: block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.nb-activity__note {
  display: block;
  font-size: 12px;
}

/* Фото */

.nb-activity__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr);
  gap: 16px;
}

.nb-activity__photo {
  margin: 0;
}

.nb-activity__caption {
  margin-top: 6px;
  font-size: 11px;
  color: #b3c4d6;
  max-width: 280px;
}

.nb-activity__photo .nb-img {
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.nb-activity__photo:hover .nb-img {
  transform: translateY(-4px);
  filter: brightness(1.07);
  box-shadow: 0 0 22px rgba(255, 181, 71, 0.6);
}

/* ===============================
   СЕКЦИЯ 7 — РИТУАЛЫ
   =============================== */

.nb-rituals {
  padding-top: 8px;
  padding-bottom: 60px;
}

.nb-rituals__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: center;
}

.nb-rituals__photo {
  margin: 0;
}

.nb-rituals__caption {
  margin-top: 6px;
  font-size: 11px;
  color: #b3c4d6;
  max-width: 280px;
}

.nb-rituals__content {
  padding: 18px 20px 22px;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, rgba(148, 236, 180, 0.16), transparent 55%),
              rgba(4, 24, 25, 0.98);
  border: 1px solid rgba(90, 160, 160, 0.95);
  box-shadow: 0 0 24px rgba(9, 63, 63, 0.9);
}

.nb-rituals__list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nb-rituals__item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 8px;
}

.nb-rituals__icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, #3ee7ff 0, transparent 60%);
  box-shadow: 0 0 14px rgba(62, 231, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #021213;
  margin-top: 4px;
}

.nb-rituals__text {
  font-size: 13px;
  color: #d3e1f0;
}

/* Малый визуальный блок с заметками */

.nb-rituals__note {
  margin: 14px 0 0;
}

.nb-rituals__note-caption {
  margin-top: 6px;
  font-size: 11px;
  color: #b3c4d6;
  max-width: 260px;
}

/* ===============================
   АДАПТИВ 5–7
   =============================== */

@media (max-width: 960px) {
  .nb-depth__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb-activity__timeline {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb-activity__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb-rituals__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .nb-depth__content,
  .nb-activity__shell,
  .nb-rituals__content {
    padding-inline: 14px;
  }

  .nb-activity__slot {
    padding-inline: 9px;
  }
}

@media (max-width: 420px) {
  .nb-depth__caption,
  .nb-activity__caption,
  .nb-rituals__caption,
  .nb-rituals__note-caption {
    max-width: 100%;
  }
}
/* ===============================
   СЕКЦИЯ 8 — НОЧНАЯ РАСКЛАДКА СНАССТЕЙ
   =============================== */

.nb-setup {
  padding-top: 8px;
  padding-bottom: 56px;
}

.nb-setup__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
}

.nb-setup__rail {
  padding: 18px 20px 20px;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, rgba(148, 236, 180, 0.16), transparent 55%),
              rgba(4, 24, 25, 0.98);
  border: 1px solid rgba(90, 160, 160, 0.95);
  box-shadow: 0 0 24px rgba(9, 63, 63, 0.9);
}

.nb-setup__list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nb-setup__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 8px;
}

.nb-setup__badge {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background: rgba(5, 35, 38, 0.98);
  border: 1px solid rgba(124, 204, 196, 0.9);
  color: #ddf2ff;
}

.nb-setup__text {
  font-size: 13px;
  color: #d3e1f0;
}

/* Галерея раскладки */

.nb-setup__gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.nb-setup__photo {
  margin: 0;
  position: relative;
}

.nb-setup__photo--rod {
  justify-self: flex-start;
}

.nb-setup__photo--box {
  justify-self: center;
}

.nb-setup__photo--headlamp {
  justify-self: flex-end;
}

.nb-setup__caption {
  margin-top: 6px;
  font-size: 11px;
  color: #b3c4d6;
  max-width: 280px;
}

.nb-setup__photo .nb-img {
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.nb-setup__photo:hover .nb-img {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(62, 231, 255, 0.6);
  filter: brightness(1.06);
}

/* ===============================
   СЕКЦИЯ 9 — ЗВУКИ НОЧНОЙ РЫБАЛКИ
   =============================== */

.nb-sound {
  padding-top: 8px;
  padding-bottom: 56px;
}

.nb-sound__shell {
  border-radius: 26px;
  padding: 20px 20px 22px;
  background: radial-gradient(circle at 30% 0, rgba(62, 231, 255, 0.22), transparent 60%),
              rgba(3, 21, 25, 0.98);
  border: 1px solid rgba(95, 164, 173, 0.95);
  box-shadow: 0 0 32px rgba(8, 60, 67, 0.9);
}

.nb-sound__header {
  max-width: 580px;
  margin-bottom: 16px;
}

.nb-sound__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
}

/* Волны звука */

.nb-sound__waves {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 10px 0 6px;
}

.nb-sound__wave {
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(to top, rgba(4, 26, 28, 0.95), rgba(62, 231, 255, 0.4));
  height: 12px;
  opacity: 0.8;
  animation: nb-sound-pulse 2.4s ease-in-out infinite;
}

.nb-sound__wave--low {
  height: 10px;
}

.nb-sound__wave--mid {
  height: 18px;
  animation-delay: 0.3s;
}

.nb-sound__wave--peak {
  height: 26px;
  animation-delay: 0.6s;
}

/* Список звуков */

.nb-sound__list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nb-sound__item {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  column-gap: 8px;
}

.nb-sound__dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, #ffb547 0, transparent 60%);
  box-shadow: 0 0 12px rgba(255, 181, 71, 0.8);
}

.nb-sound__text {
  font-size: 13px;
  color: #d3e1f0;
}

/* Фото блока звука */

.nb-sound__photos {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.nb-sound__photo {
  margin: 0;
}

.nb-sound__caption {
  margin-top: 6px;
  font-size: 11px;
  color: #b3c4d6;
  max-width: 280px;
}

.nb-sound__photo .nb-img {
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.nb-sound__photo:hover .nb-img {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(62, 231, 255, 0.6);
  filter: brightness(1.05);
}

@keyframes nb-sound-pulse {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.8;
  }
  40% {
    transform: scaleY(1.2);
    opacity: 1;
  }
  70% {
    transform: scaleY(0.9);
    opacity: 0.7;
  }
}

/* ===============================
   СЕКЦИЯ 10 — ПОГОДА И ВЕТЕР
   =============================== */

.nb-weather {
  padding-top: 8px;
  padding-bottom: 60px;
}

.nb-weather__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
}

.nb-weather__content {
  padding: 18px 20px 20px;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, rgba(148, 236, 180, 0.18), transparent 55%),
              rgba(4, 24, 25, 0.98);
  border: 1px solid rgba(90, 160, 160, 0.95);
  box-shadow: 0 0 24px rgba(9, 63, 63, 0.9);
}

/* Тайлы погоды */

.nb-weather__tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.nb-weather__tile {
  border-radius: 18px;
  padding: 8px 10px 10px;
  font-size: 12px;
  color: #e6f0ff;
  position: relative;
  overflow: hidden;
}

.nb-weather__tile::before {
  content: "";
  position: absolute;
  inset: auto 12px 6px 12px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffb547, #3ee7ff);
  opacity: 0.6;
}

.nb-weather__tile--calm {
  background: linear-gradient(135deg, rgba(4, 31, 33, 1), rgba(3, 19, 20, 1));
}

.nb-weather__tile--breeze {
  background: linear-gradient(135deg, rgba(6, 38, 42, 0.98), rgba(62, 231, 255, 0.1));
}

.nb-weather__tile--gust {
  background: linear-gradient(135deg, rgba(5, 26, 30, 0.98), rgba(255, 181, 71, 0.12));
}

.nb-weather__tile-title {
  display: block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.nb-weather__tile-text {
  display: block;
}

/* Фото погоды */

.nb-weather__visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.nb-weather__photo {
  margin: 0;
}

.nb-weather__caption {
  margin-top: 6px;
  font-size: 11px;
  color: #b3c4d6;
  max-width: 280px;
}

.nb-weather__photo .nb-img {
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.nb-weather__photo:hover .nb-img {
  transform: translateY(-4px);
  filter: brightness(1.06);
  box-shadow: 0 0 22px rgba(255, 181, 71, 0.6);
}

/* ===============================
   АДАПТИВ 8–10
   =============================== */

@media (max-width: 960px) {
  .nb-setup__grid,
  .nb-weather__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb-sound__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb-weather__tiles {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .nb-setup__rail,
  .nb-sound__shell,
  .nb-weather__content {
    padding-inline: 14px;
  }
}

@media (max-width: 420px) {
  .nb-setup__caption,
  .nb-sound__caption,
  .nb-weather__caption {
    max-width: 100%;
  }
}
/* ===============================
   СЕКЦИЯ 11 — ОШИБКИ НОЧНОГО НОВИЧКА
   =============================== */

.nb-mistakes {
  padding-top: 8px;
  padding-bottom: 56px;
}

.nb-mistakes__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
}

.nb-mistakes__content {
  padding: 18px 20px 20px;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, rgba(148, 236, 180, 0.18), transparent 55%),
              rgba(4, 24, 25, 0.98);
  border: 1px solid rgba(90, 160, 160, 0.95);
  box-shadow: 0 0 24px rgba(9, 63, 63, 0.9);
}

.nb-mistakes__chips {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nb-mistakes__chip {
  border-radius: 16px;
  padding: 8px 10px;
  background: linear-gradient(135deg, rgba(6, 36, 41, 0.96), rgba(4, 21, 23, 0.98));
  border: 1px solid rgba(117, 187, 189, 0.9);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 8px;
}

.nb-mistakes__chip-tag {
  align-self: flex-start;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(3, 15, 16, 0.95);
  color: #e9f6ff;
}

.nb-mistakes__chip-text {
  font-size: 13px;
  color: #d3e1f0;
}

/* Фото ошибок */

.nb-mistakes__visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.nb-mistakes__photo {
  margin: 0;
}

.nb-mistakes__caption {
  margin-top: 6px;
  font-size: 11px;
  color: #b3c4d6;
  max-width: 280px;
}

.nb-mistakes__photo .nb-img {
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.nb-mistakes__photo:hover .nb-img {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(255, 181, 71, 0.6);
  filter: brightness(1.06);
}

/* ===============================
   СЕКЦИЯ 12 — НОЧНАЯ КОМАНДА
   =============================== */

.nb-crew {
  padding-top: 8px;
  padding-bottom: 56px;
}

.nb-crew__shell {
  border-radius: 26px;
  padding: 20px 20px 22px;
  background: radial-gradient(circle at 60% 0, rgba(62, 231, 255, 0.22), transparent 60%),
              rgba(3, 21, 25, 0.98);
  border: 1px solid rgba(95, 164, 173, 0.95);
  box-shadow: 0 0 32px rgba(8, 60, 67, 0.9);
}

.nb-crew__header {
  max-width: 580px;
  margin-bottom: 16px;
}

.nb-crew__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: center;
}

/* Роли */

.nb-crew__roles {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nb-crew__role {
  border-radius: 18px;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(5, 30, 33, 0.98), rgba(3, 17, 19, 1));
  border: 1px solid rgba(117, 187, 189, 0.9);
}

.nb-crew__role-title {
  margin: 0 0 4px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e9f6ff;
}

.nb-crew__role-text {
  margin: 0;
  font-size: 13px;
  color: #d3e1f0;
}

/* Фото команды */

.nb-crew__photos {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.nb-crew__photo {
  margin: 0;
}

.nb-crew__caption {
  margin-top: 6px;
  font-size: 11px;
  color: #b3c4d6;
  max-width: 280px;
}

.nb-crew__photo .nb-img {
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.nb-crew__photo:hover .nb-img {
  transform: translateY(-4px);
  box-shadow: 0 0 22px rgba(62, 231, 255, 0.6);
  filter: brightness(1.06);
}

/* ===============================
   СЕКЦИЯ 13 — РЮКЗАК ПОСЛЕДНЕГО ШАНСА
   =============================== */

.nb-pack {
  padding-top: 8px;
  padding-bottom: 60px;
}

.nb-pack__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: center;
}

.nb-pack__visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.nb-pack__photo {
  margin: 0;
}

.nb-pack__caption {
  margin-top: 6px;
  font-size: 11px;
  color: #b3c4d6;
  max-width: 280px;
}

.nb-pack__photo .nb-img {
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.nb-pack__photo:hover .nb-img {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(255, 181, 71, 0.6);
  filter: brightness(1.06);
}

/* Контент рюкзака */

.nb-pack__content {
  padding: 18px 20px 20px;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, rgba(148, 236, 180, 0.18), transparent 55%),
              rgba(4, 24, 25, 0.98);
  border: 1px solid rgba(90, 160, 160, 0.95);
  box-shadow: 0 0 24px rgba(9, 63, 63, 0.9);
}

.nb-pack__list {
  margin: 10px 0 0;
}

.nb-pack__row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 2px;
  padding: 6px 0;
}

.nb-pack__term {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8aa3b7;
}

.nb-pack__def {
  margin: 0;
  font-size: 13px;
  color: #d3e1f0;
}

/* ===============================
   АДАПТИВ 11–13
   =============================== */

@media (max-width: 960px) {
  .nb-mistakes__grid,
  .nb-crew__grid,
  .nb-pack__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .nb-mistakes__content,
  .nb-crew__shell,
  .nb-pack__content {
    padding-inline: 14px;
  }
}

@media (max-width: 420px) {
  .nb-mistakes__caption,
  .nb-crew__caption,
  .nb-pack__caption {
    max-width: 100%;
  }

  .nb-pack__row {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* ===============================
   СЕКЦИЯ 14 — НОЧНОЙ ЖУРНАЛ ТРОФЕЕВ
   =============================== */

.nb-log {
  padding-top: 8px;
  padding-bottom: 56px;
}

.nb-log__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
}

.nb-log__content {
  padding: 18px 20px 20px;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, rgba(148, 236, 180, 0.18), transparent 55%),
              rgba(4, 24, 25, 0.98);
  border: 1px solid rgba(90, 160, 160, 0.95);
  box-shadow: 0 0 24px rgba(9, 63, 63, 0.9);
}

.nb-log__entries {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nb-log__entry {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  column-gap: 8px;
  padding: 6px 8px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(5, 30, 33, 0.98), rgba(3, 18, 20, 1));
  border: 1px solid rgba(117, 187, 189, 0.9);
}

.nb-log__time {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e9f6ff;
}

.nb-log__note {
  font-size: 13px;
  color: #d3e1f0;
}

/* Фото журнала */

.nb-log__visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.nb-log__photo {
  margin: 0;
}

.nb-log__caption {
  margin-top: 6px;
  font-size: 11px;
  color: #b3c4d6;
  max-width: 280px;
}

.nb-log__photo .nb-img {
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.nb-log__photo:hover .nb-img {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(62, 231, 255, 0.6);
  filter: brightness(1.06);
}

/* ===============================
   СЕКЦИЯ 15 — УТРО ПОСЛЕ НОЧИ
   =============================== */

.nb-summary {
  padding-top: 8px;
  padding-bottom: 60px;
}

.nb-summary__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.25fr);
  gap: 34px;
  align-items: center;
}

.nb-summary__visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.nb-summary__photo {
  margin: 0;
}

.nb-summary__caption {
  margin-top: 6px;
  font-size: 11px;
  color: #b3c4d6;
  max-width: 280px;
}

.nb-summary__photo .nb-img {
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.nb-summary__photo:hover .nb-img {
  transform: translateY(-4px);
  box-shadow: 0 0 22px rgba(255, 181, 71, 0.6);
  filter: brightness(1.06);
}

/* Контент итога */

.nb-summary__content {
  padding: 18px 20px 22px;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, rgba(148, 236, 180, 0.18), transparent 55%),
              rgba(4, 24, 25, 0.98);
  border: 1px solid rgba(90, 160, 160, 0.95);
  box-shadow: 0 0 24px rgba(9, 63, 63, 0.9);
}

.nb-summary__columns {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.nb-summary__subtitle {
  margin: 0 0 4px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e9f6ff;
}

.nb-summary__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nb-summary__item {
  font-size: 13px;
  color: #d3e1f0;
}

.nb-summary__cta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===============================
   АДАПТИВ 14–15
   =============================== */

@media (max-width: 960px) {
  .nb-log__grid,
  .nb-summary__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .nb-log__content,
  .nb-summary__content {
    padding-inline: 14px;
  }

  .nb-summary__columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .nb-log__caption,
  .nb-summary__caption {
    max-width: 100%;
  }
}
.nb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
  max-width: 100%;      /* <— не вылезаем за блок */
  text-align: center;   /* <— выравнивание по центру */
  white-space: normal;  /* <— разрешаем перенос строк */
}
/* ===============================
   HOME — ФОТО В ПЕРВОЙ СЕКЦИИ (ГЕРОЙ)
   =============================== */

/* контейнер справа может называться nb-hero__media / nb-hero__side —
   главное, что он лежит внутри .nb-hero */
.nb-hero .nb-img {
  width: 100%;
  max-width: 100%;
  height: 220px;        /* фиксируем высоту карточки */
  object-fit: cover;    /* аккуратное кадрирование */
  border-radius: 18px;
}

/* чуть компактнее на мобильных */
@media (max-width: 768px) {
  .nb-hero .nb-img {
    height: 200px;
  }
}
/* ===============================
   HOME — ФОТО В ПЕРВОЙ СЕКЦИИ
   =============================== */

/* именно правый столбец первой секции */
.nb-hero__media img,
.nb-hero__media .nb-img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;   /* делаем фото более «горизонтальными» */
  max-height: 230px;     /* жёсткий лимит по высоте */
  height: auto;
  object-fit: cover;     /* аккуратное кадрирование */
  border-radius: 18px;
}

/* на мобилке — ещё чуть ниже, чтобы блок не был огромным */
@media (max-width: 768px) {
  .nb-hero__media img,
  .nb-hero__media .nb-img {
    max-height: 190px;
    aspect-ratio: 16 / 10;
  }
}
