/* =============================================================================
   ND HOME — новая CSS-база главной страницы.

   Подключается ТОЛЬКО на главной (views/index.ejs). Как и nd-shell.css,
   не содержит ни одного rem — старая rem-сетка (html{font-size:calc(100vw/1920*10)})
   на эту страницу не влияет, а остальные страницы сайта продолжают жить на rem.

   Требует nd-shell.css (токены, сброс, шрифт, шапка, футер).
   ========================================================================== */

/* фон страницы под новую палитру — только когда открыта главная
   (html.nd-legacy навешивается скриптом в layouts/mainbss.ejs на всех
   остальных маршрутах, поэтому старые страницы правило не заденет) */
html:not(.nd-legacy),
html:not(.nd-legacy) body,
html:not(.nd-legacy) #content {
  background-color: #eaf1f5 !important;
}

html:not(.nd-legacy) {
  scroll-behavior: smooth;
}

.nd-home {
  width: 100%;
  max-width: var(--nd-max);
  margin: 0 auto;
  background: var(--nd-bg);
}

.nd-home [id] {
  scroll-margin-top: 160px;
}

/* ---------- утилиты раскладки (брейкпоинт дизайна — 1180px) --------------- */
.nd-m-only,
.nd-m-grid {
  display: none;
}
.nd-d-only {
  display: block;
}

@media (max-width: 1180px) {
  .nd-m-only {
    display: block;
  }
  .nd-m-grid {
    display: grid;
  }
  .nd-d-only {
    display: none !important;
  }
  .nd-home [id] {
    scroll-margin-top: 90px;
  }
  .nd-stack-m {
    grid-template-columns: 1fr !important;
  }
  .nd-full-m .nd-btn,
  .nd-full-m .nd-cta-bar__btn {
    width: 100%;
  }
}

/* ---------- типовые блоки ------------------------------------------------- */
.nd-section {
  padding: 20px var(--nd-pad) clamp(32px, 5vw, 40px);
}

.nd-section__head {
  max-width: 640px;
  margin-bottom: 28px;
}
.nd-section__head--wide {
  max-width: none;
}

.nd-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nd-cyan-700);
  margin-bottom: 12px;
}

.nd-h2 {
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.4px;
  color: var(--nd-ink);
}

.nd-h2--sm {
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.nd-lead {
  font-size: 18px;
  line-height: 1.5;
  color: var(--nd-muted);
  margin-top: 8px;
}

.nd-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background-color: var(--nd-violet);
  padding: 5px 11px;
  border-radius: var(--nd-r-pill);
}

.nd-img {
  width: 100%;
  object-fit: cover;
  background: #e7eef3;
}

/* =============================================================================
   HERO
   ========================================================================== */
.nd-hero {
  padding: clamp(32px, 6vw, 60px) var(--nd-pad) clamp(40px, 7vw, 68px);
  position: relative;
  /*overflow: hidden;*/
}

.nd-hero__blob {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(128, 211, 216, 0.5), transparent 68%);
  pointer-events: none;
}

.nd-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.nd-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nd-cyan-700);
  background: #fff;
  padding: 8px 16px;
  border-radius: var(--nd-r-pill);
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(62, 196, 205, 0.14);
}

.nd-hero__title {
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.6px;
  color: var(--nd-ink);
  margin-bottom: 20px;
}

.nd-hero__text {
  font-size: 19px;
  line-height: 1.5;
  color: var(--nd-muted);
  max-width: 540px;
  margin-bottom: 32px;
}

.nd-hero__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 12px;
  max-width: 560px;
  margin-bottom: 32px;
}

.nd-fact {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border-radius: var(--nd-r-sm);
  padding: 14px 16px;
  box-shadow: 0 6px 18px rgba(28, 52, 72, 0.05);
}

.nd-fact__ico {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--nd-soft-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.nd-fact__text {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--nd-text);
}

.nd-hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.nd-hero__actions .nd-btn {
  box-shadow: var(--nd-shadow-lg);
}

.nd-hero__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--nd-r-lg);
  overflow: hidden;
  background: url("/assets/2026/home/main.jpg") center / cover no-repeat;
}

/* =============================================================================
   НАГРАДЫ
   ========================================================================== */
.nd-awards {
  padding: 0 var(--nd-pad) 20px;
}

.nd-awards__card {
  background: #fff;
  border-radius: var(--nd-r-lg);
  padding: clamp(24px, 3.5vw, 36px);
}

.nd-awards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 18px;
}

.nd-award {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--nd-soft);
  border-radius: 20px;
  padding: 24px 22px;
}

.nd-award__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
}
.nd-award__head img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}
.nd-award__head img.nd-award__logo-wide {
  height: 17px;
  width: auto;
}

