/* Свои блоки страниц (вместо вёрстки Tilda). Разметка: scripts/migrate/components.mjs, классы nb-*.
   Размеры и отступы сняты с прежних страниц, чтобы вид совпадал. Точки перелома: 1200, 960, 640. */

.nb { position: relative; width: 100%; -webkit-font-smoothing: antialiased; }
.nb *, .nb *::before, .nb *::after { box-sizing: border-box; }
.nb img { border: 0; }

/* Сетка: контейнер и колонки */
.nb-container { display: flex; flex-wrap: wrap; align-items: flex-start; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0; }
.nb-col { margin: 0 20px; width: 100%; max-width: calc(var(--n, 12) * 100px - 40px); }
.nb-col-1 { --n: 1 } .nb-col-2 { --n: 2 } .nb-col-3 { --n: 3 } .nb-col-4 { --n: 4 } .nb-col-5 { --n: 5 } .nb-col-6 { --n: 6 }
.nb-col-7 { --n: 7 } .nb-col-8 { --n: 8 } .nb-col-9 { --n: 9 } .nb-col-10 { --n: 10 } .nb-col-11 { --n: 11 } .nb-col-12 { --n: 12 }
.nb-align-left { text-align: left } .nb-align-center { text-align: center } .nb-align-right { text-align: right }
@media screen and (max-width: 1200px) {
  .nb-container { max-width: 960px; }
  .nb-col { margin: 0 10px; max-width: calc(var(--n, 12) * 80px - 20px); }
}
@media screen and (max-width: 960px) {
  .nb-container { max-width: 640px; display: block; }
  .nb-container::after { content: ""; display: table; clear: both; }
  .nb-col { display: block; padding: 0 20px; margin: 0; width: 100%; max-width: 100%; }
}
.nb-container.nb-flex { display: flex; flex-wrap: wrap; }
.nb-container.nb-flex::after { display: none; }
/* Показ блока только на части экранов (как t-screenmin-N / t-screenmax-N у Tilda) */
@media screen and (max-width:320px){.nb-screenmin-320{display:none}}
@media screen and (min-width:321px){.nb-screenmax-320{display:none}}
@media screen and (max-width:360px){.nb-screenmin-360{display:none}}
@media screen and (min-width:361px){.nb-screenmax-360{display:none}}
@media screen and (max-width:480px){.nb-screenmin-480{display:none}}
@media screen and (min-width:481px){.nb-screenmax-480{display:none}}
@media screen and (max-width:640px){.nb-screenmin-640{display:none}}
@media screen and (min-width:641px){.nb-screenmax-640{display:none}}
@media screen and (max-width:980px){.nb-screenmin-980{display:none}}
@media screen and (min-width:981px){.nb-screenmax-980{display:none}}
@media screen and (max-width:1200px){.nb-screenmin-1200{display:none}}
@media screen and (min-width:1201px){.nb-screenmax-1200{display:none}}

