/* =========================================================================
   NVG OVERRIDES — приводит весь сайт (Site + Shop) к единой NVG-стилистике.
   Подключается через head.html, не трогает оригинальные CSS темы.
   ========================================================================= */

/* ---------- 1. Палитра NVG (на случай, если в админке настройки не выставлены)
   Эти переменные подхватывают и магазин, и сайт. */
:root {
  --nvg-gold: var(--color-accent, #e2a459);
  --nvg-gold-dark: var(--color-accent-hover, #d6a94a);
  --nvg-dark: var(--color-heading, #111318);
  --nvg-dark-soft: #1b1d23;
  --nvg-graphite: #625e5a;
  --nvg-gray: var(--color-body, #5d6470);
  --nvg-light: var(--gray7, #f6f5f3);
  --nvg-card: var(--white, #ffffff);
  --nvg-border: var(--color-form-border, #e7e3dc);
  --nvg-accent-soft: color-mix(in srgb, var(--nvg-gold) 14%, transparent);
  --nvg-accent-mid:  color-mix(in srgb, var(--nvg-gold) 24%, transparent);
  --nvg-accent-strong: color-mix(in srgb, var(--nvg-gold) 42%, transparent);
  --nvg-shadow:      0 22px 70px rgba(17, 19, 24, 0.09);
  --nvg-shadow-soft: 0 14px 42px rgba(17, 19, 24, 0.07);
  --nvg-shadow-hover: 0 28px 80px rgba(17, 19, 24, 0.14);
}

/* ---------- 2. Кнопки в NVG-стиле
   Доводим стандартную .button до округлой капсулы с тенью */
.button,
input[type="submit"],
button.button,
.shop-button {
  border-radius: 999px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease !important;
}

.button:hover,
input[type="submit"]:hover,
button.button:hover,
.shop-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px var(--nvg-accent-mid);
}

.button.button--secondary,
.button--outline,
.button-secondary {
  background: var(--nvg-card) !important;
  color: var(--nvg-dark) !important;
  border: 1px solid var(--nvg-border) !important;
}
.button.button--secondary:hover,
.button--outline:hover,
.button-secondary:hover {
  border-color: var(--nvg-accent-strong) !important;
}

/* ---------- 3. Карточки товаров (магазин)
   Округление, фон, мягкие тени с hover-подъёмом */
.product-card {
  border-radius: var(--block-border-radius, 16px);
  background: var(--nvg-card);
  border: 1px solid var(--nvg-border);
  box-shadow: var(--nvg-shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nvg-shadow-hover);
  border-color: var(--nvg-accent-strong);
}

.product-card .product-card-info {
  padding: 18px 20px 20px;
}

.product-card .product-featured-image {
  margin-bottom: 0 !important;
}

/* Бейджи (sale, new, soldout) */
.product-card--label,
.badge {
  border-radius: 999px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px !important;
  padding: 6px 12px !important;
}

/* Цены: акцент золотым */
.price__current,
.product-card .price,
.product-price,
.thb-product-detail .price__current {
  font-weight: 800;
  color: var(--nvg-dark);
}

.price__sale,
.price--on-sale .price__current {
  color: var(--nvg-gold-dark);
}

.price__compare,
.price--on-sale .price__compare {
  color: var(--nvg-gray);
  text-decoration: line-through;
  opacity: 0.7;
}

/* ---------- 4. Заголовки и типографика
   NVG-почерк: жирность, отрицательный letter-spacing, плотные line-height */
h1, h2, h3,
.h1, .h2, .h3,
.h1-large, .h1-xlarge {
  font-weight: 900 !important;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h4, h5, h6,
.h4, .h5, .h6 {
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

/* Подсветить часть заголовка через <span class="nvg-accent"> */
h1 .nvg-accent, h2 .nvg-accent, h3 .nvg-accent,
.h1 .nvg-accent, .h2 .nvg-accent, .h3 .nvg-accent {
  color: var(--nvg-gold);
}

/* Утилитарный эйбрау (золотая капсула UPPERCASE) — для использования вручную */
.nvg-eyebrow,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--nvg-accent-soft);
  color: var(--nvg-gold-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nvg-eyebrow::before,
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nvg-gold);
  box-shadow: 0 0 0 5px var(--nvg-accent-soft);
}

/* ---------- 5. Формы (логин, регистрация, оформление заказа, отзывы) */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="search"],
textarea,
select,
.input,
.field input {
  border-radius: var(--input-border-radius, 8px) !important;
  border: 1px solid var(--nvg-border) !important;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus,
.input:focus,
.field input:focus {
  border-color: var(--nvg-gold) !important;
  box-shadow: 0 0 0 4px var(--nvg-accent-soft) !important;
  outline: none !important;
}

/* ---------- 6. Шапка
   Чуть плотнее, более «премиальная» */
.header {
  border-bottom: 1px solid var(--nvg-border);
}

.header .logolink {
  font-weight: 900 !important;
  letter-spacing: -0.02em;
}

/* Иконка корзины — золотым акцентом */
.thb-secondary-area .thb-item-count {
  background: var(--nvg-gold) !important;
  color: var(--nvg-dark) !important;
  font-weight: 900;
}

/* ---------- 7. Хлебные крошки */
.breadcrumb,
.breadcrumbs,
.s-breadcrumbs {
  font-size: 13px;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

/* ---------- 8. Карточка товара (страница товара) */
.thb-product-detail .product-title {
  font-weight: 900 !important;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.thb-product-detail .product-single__media-image,
.product-gallery {
  border-radius: var(--block-border-radius, 16px);
  overflow: hidden;
}

/* Add to cart button — крупная и золотая */
.thb-product-detail .add-to-cart,
.thb-product-detail .product-form__submit,
.product-form__submit,
.addtocart-btn {
  border-radius: 999px !important;
  min-height: 54px;
  font-weight: 900 !important;
  letter-spacing: 0.02em;
}

/* ---------- 9. Фильтры в каталоге */
.facets,
.filter-group {
  border-radius: var(--block-border-radius, 16px);
}

.filter-param,
.facets__group {
  border-bottom: 1px solid var(--nvg-border);
  padding: 16px 0;
}

/* ---------- 10. Боковые панели и оверлеи (корзина, поиск, меню) */
.side-panel,
.side-panel-inner {
  border-radius: var(--block-border-radius, 16px) 0 0 var(--block-border-radius, 16px);
}

.side-panel-content {
  padding: 24px;
}

/* ---------- 11. Футер */
.footer-section,
#footer {
  background: var(--color-footer-bg, var(--nvg-dark));
  color: var(--color-footer-text, rgba(255,255,255,0.74));
}

.footer-section a,
#footer a {
  color: var(--color-footer-link, rgba(255,255,255,0.85));
  transition: color 0.2s ease;
}

.footer-section a:hover,
#footer a:hover {
  color: var(--nvg-gold) !important;
}

.footer-section h4,
.footer-section h5,
#footer h4,
#footer h5 {
  color: var(--color-footer-heading, var(--nvg-card)) !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
}

/* ---------- 12. Уведомления и алерты */
.alert,
.notification,
.flash-message {
  border-radius: var(--block-border-radius, 16px);
  border: 1px solid var(--nvg-border);
  background: var(--nvg-card);
  box-shadow: var(--nvg-shadow-soft);
}

/* ---------- 13. Адаптивность — не ломаем мобильную вёрстку */
@media (max-width: 768px) {
  .product-card .product-card-info {
    padding: 14px 16px 16px;
  }

  .thb-product-detail .add-to-cart,
  .thb-product-detail .product-form__submit,
  .product-form__submit,
  .addtocart-btn {
    min-height: 48px;
    width: 100%;
  }
}

/* ---------- 14. Анимации появления (опционально) */
@media (prefers-reduced-motion: no-preference) {
  .product-card,
  .button,
  .nvg-eyebrow {
    will-change: transform;
  }
}





/* ===== NVG · Соцсети — круглый серый бордер ===== */
.footer ul.social-links li a,
.announcement-bar ul.social-links li a,
ul.social-links.social-links--has-border li a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease !important;
  filter: none !important;
  opacity: 1 !important;
  padding: 0 !important;
}

.footer ul.social-links li a:hover,
.announcement-bar ul.social-links li a:hover,
ul.social-links.social-links--has-border li a:hover {
  border-color: rgba(255, 255, 255, 0.6) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  transform: translateY(-1px);
}

.footer ul.social-links li a svg,
.announcement-bar ul.social-links li a svg,
ul.social-links.social-links--has-border li a svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
}

.footer ul.social-links,
.announcement-bar ul.social-links,
ul.social-links.social-links--has-border {
  display: flex !important;
  gap: 10px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer ul.social-links li,
.announcement-bar ul.social-links li,
ul.social-links.social-links--has-border li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* ===== end ===== */

/* ===== NVG · Соцсети — финальный override (бьёт inline-style) ===== */
html body theme-footer.footer.footer .social-links li a,
html body .announcement-bar .social-links li a {
  width: 36px !important;
  height: 36px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
html body theme-footer.footer.footer .social-links li a:hover,
html body .announcement-bar .social-links li a:hover {
  border-color: rgba(255, 255, 255, 0.6) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
/* ===== end ===== */

/* ===== NVG · Соцсети в ШАПКЕ — белые иконки в серых рамках ===== */
html body .announcement-bar .social-links li a {
  width: 36px !important;
  height: 36px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  /* перебиваем инлайновый --color-accent, чтобы иконка стала белой */
  --color-accent: #ffffff !important;
}
html body .announcement-bar .social-links li a:hover {
  border-color: rgba(255, 255, 255, 0.6) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
/* Перебиваем fill у SVG-путей (тема красит их через --color-accent) */
html body .announcement-bar .social-links li a svg,
html body .announcement-bar .social-links li a svg path {
  fill: #ffffff !important;
  width: 18px !important;
  height: 18px !important;
}
html body .announcement-bar .social-links li a:hover svg path {
  fill: #ffffff !important;
}
/* ===== end ===== */

/* ===== NVG · Премиум-карточки категорий ===== */
.list-collections .collection-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  margin: 0 !important;
}
.list-collections .collection-grid > .nvg-cat-cell:nth-child(n+7) { display: none !important; }
.nvg-cat-cell { display: block; min-width: 0; }
.nvg-cat-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid #ececec; border-radius: 18px;
  overflow: hidden; text-decoration: none !important;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.nvg-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(17,19,24,0.12);
  border-color: var(--color-accent, #e6af45);
}
.nvg-cat-card__media {
  position: relative; width: 100%; aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #f7f7f8 0%, #fbfbfc 100%);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.nvg-cat-card__media img, .nvg-cat-card__img {
  width: 100% !important; height: 100% !important;
  object-fit: contain !important; object-position: center !important;
  display: block !important; padding: 22px; box-sizing: border-box;
  transition: transform 0.4s ease;
}
.nvg-cat-card:hover .nvg-cat-card__img,
.nvg-cat-card:hover .nvg-cat-card__media img { transform: scale(1.05); }
.nvg-cat-card__body {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 20px 22px; border-top: 1px solid #f1f1f1;
}
.nvg-cat-card__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nvg-cat-card__title {
  color: #1b1d23; font-size: 19px; font-weight: 800;
  line-height: 1.2; letter-spacing: -0.01em;
}
.nvg-cat-card__count { color: #8b9099; font-size: 14px; line-height: 1.3; }
.nvg-cat-card__arrow {
  flex: 0 0 auto; width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-accent, #e6af45) 14%, transparent);
  color: var(--color-accent, #e6af45);
  transition: background 0.22s ease, transform 0.22s ease;
}
.nvg-cat-card__arrow svg { width: 20px; height: 20px; }
.nvg-cat-card:hover .nvg-cat-card__arrow {
  background: var(--color-accent, #e6af45); color: #fff; transform: translateX(2px);
}
@media (max-width: 1100px) {
  .list-collections .collection-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 18px !important; }
}
@media (max-width: 600px) {
  .list-collections .collection-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .nvg-cat-card__title { font-size: 17px; }
  .nvg-cat-card__body { padding: 16px 18px; }
}
/* ===== end ===== */




/* ===== NVG · Шапка блока категорий (4 фичи в ряд + разделители) ===== */
.nvg-cat-head {
  display: grid !important;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) !important;
  gap: 48px !important;
  align-items: center !important;
  margin-bottom: 44px !important;
}
.nvg-cat-head__title {
  margin: 0 0 16px !important;
  color: #1b1d23 !important;
  font-size: clamp(28px, 2.6vw, 40px) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em !important;
  position: relative !important;
  padding-bottom: 14px !important;
}
.nvg-cat-head__title::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important; bottom: 0 !important;
  width: 56px !important; height: 4px !important;
  border-radius: 2px !important;
  background: var(--color-accent, #e6af45) !important;
}
.nvg-cat-head__subtitle {
  margin: 0 !important;
  color: #5d6470 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  max-width: 440px !important;
}
/* Фичи: 4 колонки в ОДИН ряд */
.nvg-cat-head__features {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0 !important;
  padding: 0 !important;
}
/* Фича: иконка сверху, текст под ней */
.nvg-cat-feature {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 12px !important;
  text-align: left !important;
  border: none !important;
  padding: 0 24px !important;
}
.nvg-cat-feature:first-child { padding-left: 0 !important; }
/* Вертикальный разделитель по центру промежутка между колонками */
.nvg-cat-feature + .nvg-cat-feature::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 6px !important;
  bottom: 6px !important;
  width: 1px !important;
  background: rgba(0, 0, 0, 0.12) !important;
}
.nvg-cat-feature__icon {
  flex: 0 0 auto !important;
  width: 52px !important; height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--color-accent, #e6af45) !important;
  margin: 0 !important;
}
.nvg-cat-feature__icon svg { width: 48px !important; height: 48px !important; }
.nvg-cat-feature__text {
  display: block !important;
  color: #5d6470 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  text-align: left !important;
}
.nvg-cat-feature__text b {
  display: block !important;
  color: #1b1d23 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  margin-bottom: 4px !important;
}
@media (max-width: 1100px) {
  .nvg-cat-head { grid-template-columns: 1fr !important; gap: 32px !important; }
}
@media (max-width: 700px) {
  .nvg-cat-head__features { grid-template-columns: repeat(2, 1fr) !important; row-gap: 24px !important; }
  /* На 2 колонках разделитель у 3-й (начало нового ряда) убираем */
  .nvg-cat-feature:nth-child(3)::before { display: none !important; }
  .nvg-cat-feature { padding: 0 18px !important; }
  .nvg-cat-feature:nth-child(odd) { padding-left: 0 !important; }
}
@media (max-width: 400px) {
  .nvg-cat-head__features { grid-template-columns: 1fr !important; }
  .nvg-cat-feature::before { display: none !important; }
  .nvg-cat-feature { padding: 0 !important; }
}
/* ===== end ===== */
/* ===== NVG · Блок СЕРТИФИКАТЫ (премиум) ===== */
.nvg-cert-section {
  --nvg-gold: var(--color-accent, #e6af45);
  background: #f3f4f6;
  border-radius: 28px;
  padding: 48px;
  margin: 0 auto;
  max-width: 1380px;
  box-sizing: border-box;
}
.nvg-cert-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 44px;
  align-items: stretch;
}

/* ── ЛЕВАЯ КОЛОНКА ── */
.nvg-cert-intro {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nvg-cert-intro li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #3a3f47;
  font-size: 15px;
  line-height: 1.45;
}
.nvg-cert-intro__ic {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  color: var(--nvg-gold);
  margin-top: 1px;
}
.nvg-cert-intro__ic svg { width: 22px; height: 22px; }

.nvg-cert-title {
  margin: 0 0 18px;
  color: #16181d;
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  position: relative;
  padding-bottom: 16px;
}
.nvg-cert-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 60px; height: 4px;
  border-radius: 2px;
  background: var(--nvg-gold);
}
.nvg-cert-sub {
  margin: 0 0 32px;
  color: #5c636e;
  font-size: 16px;
  line-height: 1.6;
  max-width: 540px;
}

/* 3 карточки ISO */
.nvg-cert-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.nvg-cert-card {
  background: #fff;
  border: 1px solid #e9eaed;
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.nvg-cert-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(22, 24, 29, 0.10);
}
.nvg-cert-card__ic {
  width: 40px; height: 40px;
  color: var(--nvg-gold);
}
.nvg-cert-card__ic svg { width: 40px; height: 40px; }
.nvg-cert-card__code {
  color: #16181d;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.nvg-cert-card__desc {
  color: #4a5059;
  font-size: 14px;
  line-height: 1.4;
  flex: 1 0 auto;
}
.nvg-cert-card__gost {
  color: #9aa0a8;
  font-size: 12px;
  padding-top: 10px;
  border-top: 1px solid #eef0f2;
}

/* ── ПРАВАЯ КОЛОНКА: фото + тёмная панель ── */
.nvg-cert-right {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 540px;
  background: #e8e9ec;
}
.nvg-cert-photo {
  position: absolute;
  inset: 0;
  background-image: url('/wa-data/public/site/themes/aspiresense/images/nvg-certificate-bg.jpg');
  background-size: cover;
  background-position: center left;
}
.nvg-cert-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  background: rgba(20, 22, 27, 0.92);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 36px 30px;
  box-sizing: border-box;
}
.nvg-cert-panel__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.nvg-cert-panel__ic {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  color: var(--nvg-gold);
  margin-top: 2px;
}
.nvg-cert-panel__ic svg { width: 30px; height: 30px; }
.nvg-cert-panel__txt {
  display: block;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.4;
}
.nvg-cert-panel__txt b {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}

/* ── НИЖНЯЯ ПОЛОСА: статы ── */
.nvg-cert-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border-radius: 18px;
  padding: 28px 12px;
  margin-top: 28px;
}
.nvg-cert-stat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 28px;
}
.nvg-cert-stat + .nvg-cert-stat::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 1px;
  background: #ececef;
}
.nvg-cert-stat__ic {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  color: var(--nvg-gold);
}
.nvg-cert-stat__ic svg { width: 46px; height: 46px; }
.nvg-cert-stat__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nvg-cert-stat__body b {
  color: #16181d;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.nvg-cert-stat__body b span { font-size: 17px; font-weight: 700; }
.nvg-cert-stat__cap {
  color: #6a7079;
  font-size: 12.5px;
  line-height: 1.35;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .nvg-cert-section { padding: 32px; }
  .nvg-cert-wrap { grid-template-columns: 1fr; gap: 32px; }
  .nvg-cert-right { min-height: 440px; }
  .nvg-cert-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .nvg-cert-stat:nth-child(3)::before { display: none; }
}
@media (max-width: 640px) {
  .nvg-cert-section { padding: 22px; border-radius: 20px; }
  .nvg-cert-cards { grid-template-columns: 1fr; }
  .nvg-cert-panel { width: 64%; }
  .nvg-cert-stats { grid-template-columns: 1fr; }
  .nvg-cert-stat { padding: 4px 12px; }
  .nvg-cert-stat::before { display: none !important; }
}
/* ===== end ===== */


/* ===== NVG · Блок СЕРТИФИКАТЫ (премиум) ===== */
/* Растягиваем родительские контейнеры темы для секции сертификатов */
.section-media-with-tabs .row,
.section-media-with-tabs .row > .columns {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.nvg-cert-section {
  --nvg-gold: var(--color-accent, #e6af45);
  background: #f3f4f6;
  border-radius: 28px;
  padding: 48px clamp(24px, 5vw, 96px);
  margin: 0;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.nvg-cert-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 44px;
  align-items: stretch;
  max-width: 1600px;
  margin: 0 auto;
}

/* ── ЛЕВАЯ КОЛОНКА ── */
.nvg-cert-intro {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nvg-cert-intro li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #3a3f47;
  font-size: 15px;
  line-height: 1.45;
}
.nvg-cert-intro__ic {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  color: var(--nvg-gold);
  margin-top: 1px;
}
.nvg-cert-intro__ic svg { width: 22px; height: 22px; }

.nvg-cert-title {
  margin: 0 0 18px;
  color: #16181d;
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  position: relative;
  padding-bottom: 16px;
}
.nvg-cert-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 60px; height: 4px;
  border-radius: 2px;
  background: var(--nvg-gold);
}
.nvg-cert-sub {
  margin: 0 0 32px;
  color: #5c636e;
  font-size: 16px;
  line-height: 1.6;
  max-width: 540px;
}

/* 3 карточки ISO */
.nvg-cert-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.nvg-cert-card {
  background: #fff;
  border: 1px solid #e9eaed;
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.nvg-cert-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(22, 24, 29, 0.10);
}
.nvg-cert-card__ic {
  width: 40px; height: 40px;
  color: var(--nvg-gold);
}
.nvg-cert-card__ic svg { width: 40px; height: 40px; }
.nvg-cert-card__code {
  color: #16181d;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.nvg-cert-card__desc {
  color: #4a5059;
  font-size: 14px;
  line-height: 1.4;
  flex: 1 0 auto;
}
.nvg-cert-card__gost {
  color: #9aa0a8;
  font-size: 12px;
  padding-top: 10px;
  border-top: 1px solid #eef0f2;
}

/* ── ПРАВАЯ КОЛОНКА: фото + тёмная панель ── */
.nvg-cert-right {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 540px;
  background: #e8e9ec;
}
.nvg-cert-photo {
  position: absolute;
  inset: 0;
  background-image: url('/wa-data/public/site/themes/aspiresense/images/nvg-certificate-bg.jpg');
  background-size: cover;
  background-position: center left;
}
.nvg-cert-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  background: rgba(20, 22, 27, 0.92);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 36px 30px;
  box-sizing: border-box;
}
.nvg-cert-panel__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.nvg-cert-panel__ic {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  color: var(--nvg-gold);
  margin-top: 2px;
}
.nvg-cert-panel__ic svg { width: 30px; height: 30px; }
.nvg-cert-panel__txt {
  display: block;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.4;
}
.nvg-cert-panel__txt b {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}

/* ── НИЖНЯЯ ПОЛОСА: статы ── */
.nvg-cert-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border-radius: 18px;
  padding: 28px 12px;
  margin: 28px auto 0;
  max-width: 1600px;
}
.nvg-cert-stat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 28px;
}
.nvg-cert-stat + .nvg-cert-stat::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 1px;
  background: #ececef;
}
.nvg-cert-stat__ic {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  color: var(--nvg-gold);
}
.nvg-cert-stat__ic svg { width: 46px; height: 46px; }
.nvg-cert-stat__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nvg-cert-stat__body b {
  color: #16181d;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.nvg-cert-stat__body b span { font-size: 17px; font-weight: 700; }
.nvg-cert-stat__cap {
  color: #6a7079;
  font-size: 12.5px;
  line-height: 1.35;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .nvg-cert-section { padding: 32px; }
  .nvg-cert-wrap { grid-template-columns: 1fr; gap: 32px; }
  .nvg-cert-right { min-height: 440px; }
  .nvg-cert-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .nvg-cert-stat:nth-child(3)::before { display: none; }
}
@media (max-width: 640px) {
  .nvg-cert-section { padding: 22px; border-radius: 20px; }
  .nvg-cert-cards { grid-template-columns: 1fr; }
  .nvg-cert-panel { width: 64%; }
  .nvg-cert-stats { grid-template-columns: 1fr; }
  .nvg-cert-stat { padding: 4px 12px; }
  .nvg-cert-stat::before { display: none !important; }
}
/* ===== end ===== */



/* ===== NVG · Фикс правой части блока сертификатов ===== */
.nvg-cert-right {
  position: relative !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  min-height: 540px !important;
  background: #e8e9ec !important;
}
.nvg-cert-photo {
  position: absolute !important;
  inset: 0 !important;
  background-image: url('/wa-data/public/site/themes/aspiresense/images/nvg-certificate-bg.jpg') !important;
  background-size: cover !important;
  background-position: center left !important;
  background-repeat: no-repeat !important;
}
.nvg-cert-panel {
  position: absolute !important;
  top: 0 !important; right: 0 !important; bottom: 0 !important;
  width: 50% !important;
  background: rgba(20, 22, 27, 0.92) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 26px !important;
  padding: 36px 30px !important;
  box-sizing: border-box !important;
}
/* ===== end ===== */

/* ===== NVG · Позиция фото сертификата (финальный фикс) ===== */
.nvg-cert-right {
  position: relative !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  min-height: 540px !important;
  background: #eceef0 !important;
}
.nvg-cert-photo {
  position: absolute !important;
  inset: 0 !important;
  background-image: url('/wa-data/public/site/themes/aspiresense/images/nvg-certificate-bg.jpg') !important;
  background-size: cover !important;
  background-position: 72% center !important;
  background-repeat: no-repeat !important;
}
.nvg-cert-panel {
  position: absolute !important;
  top: 0 !important; right: 0 !important; bottom: 0 !important;
  width: 46% !important;
  background: rgba(20, 22, 27, 0.93) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 26px !important;
  padding: 36px 30px !important;
  box-sizing: border-box !important;
}
/* ===== end ===== */

/* ===== NVG · Фото сертификата — центрирование (обрезанная версия) ===== */
.nvg-cert-photo {
  background-image: url('/wa-data/public/site/themes/aspiresense/images/nvg-certificate-bg.jpg') !important;
  background-size: cover !important;
  background-position: left center !important;
  background-repeat: no-repeat !important;
}
/* ===== end ===== */

/* ===== NVG · Финальный фикс правой части ===== */
/* Сертификат виден ПОЛНОСТЬЮ */
.nvg-cert-photo {
  background-image: url('/wa-data/public/site/themes/aspiresense/images/nvg-certificate-bg.jpg') !important;
  background-size: contain !important;
  background-position: left center !important;
  background-repeat: no-repeat !important;
  background-color: #f0f1f3 !important;
}
/* Панель уже, не наезжает на сертификат */
.nvg-cert-panel {
  width: 38% !important;
}
/* Текст в панели: заголовок и описание на разных строках */
.nvg-cert-panel__txt {
  display: block !important;
  color: rgba(255,255,255,0.72) !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}
.nvg-cert-panel__txt b {
  display: block !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  margin-bottom: 3px !important;
}
/* Полупрозрачный фон под текстом убираем (был от выделения) */
.nvg-cert-panel__txt, .nvg-cert-panel__txt b { background: transparent !important; }
/* ===== end ===== */

/* ===== NVG · Правая часть — финальная сборка ===== */
.nvg-cert-right {
  position: relative !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  min-height: 620px !important;
  /* фон в цвет стены на фото — поля от contain сольются */
  background: #eceeef !important;
}
.nvg-cert-photo {
  position: absolute !important;
  inset: 0 !important;
  background-image: url('/wa-data/public/site/themes/aspiresense/images/nvg-certificate-bg.jpg') !important;
  background-size: contain !important;
  background-position: center left !important;
  background-repeat: no-repeat !important;
  background-color: #eceeef !important;
}
/* Панель — плавающая скруглённая карточка справа */
.nvg-cert-panel {
  position: absolute !important;
  top: 22px !important;
  right: 22px !important;
  bottom: 22px !important;
  width: 40% !important;
  border-radius: 18px !important;
  background: #14161b !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 24px !important;
  padding: 30px 26px !important;
  box-sizing: border-box !important;
}
/* ===== end ===== */

/* ===== NVG · Правая часть как на референсе (Image 3) ===== */
.nvg-cert-right {
  position: relative !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  min-height: 600px !important;
  background: #eceeef !important;
}
.nvg-cert-photo {
  position: absolute !important;
  inset: 0 !important;
  background-image: url('/wa-data/public/site/themes/aspiresense/images/nvg-certificate-bg.jpg') !important;
  background-size: cover !important;
  background-position: left center !important;
  background-repeat: no-repeat !important;
  background-color: #eceeef !important;
}
/* Панель — плавающая тёмная карточка справа с золотой полоской снизу */
.nvg-cert-panel {
  position: absolute !important;
  top: 30px !important;
  right: 26px !important;
  bottom: 30px !important;
  width: 44% !important;
  border-radius: 16px !important;
  background: #16181d !important;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28) !important;
  border-bottom: 4px solid var(--color-accent, #e6af45) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 0 !important;
  padding: 12px 30px !important;
  box-sizing: border-box !important;
}
/* Пункты с разделителями */
.nvg-cert-panel__item {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 22px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.12) !important;
}
.nvg-cert-panel__item:last-child { border-bottom: none !important; }
.nvg-cert-panel__ic {
  flex: 0 0 auto !important;
  width: 40px !important; height: 40px !important;
  color: var(--color-accent, #e6af45) !important;
}
.nvg-cert-panel__ic svg { width: 40px !important; height: 40px !important; }
.nvg-cert-panel__txt {
  display: block !important;
  color: rgba(255,255,255,0.62) !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  background: transparent !important;
}
.nvg-cert-panel__txt b {
  display: block !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-bottom: 3px !important;
  background: transparent !important;
}
/* ===== end ===== */

/* ===== NVG · Панель компактнее (по тексту) ===== */
.nvg-cert-panel {
  position: absolute !important;
  top: 50% !important;
  right: 26px !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  width: 44% !important;
  border-radius: 16px !important;
  background: #16181d !important;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28) !important;
  border-bottom: 4px solid var(--color-accent, #e6af45) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 0 !important;
  padding: 6px 26px !important;
  box-sizing: border-box !important;
}
.nvg-cert-panel__item {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 15px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.12) !important;
}
.nvg-cert-panel__item:last-child { border-bottom: none !important; }
/* ===== end ===== */

/* ===== NVG · Панель — позиция, паддинги, прозрачность ===== */
.nvg-cert-panel {
  position: absolute !important;
  top: 65% !important;
  right: 26px !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  width: 44% !important;
  border-radius: 16px !important;
  background: rgba(22, 24, 29, 0.9) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28) !important;
  border-bottom: 4px solid var(--color-accent, #e6af45) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 0 !important;
  padding: 30px 22px !important;
  box-sizing: border-box !important;
}
/* ===== end ===== */

/* ===== NVG · Блок «Оборудование в лизинг» (премиум) ===== */
.nvg-liz-section {
  --nvg-gold: var(--color-accent, #e6af45);
  background: #fff;
  border-radius: 28px;
  padding: 56px clamp(24px, 5vw, 80px);
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.nvg-liz-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
}

/* ── ЛЕВАЯ КОЛОНКА ── */
.nvg-liz-eyebrow {
  display: inline-block;
  position: relative;
  color: var(--nvg-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding-left: 40px;
  margin-bottom: 22px;
}
.nvg-liz-eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 30px; height: 2px;
  background: var(--nvg-gold);
}
.nvg-liz-title {
  margin: 0 0 22px;
  color: #16181d;
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.nvg-liz-lead {
  margin: 0 0 14px;
  color: #2c2f36;
  font-size: 17px;
  font-weight: 600;
}
.nvg-liz-lead b { font-weight: 800; color: #16181d; }
.nvg-liz-lead b span { color: var(--nvg-gold); }
.nvg-liz-text {
  margin: 0 0 30px;
  color: #5c636e;
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 540px;
}

/* 4 фичи */
.nvg-liz-feats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 34px;
}
.nvg-liz-feat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.nvg-liz-feat__ic {
  width: 64px; height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: color-mix(in srgb, var(--nvg-gold) 12%, transparent);
  color: var(--nvg-gold);
}
.nvg-liz-feat__ic svg { width: 30px; height: 30px; }
.nvg-liz-feat__t {
  color: #3a3f47;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}

/* Кнопки */
.nvg-liz-btns {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.nvg-liz-btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 34px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #f0b84a, #e09a2e);
  box-shadow: 0 14px 32px rgba(224, 154, 46, 0.32);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.nvg-liz-btn-main:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(224,154,46,0.4); filter: brightness(1.04); }
.nvg-liz-btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #16181d;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.18s ease, color 0.18s ease;
}
.nvg-liz-btn-text span { color: var(--nvg-gold); transition: transform 0.18s ease; }
.nvg-liz-btn-text:hover { color: var(--nvg-gold); }
.nvg-liz-btn-text:hover span { transform: translateX(4px); }

/* ── ПРАВАЯ КОЛОНКА: фото + карточки ── */
.nvg-liz-right {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 560px;
  background: #f4f5f7;
}
.nvg-liz-photo {
  position: absolute;
  inset: 0;
  background-image: url('/wa-data/public/site/themes/aspiresense/images/nvg-lizing-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.nvg-liz-cards {
  position: absolute;
  top: 50%;
  right: 26px;
  transform: translateY(-50%);
  width: 42%;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(22,24,29,0.16);
  padding: 8px 26px;
}
.nvg-liz-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid #eef0f2;
}
.nvg-liz-card:last-child { border-bottom: none; }
.nvg-liz-card__ic {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  color: var(--nvg-gold);
}
.nvg-liz-card__ic svg { width: 42px; height: 42px; }
.nvg-liz-card__num {
  color: #16181d;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.nvg-liz-card__pre { font-size: 14px; font-weight: 700; color: var(--nvg-gold); }
.nvg-liz-card__unit { font-size: 18px; font-weight: 700; }
.nvg-liz-card__cap { color: #6a7079; font-size: 13px; margin-top: 4px; }

/* ── НИЖНЯЯ ПОЛОСА ── */
.nvg-liz-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #f7f8f9;
  border-radius: 18px;
  padding: 26px 12px;
  margin: 34px auto 0;
  max-width: 1600px;
}
.nvg-liz-strip-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 26px;
}
.nvg-liz-strip-item + .nvg-liz-strip-item::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 1px;
  background: #e6e8ea;
}
.nvg-liz-strip__ic {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  color: var(--nvg-gold);
}
.nvg-liz-strip__ic svg { width: 42px; height: 42px; }
.nvg-liz-strip__t {
  display: block;
  color: #5c636e;
  font-size: 13px;
  line-height: 1.4;
}
.nvg-liz-strip__t b {
  display: block;
  color: #16181d;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 2px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .nvg-liz-section { padding: 40px 28px; }
  .nvg-liz-top { grid-template-columns: 1fr; gap: 34px; }
  .nvg-liz-right { min-height: 460px; }
  .nvg-liz-strip { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .nvg-liz-strip-item:nth-child(3)::before { display: none; }
}
@media (max-width: 640px) {
  .nvg-liz-section { padding: 26px 18px; border-radius: 20px; }
  .nvg-liz-feats { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .nvg-liz-cards { width: 62%; }
  .nvg-liz-strip { grid-template-columns: 1fr; }
  .nvg-liz-strip-item { padding: 4px 12px; }
  .nvg-liz-strip-item::before { display: none !important; }
  .nvg-liz-btns { gap: 16px; }
  .nvg-liz-btn-main { width: 100%; }
}
/* ===== end ===== */

/* Full-width только для rich-text, содержащего блок лизинга (через :has) */
.section-rich-text:has(.nvg-liz-section) .row,
.section-rich-text:has(.nvg-liz-section) .row > .columns,
.section-rich-text:has(.nvg-liz-section) .rich-text,
.section-rich-text:has(.nvg-liz-section) .rich-text__inner {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.section-rich-text:has(.nvg-liz-section) .rich-text { background: transparent !important; }
/* ===== end full-width ===== */

/* ===== NVG · Лизинг — уже левый блок, шире фото ===== */
.nvg-liz-top {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) !important;
}
/* ===== end ===== */

/* ===== NVG · Лизинг — карточки: авто-ширина, прозрачнее, компактнее ===== */
.nvg-liz-cards {
  width: auto !important;
  background: rgba(255,255,255,0.7) !important;
}
.nvg-liz-card {
  padding: 18px 0 !important;
}
/* ===== end ===== */

/* ===== NVG · Лизинг — карточки ниже ===== */
.nvg-liz-cards {
  top: 60% !important;
}
/* ===== end ===== */

/* ===== NVG · Блок «Услуги» (премиум) ===== */
.nvg-usl-section {
  --nvg-gold: var(--color-accent, #e6af45);
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 0 clamp(24px, 5vw, 80px) 48px;
}
/* Шапка с фоновым фото справа */
.nvg-usl-head {
  position: relative;
  background-image: url('/wa-data/public/site/themes/aspiresense/images/nvg-uslugi-bg.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  border-radius: 22px 22px 0 0;
  padding: 56px clamp(24px, 4vw, 64px) 64px;
  margin: 0 auto;
  max-width: 1600px;
}
.nvg-usl-head__left { max-width: 620px; }
.nvg-usl-eyebrow {
  display: inline-block;
  position: relative;
  color: var(--nvg-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding-left: 40px;
  margin-bottom: 20px;
}
.nvg-usl-eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 30px; height: 2px;
  background: var(--nvg-gold);
}
.nvg-usl-title {
  margin: 0 0 22px;
  color: #16181d;
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.nvg-usl-sub {
  margin: 0;
  color: #4a5059;
  font-size: 16px;
  line-height: 1.6;
  max-width: 540px;
}

/* 4 карточки */
.nvg-usl-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1600px;
  margin: -40px auto 0;
  position: relative;
  z-index: 2;
}
.nvg-usl-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ececef;
  border-radius: 18px;
  padding: 30px 26px;
  text-decoration: none !important;
  box-shadow: 0 18px 44px rgba(22,24,29,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.nvg-usl-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 56px rgba(22,24,29,0.13);
  border-color: var(--nvg-gold);
}
.nvg-usl-card__ic {
  width: 52px; height: 52px;
  color: var(--nvg-gold);
  margin-bottom: 22px;
}
.nvg-usl-card__ic svg { width: 44px; height: 44px; }
.nvg-usl-card__t {
  margin: 0 0 14px;
  color: #16181d;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 14px;
}
.nvg-usl-card__t::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 38px; height: 3px;
  border-radius: 2px;
  background: var(--nvg-gold);
}
.nvg-usl-card__d {
  margin: 0 0 22px;
  color: #5c636e;
  font-size: 14.5px;
  line-height: 1.55;
  flex: 1 0 auto;
}
.nvg-usl-card__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #16181d;
  font-size: 14.5px;
  font-weight: 700;
}
.nvg-usl-arr { color: var(--nvg-gold); transition: transform 0.2s ease; }
.nvg-usl-card:hover .nvg-usl-arr { transform: translateX(5px); }

/* Нижняя полоса */
.nvg-usl-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1600px;
  margin: 40px auto 0;
  padding: 8px 0;
}
.nvg-usl-strip-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 28px;
}
.nvg-usl-strip-item + .nvg-usl-strip-item::before {
  content: "";
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 1px;
  background: #e1e3e6;
}
.nvg-usl-strip__ic {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  color: #2c2f36;
}
.nvg-usl-strip__ic svg { width: 38px; height: 38px; }
.nvg-usl-strip__t {
  color: #2c2f36;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .nvg-usl-cards { grid-template-columns: repeat(2, 1fr); }
  .nvg-usl-strip { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .nvg-usl-strip-item:nth-child(3)::before { display: none; }
  .nvg-usl-head { background-position: center right -120px; }
}
@media (max-width: 640px) {
  .nvg-usl-cards { grid-template-columns: 1fr; margin-top: -24px; }
  .nvg-usl-strip { grid-template-columns: 1fr; }
  .nvg-usl-strip-item { padding: 8px 14px; }
  .nvg-usl-strip-item::before { display: none !important; }
  .nvg-usl-head { padding: 40px 22px 48px; }
}
/* ===== end ===== */

/* Full-width только для text-with-icons с блоком услуг */
.section-text-with-icons:has(.nvg-usl-section) .row,
.section-text-with-icons:has(.nvg-usl-section) .row > .columns,
.section-text-with-icons:has(.nvg-usl-section) .text-with-icons {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background: transparent !important;
}
/* ===== end full-width ===== */

/* ============ NVG · ФУТЕР (премиум) ============ */
theme-footer.footer#footer { background: #0e0f13 !important; padding: 0 !important; }
theme-footer.footer#footer .row { max-width: none; }

.nvg-foot {
  --gold: #e6af45;
  background: linear-gradient(180deg, #111319 0%, #0b0c10 100%);
  color: #c7ccd4;
  padding: 64px clamp(20px, 4vw, 70px) 0;
  font-size: 15px;
}
.nvg-foot__wrap { max-width: 1560px; margin: 0 auto; }

/* ── ВЕРХНИЙ ЯРУС ── */
.nvg-foot__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 48px;
  padding-bottom: 52px;
}

/* Колонка 1: бренд */
.nvg-foot__logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; margin-bottom: 24px; }
.nvg-foot__logo-mark { width: 46px; height: 46px; color: var(--gold); }
.nvg-foot__logo-mark svg { width: 46px; height: 46px; }
.nvg-foot__logo-txt { color: #fff; font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; position: relative; }
.nvg-foot__logo-txt span { color: var(--gold); }
.nvg-foot__logo-txt i { display: block; font-style: normal; font-size: 8.5px; font-weight: 600; letter-spacing: 0.14em; color: #8b919b; margin-top: 4px; }
.nvg-foot__slogan { color: #aeb4bd; line-height: 1.6; margin: 0 0 24px; max-width: 360px; }
.nvg-foot__contacts { list-style: none; margin: 0 0 24px; padding: 0; }
.nvg-foot__contacts li { margin-bottom: 14px; }
.nvg-foot__contacts a { color: #c7ccd4; text-decoration: none; display: inline-flex; align-items: center; transition: color 0.2s; }
.nvg-foot__contacts li { display: flex; align-items: center; }
.nvg-foot__contacts a:hover { color: var(--gold); }
.nvg-foot__ci { width: 36px; height: 36px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(230,175,69,0.1); color: var(--gold); margin-right: 14px; }
.nvg-foot__ci svg { width: 18px; height: 18px; }
.nvg-foot__social { display: flex; gap: 12px; }
.nvg-foot__soc { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #1a1c22; border: 1px solid #2a2d35; color: #d4d8df; text-decoration: none; transition: all 0.2s; font-weight: 800; font-size: 14px; }
.nvg-foot__soc svg { width: 20px; height: 20px; }
.nvg-foot__soc:hover { background: var(--gold); border-color: var(--gold); color: #14161b; }
.nvg-foot__soc--txt small { font-size: 9px; }

/* Колонка 2: почему */
.nvg-foot__why-head { color: #fff; font-size: 15px; font-weight: 800; letter-spacing: 0.08em; margin-bottom: 26px; }
.nvg-foot__why-head b { color: var(--gold); }
.nvg-foot__why-list { list-style: none; margin: 0; padding: 0; }
.nvg-foot__why-list li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.nvg-foot__why-list li:last-child { border-bottom: none; }
.nvg-foot__why-ic { width: 30px; height: 30px; flex: 0 0 auto; color: var(--gold); }
.nvg-foot__why-ic svg { width: 30px; height: 30px; }
.nvg-foot__why-list span span, .nvg-foot__why-list li > span:last-child { display: block; color: #9da3ad; font-size: 13.5px; line-height: 1.4; }
.nvg-foot__why-list b { display: block; color: #eef0f3; font-size: 14.5px; font-weight: 700; margin-bottom: 2px; }

/* Колонка 3: CTA-карточка */
.nvg-foot__cta { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid rgba(230,175,69,0.4); background: #0c0d11; min-height: 300px; }
.nvg-foot__cta-photo { position: absolute; inset: 0; background-image: url('/wa-data/public/site/themes/aspiresense/images/nvg-footer-machine.jpg'); background-size: cover; background-position: center right; opacity: 0.9; }
.nvg-foot__cta-body { position: relative; z-index: 2; padding: 32px 34px; }
.nvg-foot__cta-badge { display: inline-block; border: 1px solid rgba(230,175,69,0.5); color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; padding: 7px 16px; border-radius: 20px; margin-bottom: 22px; }
.nvg-foot__cta-title { margin: 0 0 16px; color: #fff; font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.nvg-foot__cta-txt { color: #b8bdc5; line-height: 1.55; margin: 0 0 26px; max-width: 280px; }
.nvg-foot__cta-btn { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, #f0b84a, #e09a2e); color: #1a1205; font-weight: 700; font-size: 15px; padding: 15px 28px; border-radius: 12px; text-decoration: none; box-shadow: 0 12px 30px rgba(224,154,46,0.3); transition: transform 0.18s, box-shadow 0.18s; }
.nvg-foot__cta-btn span { transition: transform 0.18s; }
.nvg-foot__cta-btn:hover { transform: translateY(-2px); }
.nvg-foot__cta-btn:hover span { transform: translateX(4px); }
.nvg-foot__cta-note { display: flex; align-items: center; gap: 8px; color: #8b919b; font-size: 12.5px; margin-top: 18px; }
.nvg-foot__cta-note svg { width: 16px; height: 16px; color: var(--gold); }

/* ── СРЕДНИЙ ЯРУС: меню ── */
.nvg-foot__menus { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 48px 0; border-top: 1px solid rgba(255,255,255,0.07); }
.nvg-foot__col-h { color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: 0.1em; margin-bottom: 22px; }
.nvg-foot__col ul { list-style: none; margin: 0; padding: 0; }
.nvg-foot__col li { margin-bottom: 13px; }
.nvg-foot__col a { color: #b2b7c0; text-decoration: none; font-size: 14.5px; transition: color 0.18s, padding-left 0.18s; }
.nvg-foot__col a:hover { color: var(--gold); padding-left: 4px; }

/* ── НИЖНЯЯ ПОЛОСА: статы ── */
.nvg-foot__stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; background: #0c0d11; border: 1px solid rgba(230,175,69,0.3); border-radius: 16px; padding: 28px 8px; margin-bottom: 40px; }
.nvg-foot__stat { position: relative; display: flex; align-items: center; gap: 14px; padding: 4px 24px; }
.nvg-foot__stat + .nvg-foot__stat::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: rgba(255,255,255,0.08); }
.nvg-foot__stat-ic { width: 40px; height: 40px; flex: 0 0 auto; color: var(--gold); }
.nvg-foot__stat-ic svg { width: 40px; height: 40px; }
.nvg-foot__stat-n { color: #fff; font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -0.01em; }
.nvg-foot__stat-n span { font-size: 14px; color: #b8bdc5; }
.nvg-foot__stat-c { color: #9097a1; font-size: 12.5px; line-height: 1.35; margin-top: 5px; }

/* ── КОПИРАЙТ ── */
.nvg-foot__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 26px 0; border-top: 1px solid rgba(255,255,255,0.07); }
.nvg-foot__copy { color: #8b919b; font-size: 13.5px; }
.nvg-foot__links { display: flex; gap: 28px; }
.nvg-foot__links a { color: #9097a1; text-decoration: none; font-size: 13.5px; transition: color 0.18s; }
.nvg-foot__links a:hover { color: var(--gold); }
.nvg-foot__dev { color: #8b919b; font-size: 13.5px; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .nvg-foot__top { grid-template-columns: 1fr 1fr; }
  .nvg-foot__cta { grid-column: 1 / -1; }
  .nvg-foot__menus { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .nvg-foot__stats { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .nvg-foot__stat:nth-child(3)::before { display: none; }
}
@media (max-width: 640px) {
  .nvg-foot { padding: 40px 20px 0; }
  .nvg-foot__top { grid-template-columns: 1fr; gap: 36px; }
  .nvg-foot__menus { grid-template-columns: 1fr; }
  .nvg-foot__stats { grid-template-columns: 1fr; }
  .nvg-foot__stat::before { display: none !important; }
  .nvg-foot__bottom { flex-direction: column; align-items: flex-start; }
}
/* ============ end footer ============ */

/* ===== NVG · Футер: реальный логотип + компактное меню ===== */
/* Логотип — картинка вместо SVG-плейсхолдера */
.nvg-foot__logo {
  display: block !important;
  width: 240px !important;
  height: 88px !important;
  background-image: url('/wa-data/public/site/themes/aspiresense/images/nvg-logo.png') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
}
.nvg-foot__logo-mark,
.nvg-foot__logo-txt { display: none !important; }

/* Средний ярус (меню) — компактнее по высоте */
.nvg-foot__menus {
  padding: 32px 0 !important;
}
.nvg-foot__col-h {
  margin-bottom: 14px !important;
}
.nvg-foot__col li {
  margin-bottom: 9px !important;
}
.nvg-foot__col a {
  font-size: 14px !important;
}
/* ===== end ===== */