.nd-award__score {
  font-size: 26px;
  font-weight: 800;
  color: var(--nd-cyan-600);
}

.nd-award__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--nd-ink);
  line-height: 1.3;
}

.nd-award__link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--nd-cyan-700);
}

/* =============================================================================
   ПОЧЕМУ МЫ
   ========================================================================== */
.nd-why {
  padding: 20px var(--nd-pad);
}

.nd-why__card {
  background: #fff;
  border-radius: var(--nd-r-lg);
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 44px);
  position: relative;
  overflow: hidden;
}

.nd-why__mark {
  position: absolute;
  top: clamp(28px, 4vw, 48px);
  right: clamp(24px, 4vw, 44px);
  width: 300px;
  height: 300px;
  pointer-events: none;
  z-index: 0;
}

.nd-why__head {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-bottom: 40px;
}

.nd-why__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 20px;
}

.nd-why-card {
  background: var(--nd-soft);
  border-radius: var(--nd-r-md);
  padding: 26px 24px;
}

.nd-why-card__ico {
  width: 56px;
  height: 56px;
  border-radius: var(--nd-r-sm);
  background: var(--nd-soft-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 27px;
  margin-bottom: 18px;
}
.nd-why-card__ico--violet {
  background: var(--nd-soft-violet);
}

.nd-why-card__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--nd-ink-2);
  margin-bottom: 10px;
}

.nd-why-card__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--nd-muted-2);
}

.nd-why__wide {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
}

.nd-wide-card {
  border-radius: var(--nd-r-md);
  padding: 32px 34px;
  color: #fff;
}
.nd-wide-card--cyan {
  background-color: var(--nd-cyan-600);
}
.nd-wide-card--violet {
  background-color: var(--nd-violet);
}
.nd-wide-card__ico {
  font-size: 24px;
}
.nd-wide-card__title {
  font-weight: 800;
  font-size: 23px;
  margin: 12px 0 10px;
}
.nd-wide-card__text {
  font-size: 15.5px;
  line-height: 1.55;
  opacity: 0.92;
}

@media (max-width: 1180px) {
  .nd-why__mark {
    opacity: 0.2;
  }
}

/* =============================================================================
   НАПРАВЛЕНИЯ
   ========================================================================== */
.nd-dirs {
  padding: clamp(40px, 6vw, 58px) var(--nd-pad) clamp(48px, 7vw, 72px);
}

.nd-dirs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.nd-dir {
  display: block;
  text-align: left;
  background: var(--nd-cyan-600);
  border: 0;
  border-radius: 24px;
  padding: 28px;
  color: #fff;
  transition: transform 0.18s ease, background-color 0.18s ease;
}
.nd-dir:hover {
  transform: scale(1.02);
  background: var(--nd-violet);
  color: #fff;
}

.nd-dir__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.nd-dir__ico {
  width: 58px;
  height: 58px;
  border-radius: var(--nd-r-sm);
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.nd-dir__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.22);
  padding: 5px 11px;
  border-radius: var(--nd-r-pill);
  color: #fff;
}

.nd-dir__title {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 8px;
  color: inherit;
}

.nd-dir__text {
  font-size: 14.5px;
  line-height: 1.5;
  margin-bottom: 16px;
  color: inherit;
  opacity: 0.92;
}

.nd-dir__more {
  font-size: 14px;
  font-weight: 700;
  color: inherit;
}

.nd-dirs__compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 14px;
}

.nd-dir-c {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: var(--nd-r-sm);
  padding: 16px 18px;
  color: var(--nd-ink-2);
  transition: transform 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}
.nd-dir-c:hover {
  transform: scale(1.02);
  background: var(--nd-cyan-600);
  color: #fff;
}
.nd-dir-c:hover .nd-dir-c__ico {
  background: rgba(255, 255, 255, 0.22);
}

.nd-dir-c__ico {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--nd-soft-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: background-color 0.16s ease;
}

.nd-dir-c__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: inherit;
  flex: 1;
}

.nd-dir-c__arrow {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--nd-cyan-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nd-dir-c:hover .nd-dir-c__arrow {
  background: rgba(255, 255, 255, 0.28);
}

/* =============================================================================
   СЛОГАН
   ========================================================================== */
.nd-slogan__inner {
  position: relative;
  border-radius: var(--nd-r-lg);
  overflow: hidden;
}

.nd-slogan__body {
  position: relative;
  padding: clamp(40px, 6vw, 60px) clamp(24px, 4vw, 44px);
  text-align: center;
  color: #fff;
  background: url("/assets/nd/cta-dream.jpg") center / cover no-repeat;
}

.nd-slogan__title {
  font-weight: 800;
  font-size: clamp(28px, 4.2vw, 42px);
  letter-spacing: -0.4px;
  margin-bottom: 24px;
}

.nd-slogan__body .nd-btn {
  background-color: var(--nd-cyan-600);
  box-shadow: 0 12px 28px rgba(15, 59, 63, 0.25);
}
.nd-slogan__body .nd-btn:hover {
  background-color: var(--nd-cyan-700);
}

@media (max-width: 1180px) {
  .nd-slogan__body {
    background: var(--nd-violet) !important;
  }
}

/* =============================================================================
   АКЦИИ
   ========================================================================== */
.nd-promos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px;
}