/* Заголовок раздела */
.nb-title { margin: 0 0 40px; font-family: 'Geometria', Arial, sans-serif; font-weight: 600; line-height: 1.23; color: #000; }
.nb-title-xs { font-size: 42px; } .nb-title-xxs { font-size: 36px; }
@media screen and (max-width: 1200px) { .nb-title-xs { font-size: 38px; } .nb-title-xxs { font-size: 32px; } }
@media screen and (max-width: 640px) { .nb-title-xs { font-size: 30px; } .nb-title-xxs { font-size: 28px; } }

/* Текст */
.nb-text { font-family: 'Geometria', Arial, sans-serif; font-weight: 300; color: #000; line-height: 1.55; }
.nb-text-md { font-size: 20px; } .nb-text-sm { font-size: 18px; } .nb-text-xs { font-size: 15px; }
@media screen and (max-width: 1200px) { .nb-text-md { font-size: 18px; } .nb-text-sm { font-size: 16px; } .nb-text-xs { font-size: 14px; } }
@media screen and (max-width: 640px) { .nb-text-md { font-size: 16px; line-height: 1.45; } .nb-text-sm { font-size: 14px; line-height: 1.45; } .nb-text-xs { font-size: 12px; line-height: 1.45; } }

/* Внутренний отступ текстового блока и таблицы в тексте */
.nb-b-text .nb-container { padding: 8px 0 6px; }
.nb-text table { border-collapse: collapse; font-size: 1em; width: 100%; }
.nb-text table td, .nb-text table th { padding: 5px; border: 1px solid #ddd; vertical-align: top; }
.nb-text table thead td, .nb-text table th { font-weight: 700; border-bottom-color: #888; }

/* Серая полоса */
.nb[data-nb="t126"] .nb-container { padding: 28px 0; }
.nb-divider { height: 1px; margin: 8px 0; }

/* Текст рядом с фото */
.nb-photo-text { padding-bottom: 6px; }
.nb-photo { display: inline; width: 100%; height: auto; margin-top: 4px; max-width: calc(var(--nb-n, 12) * 100px - 40px); }
.nb-w-1 { --nb-n: 1 } .nb-w-2 { --nb-n: 2 } .nb-w-3 { --nb-n: 3 } .nb-w-4 { --nb-n: 4 } .nb-w-5 { --nb-n: 5 } .nb-w-6 { --nb-n: 6 }
.nb-w-7 { --nb-n: 7 } .nb-w-8 { --nb-n: 8 } .nb-w-9 { --nb-n: 9 } .nb-w-10 { --nb-n: 10 } .nb-w-11 { --nb-n: 11 } .nb-w-12 { --nb-n: 12 }
@media screen and (max-width: 1200px) { .nb-photo { max-width: calc(var(--nb-n, 12) * 80px - 20px); } }
@media screen and (max-width: 960px) { .nb-photo { max-width: calc(var(--nb-n, 12) * 80px - 20px); } }
/* колонка с фото: на узких экранах поля сверху и снизу, как в прежней вёрстке */
@media screen and (max-width: 960px) { .nb-col-img.nb-align-left { margin-top: 20px; margin-bottom: 20px; } }
.nb-photo[data-zoom] { cursor: zoom-in; }
.nb-caption-title { margin-top: 15px; font-family: 'Geometria', Arial, sans-serif; font-weight: 300; color: #000; font-size: 15px; line-height: 20px; }
.nb-caption-descr { margin-top: 5px; font-family: 'Geometria', Arial, sans-serif; font-weight: 300; color: #000; font-size: 11px; line-height: 16px; }
/* Фото в тексте с обтеканием (страницы услуг): текст идёт рядом с фото, а потом на всю ширину, без пустого места под фото */
.nb-pf { display: block; }
.nb-pf::after { content: ""; display: block; clear: both; }
.nb-pf-fig { float: right; width: calc(50% - 20px); margin: 4px 0 20px 40px; }
.nb-pf-fig-left { float: left; margin: 4px 40px 20px 0; }
.nb-pf-fig .nb-photo { display: block; width: 100%; max-width: none; margin-top: 0; }
@media screen and (max-width: 640px) { .nb-pf-fig, .nb-pf-fig-left { float: none; width: 100%; margin: 0 0 20px; } }

/* Карточки-ссылки (проекты, услуги) */
.nb-card-col { margin-bottom: 40px; }
@media screen and (max-width: 1200px) { .nb-card-col { margin-bottom: 20px; } }
.nb-card { display: block; color: inherit; text-decoration: none; }
.nb-card-img { position: relative; width: 100%; aspect-ratio: 100 / 65; background-size: cover; background-position: center center; background-repeat: no-repeat; }
.nb-card-text { margin: 16px 0 28px; }
.nb-heading-xs { font-size: 26px; line-height: 1.23; }
@media screen and (max-width: 1200px) { .nb-heading-xs { font-size: 24px; } }
@media screen and (max-width: 640px) { .nb-heading-xs { font-size: 22px; } }
.nb-card-title { margin-bottom: 12px; font-family: 'Geometria', Arial, sans-serif; font-weight: 600; color: #000; }
.nb-card-descr { font-family: 'Geometria', Arial, sans-serif; font-weight: 300; color: #777; font-size: 16px; line-height: 1.55; }
@media screen and (max-width: 1200px) { .nb-card-descr { font-size: 14px; } }
@media screen and (max-width: 960px) {
  .nb-card-col { margin-bottom: 50px; }
  .nb-card { display: flex; gap: 20px; align-items: flex-start; }
  .nb-card-img { flex: 0 0 50%; width: 50%; }
  .nb-card-text { margin-top: 0; flex: 1 1 auto; width: calc(50% - 20px); }
}
@media screen and (max-width: 640px) {
  .nb-card { display: flow-root; }
  .nb-card-img { width: 100%; }
  .nb-card-text { margin-top: 16px; width: 100%; }
  .nb-card-descr { font-size: 12px; line-height: 1.45; }
}

/* Просмотр увеличенной фотографии */
.nb-zoom { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .9); cursor: zoom-out; }
.nb-zoom img { max-width: 94vw; max-height: 94vh; object-fit: contain; }

/* Потоки: карточки проектов и услуг */
.nb-feed-title { margin-bottom: 90px; }
@media screen and (max-width: 960px) { .nb-feed-title { margin-bottom: 45px; } }
@media screen and (max-width: 640px) { .nb-feed-title div { font-size: 30px !important; } }
.nb-feed-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 40px; row-gap: 90px; list-style: none; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.nb-feed-card { min-width: 0; }
.nb-feed-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; background-color: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .1); cursor: pointer; }
.nb-feed-link { transition: box-shadow .3s ease; }
.nb-feed-link:hover { box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .1); }
.nb-feed-img { position: relative; flex: none; aspect-ratio: var(--nb-aspect, 1.3); margin-bottom: 20px; overflow: hidden; }
.nb-feed-bg { position: absolute; inset: 0; background-size: cover; background-position: center center; background-repeat: no-repeat; }
.nb-feed-content { padding: 0 20px 18px; }
.nb-feed-card-title { font-family: 'Geometria', Arial, sans-serif; font-weight: 600; font-size: 16px; line-height: 1.35; color: #000; }
.nb-feed-descr { margin-top: 8px; font-family: 'Geometria', Arial, sans-serif; font-weight: 300; font-size: 14px; line-height: 1.55; color: #777; }
.nb-feed-more { display: flex; justify-content: center; width: 100%; max-width: 1200px; margin: 90px auto 0; padding: 0 20px; }
.nb-more { display: inline-flex; align-items: center; justify-content: center; padding: 18.8px 60px; border: 0; border-radius: 30px; background: #ffd900; color: #000; font-family: 'Geometria', Arial, sans-serif; font-weight: 600; font-size: 16px; line-height: 1.4; cursor: pointer; transition: background-color .2s ease-in-out; }
.nb-more:hover { background: #ffe74d; }
.nb-more[hidden] { display: none; }
@media screen and (max-width: 1200px) {
  .nb-feed-list { max-width: 960px; padding: 0 10px; column-gap: 20px; }
  .nb-feed-more { max-width: 960px; padding: 0 10px; }
  .nb-feed-card-title { font-size: 14px; }
}
@media screen and (max-width: 960px) {
  .nb-feed-list { max-width: 640px; padding: 0 20px; grid-template-columns: 1fr; row-gap: 60px; }
  .nb-feed-more { max-width: 640px; padding: 0 20px; margin-top: 45px; }
}
@media screen and (max-width: 640px) {
  .nb-feed-card-title { font-size: 12px; }
  .nb-feed-more { margin-top: 30px; }
}

/* Форма заявки */
.nb-col.nb-prefix-3 { box-sizing: content-box; padding-left: 300px; }
@media screen and (max-width: 1200px) { .nb-col.nb-prefix-3 { padding-left: 240px; } }
@media screen and (max-width: 960px) { .nb-col.nb-prefix-3 { box-sizing: border-box; padding-left: 20px; } }
.nb-form-title { margin: 0 0 40px; }
@media screen and (max-width: 960px) { .nb-form-title { margin-bottom: 20px; } }
.nb-form-descr { max-width: 560px; margin: 0 auto 75px; text-align: center; font-family: 'Geometria', Arial, sans-serif; font-weight: 300; line-height: 1.5; color: #000; }
.nb-descr-xl { font-size: 24px; }
@media screen and (max-width: 1200px) { .nb-descr-xl { font-size: 22px; } }
@media screen and (max-width: 960px) { .nb-form-descr { margin-bottom: 45px; } }
@media screen and (max-width: 640px) { .nb-descr-xl { font-size: 20px; line-height: 1.4; } }
.nb-form { width: 100%; font-family: 'Geometria', Arial, sans-serif; }
.nb-fg { margin: 0 0 25px; }
.nb-fb { position: relative; }
.nb-form .nb-input { display: block; box-sizing: border-box; width: 100%; height: 60px; margin: 0; padding: 26px 20px 10px; border: 0; border-radius: 0; outline: 0; background: #fff; color: #000; font: 400 16px/1.33 'Geometria', Arial, sans-serif; -webkit-appearance: none; appearance: none; }
.nb-form textarea.nb-input { display: inline-block; resize: vertical; }
.nb-form .nb-input:focus-visible { box-shadow: 0 0 0 3px #0096ff; }
.nb-form input::placeholder, .nb-form textarea::placeholder { color: #000; opacity: .5; }
.nb-vis-ph { position: absolute; left: 20px; top: 22px; width: calc(100% - 40px); height: 17px; overflow: hidden; font-size: 16px; line-height: 1; color: #000; opacity: .5; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; transform: translateZ(0); transform-origin: left; transition: transform .2s linear; }
.nb-input:focus ~ .nb-vis-ph, .nb-input.nb-has ~ .nb-vis-ph { width: 100%; text-overflow: inherit; transform: translateY(-100%) scale(.7); }
.nb-form .nb-phone { display: flex; align-items: center; padding: 0 20px; }
.nb-phone-sel { display: flex; flex: none; align-items: center; gap: 8px; width: 60px; height: 60px; color: #000; }
.nb-flag { flex: none; width: 18px; height: 13px; background: linear-gradient(#fff 0 33.3%, #0039a6 33.3% 66.6%, #d52b1e 66.6%); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.nb-phone-code { font-size: 16px; line-height: 1.33; }
.nb-form .nb-phone-input { flex: 1 1 auto; box-sizing: border-box; width: auto; min-width: 0; height: 60px; margin: 0 0 0 6px; padding: 0; border: 0; outline: 0; background: transparent; color: #000; font: 400 16px/1.33 'Geometria', Arial, sans-serif; }
.nb-err { display: none; margin-top: 5px; font-size: 13px; color: red; }
.nb-fg.nb-bad .nb-err { display: block; }
.nb-check { position: relative; display: flex; align-items: center; gap: 10px; padding-top: calc((20px - 1.2em) / 2); font-size: 15px; font-weight: 300; line-height: 1.2; color: #000; cursor: pointer; }
@media screen and (max-width: 1200px) { .nb-check { font-size: 14px; } }
@media screen and (max-width: 640px) { .nb-check { font-size: 12px; } }
.nb-check-input { position: absolute; opacity: 0; z-index: -1; }
.nb-check-box { position: relative; flex: none; box-sizing: border-box; width: 20px; height: 20px; margin-top: -1px; border: 1.6px solid #b5b5b5; opacity: .6; transition: all .2s; }
.nb-check-box::after { content: ""; display: none; position: absolute; left: 50%; top: 50%; width: 8px; height: 3px; border-style: solid; border-color: #b5b5b5; border-width: 0 0 2px 2px; transform: translate(-50%, -70%) rotate(-45deg); }
.nb-check-input:checked ~ .nb-check-box { opacity: 1; }
.nb-check-input:checked ~ .nb-check-box::after { display: block; }
.nb-check-input:focus-visible ~ .nb-check-box { box-shadow: 0 0 0 3px #0096ff; }
.nb-check a { color: #ff8562; }
.nb-fg-cb.nb-bad .nb-check { margin: -4px -2px; padding: 4px 2px; border: 1px solid red; }
.nb-form-errors { margin-bottom: 20px; padding: 10px; background: #f95d51; color: #fff; text-align: center; font-size: 16px; line-height: 1.55; font-weight: 300; }
.nb-form-errors[hidden] { display: none; }
.nb-form-submit { display: flex; justify-content: center; margin-top: 30px; }
.nb-form .nb-form-button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: 60px; margin: 0; padding: 18.8px 60px; border: 0; border-radius: 30px; background: #ffd900; color: #000; font: 600 16px/1.4 'Geometria', Arial, sans-serif; cursor: pointer; -webkit-appearance: none; appearance: none; transition-duration: .2s; transition-property: background-color, color, opacity; transition-timing-function: ease-in-out; }
@media (hover: hover) { .nb-form .nb-form-button:hover { background: #fff; } }
.nb-form .nb-form-button.nb-sending { opacity: .5; pointer-events: none; }
@media screen and (max-width: 1200px) { .nb-form .nb-form-button { padding-left: 45px; padding-right: 45px; } }
@media screen and (max-width: 960px) { .nb-form-submit { display: block; padding-bottom: 20px; } .nb-form .nb-form-button { display: flex; width: 100%; } }
@media screen and (max-width: 640px) { .nb-form .nb-form-button { padding-left: 30px; padding-right: 30px; white-space: normal; } }

/* Окно «Данные отправлены» */
.nb-modal { position: fixed; inset: 0; z-index: 1000000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, .8); font-family: 'Geometria', Arial, sans-serif; cursor: pointer; overflow-y: auto; }
.nb-modal-card { position: relative; display: flex; flex-direction: column; align-items: center; box-sizing: border-box; width: 100%; max-width: 560px; padding: 50px 40px 40px; border-radius: 10px; background: #fff; color: #000; text-align: center; cursor: default; }
.nb-modal-close { position: absolute; top: 14px; right: 14px; padding: 0; border: 0; background: transparent; cursor: pointer; font-size: 0; }
.nb-modal-icon { width: 41px; height: 41px; margin-bottom: 15px; }
.nb-modal-title { margin-bottom: 10px; font-size: 24px; font-weight: 600; line-height: 1.23; }
.nb-modal-text { margin-bottom: 10px; font-size: 16px; line-height: 1.45; }
.nb-modal-ok { min-width: 130px; margin-top: 15px; padding: 18.8px 44px; border: 0; border-radius: 30px; background: #ffd900; color: #000; font: 600 16px/1.4 'Geometria', Arial, sans-serif; cursor: pointer; transition: background-color .2s ease-in-out; }
@media (hover: hover) { .nb-modal-ok:hover { background: #ffe74d; } }
@media screen and (max-width: 640px) { .nb-modal { align-items: flex-end; padding: 0; } .nb-modal-card { max-width: 100%; border-radius: 20px 20px 0 0; } .nb-modal-title { font-size: 22px; } }
@media screen and (max-width: 480px) { .nb-modal-card { padding-left: 20px; padding-right: 20px; } .nb-modal-ok { width: 100%; } }

/* Потоки: вкладки-разделы и горизонтальная полоса карточек на планшете и телефоне */
.nb-tabs { margin: 0 0 40px; padding: 0; list-style: none; text-align: left; }
.nb-tabs li { display: inline-block; margin: 0 10px 10px 0; }
.nb-tabs li:last-child { margin-right: 0; }
.nb-tab { display: inline-block; padding: 6px 18px; border-radius: 40px; background: #f5f7f9; color: #000; font-family: 'Geometria', Arial, sans-serif; font-weight: 600; font-size: 16px; line-height: 1.35; text-decoration: none; cursor: pointer; }
.nb-tab.nb-tab-on { background: #222; color: #fff; }
@media screen and (max-width: 1200px) { .nb-tab { font-size: 14px; } }
@media screen and (max-width: 640px) { .nb-tab { font-size: 12px; } .nb-tabs li { margin-right: 5px; } }

@media screen and (max-width: 960px) {
  .nb-feed-list[data-horiz] { display: flex; column-gap: 0; row-gap: 0; max-width: 100%; padding: 2px 0 0; overflow-x: scroll; -webkit-overflow-scrolling: touch; -ms-overflow-style: none; scrollbar-width: none; }
  .nb-feed-list[data-horiz]::-webkit-scrollbar { display: none; }
  .nb-feed-list[data-horiz] .nb-feed-card { flex: none; box-sizing: border-box; min-width: 38%; max-width: 38%; padding: 10px 20px; }
  .nb-feed-list[data-horiz] .nb-feed-card:first-child { margin-left: 20px; }
}
@media screen and (max-width: 640px) {
  .nb-feed-list[data-horiz] .nb-feed-card { min-width: 70%; max-width: 70%; }
  .nb-feed-list[data-horiz] .nb-feed-card:first-child { margin-left: 0; }
}
@media screen and (max-width: 480px) {
  .nb-feed-list[data-horiz] .nb-feed-card { box-sizing: content-box; min-width: 85%; max-width: 85%; padding: 10px 5px; }
  .nb-feed-list[data-horiz] .nb-feed-card:first-child { padding: 10px 5px 10px 20px; }
  .nb-feed-list[data-horiz] .nb-feed-card:last-child { padding: 10px 20px 10px 5px; }
}
@media screen and (max-width: 640px) { .nb-more { padding-left: 30px; padding-right: 30px; } }

/* Кнопка (желтая «Оставить заявку» и другие). Размеры и отступы как у прежних кнопок */
.nb .nb-btn { --height: 60px; display: inline-flex; align-items: center; justify-content: center; gap: 1ch; max-width: 100%; height: auto; margin: 0; overflow: hidden; box-sizing: border-box; font-family: 'Geometria', Arial, sans-serif; font-size: 16px; font-weight: 600; line-height: 1.4; padding: calc((var(--height) - 1em * 1.4) / 2 - var(--border-width, 0px)) 60px; border: var(--border-width, 0px) solid transparent; border-radius: 0; background: transparent; color: inherit; cursor: pointer; user-select: none; text-decoration: none; white-space: nowrap; transition-duration: .2s; transition-property: background-color, color, border-color, box-shadow, opacity, transform; transition-timing-function: ease-in-out; }
.nb-btn-text { max-width: 100%; overflow: hidden; text-align: center; white-space: inherit; text-overflow: ellipsis; }
.nb .nb-btn-xs { --height: 35px; font-size: 13px; padding-left: 15px; padding-right: 15px; }
.nb .nb-btn-sm { --height: 45px; font-size: 14px; padding-left: 30px; padding-right: 30px; }
.nb .nb-btn-smd { --height: 50px; font-size: 15px; padding-left: 44px; padding-right: 44px; }
.nb .nb-btn-md { --height: 60px; font-size: 16px; padding-left: 60px; padding-right: 60px; }
.nb .nb-btn-lg { --height: 60px; font-size: 22px; padding-left: 70px; padding-right: 70px; }
.nb .nb-btn-xl { --height: 80px; font-size: 26px; padding-left: 80px; padding-right: 80px; }
.nb .nb-btn-xxl { --height: 100px; font-size: 30px; padding-left: 90px; padding-right: 90px; }
.nb .nb-btn-old { font-weight: 700; gap: 0; }
@media screen and (max-width: 1200px) {
  .nb .nb-btn-sm { padding-left: 25px; padding-right: 25px; } .nb .nb-btn-smd { padding-left: 30px; padding-right: 30px; }
  .nb .nb-btn-md { padding-left: 45px; padding-right: 45px; } .nb .nb-btn-lg { padding-left: 55px; padding-right: 55px; }
  .nb .nb-btn-xl { padding-left: 65px; padding-right: 65px; } .nb .nb-btn-xxl { padding-left: 75px; padding-right: 75px; }
  .nb .nb-btn-old.nb-btn-sm { padding-left: 30px; padding-right: 30px; } .nb .nb-btn-old.nb-btn-md { padding-left: 60px; padding-right: 60px; }
}
@media screen and (max-width: 640px) {
  .nb .nb-btn { white-space: normal; }
  .nb .nb-btn-sm { padding-left: 20px; padding-right: 20px; } .nb .nb-btn-smd { padding-left: 25px; padding-right: 25px; }
  .nb .nb-btn-md { padding-left: 30px; padding-right: 30px; }
  .nb .nb-btn-lg { font-size: 18px; padding-left: 40px; padding-right: 40px; }
  .nb .nb-btn-xl { font-size: 22px; padding-left: 50px; padding-right: 50px; }
  .nb .nb-btn-xxl { font-size: 26px; padding-left: 60px; padding-right: 60px; }
}
@media screen and (max-width: 480px) { .nb .nb-btn-xs { --height: 40px; } .nb .nb-btn-sm { --height: 50px; } }
.nb-button { display: flex; justify-content: center; width: 100%; padding: 0 20px; box-sizing: border-box; }

/* Колонка со сдвигом вправо на одну колонку сетки */
.nb-col.nb-prefix-1 { box-sizing: content-box; padding-left: 100px; }
@media screen and (max-width: 1200px) { .nb-col.nb-prefix-1 { padding-left: 80px; } }
@media screen and (max-width: 960px) { .nb-col.nb-prefix-1 { box-sizing: border-box; padding-left: 20px; } }

/* Текст и фотографии в две колонки */
.nb-container.nb-split { align-items: stretch; }
.nb-split-textwrapper { display: table; width: 100%; height: 100%; }
.nb-split-content { display: table-cell; vertical-align: middle; }
.nb-split-title.nb-title { margin: 0; }
.nb-split-descr { margin-top: 34px; }
.nb .nb-btn.nb-split-btn { margin-top: 60px; }
.nb-split-btn-wrap { width: 100%; }
.nb-split-btn-in { display: inline-block; padding-top: 60px; }
.nb-split-row { display: flex; font-size: 0; }
.nb-split-tile { display: inline-block; vertical-align: top; box-sizing: border-box; }
.nb-split-tile-left { width: 60%; padding-right: 10px; }
.nb-split-tile-right { width: 40%; padding-left: 10px; }
.nb-split-wrap-top { position: relative; margin-top: 40%; }
.nb-split-wrap-bottom { position: relative; width: 100%; margin-top: 20px; padding-bottom: 100%; }
.nb-split-img { position: relative; display: block; }
.nb-split-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.nb-split-img-1 { padding-bottom: 135%; }
.nb-split-img-2 { padding-bottom: 120%; }
.nb-split-img-3 { position: absolute; right: 50%; width: 160%; padding-bottom: 100%; }
.nb-split-row-2 .nb-split-tile, .nb-split-row-1 .nb-split-tile { padding: 0 !important; }
.nb-split-row-2 .nb-split-img-2 { position: absolute; right: 0; width: 110%; }
.nb-split-row-1 .nb-split-tile-left { width: 100%; }
.nb-split-row-1 .nb-split-img-1 { padding-bottom: 100%; }
.nb-split-img-3m { display: none; }
@media screen and (max-width: 960px) {
  .nb-split-indent { margin-top: 55px; }
  .nb-split-descr { margin-top: 20px; }
  .nb .nb-btn.nb-split-btn { margin-top: 30px; margin-bottom: 20px; }
  .nb-split-btn-in { padding-top: 30px; padding-bottom: 20px; }
}
@media screen and (max-width: 640px) {
  .nb-split-tile-left, .nb-split-tile-right { width: 50%; }
  .nb-split-wrap-top { margin-top: 0; }
  .nb-split-img-2 { padding-bottom: 135%; }
  .nb-split-wrap-bottom { display: none; }
  .nb-split-img-3m { display: block; margin-top: 20px; padding-bottom: 55%; }
  .nb-split-row-2 .nb-split-img-2 { position: relative; width: 100%; }
  .nb-split-row-2 .nb-split-tile-left { padding-right: 10px !important; }
  .nb-split-row-2 .nb-split-tile-right { padding-left: 10px !important; }
  .nb-split-indent { margin-top: 40px; }
  .nb-split-descr { margin-top: 14px; }
}

/* Большие отступы блока на телефоне уменьшаются (как в прежней вёрстке) */
@media screen and (max-width: 480px) {
  .nb[data-pt="105"], .nb[data-pt="120"], .nb[data-pt="135"] { padding-top: 90px !important; }
  .nb[data-pt="210"] { padding-top: 120px !important; }
  .nb[data-pb="105"], .nb[data-pb="120"], .nb[data-pb="135"] { padding-bottom: 90px !important; }
  .nb[data-pb="210"] { padding-bottom: 120px !important; }
}

/* Сдвиг колонки вправо (t-prefix_N): общий вид для 1–3 колонок */
.nb-prefix-1 { --p: 1 } .nb-prefix-2 { --p: 2 }
.nb-col.nb-prefix-1, .nb-col.nb-prefix-2 { box-sizing: content-box; padding-left: calc(var(--p) * 100px); }
@media screen and (max-width: 1200px) { .nb-col.nb-prefix-1, .nb-col.nb-prefix-2 { padding-left: calc(var(--p) * 80px); } }
@media screen and (max-width: 960px) { .nb-col.nb-prefix-1, .nb-col.nb-prefix-2 { box-sizing: border-box; padding-left: 20px; } }

/* Заголовок раздела (h2) */
.nb-h2 { margin: 0; padding: 4px 0 14px; font-family: 'Geometria', Arial, sans-serif; font-weight: 600; color: #000; }
.nb-h2-sm { font-size: 28px; line-height: 1.17; } .nb-h2-lg { font-size: 32px; line-height: 1.17; }
@media screen and (max-width: 1200px) { .nb-h2-sm { font-size: 26px; } .nb-h2-lg { font-size: 30px; } }
@media screen and (max-width: 640px) { .nb-h2-sm { font-size: 24px; } .nb-h2-lg { font-size: 26px; } }

/* Видео и текст */
.nb-video { position: relative; width: 100%; height: 0; padding-bottom: 56.25%; background: #000; }
.nb-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.nb-video-descr { margin-top: 6px; font-size: 11px; line-height: 16px; text-align: left; }
@media screen and (max-width: 960px) { .nb-video-cols > .nb-col + .nb-col { margin-top: 20px; } }

/* Аккордеон «вопрос — ответ» */
.nb-name { font-family: 'Geometria', Arial, sans-serif; font-weight: 600; color: #000; }
.nb-name-xl { font-size: 24px; line-height: 1.35; }
@media screen and (max-width: 1200px) { .nb-name-xl { font-size: 22px; } }
@media screen and (max-width: 640px) { .nb-name-xl { font-size: 20px; } }
.nb-descr { font-family: 'Geometria', Arial, sans-serif; font-weight: 300; color: #000; }
.nb-descr-xs { font-size: 16px; line-height: 1.55; }
@media screen and (max-width: 1200px) { .nb-descr-xs { font-size: 14px; } }
@media screen and (max-width: 640px) { .nb-descr-xs { font-size: 12px; line-height: 1.45; } }
.nb-acc-container { flex-wrap: wrap; }
.nb-acc-col { margin-bottom: 1px; }
.nb-acc-col:last-child { margin-bottom: 0 !important; }
.nb-acc { background-color: #fff; }
.nb-acc-head { position: relative; cursor: pointer; }
.nb-acc-btn { display: block; position: relative; width: 100%; margin: 0; padding: 25px 30px; text-align: left; background-color: transparent; border: none; box-sizing: border-box; cursor: pointer; font: inherit; color: inherit; }
.nb-acc-btn:focus-visible { outline-offset: -2px; }
.nb-acc-icon { position: absolute; top: 50%; right: 18px; box-sizing: content-box; width: 24px; height: 24px; display: inline-block; padding: 8px; transform: translateY(-50%); transition: opacity ease-in-out .2s; }
.nb-acc-icon-hover { opacity: 0; }
.nb-acc-head:hover .nb-acc-icon, .nb-acc-btn:focus-visible .nb-acc-icon { opacity: 0; }
.nb-acc-head:hover .nb-acc-icon-hover, .nb-acc-btn:focus-visible .nb-acc-icon-hover { opacity: 1; }
.nb-acc-circle { position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 100px; }
.nb-acc-lines { position: relative; z-index: 1; display: block; width: 100%; height: 100%; transition: all ease-in-out .3s; transform: rotate(0); }
.nb-acc-open .nb-acc-lines { transform: rotate(-45deg); }
.nb-acc-title { display: inline-block; padding-right: 30px; }
.nb-acc-content { padding: 0 30px; overflow: hidden; transition: max-height ease-in-out .3s, opacity ease-in-out .3s; }
.nb-acc-content[hidden] { display: none; }
.nb-acc-textwrap { padding: 0 0 20px; }
@media screen and (max-width: 960px) {
  .nb-acc-head:hover .nb-acc-icon, .nb-acc-btn:focus-visible .nb-acc-icon { opacity: 1; }
  .nb-acc-head:hover .nb-acc-icon-hover, .nb-acc-btn:focus-visible .nb-acc-icon-hover { opacity: 0; }
}
@media screen and (max-width: 640px) {
  .nb-acc-btn { padding: 20px !important; }
  .nb-acc-content { padding-right: 20px !important; padding-left: 20px !important; }
  .nb-acc-icon { right: 8px !important; }
  .nb-acc-text a { word-break: normal; overflow-wrap: anywhere; }
}

/* Таблица цен */
.nb-tbl .nb-table, .nb-tbl .nb-tbody, .nb-tbl .nb-th, .nb-tbl .nb-td { margin: 0; padding: 0; border: 0 solid #ccc; vertical-align: baseline; text-align: inherit; }
.nb-table { width: 100%; table-layout: auto; border-collapse: separate; border-spacing: 0; }
.nb-tbody { overflow-y: auto; height: inherit; vertical-align: middle; }
.nb-tbl .nb-th, .nb-tbl .nb-td { padding: 20px; vertical-align: top; }
.nb-title-cell { font-family: 'Geometria', Arial, sans-serif; font-weight: 600; color: #000; }
.nb-td { text-align: inherit; }
.nb-tbl.nb-scale-2 .nb-th, .nb-tbl.nb-scale-2 .nb-td { padding: 30px; }
.nb-tbl.nb-scale-3 .nb-th, .nb-tbl.nb-scale-3 .nb-td { padding: 40px; }
@media screen and (max-width: 960px) {
  .nb-tbl-scroll { overflow-x: auto; }
  .nb-tbl-mscroll .nb-tbl-wrap { min-width: 960px; }
  .nb-tbl-fit .nb-tbl-wrap { min-width: 100%; }
  .nb-tbl.nb-tbl-fit .nb-td, .nb-tbl.nb-tbl-fit .nb-th { padding: 20px 10px; }
}
@media screen and (max-width: 640px) { .nb-tbl-mscroll .nb-tbl-wrap { min-width: 640px; } }

/* >>> типографика (создано scripts/migrate/gen-type-css.mjs, вручную не править) */
.nb-f-descr{font-family:'Geometria',Arial,sans-serif;font-weight:300;color:#000000}
.nb-f-descr-md{font-size:20px;line-height:1.55}
.nb-f-descr-sm{font-size:18px;line-height:1.55}
.nb-f-descr-xl{font-size:24px;line-height:1.5}
.nb-f-descr-xs{font-size:16px;line-height:1.55}
.nb-f-descr-xxl{font-size:26px;line-height:1.45}
.nb-f-descr-xxs{font-size:14px;line-height:1.55}
.nb-f-heading{font-family:'Geometria',Arial,sans-serif;font-weight:600;color:#000000}
.nb-f-heading-lg{font-size:32px;line-height:1.17}
.nb-f-heading-sm{font-size:28px;line-height:1.17}
.nb-f-heading-xs{font-size:26px;line-height:1.23}
.nb-f-name{font-family:'Geometria',Arial,sans-serif;font-weight:600;color:#000000}
.nb-f-name-lg{font-size:22px;line-height:1.35}
.nb-f-name-md{font-size:20px;line-height:1.35}
.nb-f-name-sm{font-size:18px;line-height:1.35}
.nb-f-name-xl{font-size:24px;line-height:1.35}
.nb-f-name-xs{font-size:16px;line-height:1.35}
.nb-f-text{font-family:'Geometria',Arial,sans-serif;font-weight:300;color:#000000}
.nb-f-text-md{font-size:20px;line-height:1.55}
.nb-f-text-sm{font-size:18px;line-height:1.55}
.nb-f-text-xs{font-size:15px;line-height:1.55}
.nb-f-title{font-family:'Geometria',Arial,sans-serif;font-weight:600;color:#000000}
.nb-f-title-lg{font-size:64px;line-height:1.23}
.nb-f-title-md{font-size:52px;line-height:1.23}
.nb-f-title-xl{font-size:72px;line-height:1.17}
.nb-f-title-xs{font-size:42px;line-height:1.23}
.nb-f-title-xxl{font-size:82px;line-height:1.17}
.nb-f-title-xxs{font-size:36px;line-height:1.23}
.nb-f-uptitle{font-family:'Geometria',Arial,sans-serif;font-weight:600;color:#000000;letter-spacing:2.5px}
.nb-f-uptitle-sm{font-size:14px}
.nb-f-uptitle-xs{font-size:12px}
.nb-f-uptitle-xxl{font-size:22px;letter-spacing:2px}
@media screen and (max-width:1200px){.nb-f-descr-md{font-size:18px}}
@media screen and (max-width:1200px){.nb-f-descr-sm{font-size:16px}}
@media screen and (max-width:1200px){.nb-f-descr-xl{font-size:22px}}
@media screen and (max-width:1200px){.nb-f-descr-xs{font-size:14px}}
@media screen and (max-width:1200px){.nb-f-descr-xxl{font-size:22px}}
@media screen and (max-width:1200px){.nb-f-descr-xxs{font-size:12px}}
@media screen and (max-width:1200px){.nb-f-heading-lg{font-size:30px}}
@media screen and (max-width:1200px){.nb-f-heading-sm{font-size:26px}}
@media screen and (max-width:1200px){.nb-f-heading-xs{font-size:24px}}
@media screen and (max-width:1200px){.nb-f-name-lg{font-size:20px}}
@media screen and (max-width:1200px){.nb-f-name-md{font-size:18px}}
@media screen and (max-width:1200px){.nb-f-name-sm{font-size:16px}}
@media screen and (max-width:1200px){.nb-f-name-xl{font-size:22px}}
@media screen and (max-width:1200px){.nb-f-name-xs{font-size:14px}}
@media screen and (max-width:1200px){.nb-f-text-md{font-size:18px}}
@media screen and (max-width:1200px){.nb-f-text-sm{font-size:16px}}
@media screen and (max-width:1200px){.nb-f-text-xs{font-size:14px}}
@media screen and (max-width:1200px){.nb-f-title-lg{font-size:60px}}
@media screen and (max-width:1200px){.nb-f-title-md{font-size:48px}}
@media screen and (max-width:1200px){.nb-f-title-xl{font-size:68px}}
@media screen and (max-width:1200px){.nb-f-title-xs{font-size:38px}}
@media screen and (max-width:1200px){.nb-f-title-xxl{font-size:78px}}
@media screen and (max-width:1200px){.nb-f-title-xxs{font-size:32px}}
@media screen and (max-width:1200px){.nb-f-uptitle-xxl{font-size:20px}}
@media screen and (max-width:640px){.nb-f-descr-md{font-size:16px;line-height:1.45}}
@media screen and (max-width:640px){.nb-f-descr-sm{font-size:14px;line-height:1.45}}
@media screen and (max-width:640px){.nb-f-descr-xl{font-size:20px;line-height:1.4}}
@media screen and (max-width:640px){.nb-f-descr-xs{font-size:12px;line-height:1.45}}
@media screen and (max-width:640px){.nb-f-descr-xxl{font-size:20px}}
@media screen and (max-width:640px){.nb-f-heading-lg{font-size:26px}}
@media screen and (max-width:640px){.nb-f-heading-sm{font-size:24px}}
@media screen and (max-width:640px){.nb-f-heading-xs{font-size:22px}}
@media screen and (max-width:640px){.nb-f-name-lg{font-size:18px}}
@media screen and (max-width:640px){.nb-f-name-md{font-size:16px}}
@media screen and (max-width:640px){.nb-f-name-sm{font-size:14px}}
@media screen and (max-width:640px){.nb-f-name-xl{font-size:20px}}
@media screen and (max-width:640px){.nb-f-name-xs{font-size:12px}}
@media screen and (max-width:640px){.nb-f-text-md{font-size:16px;line-height:1.45}}
@media screen and (max-width:640px){.nb-f-text-sm{font-size:14px;line-height:1.45}}
@media screen and (max-width:640px){.nb-f-text-xs{font-size:12px;line-height:1.45}}
@media screen and (max-width:640px){.nb-f-title-lg{font-size:30px}}
@media screen and (max-width:640px){.nb-f-title-md{font-size:30px}}
@media screen and (max-width:640px){.nb-f-title-xl{font-size:32px}}
@media screen and (max-width:640px){.nb-f-title-xs{font-size:30px}}
@media screen and (max-width:640px){.nb-f-title-xxl{font-size:36px}}
@media screen and (max-width:640px){.nb-f-title-xxs{font-size:28px}}
@media screen and (max-width:640px){.nb-f-uptitle-sm{font-size:10px}}
@media screen and (max-width:640px){.nb-f-uptitle-xs{font-size:10px}}
@media screen and (max-width:640px){.nb-f-uptitle-xxl{font-size:18px}}
@media screen and (max-width:480px){.nb-f-title-xl{font-size:30px}}
@media screen and (max-width:480px){.nb-f-title-xxl{font-size:30px}}
/* <<< типографика */

/* Крупный заголовок на цветном фоне (t050) */
.nb-t050-descr { padding-top: 50px; padding-bottom: 9px; }

/* Прайс в виде строк (t521) */
.nb-container.nb-t521 { display: block; }
.nb-t521::after { content: ""; display: table; clear: both; }
.nb-t521 > .nb-col, .nb-t521-row > .nb-col { float: left; }
.nb-t521-row { clear: both; }
.nb-t521-row::after { content: ""; display: block; height: 0; clear: both; }
.nb-t521-line { position: relative; height: 1px; background: #000; opacity: .1; }
.nb-t521-left, .nb-t521-right { margin-top: 45px; margin-bottom: 45px; }
@media screen and (max-width: 960px) {
  .nb-t521 > .nb-col, .nb-t521-row > .nb-col { float: none; }
  .nb-t521-right { margin-top: 0; }
  .nb-t521-left { margin-bottom: 20px; }
}

/* Небольшой заголовок и пояснение (t026) */
.nb-t026-title { margin: 0; line-height: 28px; font-size: 14px; font-weight: 700; padding-top: 7px; padding-bottom: 6px; }
.nb-t026-descr { padding-bottom: 0; }

/* Картинка по центру (t107) */
.nb-img3-box { text-align: center; }
.nb-img3 { display: inline; width: 100%; height: auto; vertical-align: middle; max-width: calc(var(--nb-n, 12) * 100px - 40px); }
.nb-img3-link { display: inline; }
.nb-img3-titlebox { margin: 0 auto; width: 100%; max-width: 800px; text-align: left; }
.nb-img3-titlebox::after { content: ""; display: table; clear: both; }
.nb-img3-title { float: left; padding-top: 28px; padding-bottom: 28px; font-size: 14px; line-height: 28px; }
@media screen and (max-width: 1200px) { .nb-img3 { max-width: calc(var(--nb-n, 12) * 80px - 20px); } .nb-img3-titlebox { max-width: 640px; } }
@media screen and (max-width: 960px) { .nb-img3-title { float: none; } }
@media screen and (max-width: 480px) { .nb-img3-box { padding-left: 0; } }

/* Картинка, описание и кнопка (t487) */
.nb-t487-img { display: block; max-width: 100%; width: 260px; height: auto; }
.nb-t487-title { margin-bottom: 20px; margin-top: 50px; }
.nb .nb-btn.nb-t487-btn { margin-top: 60px; }

/* Заголовок слева, текст справа (t037) */
.nb-t037-title { font-family: 'Geometria', Arial, sans-serif; color: #000; font-weight: 600; font-size: 24px; line-height: 28px; padding: 7px 50px 7px 0; }
.nb-t037-text { padding-top: 8px; padding-bottom: 6px; }
@media screen and (max-width: 960px) { .nb-t037-title { padding-right: 0; } }
@media screen and (max-width: 640px) { .nb-t037-title { margin-bottom: 20px; padding-right: 0; } }

/* Текст с заголовком и кнопкой (t467) */
.nb-t467-title { margin-bottom: 40px; }
.nb .nb-btn.nb-t467-btn { margin-top: 60px; }

/* Отзывы (t524) */
.nb-margin-auto { margin-left: auto; margin-right: auto; }
.nb-sec-title, .nb-sec-descr { overflow-wrap: break-word; }
.nb-sec-descr { max-width: 560px; }
.nb-rev { display: flex; flex-wrap: wrap; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0; list-style: none; }
.nb-rev-item { width: 100%; max-width: calc(var(--n, 4) * 100px - 40px); margin: 90px 20px 0; min-height: 1px; text-align: left; list-style: none; }
.nb-rev-1 .nb-rev-item:first-child, .nb-rev-2 .nb-rev-item:nth-child(-n+2), .nb-rev-3 .nb-rev-item:nth-child(-n+3), .nb-rev-4 .nb-rev-item:nth-child(-n+4) { margin-top: 0 !important; }
.nb-rev-wrap { margin: 0 auto; }
.nb-rev-imgwrap { width: 200px; max-width: 100%; margin-bottom: 20px; }
.nb-rev-img { width: 100%; max-width: 100%; height: auto; }
.nb-rev-name { margin-bottom: 18px; }
@media screen and (max-width: 1200px) { .nb-rev { max-width: 960px; } .nb-rev-item { margin-left: 10px; margin-right: 10px; max-width: calc(var(--n, 4) * 80px - 20px); } }
@media screen and (max-width: 960px) {
  .nb-rev { max-width: 640px; font-size: 0; }
  .nb-rev-item { display: inline-block; vertical-align: top; width: 50%; max-width: none; margin-left: 0; margin-right: 0; padding: 0 20px; box-sizing: border-box; }
  .nb-rev .nb-rev-item, .nb-rev-2 .nb-rev-item:nth-child(-n+2), .nb-rev-3 .nb-rev-item:nth-child(-n+3), .nb-rev-4 .nb-rev-item:nth-child(-n+4) { margin-top: 45px !important; }
  .nb-rev .nb-rev-item:first-child, .nb-rev:not(.nb-rev-1) .nb-rev-item:nth-child(2) { margin-top: 0 !important; }
  .nb-rev-wrap-1, .nb-rev-wrap-3 { max-width: 300px; } .nb-rev-wrap-2 { max-width: 460px; } .nb-rev-wrap-4 { max-width: 220px; }
}
@media screen and (max-width: 640px) { .nb-rev-item:nth-child(odd) { padding-left: 40px; } .nb-rev-item:nth-child(even) { padding-right: 40px; } }
@media screen and (max-width: 480px) {
  .nb-rev-item { display: block; width: 100%; }
  .nb-rev-item:nth-child(odd) { padding-left: 20px; } .nb-rev-item:nth-child(even) { padding-right: 20px; }
  .nb-rev:not(.nb-rev-1) .nb-rev-item:nth-child(2) { margin-top: 45px !important; }
}
.nb-gal-empty { height: 20px; }

/* Заголовки h1–h6 внутри блоков: без полей и своего начертания (как у Tilda); оформление задают классы блоков */
:where(.nb) :where(h1, h2, h3, h4, h5, h6) { margin: 0; padding: 0; font: inherit; }
.nb-form-bottom { margin-top: 30px; text-align: center; }

/* Галерея-плитка (t155) */
.nb-gal { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: auto; grid-auto-flow: row dense; gap: 20px; width: auto; max-width: 1200px; margin: 0 auto; padding: 0 10px 20px; box-sizing: border-box; font-size: initial; }
.nb-gal-tile { position: relative; display: block; width: auto; margin: 0 10px; height: var(--tile-height, 320px); grid-column: var(--desktop-grid-column); grid-row: var(--desktop-grid-row); }
.nb-gal-tile[data-pos="1"], .nb-gal-tile[data-pos="4"] { height: 660px; }
.nb-gal-tile[data-pos="2"], .nb-gal-tile[data-pos="3"], .nb-gal-tile[data-pos="5"], .nb-gal-tile[data-pos="6"] { height: 320px; }
.nb-gal-tile img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.nb-gal-tile img[data-zoom] { cursor: zoom-in; }
.nb-gal[data-remainder="1"] .nb-gal-tile:last-child { grid-column: span 6; grid-row: span 2; height: 660px; }
.nb-gal[data-remainder="2"] .nb-gal-tile:nth-last-child(-n+2) { grid-column: span 3; grid-row: auto; height: 460px; }
@media screen and (max-width: 1200px) { .nb-gal { max-width: 960px; } }
@media screen and (max-width: 960px) {
  .nb-gal { max-width: 640px; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; gap: 0; }
  .nb-gal-tile { width: auto; grid-column: var(--mobile-grid-column); grid-row: var(--mobile-grid-row); margin: 0 10px 20px; }
  .nb-gal .nb-gal-tile:last-child { margin-bottom: 0; }
}
@media screen and (max-width: 640px) {
  .nb-gal[data-remainder="1"] .nb-gal-tile:last-child, .nb-gal[data-remainder="2"] .nb-gal-tile:nth-last-child(-n+2) { grid-column: span 3 !important; grid-row: span 2 !important; }
}

/* Ряд кнопок, открывающих окно (t142A) */
.nb-t142a { width: 100%; }
.nb-t142a-wrap { display: flex; justify-content: center; align-items: center; padding: 0 20px; box-sizing: border-box; gap: 20px; }
@media screen and (max-width: 640px) { .nb-t142a-wrap { flex-wrap: wrap; } .nb .nb-t142a-btn { width: 100%; max-width: 320px; } }

/* Всплывающая форма (t702) */
.nb-popup { display: none; position: fixed; inset: 0; z-index: 10000001; box-sizing: border-box; width: 100%; height: 100%; padding: 0 20px; overflow-y: auto; outline: none; background-color: rgba(0, 0, 0, .6); cursor: pointer; opacity: 0; transition: opacity .3s ease-in-out; }
.nb-popup.nb-popup-on { display: block; }
.nb-popup.nb-popup-show { opacity: 1; }
.nb-popup-container { position: absolute; z-index: 1; top: 50%; left: 20px; right: 20px; width: 100%; margin: 0 auto; background: #fff; cursor: default; transform: translateY(-30%) scale(.9); transition: transform .3s ease-in-out; }
.nb-popup-w6 { max-width: 560px; } .nb-popup-w5 { max-width: 460px; } .nb-popup-w8 { max-width: 760px; }
.nb-popup-show .nb-popup-container { transform: translateY(-50%); }
.nb-popup-close { position: fixed; z-index: 9; top: 10px; right: 10px; box-sizing: content-box; width: 23px; height: 23px; padding: 10px; border: 0; background: transparent; font-size: 0; cursor: pointer; transition: opacity .3s ease-in-out; }
@media (hover: hover) { .nb-popup-close:hover { opacity: .7; } }
.nb-popup-wrapper { padding: 40px 45px; }
.nb-popup-head { margin-bottom: 24px; }
.nb-popup-title { margin-bottom: 11px; }
.nb-popup .nb-form .nb-input { height: 60px; border: var(--in-border, 0); border-radius: var(--in-radius, 0); background: var(--in-bg, transparent); color: var(--in-color, #000); }
.nb-popup .nb-form-submit { display: block; margin-top: 25px; }
.nb-popup .nb-form-button { width: 100%; }
.nb-popup .nb-form-bottom { margin-top: 20px; }
@media screen and (max-width: 640px) {
  .nb-popup-wrapper { padding: 20px; }
  .nb-popup-head { margin-bottom: 14px; } .nb-popup-title { margin-bottom: 6px; }
  .nb-popup .nb-fg { margin-bottom: 20px; }
  .nb-popup .nb-form .nb-input { height: 50px; font-size: 16px; }
}
@media screen and (max-width: 560px) {
  .nb-popup { padding: 0; }
  .nb-popup-show .nb-popup-container { max-width: 100%; inset: 0; padding-top: 50px; margin: 0; box-sizing: border-box; min-height: 100vh; transform: none; position: relative; }
  .nb-popup-close { position: fixed; top: 0; right: 0; left: 0; z-index: 2; display: flex; justify-content: flex-end; align-items: center; box-sizing: border-box; width: 100%; height: 50px; padding: 0 10px; background: #000; }
  .nb-popup-close svg { width: 16px; height: 16px; }
}
.nb-feed-more:empty { display: none; }

/* Калькулятор в форме заявки (t678) */
.nb-calc-title { display: block; padding: 0 10px 5px 0; font: 300 20px/31px 'Geometria', Arial, sans-serif; color: #000; }
.nb-calc-sub { padding: 0 10px 15px 0; font: 300 14px/1.55 'Geometria', Arial, sans-serif; color: #000; opacity: .7; }
.nb-form-calc .nb-calc-ctl { display: block; box-sizing: border-box; width: 100%; height: 60px; padding: 0 20px; border: 1px solid #000; border-radius: 0; background: #fff; color: #000; font: 400 16px/1.33 'Geometria', Arial, sans-serif; }
.nb-form-calc select.nb-calc-ctl { padding-right: 45px; background-color: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.nb-select-wrap { position: relative; }
.nb-select-wrap::after { content: ""; position: absolute; top: 50%; right: 20px; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(45deg); pointer-events: none; }
.nb-form-calc .nb-fg:not(.nb-fg-calc) .nb-input { border: 1px solid #000; }
.nb-calc-result { text-align: center; font: 600 20px/27px 'Geometria', Arial, sans-serif; color: #000; }
@media screen and (max-width: 1200px) { .nb-calc-title { font-size: 18px; line-height: 1.55; } .nb-calc-result { font-size: 18px; } }
@media screen and (max-width: 640px) { .nb-calc-title { font-size: 16px; } .nb-calc-result { font-size: 16px; } .nb-calc-sub { font-size: 12px; } }
/* Таблицы до трёх столбцов (прайсы) на телефоне: вписываем в экран вместо горизонтальной прокрутки */
@media screen and (max-width: 640px) {
  .nb-tbl-mscroll:not(:has(.nb-th:nth-child(4))) .nb-tbl-wrap { min-width: 0; }
  .nb-tbl-mscroll:not(:has(.nb-th:nth-child(4))) .nb-th, .nb-tbl-mscroll:not(:has(.nb-th:nth-child(4))) .nb-td { padding: 12px 8px; font-size: 14px; line-height: 1.35; overflow-wrap: break-word; }
  .nb-tbl-mscroll:not(:has(.nb-th:nth-child(4))) .nb-th { font-size: 13px; }
  .nb-tbl-mscroll:not(:has(.nb-th:nth-child(4))) .nb-th:nth-child(1), .nb-tbl-mscroll:not(:has(.nb-th:nth-child(4))) .nb-td:nth-child(1) { width: 42%; }
  .nb-tbl-mscroll:not(:has(.nb-th:nth-child(4))) .nb-th:nth-child(2), .nb-tbl-mscroll:not(:has(.nb-th:nth-child(4))) .nb-td:nth-child(2) { width: 26%; }
  .nb-tbl-mscroll:not(:has(.nb-th:nth-child(4))) .nb-th:nth-child(3), .nb-tbl-mscroll:not(:has(.nb-th:nth-child(4))) .nb-td:nth-child(3) { width: 32%; }
}
/* Когда кнопка «Загрузить ещё» скрыта (всё уже показано), пустой контейнер с отступом не оставляем */
.nb-feed-more:has(> .nb-more[hidden]:only-child) { display: none; }