.nd-promo {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--nd-r-md);
  overflow: hidden;
  box-shadow: var(--nd-shadow);
}

.nd-promo__img {
  width: 100%;
  height: 160px;
}

.nd-promo__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nd-promo__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin: 12px 0 18px;
  color: var(--nd-ink);
  flex: 1;
}

.nd-promo__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.nd-promo__more {
  color: var(--nd-cyan);
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 6px;
}
.nd-promo__more:hover {
  color: var(--nd-cyan-700);
}

.nd-promo .nd-btn {
  font-size: 13.5px;
  padding: 11px 18px;
}

/* =============================================================================
   ГОРЯЩЕЕ ВРЕМЯ
   ========================================================================== */
.nd-st__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 18px;
}

.nd-st {
  display: flex;
  background: #fff;
  border-radius: var(--nd-r-md);
  overflow: hidden;
  box-shadow: var(--nd-shadow);
  max-width:591px;
}

.nd-st__body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nd-st__title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--nd-ink);
}

.nd-st__chip {
  display: inline-flex;
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 600;
  color: #3a4756;
  padding: 6px 12px;
  border-radius: 10px;
  background-color: #eff3f6;
}

.nd-st__doc {
  font-size: 13.5px;
  color: var(--nd-muted-2);
}
.nd-st__doc a {
  color: var(--nd-cyan-700);
  font-weight: 600;
}

.nd-st .nd-btn {
  margin-top: auto;
  font-size: 13.5px;
  padding: 12px;
  border-radius: 25px;
}

.nd-st__media {
  position: relative;
  width: 160px;
  flex: 0 0 auto;
  min-height: 100%;
  background: #f9f9f9;
}
.nd-st__media > a {
  position: absolute;
  inset: 0;
  display: block;
}
.nd-st__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 520px) {
  .nd-st {
    flex-direction: column;
  }
  .nd-st__media {
    width: 100%;
    height: 200px;
    min-height: 200px;
    order: -1;
  }
}

/* =============================================================================
   ОСНОВАТЕЛЬ
   ========================================================================== */
.nd-founder__card {
  background: #fff;
  border-radius: var(--nd-r-lg);
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(28px, 4vw, 44px);
  align-items: start;
}

.nd-founder__media {
  position: relative;
  min-height: 380px;
}
.nd-founder__media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: 24px;
}

.nd-founder__list {
  margin: 18px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nd-founder__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--nd-muted);
}
.nd-founder__list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--nd-cyan-700);
}
.nd-founder__list p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--nd-muted);
}

/* =============================================================================
   СПЕЦИАЛИСТЫ
   ========================================================================== */
.nd-docs {
  position: relative;
}

.nd-docs__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  cursor: grab;
  user-select: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.nd-docs__track::-webkit-scrollbar {
  display: none;
}

.nd-doc {
  flex: 0 0 200px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--nd-shadow);
}
.nd-doc img {
  width: 200px;
  height: 230px;
  object-fit: cover;
  pointer-events: none;
  background: #e7eef3;
}
.nd-doc__body {
  padding: 16px;
}
.nd-doc__spec {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--nd-cyan-700);
  margin-bottom: 6px;
}
.nd-doc__name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--nd-ink);
  line-height: 1.3;
}

.nd-docs__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(45, 55, 72, 0.1);
  background: #fff;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(28, 52, 72, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nd-docs__nav--prev {
  left: -6px;
}
.nd-docs__nav--next {
  right: -6px;
}

@media (max-width: 1180px) {
  .nd-docs__nav {
    display: none !important;
  }
}

/* =============================================================================
   ШИРОКИЕ CTA-ПОЛОСЫ
   ========================================================================== */
.nd-cta-bar {
  border-radius: var(--nd-r-lg);
  padding: clamp(28px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background-color: var(--nd-violet);
}

.nd-cta-bar__title {
  font-weight: 800;
  font-size: clamp(22px, 2.8vw, 28px);
  letter-spacing: -0.3px;
  color: #fff;
  flex: 1;
  min-width: 260px;
}

.nd-cta-bar__btn {
  font-size: 16px;
  padding: 16px 30px;
}

/* =============================================================================
   ОТЗЫВЫ
   ========================================================================== */
.nd-reviews__row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.nd-reviews__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1 1 300px;
  max-width: 320px;
}

.nd-review-card {
  background: #fff;
  border-radius: var(--nd-r-md);
  padding: 26px 28px;
  box-shadow: var(--nd-shadow);
}
.nd-review-card__score {
  font-size: 34px;
  font-weight: 800;
  color: var(--nd-cyan-600);
  margin-bottom: 8px;
}
.nd-review-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--nd-ink);
  margin-bottom: 6px;
}
.nd-review-card__more {
  font-size: 14px;
  color: var(--nd-muted-2);
}

.nd-reviews__mob {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  flex: 1 1 100%;
  width: 100%;
}
.nd-reviews__mob a {
  background: #fff;
  border-radius: var(--nd-r-sm);
  padding: 14px 10px;
  box-shadow: var(--nd-shadow);
  text-align: center;
}
.nd-reviews__mob .nd-review-card__score {
  font-size: 20px;
  margin-bottom: 4px;
}
.nd-reviews__mob .nd-review-card__title {
  font-size: 12px;
  margin: 0;
}

/* Виджет отзывов Яндекса: белая карточка внутри виджета ограничена 760px,
   поэтому в контейнере шире 760px справа появлялась полоса фона. Отдаём iframe
   ровно 760px и лёгким скейлом растягиваем до правой линии блока (скрипт
   считает масштаб и высоту, здесь только базовые значения). */
.nd-reviews__frame {
  --rev-base: 760px;
  position: relative;
  flex: 2 1 420px;
  min-width: 280px;
  height: 640px;
  border-radius: var(--nd-r-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--nd-shadow);
}
.nd-reviews__frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #fff;
  transform-origin: 0 0;
  backface-visibility: hidden;
}

@media (max-width: 1180px) {
  .nd-reviews__frame {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 800px) {
  .nd-reviews__frame {
    height: 560px;
    flex: 1 1 100%;
    width: 100%;
  }
  
  .nd-hero { overflow: hidden; top: -15px; padding-top: 55px;}
}
@media (max-width: 520px) {
  .nd-reviews__frame {
    height: 520px;
  }
  
  .nd-promo__img {height: 360px;}
  .nd-st {height: 560px;} .nd-st__media img {height: 250px; object-position: top center;} .nd-st__body {padding-top: 80px;} 
  
  
  .nd-img {object-position: top center;}
  
}

/* =============================================================================
   НОВОСТИ
   ========================================================================== */
.nd-news__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.nd-news__head-text {
  flex: 1;
  min-width: 260px;
}
.nd-news__all {
  flex: 0 0 auto;
  color: var(--nd-ink);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--nd-r-pill);
  white-space: nowrap;
  background-color: var(--nd-soft);
  transition: background-color 0.2s ease;
}
.nd-news__all:hover {
  background-color: var(--nd-soft-cyan);
}

.nd-news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px;
}

.nd-news-card {
  display: block;
  background: #fff;
  border-radius: var(--nd-r-md);
  overflow: hidden;
  box-shadow: var(--nd-shadow);
  transition: transform 0.16s ease;
}
.nd-news-card:hover {
  transform: translateY(-3px);
}
.nd-news-card__img {
  width: 100%;
  height: 150px;
}
.nd-news-card__body {
  padding: 20px;
}
.nd-news-card__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nd-violet);
}
.nd-news-card__title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 10px;
  color: var(--nd-ink);
}
.nd-news-card__text {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--nd-muted-2);
  margin-top: 10px;
}
.nd-news-card__text * {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
.nd-news-card__date {
  font-size: 12.5px;
  color: #93a1ad;
  margin-top: 12px;
}

/* =============================================================================
   КАРТА
   ========================================================================== */
.nd-map__card {
  background: #fff;
  border-radius: var(--nd-r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(320px, 1.15fr);
}

.nd-map__info {
  padding: clamp(28px, 4vw, 44px);
}
.nd-map__title {
  font-weight: 800;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.3px;
  color: var(--nd-ink);
  margin-bottom: 20px;
}
.nd-map__addr {
  font-size: 16px;
  color: var(--nd-muted);
  margin-bottom: 18px;
}
.nd-map__hours {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
  font-size: 15px;
  color: var(--nd-muted-2);
}
.nd-map__phones {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.nd-map__phones a {
  color: var(--nd-ink);
  font-weight: 700;
  font-size: 16px;
}
.nd-map__phones a.nd-map__mail {
  font-weight: 600;
}
.nd-map__phones a:hover {
  color: var(--nd-cyan-700);
}
.nd-map__max img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}

.nd-map__frame {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.nd-map__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}
