/* T6: common; порядок правил исходного custom.css сохранён. */
.seo-impulse {color: #999;}
.seo-impulse img {height: 40px;}
.seo-impulse span {display: block; margin: 0 0 5px; text-align: right;}
@media (max-width:767px){.seo-impulse span {text-align: center}}

/* Стили лендингов вынесены в /medali-na-zakaz/landing.css — грузится только на лендингах (см. _shared_bottom.php). */

/* B24 открытая линия: модалка «Согласие на обработку персональных данных»
   (.b24-window-popup, z-index 1100002) монтируется в .b24-window-mounts вне
   виджета, а .bx-livechat-wrapper имеет z-index 2147483647 и на мобильных
   занимает весь экран — модалка оказывалась под чатом, и обязательную галочку
   согласия было невозможно подтвердить. Опускаем чат ниже модалок B24
   (выше всего остального на сайте: fancybox ~99992, кнопка B24 10150). */
.bx-livechat-wrapper {z-index: 1100000 !important;}
/* Затемнение модалки: тот же z-index, но .b24-window-mounts идёт в DOM после
   контейнера чата, поэтому подложка рисуется поверх него и ниже самой модалки. */
.b24-window-mounts .b24-window-overlay {z-index: 1100000 !important;}

/* Адресный блок: по иконке на каждый адрес.
   CMax::showAddress() и блок контактов мобильного меню печатают ОДНУ
   абсолютно спозиционированную иконку на весь блок, а редактируемая область
   include/top_page/site-address.php содержит два адреса (Киров и Москва) —
   поэтому второй адрес оставался без иконки. Каждая строка адреса обёрнута
   в .vvmd-addr-line: общую иконку прячем, свою рисуем маской у каждой строки.
   padding-left контейнера сводится к координате бывшей общей иконки, а gap
   добирает исходный отступ текста — вертикали иконок и текста совпадают с
   соседними блоками (телефон, e-mail). Новый адрес = ещё один такой span. */
:root {
	--vvmd-addr-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='12' viewBox='0 0 9 12'%3E%3Cpath d='M959.135,82.315l0.015,0.028L955.5,87l-3.679-4.717,0.008-.013a4.658,4.658,0,0,1-.83-2.655,4.5,4.5,0,1,1,9,0A4.658,4.658,0,0,1,959.135,82.315ZM955.5,77a2.5,2.5,0,0,0-2.5,2.5,2.467,2.467,0,0,0,.326,1.212l-0.014.022,2.181,3.336,2.034-3.117c0.033-.046.063-0.094,0.093-0.142l0.066-.1-0.007-.009a2.468,2.468,0,0,0,.32-1.2A2.5,2.5,0,0,0,955.5,77Z' transform='translate(-951 -75)'/%3E%3C/svg%3E");
}
/* вне .address (например, печатная форма корзины) — просто строки без иконок */
.vvmd-addr-line {display: block;}

.address:has(.vvmd-addr-line) {padding-left: 0;}
.address:has(.vvmd-addr-line) > i.svg {display: none;}

.address .vvmd-addr-line {
	display: flex;
	align-items: flex-start;
	gap: var(--vvmd-addr-gap, 19px);
}
.address .vvmd-addr-line + .vvmd-addr-line {margin-top: 5px;}
.address .vvmd-addr-line:before {
	content: "";
	flex: 0 0 9px;
	width: 9px;
	height: 12px;
	margin-top: 3px;
	background-color: var(--vvmd-addr-icon, currentColor);
	/* обёртка иконок темы <i class="svg"> приглушена opacity: .5 — повторяем,
	   иначе пины ярче соседних иконок телефона и e-mail */
	opacity: var(--vvmd-addr-icon-opacity, .5);
	-webkit-mask-image: var(--vvmd-addr-pin);
	mask-image: var(--vvmd-addr-pin);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 9px 12px;
	mask-size: 9px 12px;
}

/* геометрия и цвет бывшей общей иконки по контекстам */
footer .info .address:has(.vvmd-addr-line) {padding-left: 1px;}
.mega_fixed_menu .right_menu_block .footer_wrap .address:has(.vvmd-addr-line) {padding-left: 2px;}
/* селектор по id — иначе не перебивается #mobilemenu .contacts .address */
#mobilemenu .contacts .address:has(.vvmd-addr-line) {padding-left: 23px; --vvmd-addr-gap: 18px; --vvmd-addr-icon: #999; --vvmd-addr-icon-opacity: 1;}

/* Иконки соцсетей без спрайта social.svg (2026-09-02, PageSpeed).
   Спрайт /images/svg/social.svg весит 316 КБ (118 КБ gzip) и грузился на
   каждой странице ради четырёх иконок в подвале и мобильном меню. Нужные
   ячейки вырезаны из того же спрайта в data-URI без изменения рисунка:
   обычное состояние подвала — белый глиф (ряды 377/518), hover подвала
   и цветные иконки мобильного меню — цветной квадрат (ряды 188/329).
   Область действия намеренно ограничена #mobilemenu и .social-block
   (подвал и скрытый мобильный блок): в шапке (.header__top-item) тема
   рисует иконки инлайн-SVG без фона, и общий селектор .social-icons li a
   ставил им цветные квадраты. Светлый подвал (footer .light) продолжает
   брать спрайт, как в теме. */
#mobilemenu .social-icons li.vk a, .social-block .social-icons li.vk a, footer .social-icons ul li.vk a:hover { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 188 43 43%22 width=%2243%22 height=%2243%22%3E%3Cpath d=%22M43 188H0V231H43V188Z%22 fill=%22%232787F5%22/%3E%3Cpath fill-rule=%22evenodd%22 clip-rule=%22evenodd%22 d=%22M14 205C14.1137 210.622 16.8419 214 21.6252 214H21.8964V210.784C23.654 210.964 24.9831 212.288 25.5165 214H28C27.3179 211.441 25.5252 210.027 24.4059 209.486C25.5252 208.82 27.0992 207.198 27.4752 205H25.2191C24.7294 206.784 23.278 208.405 21.8964 208.559V205H19.6402V211.234C18.2411 210.874 16.4747 209.126 16.396 205H14Z%22 fill=%22white%22/%3E%3C/svg%3E") !important; background-position: 0 0 !important; }
footer .social-icons ul li.vk a:not(:hover) { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%221 377 43 43%22 width=%2243%22 height=%2243%22%3E%3Cpath fill-rule=%22evenodd%22 clip-rule=%22evenodd%22 d=%22M14 393C14.1137 398.622 16.8419 402 21.6252 402H21.8964V398.784C23.654 398.964 24.9831 400.288 25.5165 402H28C27.3179 399.441 25.5252 398.027 24.4059 397.486C25.5252 396.82 27.0992 395.198 27.4752 393H25.2191C24.7294 394.784 23.278 396.405 21.8964 396.559V393H19.6402V399.234C18.2411 398.874 16.4747 397.126 16.396 393H14Z%22 fill=%22white%22/%3E%3C/svg%3E") !important; background-position: 0 0 !important; }
footer .light .social-icons ul li.vk a:not(:hover) { background-image: url(/bitrix/templates/aspro_max/images/svg/social.svg) !important; background-position: 0 -565px !important; }
#mobilemenu .social-icons li.telegram a, .social-block .social-icons li.telegram a, footer .social-icons ul li.telegram a:hover { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22329 329 43 43%22 width=%2243%22 height=%2243%22%3E%3Cpath d=%22M372 329H329V372H372V329Z%22 fill=%22%232AA1DA%22/%3E%3Cpath fill-rule=%22evenodd%22 clip-rule=%22evenodd%22 d=%22M354.98 355.1C354.962 355.299 354.884 355.488 354.757 355.643C354.631 355.797 354.461 355.91 354.269 355.967C354.077 356.024 353.873 356.022 353.683 355.962C353.492 355.902 353.324 355.786 353.2 355.629C352.11 354.762 350.41 353.514 350.41 353.514C350.41 353.514 349.18 355.681 348.96 355.903C348.887 355.964 348.803 356.01 348.712 356.036C348.62 356.063 348.525 356.07 348.431 356.058C348.336 356.045 348.246 356.013 348.165 355.963C348.084 355.914 348.014 355.848 347.96 355.77C347.949 355.736 347.935 355.702 347.92 355.67L348.61 352.218L353.53 347.385L346.82 351.214C346.82 351.214 343.79 350.308 343.34 350.131C343.224 350.068 343.128 349.973 343.064 349.857C343 349.741 342.969 349.61 342.977 349.478C342.984 349.346 343.029 349.219 343.105 349.111C343.182 349.003 343.288 348.919 343.41 348.869C344.05 348.543 355.34 344.231 355.72 344.12C356.1 344.009 357.1 343.72 356.99 344.693C356.88 345.666 355.09 354.566 354.98 355.1Z%22 fill=%22white%22/%3E%3C/svg%3E") !important; background-position: 0 0 !important; }
footer .social-icons ul li.telegram a:not(:hover) { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22330 518 43 43%22 width=%2243%22 height=%2243%22%3E%3Cpath fill-rule=%22evenodd%22 clip-rule=%22evenodd%22 d=%22M354.98 543.1C354.962 543.299 354.884 543.488 354.757 543.643C354.631 543.797 354.461 543.91 354.269 543.967C354.077 544.024 353.873 544.022 353.683 543.962C353.492 543.902 353.324 543.786 353.2 543.629C352.11 542.762 350.41 541.514 350.41 541.514C350.41 541.514 349.18 543.681 348.96 543.903C348.887 543.964 348.803 544.01 348.712 544.036C348.62 544.063 348.525 544.07 348.43 544.058C348.336 544.045 348.246 544.013 348.165 543.963C348.084 543.914 348.014 543.848 347.96 543.77C347.949 543.736 347.935 543.702 347.92 543.67L348.61 540.218L353.53 535.385L346.82 539.214C346.82 539.214 343.79 538.308 343.34 538.131C343.224 538.068 343.128 537.973 343.064 537.857C342.999 537.741 342.969 537.61 342.977 537.478C342.984 537.346 343.028 537.219 343.105 537.111C343.182 537.003 343.288 536.919 343.41 536.869C344.05 536.543 355.34 532.231 355.72 532.12C356.1 532.009 357.1 531.72 356.99 532.693C356.88 533.666 355.09 542.566 354.98 543.1Z%22 fill=%22white%22/%3E%3C/svg%3E") !important; background-position: 0 0 !important; }
footer .light .social-icons ul li.telegram a:not(:hover) { background-image: url(/bitrix/templates/aspro_max/images/svg/social.svg) !important; background-position: -330px -706px !important; }
#mobilemenu .social-icons li.ytb a, .social-block .social-icons li.ytb a, footer .social-icons ul li.ytb a:hover { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%2294 329 43 43%22 width=%2243%22 height=%2243%22%3E%3Cpath d=%22M137 329H94V372H137V329Z%22 fill=%22%23E62117%22/%3E%3Cpath fill-rule=%22evenodd%22 clip-rule=%22evenodd%22 d=%22M119 357H112C110.895 356.954 109.854 356.472 109.104 355.66C108.355 354.847 107.957 353.771 108 352.666V348.333C107.958 347.229 108.355 346.152 109.105 345.34C109.855 344.528 110.896 344.046 112 344H119C120.104 344.046 121.145 344.528 121.895 345.341C122.645 346.153 123.042 347.229 123 348.334V352.667C123.042 353.772 122.645 354.848 121.895 355.66C121.145 356.472 120.104 356.954 119 357ZM121 348.255C121.031 347.693 120.837 347.141 120.463 346.72C120.088 346.3 119.562 346.044 119 346.01H112C111.438 346.044 110.912 346.3 110.537 346.72C110.162 347.141 109.969 347.693 110 348.255V352.744C109.969 353.306 110.162 353.858 110.537 354.279C110.912 354.699 111.438 354.955 112 354.989H119C119.562 354.955 120.088 354.699 120.463 354.279C120.837 353.858 121.031 353.306 121 352.744V348.255ZM114 347.987L118 350.5L114 353.011V347.987Z%22 fill=%22white%22/%3E%3C/svg%3E") !important; background-position: 0 0 !important; }
footer .social-icons ul li.ytb a:not(:hover) { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%2295 518 43 43%22 width=%2243%22 height=%2243%22%3E%3Cpath fill-rule=%22evenodd%22 clip-rule=%22evenodd%22 d=%22M119 545H112C110.895 544.954 109.854 544.472 109.104 543.66C108.355 542.847 107.957 541.771 108 540.666V536.333C107.958 535.229 108.355 534.152 109.105 533.34C109.855 532.528 110.896 532.046 112 532H119C120.104 532.046 121.145 532.528 121.895 533.341C122.645 534.153 123.042 535.229 123 536.334V540.667C123.042 541.772 122.645 542.848 121.895 543.66C121.145 544.472 120.104 544.954 119 545ZM121 536.255C121.031 535.693 120.837 535.141 120.463 534.72C120.088 534.3 119.562 534.044 119 534.01H112C111.438 534.044 110.912 534.3 110.537 534.72C110.162 535.141 109.969 535.693 110 536.255V540.744C109.969 541.306 110.162 541.858 110.537 542.279C110.912 542.699 111.438 542.955 112 542.989H119C119.562 542.955 120.088 542.699 120.463 542.279C120.837 541.858 121.031 541.306 121 540.744V536.255ZM114 535.987L118 538.5L114 541.011V535.987Z%22 fill=%22white%22/%3E%3C/svg%3E") !important; background-position: 0 0 !important; }
footer .light .social-icons ul li.ytb a:not(:hover) { background-image: url(/bitrix/templates/aspro_max/images/svg/social.svg) !important; background-position: -95px -706px !important; }
#mobilemenu .social-icons li.zen a, .social-block .social-icons li.zen a, footer .social-icons ul li.zen a:hover { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22470 329 43 43%22 width=%2243%22 height=%2243%22%3E%3Cpath d=%22M513 329H470V372H513V329Z%22 fill=%22%23333333%22/%3E%3Cpath fill-rule=%22evenodd%22 clip-rule=%22evenodd%22 d=%22M497 350.213L496 350C494.939 350 493.922 349.579 493.172 348.828C492.421 348.078 492 347.061 492 346L491.79 345L491.6 343H491.4L491.21 345L491 346C491 347.061 490.579 348.078 489.828 348.828C489.078 349.579 488.061 350 487 350L486 350.213L484 350.395V347C484 345.939 484.421 344.922 485.172 344.172C485.922 343.421 486.939 343 488 343H495C496.061 343 497.078 343.421 497.828 344.172C498.579 344.922 499 345.939 499 347V350.4L497 350.213ZM486 350.787L487 351C488.061 351 489.078 351.421 489.828 352.172C490.579 352.922 491 353.939 491 355L491.21 356L491.4 358H491.6L491.79 356L492 355C492 353.939 492.421 352.922 493.172 352.172C493.922 351.421 494.939 351 496 351L497 350.787L499 350.605V354C499 355.061 498.579 356.078 497.828 356.828C497.078 357.579 496.061 358 495 358H488C486.939 358 485.922 357.579 485.172 356.828C484.421 356.078 484 355.061 484 354V350.605L486 350.787Z%22 fill=%22white%22/%3E%3C/svg%3E") !important; background-position: 0 0 !important; }
footer .social-icons ul li.zen a:not(:hover) { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22471 518 43 43%22 width=%2243%22 height=%2243%22%3E%3Cpath fill-rule=%22evenodd%22 clip-rule=%22evenodd%22 d=%22M497 538.213L496 538C494.939 538 493.922 537.579 493.172 536.828C492.421 536.078 492 535.061 492 534L491.79 533L491.6 531H491.4L491.21 533L491 534C491 535.061 490.578 536.078 489.828 536.828C489.078 537.579 488.061 538 487 538L486 538.213L484 538.395V535C484 533.939 484.421 532.922 485.172 532.172C485.922 531.421 486.939 531 488 531H495C496.061 531 497.078 531.421 497.828 532.172C498.578 532.922 499 533.939 499 535V538.4L497 538.213ZM486 538.787L487 539C488.061 539 489.078 539.421 489.828 540.172C490.578 540.922 491 541.939 491 543L491.21 544L491.4 546H491.6L491.79 544L492 543C492 541.939 492.421 540.922 493.172 540.172C493.922 539.421 494.939 539 496 539L497 538.787L499 538.605V542C499 543.061 498.578 544.078 497.828 544.828C497.078 545.579 496.061 546 495 546H488C486.939 546 485.922 545.579 485.172 544.828C484.421 544.078 484 543.061 484 542V538.605L486 538.787Z%22 fill=%22white%22/%3E%3C/svg%3E") !important; background-position: 0 0 !important; }
footer .light .social-icons ul li.zen a:not(:hover) { background-image: url(/bitrix/templates/aspro_max/images/svg/social.svg) !important; background-position: -471px -706px !important; }

/* homepage new blocks */
#cases-custom .single-row-slider {
display: none;
}

#cases-custom .content {
background-color: var(--figma-white-100);
}

@media (max-width: 1649px) {
#cases-custom .content .slider-item .preview {
width: 244px;
}

}

@media (max-width: 1459px) {
#cases-custom .content .slider-item .preview {
width: 212px;
}

}

@media (max-width: 1023px) {
#cases-custom .content {
background: none;
}

#cases-custom .double-row-slider {
display: none;
}

#cases-custom .single-row-slider {
display: flex;
}

#cases-custom .content .slider-item .preview {
width: 170px;
    height: 175px;
    border: solid 1 px var(--figma-grey-super-light);
    border-radius: 12px;
}

#cases-custom .content .slider-item .chip-wrap a {
display: none;
}

#cases-custom .content .slider-item .title {
font-size: 12px;
    min-height: 28px;
}

#cases-custom .content .slider-item .info-wrap .description {
display: none;
}

}

@media (max-width: 743px) {
#cases-custom .double-row-slider {
display: flex;
}

#cases-custom .single-row-slider {
display: none;
}

#cases-custom .content .slider-item .preview {
width: 168px;
}

}

@media (max-width: 374px) {
#cases-custom .content .slider-item .preview {
width: 140px;
}

}

#form-and-video {
padding: 48px 40px;
}

#form-and-video .wrapper {
display: flex;
  align-items: stretch;
  height: 840px;
  background-color: var(--figma-black-pure);
  border-radius: 32px;
  overflow: hidden;
}

#form-and-video .video-wrap {
position: relative;
  flex: 1 1 55%;
  min-width: 0;
  overflow: hidden;
  background: var(--figma-black-pure);
}

#form-and-video .video-wrap .video-in-form {
display: block !important;
  position: absolute;
  left: 50%;
  top: 52%;
  width: auto;
  height: 165%;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: contain;
  object-position: center;
  background: var(--figma-black-pure);
}

#form-and-video .video-play {
position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: auto;
}

#form-and-video .video-play:hover {
transform: translate(-50%, -50%) scale(1.05);
}

#form-and-video .video-play.is-hidden {
opacity: 0;
  pointer-events: none;
}

#form-and-video .video-play__icon {
display: block !important;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--figma-brown);
}

#form-and-video .form-wrap {
display: flex;
  gap: 24px;
  flex: 0 0 min(560px, 42%);
  flex-direction: column;
  justify-content: space-between;
  margin: 16px;
  padding: 40px 32px;
  background-color: var(--figma-grey-super-light);
  border-radius: 24px;
  max-width: none;
  box-sizing: border-box;
}

#form-and-video .form-wrap .top-area {
display: flex;
  flex-direction: column;
  gap: 20px;
}

#form-and-video .form-wrap .headline {
font-size: 52px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--figma-black-100);
}

#form-and-video .form-wrap .headline span {
color: var(--figma-brown);
}

#form-and-video .form-wrap .subheadline {
font-size: 16px;
  line-height: 1.25;
  color: var(--figma-grey-100);
}

#form-and-video .form-wrap .bottom-area {
display: flex;
  flex-direction: column;
  gap: 16px;
}

#form-and-video form {
display: flex;
  flex-grow: 1;
  flex-direction: column;
  gap: 16px;
}

#form-and-video form .inputs-super-wrap {
display: flex;
  flex-direction: column;
  gap: 8px;
}

#form-and-video form .inputs-wrap {
display: flex;
  gap: 8px;
}

#form-and-video form .inputs-super-wrap input {
display: flex;
  flex-grow: 1;
  height: 56px;
  padding: 16px 14px 16px 20px;
  width: 100%;
  font-size: 14px;
  line-height: 1.25;
  color: var(--figma-black-100);
  background: var(--figma-white-100);
  border: 1px solid var(--figma-grey-super-light-2x);
  border-radius: 12px;
}

#form-and-video form .inputs-wrap input::placeholder {
font-size: 14px;
  line-height: 1.25;
  color: var(--figma-black-30);
}

#form-and-video form input:focus {
outline: none;
}

#form-and-video form .name-wrap {
display: flex;
  flex-basis: 0;
  flex-grow: 1;
}

#form-and-video form .phone-wrap {
display: flex;
  flex-basis: 0;
  flex-grow: 1;
  position: relative;
}

#form-and-video form .phone-wrap input {
padding-left: 56px;
}

#form-and-video form .flag {
position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

#form-and-video form .comment-wrap {
display: flex;
  flex-basis: 0;
  flex-grow: 1;
}

#form-and-video form .button-wrap {
display: flex;
  flex-direction: column;
  gap: 8px;
}

#form-and-video form button {
height: 54px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1%;
  line-height: 1.2;
  color: var(--figma-white-100);
  background-color: var(--figma-brown);
  border: none;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

#form-and-video form button:hover {
color: var(--figma-white-40);
  background-color: var(--figma-brown-dark);
}

#form-and-video form .checkbox-wrap {
display: flex;
  gap: 8px;
  font-size: 12px;
  line-height: 1.25;
  color: var(--figma-black-100);
}

#form-and-video form input[type="checkbox"] {
appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background:none no-repeat;
  background-size: contain;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#form-and-video form input[type="checkbox"]:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/checkbox_unchecked_dark.svg");}

#form-and-video form input[type="checkbox"]:checked {
background:none;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#form-and-video form input[type="checkbox"]:checked:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/checkbox_checked_dark.svg");}

#form-and-video form .checkbox-wrap a {
color: var(--figma-black-100);
  text-decoration: underline;
}

@media (max-width: 1279px) {
#form-and-video {
padding: 40px 32px;
}

#form-and-video .form-wrap {
max-width: 436px;
}

#form-and-video .form-wrap .headline {
font-size: 40px;
}

#form-and-video form .inputs-wrap {
flex-direction: column;
}

}

@media (max-width: 1023px) {
#form-and-video {
padding: 60px 20px;
}

#form-and-video .wrapper {
height: auto;
    min-height: 0;
    flex-direction: column;
}

#form-and-video .video-wrap {
flex: 0 0 auto;
    height: 420px;
}

#form-and-video .form-wrap {
flex: 1 1 auto;
    margin: 0 12px 12px;
    padding: 24px;
    max-width: none;
}

#form-and-video .form-wrap .headline {
font-size: 32px;
    max-width: 530px;
}

#form-and-video form .inputs-wrap {
flex-direction: row;
}

}

@media (max-width: 743px) {
#form-and-video {
padding: 32px 0;
}

#form-and-video .form-wrap {
padding: 16px 24px;
}

#form-and-video .form-wrap .headline {
font-size: 28px;
}

#form-and-video form .inputs-wrap {
flex-direction: column;
}

}

#front-production-custom .subtitle {
font-size: 16px;
  line-height: 1.25;
}

#front-production-custom .content {
padding: 0;
}

#front-production-custom .item {
height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 400px;
  background-color: var(--figma-white-100);
  border-radius: 24px;
  overflow: hidden;
}

#front-production-custom .item .image-wrap img {
width: 100%;
  height: 304px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

#front-production-custom .item .text-wrap {
display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 24px 24px;
}

#front-production-custom .item .title {
font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--figma-black-100);
}

#front-production-custom .item .text {
font-size: 16px;
  line-height: 1.25;
  color: var(--figma-grey-100);
}

@media (max-width: 1023px) {
#front-production-custom .all-button:before {
content: "О компании";
}

#front-production-custom .item {
min-width: 280px;
}

}

#front-form-two .content {
flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  padding: 95px 40px;
  background:none no-repeat center / cover;
  border-radius: 32px;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#front-form-two .content:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/form_two_background.webp");}

#front-form-two .chip {
font-size: 14px;
  font-weight: 600;
  letter-spacing: 1%;
  line-height: 1.2;
  padding: 4px 12px;
  color: var(--figma-black-light);
  display: flex;
  gap: 4px;
  align-items: center;
  background-color: var(--figma-white-100);
  border: solid 1px var(--figma-black-20);
  border-radius: 24px;
}

#front-form-two .content .title {
font-size: 52px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: center;
  max-width: 1000px;
  color: var(--figma-white-100);
}

#front-form-two .content .title span {
color: var(--figma-brown);
}

#front-form-two .content .subtitle {
font-size: 16px;
  line-height: 1.25;
  text-align: center;
  max-width: 440px;
  color: var(--figma-white-80);
  margin-bottom: 40px;
}

#front-form-two .form-wrap {
display: flex;
  gap: 24px;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px;
  margin: 30px 0;
  background-color: var(--figma-white-80);
  border-radius: 24px;
  max-width: 640px;
}

#front-form-two .form-wrap .top-area {
display: flex;
  justify-content: center;
}

#front-form-two .form-wrap .headline {
font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--figma-black-100);
}

#front-form-two .form-wrap .bottom-area {
display: flex;
  flex-direction: column;
  gap: 8px;
}

#front-form-two form .inputs-super-wrap {
display: flex;
  gap: 10px;
}

#front-form-two form .inputs-wrap {
display: flex;
}

#front-form-two form .inputs-super-wrap input {
display: flex;
  flex-grow: 1;
  height: 56px;
  padding: 16px 14px 16px 20px;
  width: 100%;
  font-size: 14px;
  line-height: 1.25;
  color: var(--figma-black-100);
  background: var(--figma-white-100);
  border: 1px solid var(--figma-grey-super-light-2x);
}

#front-form-two form .inputs-wrap .input-name {
border-radius: 12px 0 0 12px;
}

#front-form-two form .inputs-wrap .input-phone {
border-radius: 0 12px 12px 0;
}

#front-form-two form .name-wrap {
display: flex;
  flex-basis: 0;
  flex-grow: 1;
}

#front-form-two form .phone-wrap {
display: flex;
  flex-basis: 0;
  flex-grow: 1;
  position: relative;
}

#front-form-two form .flag {
position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

#front-form-two form .comment-wrap {
display: flex;
  flex-basis: 0;
  flex-grow: 1;
}

#front-form-two form .button-wrap {
display: flex;
  flex-direction: column;
  gap: 8px;
}

#front-form-two form button {
height: 56px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1%;
  line-height: 1.2;
  white-space: nowrap;
  padding: 16px 20px;
  color: var(--figma-white-100);
  background: var(--figma-gradient-1);
  border: none;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

#front-form-two form .checkbox-wrap {
display: flex;
  gap: 8px;
  font-size: 12px;
  line-height: 1.25;
  color: var(--figma-black-100);
}

@media (max-width: 1279px) {
#front-form-two .content .title {
font-size: 40px;
}

}

@media (max-width: 1023px) {
#front-form-two .content {
padding: 20px;
    border-radius: 16px;
}

#front-form-two .content .title {
font-size: 32px;
}

#front-form-two .form-wrap {
border-radius: 12px;
}

#front-form-two form .inputs-super-wrap {
display: flex;
    flex-direction: column;
    gap: 16px;
}

}

@media (max-width: 743px) {
#front-form-two .content .title {
font-size: 24px;
    line-height: 1.2;
}

#front-form-two .form-wrap {
padding: 16px;
}

#front-form-two .form-wrap .top-area .headline {
font-size: 16px;
    line-height: 1.25;
}

#front-form-two form .inputs-wrap {
display: flex;
    flex-direction: column;
    gap: 8px;
}

#front-form-two form .inputs-wrap .input-name,
#front-form-two form .inputs-wrap .input-phone {
border-radius: 12px;
}

}

#front-options-custom .content {
padding: 0;
}

#front-options-custom .item {
height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 400px;
  background-color: var(--figma-white-100);
  border-radius: 24px;
  overflow: hidden;
}

#front-options-custom .item .image-wrap img {
width: 100%;
  height: 304px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

#front-options-custom .item .text-wrap {
display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 24px 24px;
}

#front-options-custom .item .chip {
font-size: 14px;
  font-weight: 600;
  letter-spacing: 1%;
  line-height: 1.2;
  padding: 4px 12px;
  color: var(--figma-brown-dark);
  display: flex;
  gap: 4px;
  align-items: center;
  white-space: nowrap;
  background-color: var(--figma-brown-super-light);
  border-radius: 24px;
}

#front-options-custom .item .title {
font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--figma-black-100);
}

#front-options-custom .item .text {
font-size: 16px;
  line-height: 1.25;
  color: var(--figma-grey-100);
}

#front-options-custom .item .details-button {
font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--figma-white-100);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: var(--figma-brown-dark);
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

#front-options-custom .item .details-button img {
margin: 0;
}

#front-options-custom .item .details-button:hover {
background-color: var(--figma-black-light);
  color: var(--figma-white-100);
}

#front-options-custom .item .details-button:hover span,
#front-options-custom .item .details-button:hover img {
opacity: 1;
}

@media (max-width: 1023px) {
#front-options-custom .item {
min-width: 280px;
}

}

#front-showrooms-custom {
background-color: var(--figma-white-dark);
}

#front-showrooms-custom .content {
gap: 20px;
  padding: 0;
}

#front-showrooms-custom .showrooms {
display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  background-color: var(--figma-grey-super-light-2x);
  border-radius: 24px;
}

#front-showrooms-custom .showrooms-wrap {
display: flex;
  flex-direction: column;
  gap: 14px;
}

#front-showrooms-custom .showrooms .showroom {
min-width: 440px;
  height: 184px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background-color: var(--figma-white-100);
  border-radius: 16px;
  cursor: pointer;
}

#front-showrooms-custom .showrooms .title {
font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--figma-black-100);
}

#front-showrooms-custom .showrooms .info-wrap {
font-size: 16px;
  line-height: 1.25;
  color: var(--figma-grey-100);
  display: flex;
  gap: 24px;
  justify-content: flex-start;
}

#front-showrooms-custom .showrooms .info-wrap .phone,
#front-showrooms-custom .showrooms .info-wrap .schedule {
display: flex;
  gap: 4px;
  align-items: center;
}

#front-showrooms-custom .showrooms .info-wrap .phone .icon {
width: 24px;
  height: 24px;
  background:none;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#front-showrooms-custom .showrooms .info-wrap .phone .icon:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/icon_phone.svg");}

#front-showrooms-custom .showrooms .info-wrap .schedule .icon {
width: 24px;
  height: 24px;
  background:none;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#front-showrooms-custom .showrooms .info-wrap .schedule .icon:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/icon_clock.svg");}

#front-showrooms-custom .showrooms .selected {
background: var(--figma-gradient-1);
}

#front-showrooms-custom .showrooms .selected .info-wrap .phone .icon {
width: 24px;
  height: 24px;
  background:none;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#front-showrooms-custom .showrooms .selected .info-wrap .phone .icon:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/icon_phone_white.svg");}

#front-showrooms-custom .showrooms .selected .info-wrap .schedule .icon {
width: 24px;
  height: 24px;
  background:none;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#front-showrooms-custom .showrooms .selected .info-wrap .schedule .icon:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/icon_clock_white.svg");}

#front-showrooms-custom .slider-wrap {
display: flex;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

#front-showrooms-custom .gallery {
display: flex;
  cursor: grab;
}

#front-showrooms-custom .gallery img {
height: 690px;
  object-fit: cover;
  object-position: center;
}

#front-showrooms-custom .mobile-version {
display: none;
}

@media (max-width: 1279px) {
#front-showrooms-custom .gallery img {
height: 566px;
}

}

@media (max-width: 1023px) {
#front-showrooms-custom {
background: none;
}

#front-showrooms-custom .content {
flex-direction: column;
}

#front-showrooms-custom .showrooms {
padding: 0;
    background: none;
}

#front-showrooms-custom .showrooms-wrap {
flex-direction: row;
}

#front-showrooms-custom .showrooms .showroom {
min-width: 288px;
    flex-basis: 0;
    flex-grow: 1;
}

#front-showrooms-custom .showrooms .info-wrap {
flex-direction: column;
    gap: 8px;
}

#front-showrooms-custom .desktop-version {
display: none;
}

#front-showrooms-custom .mobile-version {
display: flex;
}

#front-showrooms-custom .gallery,
#front-showrooms-custom .gallery .owl-stage-outer,
#front-showrooms-custom .gallery .owl-stage,
#front-showrooms-custom .gallery .owl-item,
#front-showrooms-custom .gallery .image-wrap,
#front-showrooms-custom .gallery img {
height: 380px;
    min-height: 380px;
    max-height: 380px;
}

#front-showrooms-custom .gallery img {
width: 100%;
    object-fit: cover;
    object-position: center center;
}

}

@media (max-width: 743px) {
#front-showrooms-custom .showrooms-wrap {
flex-direction: column;
}

}

/* «Покажем изделия по видео» под «Заказать звонок» (форма SHOWROOM_VIDEO, 2026-11-03). */
#front-showrooms-custom .showrooms { justify-content: flex-start; }
#front-showrooms-custom .showrooms > .figma-black-button.desktop-version { margin-top: auto; }
#front-showrooms-custom .vvmd-showroom-video {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin: 8px 0 0; padding: 12px 24px;
  box-sizing: border-box; border: 1px solid #dcdcdc; border-radius: 12px; background: #fff; cursor: pointer;
  color: var(--figma-black-100, #292b2e); font: inherit; font-size: 14px; font-weight: 600; line-height: 20px; white-space: nowrap;
  transition: border-color .2s ease;
}
#front-showrooms-custom .vvmd-showroom-video::before {
  content: ''; width: 18px; height: 18px; flex: none; background-color: currentColor;
  -webkit-mask: url('/include/menu/icons/video.svg') center / contain no-repeat; mask: url('/include/menu/icons/video.svg') center / contain no-repeat;
}
#front-showrooms-custom .vvmd-showroom-video:hover { border-color: var(--figma-black-100, #292b2e); }
#front-showrooms-custom .vvmd-showroom-video:focus-visible { outline: 2px solid var(--figma-gold, #dfb77a); outline-offset: 2px; }
#front-showrooms-custom .vvmd-showroom-video.mobile-version { display: none; }
@media (max-width: 1023px) {
  #front-showrooms-custom .vvmd-showroom-video.desktop-version { display: none; }
  #front-showrooms-custom .vvmd-showroom-video.mobile-version { display: flex; min-height: 56px; margin: 0; }
}

#front-team-custom .content {
padding: 0;
}

#front-team-custom .item {
height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 400px;
  background-color: var(--figma-white-100);
  border-radius: 24px;
  overflow: hidden;
}

#front-team-custom .item .image-wrap img {
width: 100%;
  height: 416px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

#front-team-custom .item .text-wrap {
display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 16px 24px;
}

@media (max-width: 1023px) {
#front-team-custom .item {
min-width: 280px;
}

#front-team-custom .item .image-wrap img {
height: 306px;
}

}

#front-steps-custom .content {
padding: 0;
}

#front-steps-custom .item {
width: 352px;
  height: 192px;
  flex-basis: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
  padding: 20px;
  background-color: var(--figma-white-100);
  border-radius: 24px;
}

#front-steps-custom .item .top-area .number {
width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--figma-white-100);
  background-color: var(--figma-brown-dark);
  border-radius: 24px;
}

#front-steps-custom .item .top-area .chip {
display: flex;
  gap: 4px;
  align-items: center;
  padding: 4px 8px;
  background-color: var(--figma-brown-super-light);
  border-radius: 16px;
}

#front-steps-custom .item .top-area .chip img {
width: 24px;
  height: 24px;
}

#front-steps-custom .item .top-area .chip span {
font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--figma-brown-dark);
}

@media (max-width: 1023px) {
#front-steps-custom .item {
width: 290px;
}

#front-steps-custom .item .top-area .number {
width: 36px;
    height: 36px;
    font-size: 16px;
}

}

#front-faq-custom .content {
gap: 32px;
  padding: 0;
}

#front-faq-custom .left-side {
width: 430px;
  min-width: 430px;
  height: 212px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background:none no-repeat center / cover;
  border-radius: 24px;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#front-faq-custom .left-side:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/faq_background.webp");}

#front-faq-custom .left-side .title {
width: 340px;
  font-size: 28px;
  line-height: 1.1;
  color: var(--figma-white-100);
}

#front-faq-custom .figma-black-button {
align-self: flex-start;
  padding: 12px 16px;
}

#front-faq-custom .right-side {
flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#front-faq-custom .accordion {
display: flex;
  flex-direction: column;
  padding: 24px;
  background-color: var(--figma-white-100);
  border-radius: 24px;
}

#front-faq-custom .accordion .question {
display: flex;
  gap: 16px;
  justify-content: space-between;
  font-size: 28px;
  line-height: 1.1;
  color: var(--figma-black-100);
}

#front-faq-custom .accordion .question img {
width: 48px;
  height: 48px;
  transition: transform 0.4s;
  cursor: pointer;
}

#front-faq-custom .accordion .answer {
max-height: 0;
  overflow: hidden;
  padding-top: 0;
  font-size: 16px;
  line-height: 1.25;
  color: var(--figma-grey-100);
  transition: max-height 0.4s ease, padding-top 0.4s ease;
}

#front-faq-custom .accordion.active .answer {
max-height: 2000px;
    padding-top: 12px;
    transition: max-height 0.8s ease, padding-top 0.4s ease;
}

@media (max-width: 1279px) {
#front-faq-custom .content {
flex-direction: column-reverse;
}

#front-faq-custom .left-side {
width: auto;
    min-width: auto;
}

}

@media (max-width: 1023px) {
#front-faq-custom .left-side {
height: 188px;
}

#front-faq-custom .left-side .title {
max-width: 250px;
    font-size: 20px;
}

#front-faq-custom .accordion {
padding: 8px 0;
    background: none;
}

}

#front-seo-custom .content {
flex-direction: column;
  gap: 16px;
  padding: 0;
}

#front-seo-custom .text {
font-size: 16px;
  line-height: 1.25;
  color: var(--figma-grey-100);
  max-height: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
}

#front-seo-custom .figma-black-button {
align-self: flex-start;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 16px;
  color: var(--figma-white-100);
  background-color: var(--figma-brown);
}

#front-seo-custom .figma-black-button img {
transform: rotate(90deg);
}

@media (max-width: 1023px) {
#front-seo-custom .text {
max-height: 40px;
}

}

#form-and-video form input[type="checkbox"],
#front-form-two form input[type="checkbox"] {
cursor: pointer;
  flex-shrink: 0;
  pointer-events: auto;
}

#form-and-video .form-wrap,
#front-options-custom .details-button,
#form-and-video button[type="submit"] {
position: relative;
  z-index: 5;
  pointer-events: auto !important;
  cursor: pointer;
}

#form-and-video .video-play {
position: absolute !important;
  z-index: 6;
  pointer-events: auto !important;
  cursor: pointer;
}

@media (min-width: 1280px) {
#form-and-video {
padding: 48px 40px !important;
}

#form-and-video .wrapper {
height: 650px !important;
        min-height: 650px !important;
        max-height: 650px !important;
        border-radius: 32px !important;
}

#form-and-video .form-wrap {
flex: 0 0 600px !important;
        width: 600px !important;
        max-width: 600px !important;

        margin: 16px !important;
        padding: 32px !important;
        border-radius: 24px !important;
        box-sizing: border-box !important;
}

#form-and-video .form-wrap .headline {
font-size: 52px !important;
        line-height: 1.1 !important;
        letter-spacing: -0.02em !important;
        font-weight: 500 !important;
}

#form-and-video .video-wrap {
min-height: 0 !important;
        height: 650px !important;
}

}

@media (min-width: 1024px) and (max-width: 1279px) {
#form-and-video .wrapper {
height: 560px !important;
        min-height: 560px !important;
        max-height: 560px !important;
}

#form-and-video .video-wrap {
height: 560px !important;
        min-height: 0 !important;
}

#form-and-video .form-wrap {
flex: 0 0 min(436px, 42%) !important;
        margin: 12px !important;
        padding: 24px !important;
}

}

@media (max-width: 1023px) {
#front-showrooms-custom .showrooms .showroom {
height: auto !important;
        min-height: 184px !important;
        justify-content: flex-start !important;
        gap: 22px !important;
}

#front-showrooms-custom .showrooms .info-wrap {
margin-top: auto !important;
        gap: 10px !important;
}

}

#front-showrooms-custom .showrooms .info-wrap .phone a {
text-decoration: none !important;
    color: inherit !important;
}

@media (max-width: 1023px) {
#front-showrooms-custom .showrooms .showroom {
height: auto !important;
        min-height: 200px !important;
        justify-content: flex-start !important;
}

#front-showrooms-custom .showrooms .title {
margin-bottom: 22px !important;
}

#front-showrooms-custom .showrooms .info-wrap {
margin-top: 0 !important;
        row-gap: 10px !important;
}

}

@media (max-width: 743px) {
#front-showrooms-custom .showrooms .showroom {
min-height: 216px !important;
        padding: 24px !important;
}

#front-showrooms-custom .showrooms .title {
margin-bottom: 24px !important;
}

}

@media (max-width: 743px) {
#front-showrooms-custom .mobile-version.figma-black-button,
#front-showrooms-custom .mobile-version .figma-black-button {
display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 64px !important;
        height: auto !important;
        flex: 0 0 auto !important;
        box-sizing: border-box !important;

        margin-top: 20px !important;
        margin-bottom: 4px !important;
        padding: 18px 24px !important;

        overflow: visible !important;
        border-radius: 20px !important;
}

#front-showrooms-custom .content {
overflow: visible !important;
        padding-bottom: 4px !important;
}

}

#page-catalog.page-catalog--section #front-form-two,
#page-catalog.page-catalog--product #front-form-two,
#page-payment #front-form-two,
#page-clients #front-form-two,
#page-reviews #front-form-two,
#page-clients #form-and-video,
#page-clients #front-showrooms-custom,
#page-clients #front-options-custom,
#page-clients #front-seo-custom {
max-width: 100%;
	min-width: 0;
	overflow-x: clip;
}

@media (max-width: 743px) {
#page-catalog.page-catalog--section #front-form-two,
#page-payment #front-form-two,
#page-clients #front-form-two,
#page-reviews #front-form-two {
overflow-x: clip;
}

}

#page-news #form-and-video,
#page-blog #form-and-video {
width: 100%;
	max-width: 100%;
	overflow-x: clip;
}

#page-contacts .pg-ct-sec--gallery #front-production-custom {
max-width: 100%;
}

#page-clients .pg-cl-sec--gallery #front-production-custom {
max-width: 100%;
}

#page-clients .pg-cl-sec--gallery #front-production-custom,
#page-clients #form-and-video,
#page-clients #front-form-two,
#page-clients #front-options-custom,
#page-clients #front-seo-custom {
max-width: 100%;
	min-width: 0;
	overflow-x: clip;
}

#page-payment .pg-pay-sec--gallery #front-production-custom {
max-width: 100%;
}

#page-payment #form-and-video,
#page-payment #front-production-custom,
#page-payment #front-form-two,
#page-payment #front-options-custom,
#page-payment #front-seo-custom {
max-width: 100%;
	min-width: 0;
	overflow-x: clip;
}

#page-news.page-news--list #form-and-video,
#page-news.page-news--list #front-seo-custom {
max-width: 100%;
	min-width: 0;
	overflow-x: clip;
}

#page-reviews #front-seo-custom {
margin-top: 48px;
	max-width: 100%;
}

#front-showrooms-custom .slider-wrap {
position: relative !important;
    overflow: hidden !important;
    border-radius: 24px !important;
}

#front-showrooms-custom .slider-wrap .owl-stage-outer,
#front-showrooms-custom .slider-wrap .gallery {
overflow: hidden !important;
    border-radius: 24px !important;
}

#front-showrooms-custom .slider-wrap img,
#front-showrooms-custom .gallery img {
display: block !important;
    width: 100%;
    max-width: 100%;
}

#front-seo-custom .figma-black-button {
display: none !important;
}

#front-seo-custom .text {
max-height: none !important;
    overflow: visible;
}

/* figma root variables */
:root {
  --figma-black-pure: rgba(0, 0, 0, 1);
  --figma-black-dark: rgba(26, 27, 29, 1);
  --figma-black-light: rgba(66, 68, 70, 1);
  --figma-black-100: rgba(41, 43, 46, 1);
  --figma-black-30: rgba(0, 0, 0, 0.3);
  --figma-black-20: rgba(0, 0, 0, 0.2);
  --figma-black-10: rgba(0, 0, 0, 0.1);

  --figma-white-dark: rgba(238, 238, 238, 1);
  --figma-white-100: rgba(255, 255, 255, 1);
  --figma-white-80: rgba(255, 255, 255, 0.8);
  --figma-white-60: rgba(255, 255, 255, 0.6);
  --figma-white-40: rgba(255, 255, 255, 0.4);
  --figma-white-15: rgba(255, 255, 255, 0.15);

  --figma-brown: rgba(181, 131, 83, 1);
  --figma-brown-dark: rgba(146, 107, 70, 1);
  --figma-brown-light: rgba(202, 179, 157, 1);
  --figma-brown-super-light: rgba(255, 242, 229, 1);

  --figma-grey-100: rgba(133, 133, 133, 1);
  --figma-grey-light: rgba(146, 146, 146, 1);
  --figma-grey-super-light: rgba(239, 239, 239, 1);
  --figma-grey-super-light-2x: rgba(246, 246, 246, 1);

  --figma-yellow-100: #EBAC00;
  --figma-yellow-light: #FFF3CA;

  --figma-gradient-1: linear-gradient(124deg, #79431C 0%, #FDD996 100%);
  --figma-gradient-2: linear-gradient(102deg, #A96D48 0%, #F2EDB6 100%);

  /* ===================================================================
     Дополнение 06.09.2026 — токены финального макета Figma
     Файл Figma: EITP6qbRZriU8FwL50NIdX
     Только определения. Существующие правила намеренно НЕ переводятся
     на эти токены: применять их следует лишь в новых и дорабатываемых
     Figma-блоках. Существующие группы токенов (figma, lp, fs, btn, co)
     не изменены.
     =================================================================== */

  /* --- Цвета: значения макета, которых не было в системе --- */
  --figma-black-warm: rgba(46, 46, 41, 1);          /* #2E2E29 — тёплый тёмный фон секций */
  --figma-gold: rgba(223, 183, 122, 1);             /* #DFB77A — основной золотой акцент */
  --figma-brown-deep: rgba(151, 101, 55, 1);        /* #976537 — акцентный коричневый */
  --figma-white-20: rgba(255, 255, 255, 0.2);       /* пропущенная ступень ряда 15/40/60/80 */

  /* --- Цвета служебные: применять только в блоках, где они есть в макете --- */
  --figma-black-70: rgba(0, 0, 0, 0.7);             /* оверлеи */
  --figma-error: rgba(255, 56, 60, 1);              /* #FF383C — валидация форм */
  --figma-error-light: rgba(252, 125, 125, 1);      /* #FC7D7D */
  --figma-success: rgba(58, 146, 133, 1);           /* #3A9285 */

  /* --- Тени --- */
  --figma-shadow-card: 0 0 15px rgba(0, 0, 0, 0.1);
  --figma-shadow-lg: 0 8px 28px rgba(36, 36, 36, 0.05);
  --figma-shadow-md: 0 6px 21px rgba(36, 36, 36, 0.05);
  --figma-shadow-sm: 2px 2px 4px rgba(0, 0, 0, 0.2);
  --figma-shadow-side: -6px 0 10px rgba(0, 0, 0, 0.15);

  /* --- Радиусы --- */
  --figma-radius-card: 24px;                        /* карточки */
  --figma-radius-btn: 12px;                         /* кнопки, чипы, поля */
  --figma-radius-inner: 16px;                       /* вложенные блоки и изображения */
  --figma-radius-panel: 32px;                       /* крупные панели (quiz, video) */
  --figma-radius-sm: 8px;
  --figma-radius-pill: 1000px;                      /* круглые кнопки и pill-чипы */

  /* --- Типографика. Гарнитура уже подключена проектом (Google Fonts),
         здесь только имя стека. Формат подписи: size / line-height / letter-spacing --- */
  --figma-font: "Inter Tight", sans-serif;
  --figma-fs-h1: 64px;                              /* 64 / 70 / -0.2  · w500 — H1 первого экрана */
  --figma-fs-h1-alt: 52px;                          /* 52 / 57 / -1.04 · w500 — крупный H1/H2 */
  --figma-fs-h2: 28px;                              /* 28 / 31 / 0     · w500 — заголовок секции */
  --figma-fs-h3: 24px;                              /* 24 / 29 / -0.48 · w500 — подзаголовок */
  --figma-fs-h4: 20px;                              /* 20 / 22 / -0.4  · w500 — заголовок карточки */
  --figma-fs-lg: 18px;                              /* 18 / 20 / 0     · w400 — крупный body */
  --figma-fs-base: 16px;                            /* 16 / 20 / 0     · w400·500·600 — основной текст */
  --figma-fs-sm: 14px;                              /* 14 / 18 / 0     · w400·500·600 — подписи, кнопки */
  --figma-fs-xs: 10px;                              /* 10 / 14 / 0     · w400 — мелкие подписи */

  /* --- Метрики кнопок, чипов и полей --- */
  --figma-btn-h: 54px;                              /* основная кнопка */
  --figma-btn-pad: 12px 24px;
  --figma-btn-form-h: 56px;                         /* кнопка и поле внутри формы */
  --figma-btn-form-pad: 16px 20px;
  --figma-chip-h: 44px;                             /* таб / чип */
  --figma-chip-pad: 12px 16px;
  --figma-input-pad: 16px 14px 16px 20px;
  --figma-icon-btn: 48px;                           /* круглая кнопка навигации слайдера */

  /* --- Сетка. НЕ применять глобально: только в новых и дорабатываемых
         блоках, где это соответствует конкретному Figma Frame --- */
  --figma-container: 1840px;                        /* ширина контента при 1920 */
  --figma-section-pad: 48px 40px;                   /* паддинг секции */
  --figma-gap: 20px;                                /* между карточками в ряду */
  --figma-gap-block: 32px;                          /* между блоками внутри секции */
}

/* header custom */
/* Шапка */

.header-custom {
  position: absolute;
  top: 1px;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  height: 64px;
  background: var(--figma-white-100);
  margin: 20px 40px;
  padding: 0 16px;
  border-radius: 16px;
  z-index: 1000;
  min-width: 288px;
}

.logo-and-menu-row {
  position: relative;
  height: 40px;
  display: flex;
  flex-grow: 1;
  gap: 24px;
}

.header-custom nav {
  display: flex;
  gap: 24px;
}

.menu-items-basic,
.menu-items-extra {
  display: flex;
  gap: 24px;
  align-items: center;
}

.menu-items-basic .item,
.menu-items-extra .item,
.menu-contacts .item {
  display: flex;
  gap: 4px;
  align-items: center;
}

.menu-items-basic .item a,
.menu-items-extra .item a {
  color: var(--figma-black-100);
}

.menu-items-basic img {
  height: 24px;
}

.menu-items-basic {
  font-weight: 600;
}

.menu-contacts {
  display: flex;
  flex-grow: 1;
  justify-content: flex-end;
  gap: 20px;
  color: var(--figma-grey-100);
}

.menu-socials {
  display: flex;
  gap: 8px;
}

.menu-socials .item {
  width: 40px;
  height: 40px;
  transition: background-image 0.3s ease;
}

/* VVMD: ссылка в шапке ведёт на MAX — иконка MAX (до 23.10 растр MAX лежал в social_tg_*.svg). */
.menu-socials .max {
  background-image: url("../images/custom/social_max_black.svg");
}

.menu-socials .max:hover {
  background-image: url("../images/custom/social_max_brown.svg");
}

.menu-socials .email {
  background-image: url("../images/custom/social_email_black.svg");
}

.menu-socials .email:hover {
  background-image: url("../images/custom/social_email_brown.svg");
}

.figma-menu-button {
  font-size: 14px;
  font-weight: 600;
  color: var(--figma-white-100);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 162px;
  height: 42px;
  padding-left: 16px;
  background-color: var(--figma-black-100);
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

.figma-menu-button img {
  margin: 0;
}

.figma-menu-button:hover {
  background-color: var(--figma-black-light);
  color: var(--figma-white-100);
}

.figma-menu-button:hover span,
.figma-menu-button:hover img {
  opacity: 1;
}

@media (max-width: 1649px){
  #menu-contacts-schedule {
    display: none;
  }
}

@media (max-width: 1459px){
  .menu-items-extra {
    display: none;
  }
}

@media (max-width: 743px){
  .header-custom {
    margin: 20px;
  }

  .menu-items-basic {
    display: none;
  }
}

@media (max-width: 374px){
  .header-custom {
    margin: 20px 16px;
  }
}

#banner-custom .content {
  display: flex;
  gap: 20px;
  padding: 0;
}

/* Top banner - left side 

#banner-custom .left-side {
  flex-grow: 0;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
}*/

#banner-custom .left-side {
  flex: 0 0 calc(50% - 10px);
  width: calc(50% - 10px);
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
}

#banner-custom .left-side .top-area {
  display: flex;
  gap: 24px;
  flex-direction: column;
}

#banner-custom .left-side .chips-wrap {
  display: flex;
  flex-flow: row wrap;
  gap: 16px
}

#banner-custom .chip {
  display: flex;
  gap: 4px;
  padding: 4px 12px;
  white-space: nowrap;
  color: var(--figma-black-light);
  background-color: var(--figma-white-100);
  border: solid 1px var(--figma-black-20);
  border-radius: 18px;
}

#banner-custom .headline {
  font-size: 64px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--figma-white-100);
}

#banner-custom .subheadline {
  max-width: 600px;
  font-size: 16px;
  line-height: 1.25;
  color: var(--figma-white-100);
  opacity: 0.8;
}

#banner-custom .mobile-slider {
  display: none;
}

#banner-custom .form-1 {
  display: flex;
  max-width: 600px;
}

#banner-custom form .inputs-wrap {
  display: flex;
  gap: 8px;
}

#banner-custom form .inputs-wrap input {
  display: flex;
  flex-grow: 1;
  height: 56px;
  padding: 16px 14px 16px 20px;
  font-size: 14px;
  line-height: 1.25;
  color: var(--figma-white-dark);
  background: var(--figma-white-15);
  border: 1px solid var(--figma-white-40);
  border-radius: 12px;
}

#banner-custom form .name-wrap {
  display: flex;
  flex-basis: 0;
  flex-grow: 1;
}

#banner-custom form .phone-wrap {
  display: flex;
  flex-basis: 0;
  flex-grow: 1;
  position: relative;
}

#banner-custom form .phone-wrap input {
  padding-left: 56px;
}

#banner-custom form .flag {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

#banner-custom form .button-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#banner-custom form button {
  height: 54px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1%;
  line-height: 1.2;
  color: var(--figma-black-100);
  background-color: var(--figma-white-100);
  border: none;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

#banner-custom form .checkbox-wrap {
  display: flex;
  gap: 8px;
  font-size: 12px;
  line-height: 1.25;
  color: var(--figma-white-100);
}

#banner-custom form input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: url("../images/custom/checkbox_unchecked_light.svg") no-repeat;
  background-size: contain;
}

#banner-custom .left-side .bottom-area {
  display: flex;
  gap: 16px;
  flex-direction: column;
}

#banner-custom .medals {
  width: 601px;
  height: 94px;
  background-image: url("../images/custom/medals_7.png");
  background-size: contain;
}

#banner-custom .features-wrap-1 {
  display: flex;
  gap: 10px;
}

#banner-custom .features-wrap-2 {
  display: none;
  gap: 10px;
}

#banner-custom .features-wrap-3 {
  display: none;
}

#banner-custom .feature {
  display: flex;
  flex-basis: 0;
  flex-grow: 1;
  flex-direction: column;
  padding: 2px;
  text-align: right;
  background-color: var(--figma-white-100);
  border: solid 2px var(--figma-grey-super-light);
  border-radius: 24px;
}

#banner-custom .feature img {
  margin-right: 0;
}

#banner-custom .feature .title {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--figma-black-100);
  text-align: left;
  padding: 0 16px;
  margin-bottom: 8px;
  max-width: 193px;
}

#banner-custom .feature .text {
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: auto;
  color: var(--figma-grey-100);
  text-align: left;
  padding: 0 16px;
  margin-bottom: 16px;
}

/* Top banner - Right side 
#banner-custom .slider-wrap {
  flex-grow: 1;
  border-radius: 24px;
  overflow: hidden;
  width: 50%;
}*/


#banner-custom .slider-wrap {
  flex: 0 0 calc(50% - 10px);
  width: calc(50% - 10px);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

#banner-custom .slider-wrap .item {
  height: 944px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
}

#banner-custom .slider-wrap .header-wrap {
  display: flex;
  flex-flow: row wrap-reverse;
  gap: 20px;
  padding: 24px;
}

#banner-custom .slider-wrap .title {
  font-size: 30px;
  line-height: 1.1;
  display: flex;
}


#banner-custom .slider-wrap .chips-wrap {
  display: flex;
  flex-flow: row wrap;
  gap: 4px;
}

#banner-custom .slider-wrap .chip {
  font-size: 14px;
  line-height: 1.2;
  color: var(--figma-black-dark);
  padding: 8px 16px;
  background-color: var(--figma-grey-super-light);
  border: none;
}

#banner-custom .slider-wrap .button-wrap {
  display: flex;
  justify-content: flex-end;
  padding: 24px;
}

#banner-custom .slider-wrap .light {
  color: var(--figma-white-100);
}

#banner-custom .slider-wrap .dark {
  color: var(--figma-black-100);
}


#top-banner-slider-dots,
#top-banner-main-slider-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  z-index: 1000;
}

#banner-custom .features-wrap-3 .owl-carousel * {
  display: flex;
  box-sizing: border-box;
}

#banner-custom .form-2 {
  display: none;
}

@media (max-width: 1649px){
  #banner-custom .headline {
    font-size: 52px;
  }
}

@media (max-width: 1279px){
  #banner-custom .headline {
    font-size: 40px;
  }

  #banner-custom .subheadline {
    font-size: 14px;
  }

  #banner-custom .inputs-wrap {
    flex-direction: column;
  }

  #banner-custom .medals {
    width: 470px;
    background-image: url("../images/custom/medals_5.png");
  }

  #banner-custom .features-wrap-1 {
    display: none;
  }

  #banner-custom .features-wrap-2 {
    display: flex;
  }

  #banner-custom .slider-wrap .item {
    height: 722px;
  }
}

@media (max-width: 1023px){

  #banner-custom .content {
    flex-direction: column;
  }

  #banner-custom .medals {
    width: 332px;
    height: 52px;
    margin-top: 16px;
    background-image: url("../images/custom/medals_7.png");
  }

  #banner-custom .slider-wrap .item {
    height: 622px;
  }

  #banner-custom .form-1 {
    display: none;
  }

  #banner-custom .form-2 {
    display: flex;
  }

  #banner-custom form .inputs-wrap {
    flex-direction: row;
  }
}

@media (max-width: 743px){
  #banner-custom .chips-wrap {
    flex-direction: column;
  }

  #banner-custom .headline {
    font-size: 32px;
    letter-spacing: -3%;
    line-height: 1;
  }

  #banner-custom form .inputs-wrap {
    flex-direction: column;
  }

  #banner-custom .features-wrap-2 {
    display: none;
  }

  #banner-custom .features-wrap-3 {
    display: flex;
  }
}

@media (max-width: 374px){
  #banner-custom .chip {
    font-size: 12px;
  }

  #banner-custom .medals {
    width: 227px;
    height: 51px;
    margin-top: 16px;
    background-image: url("../images/custom/medals_4.png");
  }
}

/* banner desktop viewport */
/* =========================================================
   V6 — ГЛАВНАЯ: ПЕРВЫЙ БЛОК РОВНО В ВЫСОТУ ЭКРАНА
   Только desktop >= 1280px.
   Не меняет мобильную версию и остальные блоки.
   ========================================================= */

@media (min-width: 1280px){

    #banner-custom .left-side .top-area {
        gap: 18px !important;
    }

    #banner-custom .left-side .bottom-area {
        margin-top: 16px !important;
        gap: 12px !important;
    }
}


/* Невысокие ноутбуки: чуть плотнее верхняя часть,
   чтобы нижние 3 карточки не уходили под сгиб экрана. */
@media (min-width: 1280px) and (max-height: 820px){

    #banner-custom .left-side .top-area {
        gap: 14px !important;
    }

    #banner-custom .left-side .bottom-area {
        margin-top: 10px !important;
        gap: 8px !important;
    }
}

/* homepage missing blocks */
.front-news-slider {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 48px 40px;
}

.front-news-slider .header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.front-news-slider .header .chip {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1%;
  line-height: 1.2;
  display: flex;
  align-self: flex-start;
  gap: 4px;
  align-items: center;
  padding: 4px 12px;
  white-space: nowrap;
  color: var(--figma-black-light);
  border: solid 1px var(--figma-black-20);
  border-radius: 18px;
}

.front-news-slider .header .title-wrap {
  display: flex;
}

.front-news-slider .header .title {
  font-size: 64px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--figma-black-100);
  display: flex;
  flex-grow: 1;
  overflow: visible;
}

.front-news-slider .buttons-wrap {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.front-news-slider .slider-nav {
  display: flex;
  flex-grow: 1;
  gap: 8px;
}

.front-news-slider .slider-nav button {
  width: 48px;
  height: 48px;
  background: var(--figma-white-100);
  border: solid 1px var(--figma-grey-super-light);
  border-radius: 24px;
  transition: background-image 0.3s ease;
}

.front-news-slider .slider-nav .owl-prev {
  transform: rotate(-90deg);
}

.front-news-slider .slider-nav .owl-next {
  transform: rotate(90deg);
}

.front-news-slider .slider-nav button:hover {
  background: var(--figma-white-dark);
}

.front-news-slider .slider-dots,
.front-news-slider .slider-dots-light {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.front-news-slider .slider-dots button {
  width: 8px;
  height: 8px;
  background-color: var(--figma-grey-light);
  border: none;
  border-radius: 4px;
}

.front-news-slider .slider-dots-light button {
  width: 8px;
  height: 8px;
  background-color: var(--figma-white-40);
  border: none;
  border-radius: 4px;
}

.front-news-slider .slider-dots .active {
  width: 32px;
  background-color: var(--figma-black-100);
}

.front-news-slider .slider-dots-light .active {
  width: 32px;
  background-color: var(--figma-white-100);
}

.front-news-slider .content {
  display: flex;
  padding: 40px 32px;
  border-radius: 32px;
}

.front-news-slider .content .owl-stage-outer {
  display: flex;
  flex-grow: 1;
}

.front-news-slider .content .owl-stage {
  display: flex;
}

.front-news-slider .content .slider-item-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.front-news-slider .content .slider-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.front-news-slider .content .slider-item .preview {
  width: 275px;
  height: 266px;
  object-fit: cover;
  object-position: center;
  margin: 0;
  border-radius: 24px;
}

.front-news-slider .content .slider-item .info-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.front-news-slider .content .slider-item .chip-wrap {
  display: flex;
  flex-direction: row;
}

.front-news-slider .content .slider-item .chip {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 4px 8px;
  color: var(--figma-brown-dark);
  background-color: var(--figma-brown-super-light);
  border-radius: 16px;
}

.front-news-slider .content .slider-item .chip-wrap .spacer {
  display: flex;
  flex-grow: 1;
  height: 32px;
}

.front-news-slider .content .slider-item .chip-wrap a {
  display: flex;
}

.front-news-slider .content .slider-item .title {
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--figma-black-100);
  min-height: 40px;
}

.front-news-slider .content .slider-item .description {
  font-size: 14px;
  line-height: 1.25;
  color: var(--figma-grey-100);
  max-height: 36px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1459px) {
.front-news-slider .header .title {
    font-size: 52px;
  
}
}

@media (max-width: 1279px) {
.front-news-slider {
    gap: 24px;
    padding: 32px 40px;
  
}

.front-news-slider .content {
    padding: 32px 24px;
  
}

.front-news-slider .header .title {
    font-size: 52px;
  
}
}

@media (max-width: 1023px) {
.front-news-slider {
    gap: 20px;
    padding: 0px 20px;
  
}

.front-news-slider .content {
    padding: 0;
  
}

.front-news-slider .header .title {
    font-size: 32px;
  
}

.front-news-slider .slider-nav {
    display: none;
  
}

.front-news-slider .all-button {
    padding: 6px 24px;
  
}

.front-news-slider .all-button span {
    display: none;
  
}

.front-news-slider .all-button:before {
    content: "Все";
  
}
}

#banner-custom .content {
  display: flex;
  gap: 20px;
  padding: 0;
}

#banner-custom .left-side {
  flex: 0 0 calc(50% - 10px);
  width: calc(50% - 10px);
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
}

#banner-custom .left-side .top-area {
  display: flex;
  gap: 24px;
  flex-direction: column;
}

#banner-custom .left-side .chips-wrap {
  display: flex;
  flex-flow: row wrap;
  gap: 16px
}

#banner-custom .chip {
  display: flex;
  gap: 4px;
  padding: 4px 12px;
  white-space: nowrap;
  color: var(--figma-black-light);
  background-color: var(--figma-white-100);
  border: solid 1px var(--figma-black-20);
  border-radius: 18px;
}

#banner-custom .headline {
  font-size: 64px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--figma-white-100);
}

#banner-custom .subheadline {
  max-width: 600px;
  font-size: 16px;
  line-height: 1.25;
  color: var(--figma-white-100);
  opacity: 0.8;
}

#banner-custom .mobile-slider {
  display: none;
}

#banner-custom .form-1 {
  display: flex;
  max-width: 600px;
}

#banner-custom form .inputs-wrap {
  display: flex;
  gap: 8px;
}

#banner-custom form .inputs-wrap input {
  display: flex;
  flex-grow: 1;
  height: 56px;
  padding: 16px 14px 16px 20px;
  font-size: 14px;
  line-height: 1.25;
  color: var(--figma-white-dark);
  background: var(--figma-white-15);
  border: 1px solid var(--figma-white-40);
  border-radius: 12px;
}

#banner-custom form .name-wrap {
  display: flex;
  flex-basis: 0;
  flex-grow: 1;
}

#banner-custom form .phone-wrap {
  display: flex;
  flex-basis: 0;
  flex-grow: 1;
  position: relative;
}

#banner-custom form .flag {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

#banner-custom form .button-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#banner-custom form button {
  height: 54px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1%;
  line-height: 1.2;
  color: var(--figma-black-100);
  background-color: var(--figma-white-100);
  border: none;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

#banner-custom form .checkbox-wrap {
  display: flex;
  gap: 8px;
  font-size: 12px;
  line-height: 1.25;
  color: var(--figma-white-100);
}

#banner-custom .left-side .bottom-area {
  display: flex;
  gap: 16px;
  flex-direction: column;
}

#banner-custom .medals {
  width: 601px;
  height: 94px;
  background-image: url("../images/custom/medals_7.png");
  background-size: contain;
}

#banner-custom .features-wrap-1 {
  display: flex;
  gap: 10px;
}

#banner-custom .features-wrap-2 {
  display: none;
  gap: 10px;
}

#banner-custom .features-wrap-3 {
  display: none;
}

#banner-custom .feature {
  display: flex;
  flex-basis: 0;
  flex-grow: 1;
  flex-direction: column;
  padding: 2px;
  text-align: right;
  background-color: var(--figma-white-100);
  border: solid 2px var(--figma-grey-super-light);
  border-radius: 24px;
}

#banner-custom .feature img {
  margin-right: 0;
}

#banner-custom .feature .title {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--figma-black-100);
  text-align: left;
  padding: 0 16px;
  margin-bottom: 8px;
  max-width: 193px;
}

#banner-custom .feature .text {
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: auto;
  color: var(--figma-grey-100);
  text-align: left;
  padding: 0 16px;
  margin-bottom: 16px;
}

#banner-custom .slider-wrap {
  flex: 0 0 calc(50% - 10px);
  width: calc(50% - 10px);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

#banner-custom .slider-wrap .item {
  height: 944px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
}

#banner-custom .slider-wrap .header-wrap {
  display: flex;
  flex-flow: row wrap-reverse;
  gap: 20px;
  padding: 24px;
}

#banner-custom .slider-wrap .title {
  font-size: 30px;
  line-height: 1.1;
  display: flex;
}

#banner-custom .slider-wrap .chips-wrap {
  display: flex;
  flex-flow: row wrap;
  gap: 4px;
}

#banner-custom .slider-wrap .chip {
  font-size: 14px;
  line-height: 1.2;
  color: var(--figma-black-dark);
  padding: 8px 16px;
  background-color: var(--figma-grey-super-light);
  border: none;
}

#banner-custom .slider-wrap .button-wrap {
  display: flex;
  justify-content: flex-end;
  padding: 24px;
}

#banner-custom .slider-wrap .light {
  color: var(--figma-white-100);
}

#banner-custom .features-wrap-3 .owl-carousel * {
  display: flex;
  box-sizing: border-box;
}

#banner-custom .form-2 {
  display: none;
}

@media (max-width: 1649px) {
#banner-custom .headline {
    font-size: 52px;
  
}
}

@media (max-width: 1279px) {
#banner-custom .headline {
    font-size: 40px;
  
}

#banner-custom .subheadline {
    font-size: 14px;
  
}

#banner-custom .inputs-wrap {
    flex-direction: column;
  
}

#banner-custom .medals {
    width: 470px;
    background-image: url("../images/custom/medals_5.png");
  
}

#banner-custom .features-wrap-1 {
    display: none;
  
}

#banner-custom .features-wrap-2 {
    display: flex;
  
}
}

@media (max-width: 1023px) {

#banner-custom .content {
    flex-direction: column;
  
}

#banner-custom .medals {
    width: 332px;
    height: 52px;
    margin-top: 16px;
    background-image: url("../images/custom/medals_7.png");
  
}

#banner-custom .form-1 {
    display: none;
  
}

#banner-custom .form-2 {
    display: flex;
  
}
}

@media (max-width: 743px) {
#banner-custom .chips-wrap {
    flex-direction: column;
  
}

#banner-custom .headline {
    font-size: 32px;
    letter-spacing: -3%;
    line-height: 1;
  
}

#banner-custom .features-wrap-2 {
    display: none;
  
}

#banner-custom .features-wrap-3 {
    display: flex;
  
}
}

@media (max-width: 374px) {
#banner-custom .chip {
    font-size: 12px;
  
}

#banner-custom .medals {
    width: 227px;
    height: 51px;
    margin-top: 16px;
    background-image: url("../images/custom/medals_4.png");
  
}
}

#sections-custom .content_wrapper_block {
  border-bottom: none;
}

#sections-custom .maxwidth-theme {
  max-width: 100%;
  padding: 40px 40px 0;
}

#sections-custom .sections_wrapper {
  padding-bottom: 24px;
}

#sections-custom .swiper-wrapper {
  gap: 20px;
}

#sections-custom .swiper {
  margin: 0;
}

#sections-custom .item {
  width: 135px;
}

#sections-custom .img {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 135px;
  height: 135px;
  background-color: var(--figma-white-100);
  border-radius: 68px;
  margin: 0 auto 8px;
}

#sections-custom .img img {
  height: 90px;
}

#sections-custom .counter {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  color: #9196A5;
  width: 36px;
  height: 36px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--figma-white-100);
  border: solid 2px var(--figma-white-dark);
  border-radius: 18px;
  z-index: 1000;
}

#sections-custom .flame {
  width: 36px;
  height: 36px;
  position: absolute;
  left: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFEAEA;
  border: solid 2px var(--figma-white-100);
  border-radius: 18px;
  z-index: 1000;
}

#sections-custom .item .name a {
  font-weight: 500;
}

#sections-custom .swiper-button-next,
#sections-custom .swiper-button-prev {
  width: 48px;
  height: 48px;
  background-color: var(--figma-white-100);
  border: solid 1px var(--figma-grey-super-light);
  border-radius: 24px;
}

#sections-custom .swiper-button-next:hover,
#sections-custom .swiper-button-prev:hover {
  background-color: var(--figma-white-dark);
}

#brands-custom .content_wrapper_block {
  border-bottom: none;
}

#brands-custom .wrapper1 {
  padding: 80px 40px;
}

#brands-custom .maxwidth-theme {
  max-width: 100%;
}

#brands-custom .top_block {
  display: none;
}

#brands-custom .brands-wrapper {
  display: flex;
}

#brands-custom .left-block {
  font-size: 28px;
  line-height: 1.1;
  color: var(--figma-black-dark);
  min-width: 387px;
}

#brands-custom .owl-nav button {
  display: none;
}

@media (max-width: 1279px) {
#brands-custom .left-block {
    font-size: 24px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    min-width: 314px;
  
}
}

@media (max-width: 1023px) {
#brands-custom .brands-wrapper {
    flex-direction: column;
  
}

#brands-custom .left-block {
    font-size: 20px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-align: center;
    min-width: 100%;
  
}
}

#cases-custom .content {
  background-color: var(--figma-white-100);
}

@media (max-width: 1649px) {
#cases-custom .content .slider-item .preview {
    width: 244px;
  
}
}

@media (max-width: 1459px) {
#cases-custom .content .slider-item .preview {
    width: 212px;
  
}
}

@media (max-width: 1023px) {
#cases-custom .content {
    background: none;
  
}

#cases-custom .content .slider-item .preview {
    width: 170px;
    height: 175px;
    border: solid 1 px var(--figma-grey-super-light);
    border-radius: 12px;
  
}

#cases-custom .content .slider-item .chip-wrap a {
    display: none;
  
}

#cases-custom .content .slider-item .title {
    font-size: 12px;
    min-height: 28px;
  
}

#cases-custom .content .slider-item .info-wrap .description {
    display: none;
  
}
}

@media (max-width: 743px) {
#cases-custom .content .slider-item .preview {
    width: 168px;
  
}
}

@media (max-width: 374px) {
#cases-custom .content .slider-item .preview {
    width: 140px;
  
}
}

#front-catalog-custom .content {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 0px;
}

#front-catalog-custom .classifier {
  display: flex;
  flex: 0 0 auto;
  padding: 4px;
  background-color: var(--figma-white-dark);
  border-radius: 24px;
}

#front-catalog-custom .classifier .wrapper {
  display: flex;
}

#front-catalog-custom .classifier .filter {
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
  display: flex;
  flex-basis: fit-content;
  padding: 10px 16px;
  cursor: pointer;
}

#front-catalog-custom .classifier .selected {
  background-color: var(--figma-white-100);
  border-radius: 24px;
}

#front-catalog-custom .title-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
#front-catalog-custom .img-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
}

#front-catalog-custom .img-wrap img {
  max-height: 200px;
  object-fit: contain;
}

#front-catalog-custom .desktop-version .img-wrap img,
#front-catalog-custom .tablet-version .img-wrap img {
  height: 100%;
}

#front-catalog-custom .mobile-version .img-wrap img {
  width: 100%;
}

#front-catalog-custom .desktop-version,
#front-catalog-custom .tablet-version {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#front-catalog-custom .desktop-version .row,
#front-catalog-custom .tablet-version .row {
  display: flex;
  gap: 20px;
}

#front-catalog-custom .desktop-version .item,
#front-catalog-custom .tablet-version .item {
  height: 459px;
  flex-basis: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 32px 80px;
  color: var(--figma-black-100);
  background-color: var(--figma-white-100);
  border-radius: 24px;
}

#front-catalog-custom .desktop-version .title,
#front-catalog-custom .tablet-version .title {
  font-size: 28px;
  line-height: 1.1;
  max-width: 314px;
}

#front-catalog-custom .mobile-version .slider-item {
  width: 280px;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px 16px 40px;
  background-color: var(--figma-white-100);
  border-radius: 12px;
}

@media (max-width: 1279px) {
#front-catalog-custom .desktop-version {
    display: none;
  
}

#front-catalog-custom .tablet-version {
    display: flex;
  
}
}

@media (max-width: 1023px) {
#front-catalog-custom .tablet-version {
    display: none;
  
}
}

#front-reviews-custom .content {
  padding: 0;
  background: none;
}

#front-reviews-custom .item {
  height: 494px;
  min-width: 285px;
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--figma-white-100);
  border-radius: 24px;
}

#front-reviews-custom .cover {
  line-height: 1;
  flex-basis: fit-content;
  justify-content: flex-start;
  gap: 16px;
  padding: 30px;
  color: var(--figma-white-100);
  background:none no-repeat center / cover;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#front-reviews-custom .cover:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/front_reviews_cover.webp");}

#front-reviews-custom .cover .first-row {
  font-size: 64px;
}

#front-reviews-custom .cover .second-row {
  font-size: 43px;
}

#front-reviews-custom .cover .third-row {
  font-size: 34px;
}

#front-reviews-custom .cover span {
  font-size: 14px;
  display: flex;
}

#front-reviews-custom .review-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 14px 0;
}

#front-reviews-custom .avatar-wrap {
  font-size: 14px;
  line-height: 1.25;
  display: flex;
  gap: 12px;
  flex-basis: auto;
}

#front-reviews-custom .avatar-wrap img {
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 21px;
}

#front-reviews-custom .author-wrap {
  display: flex;
  flex-direction: column;
}

#front-reviews-custom .avatar-wrap .name {
  color: var(--figma-black-100);
}

#front-reviews-custom .avatar-wrap .post {
  color: var(--figma-grey-light);
}

#front-reviews-custom .review {
  font-size: 16px;
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

#front-reviews-custom .chip-wrap {
  display: flex;
  gap: 8px;
}

#front-reviews-custom .chip-yellow {
  font-size: 16px;
  line-height: 1.25;
  display: flex;
  gap: 4px;
  padding: 4px 10px;
  color: var(--figma-yellow-100);
  background-color: var(--figma-yellow-light);
  border-radius: 14px;
}

#front-reviews-custom .chip-grey {
  font-size: 16px;
  line-height: 1.25;
  display: flex;
  gap: 4px;
  padding: 4px 10px;
  color: var(--figma-grey-100);
  background-color: var(--figma-grey-super-light);
  border-radius: 14px;
}

#front-reviews-custom .show-toggle {
  font-size: 14px;
  letter-spacing: 1%;
  line-height: 1.25;
  color: var(--figma-black-light);
  text-transform: uppercase;
  text-decoration: underline;
}

#front-reviews-custom .image-wrap img {
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
}

#front-company-custom .content {
  flex-direction: column;
  gap: 24px;
  align-items: center;
  padding-top: 80px;
  background: var(--figma-gradient-1);
}

#front-company-custom .content .title {
  font-size: 52px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: center;
  max-width: 1240px;
  color: var(--figma-white-100);
  margin-bottom: 60px;
}

#front-company-custom .content .subtitle {
  font-size: 16px;
  line-height: 1.25;
  text-align: center;
  color: var(--figma-white-100);
}

#front-company-custom .features-desktop {
  display: flex;
  gap: 20px;
  margin: 30px 0;
}

#front-company-custom .features-desktop .item,
#front-company-custom .features-mobile .item {
  font-size: 28px;
  line-height: 1.1;
  height: 300px;
  min-width: 0;
  display: flex;
  flex-basis: 0;
  flex-grow: 1;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  color: var(--figma-black-100);
  background: url("../images/custom/front_company_feature.png") no-repeat right bottom / cover;
  background-color: var(--figma-white-100);
  border-radius: 24px;
  overflow: hidden;
  box-sizing: border-box;
}

#front-company-custom .features-mobile {
  width: 100%;
}

#front-company-custom .features-mobile .owl-item .item {
  width: 100%;
}

#front-company-custom .features-desktop .item span,
#front-company-custom .features-mobile .item span {
  font-size: 16px;
  line-height: 1.25;
  display: block;
  color: var(--figma-grey-100);
}

#front-company-custom .form-wrap {
  display: flex;
  gap: 24px;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px;
  margin: 30px 0;
  background-color: var(--figma-white-80);
  border-radius: 24px;
  max-width: 640px;
}

#front-company-custom .form-wrap .top-area {
  display: flex;
  justify-content: center;
}

#front-company-custom .form-wrap .headline {
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--figma-black-100);
}

#front-company-custom .form-wrap .bottom-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#front-company-custom form {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  gap: 16px;
}

#front-company-custom form .inputs-super-wrap {
  display: flex;
  gap: 10px;
}

#front-company-custom form .inputs-wrap {
  display: flex;
}

#front-company-custom form .inputs-super-wrap input {
  display: flex;
  flex-grow: 1;
  height: 56px;
  padding: 16px 14px 16px 20px;
  width: 100%;
  font-size: 14px;
  line-height: 1.25;
  color: var(--figma-black-100);
  background: var(--figma-white-100);
  border: 1px solid var(--figma-grey-super-light-2x);
}

#front-company-custom form .inputs-wrap .input-name {
  border-radius: 12px 0 0 12px;
}

#front-company-custom form .inputs-wrap .input-phone {
  border-radius: 0 12px 12px 0;
}

#front-company-custom form .inputs-wrap input::placeholder {
  font-size: 14px;
  line-height: 1.25;
  color: var(--figma-black-30);
}

#front-company-custom form input:focus {
  outline: none;
}

#front-company-custom form .name-wrap {
  display: flex;
  flex-basis: 0;
  flex-grow: 1;
}

#front-company-custom form .phone-wrap {
  display: flex;
  flex-basis: 0;
  flex-grow: 1;
  position: relative;
}

#front-company-custom form .phone-wrap input {
  padding-left: 56px;
}

#front-company-custom form .flag {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

#front-company-custom form .comment-wrap {
  display: flex;
  flex-basis: 0;
  flex-grow: 1;
}

#front-company-custom form .button-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#front-company-custom form button {
  height: 56px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1%;
  line-height: 1.2;
  white-space: nowrap;
  padding: 16px 20px;
  color: var(--figma-white-100);
  background: var(--figma-gradient-1);
  border: none;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

#front-company-custom form button:hover {
  background: var(--figma-gradient-2);
}

#front-company-custom form .checkbox-wrap {
  display: flex;
  gap: 8px;
  font-size: 12px;
  line-height: 1.25;
  color: var(--figma-black-100);
}

#front-company-custom form input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background:none no-repeat;
  background-size: contain;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#front-company-custom form input[type="checkbox"]:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/checkbox_unchecked_dark.svg");}

#front-company-custom form input[type="checkbox"]:checked {
  background:none;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#front-company-custom form input[type="checkbox"]:checked:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/checkbox_checked_dark.svg");}

#front-company-custom form .checkbox-wrap a {
  color: var(--figma-black-100);
  text-decoration: underline;
}

@media (max-width: 1649px) {
#front-company-custom .features-desktop .item,
#front-company-custom .features-mobile .item {
    font-size: 20px;
  
}

#front-company-custom .features-desktop .item span,
#front-company-custom .features-mobile .item span {
    font-size: 14px;
  
}
}

@media (max-width: 1279px) {
#front-company-custom .content .title {
    font-size: 40px;
  
}

#front-company-custom .features-desktop {
    display: none;
  
}
}

@media (max-width: 1023px) {
#front-company-custom .content {
    padding: 20px;
    border-radius: 16px;
  
}

#front-company-custom .content .title {
    font-size: 32px;
  
}

#front-company-custom .features-desktop .item,
#front-company-custom .features-mobile .item {
    height: 280px;
    font-size: 22px;
    padding: 18px;
  
}

#front-company-custom .form-wrap {
    border-radius: 12px;
  
}

#front-company-custom form .inputs-super-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
  
}
}

@media (max-width: 743px) {
#front-company-custom .features-mobile .item {
    height: 300px;
    font-size: 24px;
    padding: 20px 18px;
  
}

#front-company-custom .features-mobile .item span {
    font-size: 15px;
    max-width: 85%;
  
}

#front-company-custom .content .title {
    font-size: 24px;
    line-height: 1.2;
  
}

#front-company-custom .form-wrap {
    padding: 16px;
  
}

#front-company-custom .form-wrap .top-area .headline {
    font-size: 16px;
    line-height: 1.25;
  
}

#front-company-custom form .inputs-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
  
}

#front-company-custom form .inputs-wrap .input-name,
#front-company-custom form .inputs-wrap .input-phone {
    border-radius: 12px;
  
}
}

#front-news-custom .content {
  padding: 0;
}

#front-news-custom .content .desktop {
  display: flex;
  gap: 20px;
}

#front-news-custom .content .desktop .first-item,
#front-news-custom .content .desktop .rest-items {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
}

#front-news-custom .content .desktop .first-item {
  gap: 16px;
}

#front-news-custom .first-item img {
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
}

#front-news-custom .first-item .date-wrap {
  display: flex;
  gap: 12px;
  align-items: center;
}

#front-news-custom .first-item .category {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1%;
  line-height: 1.2;
  padding: 4px 12px;
  color: var(--figma-black-light);
  display: flex;
  gap: 4px;
  align-items: center;
  border: solid 1px var(--figma-black-20);
  border-radius: 24px;
}

#front-news-custom .first-item .date {
  font-size: 16px;
  line-height: 1.25;
  color: var(--figma-grey-100);
}

#front-news-custom .first-item .views {
  font-size: 16px;
  line-height: 1.25;
  color: var(--figma-grey-100);
  display: flex;
  gap: 4px;
  align-items: center;
}

#front-news-custom .first-item .title {
  font-size: 32px;
  line-height: 1.1;
  color: var(--figma-black-100);
}

#front-news-custom .content .desktop .rest-items {
  gap: 8px;
}

#front-news-custom .rest-items .item {
  display: flex;
  gap: 20px;
  padding: 8px;
  background-color: var(--figma-white-100);
  border-radius: 24px;
}

#front-news-custom .rest-items .image-wrap img {
  width: 190px;
  height: 190px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
}

#front-news-custom .rest-items .title-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

#front-news-custom .rest-items .category {
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1.25;
  color: var(--figma-grey-100);
  display: flex;
  gap: 4px;
  align-items: center;
}

#front-news-custom .rest-items .title {
  font-size: 32px;
  line-height: 1.1;
  color: var(--figma-black-100);
}

#front-news-custom .rest-items .date-wrap {
  display: flex;
  gap: 12px;
  align-items: center;
}

#front-news-custom .rest-items .date {
  font-size: 16px;
  line-height: 1.25;
  color: var(--figma-grey-100);
}

#front-news-custom .rest-items .views {
  font-size: 16px;
  line-height: 1.25;
  color: var(--figma-grey-100);
  display: flex;
  gap: 4px;
  align-items: center;
}

#front-news-custom .content .mobile {
  flex-direction: column;
  gap: 10px;
}

#front-news-custom .tablet .item,
#front-news-custom .mobile .item {
  height: 100%;
  min-width: 270px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background-color: var(--figma-white-100);
  border-radius: 16px;
}

#front-news-custom .tablet .item .image-wrap img,
#front-news-custom .mobile .item .image-wrap img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
}

#front-news-custom .tablet .item .date-wrap,
#front-news-custom .mobile .item .date-wrap {
  display: flex;
  gap: 8px;
}

#front-news-custom .tablet .item .date,
#front-news-custom .mobile .item .date {
  font-size: 12px;
  line-height: 1.25;
  color: var(--figma-black-100);
}

#front-news-custom .tablet .item .category,
#front-news-custom .mobile .item .category {
  font-size: 12px;
  line-height: 1.25;
  color: var(--figma-grey-100);
}

#footer-custom {
  display: flex;
  flex-direction: column;
  gap: 40px;
  color: var(--figma-white-100);
  padding: 50px 40px 40px;
  text-align: left;
  background-color: var(--figma-black-dark);
  border-radius: 32px 32px 0 0;
}

#footer-custom .logo-mobile,
#footer-custom .socials-mobile,
#footer-custom .medals-mobile,
#footer-custom .socials-tablet,
#footer-custom .form-tablet,
#footer-custom .menu-tablet,
#footer-custom .contacts-mobile {
  display: none;
}

#footer-custom .title {
  font-size: 28px;
  line-height: 1.1;
}

#footer-custom .aboveline {
  display: flex;
  gap: 80px;
}

#footer-custom .left-column {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  gap: 60px;
}

#footer-custom .first-row {
  display: flex;
  gap: 420px;
}

#footer-custom .logo {
  width: 160px;
}

#footer-custom .menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 20px;
}

#footer-custom .second-row {
  display: flex;
  gap: 200px;
}

#footer-custom .third-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#footer-custom .medals-desktop {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

#footer-custom .contacts-desktop {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#footer-custom .contacts-desktop .contact {
  display: flex;
  gap: 4px;
}

#footer-custom .right-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: 80px;
}

#footer-custom .form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#footer-custom .socials-desktop {
  display: flex;
  gap: 12px;
}

#footer-custom .underline {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  color: var(--figma-grey-100);
  border-top: solid 1px var(--figma-grey-100);
}

#footer-custom .aboveline a {
  color: var(--figma-white-100);
  text-decoration: none;
}

#footer-custom .underline a {
  color: var(--figma-grey-100);
  text-decoration: underline;
}

@media (max-width: 1649px) {
#footer-custom .first-row {
    gap: 140px;
  
}

#footer-custom .second-row {
    gap: 60px;
  
}
}

@media (max-width: 1459px) {
#footer-custom .right-column {
    display: none;
  
}

#footer-custom .first-row {
    gap: 80px;
  
}

#footer-custom .form-tablet {
    display: flex;
    flex-direction: column;
    gap: 20px;
  
}

#footer-custom .second-row {
    justify-content: space-between;
    align-items: flex-end;
  
}

#footer-custom .socials-tablet {
    height: 40px;
    display: flex;
    gap: 12px;
  
}
}

@media (max-width: 1279px) {
#footer-custom .logo {
    display: none;
  
}

#footer-custom .logo-mobile {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  
}
}

@media (max-width: 1023px) {
#footer-custom {
    margin-top: 60px;
    padding: 40px 20px 20px;
  
}

#footer-custom .aboveline {
    gap: 0px;
  
}

#footer-custom .left-column {
    gap: 32px;
  
}

#footer-custom .socials-tablet {
    display: none;
  
}

#footer-custom .socials-mobile {
    display: flex;
    gap: 12px;
  
}

#footer-custom .left-column .menu {
    display: none;
  
}

#footer-custom .form-tablet {
    width: 100%;
  
}

#footer-custom .contacts-desktop {
    gap: 8px;
  
}

#footer-custom .menu-tablet {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start;
    gap: 20px;
  
}
}

@media (max-width: 743px) {
#footer-custom .title {
    font-size: 18px;
    line-height: 1.1;
  
}

#footer-custom .socials-mobile {
    height: 32px;
    gap: 8px;
  
}

#footer-custom .medals-desktop {
    display: none;
  
}

#footer-custom .medals-mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  
}

#footer-custom .menu-tablet {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 12px;
    text-align: left;
  
}

#footer-custom .contacts-desktop {
    display: none;
  
}

#footer-custom .contacts-mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
  
}

#footer-custom .contacts-mobile .contact {
    display: flex;
    gap: 4px;
  
}

#footer-custom .underline {
    flex-direction: column;
    gap: 12px;
  
}

#footer-custom .underline div {
    text-align: left;
  
}
}

@media (max-width: 374px) {
#footer-custom .logo-mobile {
    flex-direction: column;
    gap: 16px;
  
}
}

#footer-custom form {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  gap: 16px;
}

#footer-custom form .inputs-super-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#footer-custom form .inputs-wrap {
  display: flex;
  gap: 8px;
}

#footer-custom form .inputs-super-wrap input {
  display: flex;
  flex-grow: 1;
  height: 56px;
  padding: 16px 14px 16px 20px;
  width: 100%;
  font-size: 14px;
  line-height: 1.25;
  color: var(--figma-black-100);
  background: var(--figma-white-15);
  border: 1px solid var(--figma-white-40);
  border-radius: 12px;
}

#footer-custom form .inputs-wrap input::placeholder {
  font-size: 14px;
  line-height: 1.25;
  color: var(--figma-black-30);
}

#footer-custom form input:focus {
  outline: none;
}

#footer-custom form .name-wrap {
  display: flex;
  flex-basis: 0;
  flex-grow: 1;
}

#footer-custom form .phone-wrap {
  display: flex;
  flex-basis: 0;
  flex-grow: 1;
  position: relative;
}

#footer-custom form .phone-wrap input {
  padding-left: 56px;
}

#footer-custom form .flag {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

#footer-custom form .comment-wrap {
  display: flex;
  flex-basis: 0;
  flex-grow: 1;
}

#footer-custom form .button-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#footer-custom form button {
  height: 54px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1%;
  line-height: 1.2;
  color: var(--figma-white-100);
  background: var(--figma-gradient-1);
  border: none;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

#footer-custom form button:hover {
  background: var(--figma-gradient-2);
}

#footer-custom form .checkbox-wrap {
  display: flex;
  gap: 8px;
  font-size: 12px;
  line-height: 1.25;
  color: var(--figma-white-100);
}

#footer-custom form input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background:none no-repeat;
  background-size: contain;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#footer-custom form input[type="checkbox"]:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/checkbox_unchecked_light.svg");}

#footer-custom form input[type="checkbox"]:checked {
  background:none;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#footer-custom form input[type="checkbox"]:checked:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/checkbox_checked_light.svg");}

#footer-custom form .checkbox-wrap a {
  color: var(--figma-white-100);
  text-decoration: underline;
}

@media (max-width: 1023px) {
#banner-custom .left-side,
#banner-custom .slider-wrap {
        width: 100%;
        flex: 0 0 100%;
    
}

#banner-custom .slider-wrap {
        max-width: 100%;
    
}
}

@media (max-width: 743px) {

#banner-custom .features-wrap-3 {
    position: relative;
    display: flex;
    width: 100%;
    padding-bottom: 34px;
  
}

#banner-custom .features-wrap-3 .owl-carousel {
    width: 100%;
    min-width: 0;
  
}
}

@media (min-width: 1280px) {

#banner-custom .left-side .top-area {
        gap: 18px !important;
    
}

#banner-custom .left-side .bottom-area {
        margin-top: 16px !important;
        gap: 12px !important;
    
}
}

@media (min-width: 1280px) and (max-height: 820px) {

#banner-custom .left-side .top-area {
        gap: 14px !important;
    
}

#banner-custom .left-side .bottom-area {
        margin-top: 10px !important;
        gap: 8px !important;
    
}
}

@media (max-width: 1023px) {
.front-news-slider {
        padding: 30px 20px !important;
    
}
}

@media (max-width: 743px) {
.front-news-slider {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    
}
}

@media (max-width: 1023px) {
#front-company-custom .content {
        gap: 16px !important;
    
}

#front-company-custom .content .title {
        margin-bottom: 8px !important;
    
}

#front-company-custom .content .subtitle {
        margin: 0 !important;
        font-size: 16px !important;
        font-weight: 400 !important;
        line-height: 1.25 !important;
        letter-spacing: 0 !important;
    
}

#front-company-custom .features-mobile {
        margin-top: 8px !important;
    
}

#front-company-custom .form-wrap {
        margin-top: 16px !important;
        margin-bottom: 16px !important;
    
}
}

@media (max-width: 743px) {
#front-company-custom .content {
        gap: 14px !important;
        padding: 20px !important;
    
}

#front-company-custom .content .title {
        margin-bottom: 4px !important;
    
}

#front-company-custom .content .subtitle {
        font-size: 16px !important;
        line-height: 1.25 !important;
    
}

#front-company-custom .features-mobile {
        margin-top: 4px !important;
    
}

#front-company-custom .features-mobile .item {
        height: 280px !important;
    
}

#front-company-custom .form-wrap {
        margin-top: 12px !important;
        margin-bottom: 12px !important;
    
}
}

@media (max-width: 1023px) {
.front-news-slider + .front-news-slider {
        margin-top: 16px !important;
    
}
}

@media (max-width: 743px) {
.front-news-slider + .front-news-slider {
        margin-top: 20px !important;
    
}

.front-news-slider .slider-dots,
.front-news-slider .bottom {
        margin-bottom: 8px !important;
    
}
}

@media (min-width: 1024px) {
#front-company-custom .content {
        gap: 14px !important;
        padding-top: 56px !important;
    
}

#front-company-custom .content .title {
        margin-bottom: 6px !important;
    
}

#front-company-custom .content .subtitle {
        margin-top: 0 !important;
        margin-bottom: 4px !important;
    
}

#front-company-custom .features-desktop {
        margin-top: 14px !important;
        margin-bottom: 14px !important;
    
}

#front-company-custom .form-wrap {
        margin-top: 14px !important;
        margin-bottom: 20px !important;
    
}
}

@media (max-width: 1023px) {
#front-company-custom .content .title {
        margin-bottom: 2px !important;
    
}

#front-company-custom .content .subtitle {
        margin-top: 0 !important;
        margin-bottom: 4px !important;
    
}

#front-company-custom .features-mobile {
        margin-top: 6px !important;
    
}

#front-company-custom .form-wrap {
        margin-top: 10px !important;
    
}
}

#brands-custom .left-block {
    text-align: left;
}

/* homepage final alignment: desktop hides duplicate layouts; feature face matches staging */

#front-catalog-custom .mobile-version,
#front-catalog-custom .tablet-version,
#catalog-slider-dots {
  display: none;
}

#front-company-custom .features-mobile,
#front-company-slider-dots {
  display: none;
}

@media (max-width: 1279px) {
  #front-catalog-custom .desktop-version {
    display: none;
  }

  #front-catalog-custom .tablet-version {
    display: flex;
  }

  #front-company-custom .features-desktop {
    display: none;
  }

  #front-company-custom .features-mobile,
  #front-company-slider-dots {
    display: flex;
  }
}

@media (max-width: 1023px) {
  #front-catalog-custom .tablet-version {
    display: none;
  }

  #front-catalog-custom .mobile-version,
  #catalog-slider-dots {
    display: flex;
  }
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/bitrix/templates/aspro_max/fonts/inter-tight/inter-tight-cyrillic.woff2") format("woff2"),url("https://fonts.gstatic.com/s/intertight/v9/NGSwv5HMAFg6IuGlBNMjxLsD8ah8QA.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/bitrix/templates/aspro_max/fonts/inter-tight/inter-tight-latin.woff2") format("woff2"),url("https://fonts.gstatic.com/s/intertight/v9/NGSwv5HMAFg6IuGlBNMjxLsH8ag.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

#banner-custom .feature,
#banner-custom .feature h1,
#banner-custom .feature h2,
#banner-custom .feature h3,
#banner-custom .feature h4,
#banner-custom .feature h5,
#banner-custom .feature h6 {
  font-family: "Inter Tight", sans-serif;
}

/* Homepage text uses the same face as staging. Scoped to the page that contains the homepage banner. */

body:is(#banner-custom,.vvmd-is-home-banner),
body:is(#banner-custom,.vvmd-is-home-banner) h1,
body:is(#banner-custom,.vvmd-is-home-banner) h2,
body:is(#banner-custom,.vvmd-is-home-banner) h3,
body:is(#banner-custom,.vvmd-is-home-banner) h4,
body:is(#banner-custom,.vvmd-is-home-banner) h5,
body:is(#banner-custom,.vvmd-is-home-banner) h6,
body:is(#banner-custom,.vvmd-is-home-banner) .h1,
body:is(#banner-custom,.vvmd-is-home-banner) .h2,
body:is(#banner-custom,.vvmd-is-home-banner) .h3,
body:is(#banner-custom,.vvmd-is-home-banner) .h4,
body:is(#banner-custom,.vvmd-is-home-banner) .h5,
body:is(#banner-custom,.vvmd-is-home-banner) .h6,
body:is(#banner-custom,.vvmd-is-home-banner) button,
body:is(#banner-custom,.vvmd-is-home-banner) input,
body:is(#banner-custom,.vvmd-is-home-banner) textarea,
body:is(#banner-custom,.vvmd-is-home-banner) select,
body:is(#banner-custom,.vvmd-is-home-banner) .header-custom,
body:is(#banner-custom,.vvmd-is-home-banner) .header-custom a,
body:is(#banner-custom,.vvmd-is-home-banner) .header-custom button {
  font-family: "Inter Tight", sans-serif;
}

/* staging content button used by homepage cases and section links */
.figma-black-button {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--figma-white-100);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: var(--figma-black-100);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color 0.3s ease;
}

.figma-black-button img {
  margin: 0;
}

.figma-black-button:hover {
  background-color: var(--figma-black-light);
  color: var(--figma-white-100);
}

.figma-black-button:hover span,
.figma-black-button:hover img {
  opacity: 1;
}

/* Главная - SEO-текст */

#front-seo-custom .content {
  flex-direction: column;
  gap: 16px;
  padding: 0;
}

#front-seo-custom .text {
  font-size: 16px;
  line-height: 1.25;
  color: var(--figma-grey-100);
  max-height: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
}

#front-seo-custom .figma-black-button {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 16px;
  color: var(--figma-white-100);
  background-color: var(--figma-brown);
}

#front-seo-custom .figma-black-button img {
  transform: rotate(90deg);
}

@media (max-width: 1023px){
  #front-seo-custom .text {
    max-height: 40px;
  }
}

/* Футер */

#footer-custom {
  display: flex;
  flex-direction: column;
  gap: 40px;
  color: var(--figma-white-100);
  padding: 50px 40px 40px;
  text-align: left;
  background-color: var(--figma-black-dark);
  border-radius: 32px 32px 0 0;
}

#footer-custom .logo-mobile,
#footer-custom .socials-mobile,
#footer-custom .medals-mobile,
#footer-custom .socials-tablet,
#footer-custom .form-tablet,
#footer-custom .menu-tablet,
#footer-custom .contacts-mobile {
  display: none;
}

#footer-custom .title {
  font-size: 28px;
  line-height: 1.1;
}

#footer-custom .aboveline {
  display: flex;
  gap: 80px;
}

#footer-custom .left-column {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  gap: 60px;
}

#footer-custom .first-row {
  display: flex;
  gap: 420px;
}

#footer-custom .logo {
  width: 160px;
}

#footer-custom .menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 20px;
}

#footer-custom .second-row {
  display: flex;
  gap: 200px;
}

#footer-custom .third-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#footer-custom .medals-desktop {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

#footer-custom .contacts-desktop {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#footer-custom .contacts-desktop .contact {
  display: flex;
  gap: 4px;
}

#footer-custom .right-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: 80px;
}

#footer-custom .form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#footer-custom .socials-desktop {
  display: flex;
  gap: 12px;
}

#footer-custom .underline {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  color: var(--figma-grey-100);
  border-top: solid 1px var(--figma-grey-100);
}

#footer-custom .aboveline a {
  color: var(--figma-white-100);
  text-decoration: none;
}

#footer-custom .underline a {
  color: var(--figma-grey-100);
  text-decoration: underline;
}

@media (max-width: 1649px){
  #footer-custom .first-row {
    gap: 140px;
  }

  #footer-custom .second-row {
    gap: 60px;
  }
}

@media (max-width: 1459px){
  #footer-custom .right-column {
    display: none;
  }

  #footer-custom .first-row {
    gap: 80px;
  }

  #footer-custom .form-tablet {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  #footer-custom .second-row {
    justify-content: space-between;
    align-items: flex-end;
  }

  #footer-custom .socials-tablet {
    height: 40px;
    display: flex;
    gap: 12px;
  }
  
}

@media (max-width: 1279px){
  #footer-custom .logo {
    display: none;
  }

  #footer-custom .logo-mobile {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
}

@media (max-width: 1023px){
  #footer-custom {
    margin-top: 60px;
    padding: 40px 20px 20px;
  }

  #footer-custom .aboveline {
    gap: 0px;
  }

  #footer-custom .left-column {
    gap: 32px;
  }

  #footer-custom .socials-tablet {
    display: none;
  }

  #footer-custom .socials-mobile {
    display: flex;
    gap: 12px;
  }

  #footer-custom .left-column .menu {
    display: none;
  }

  #footer-custom .form-tablet {
    width: 100%;
  }

  #footer-custom .contacts-desktop {
    gap: 8px;
  }

  #footer-custom .menu-tablet {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start;
    gap: 20px;
  }
}

@media (max-width: 743px){
  #footer-custom .title {
    font-size: 18px;
    line-height: 1.1;
  }

  #footer-custom .socials-mobile {
    height: 32px;
    gap: 8px;
  }

  #footer-custom .medals-desktop {
    display: none;
  }

  #footer-custom .medals-mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  #footer-custom .menu-tablet {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 12px;
    text-align: left;
  }

  #footer-custom .contacts-desktop {
    display: none;
  }

  #footer-custom .contacts-mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  #footer-custom .contacts-mobile .contact {
    display: flex;
    gap: 4px;
  }

  #footer-custom .underline {
    flex-direction: column;
    gap: 12px;
  }

  #footer-custom .underline div {
    text-align: left;
  }
}

@media (max-width: 374px){
  #footer-custom .logo-mobile {
    flex-direction: column;
    gap: 16px;
  }
}

/* Форма в футере */

#footer-custom form {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  gap: 16px;
}

#footer-custom form .inputs-super-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#footer-custom form .inputs-wrap {
  display: flex;
  gap: 8px;
}

#footer-custom form .inputs-super-wrap input {
  display: flex;
  flex-grow: 1;
  height: 56px;
  padding: 16px 14px 16px 20px;
  width: 100%;
  font-size: 14px;
  line-height: 1.25;
  color: var(--figma-black-100);
  background: var(--figma-white-15);
  border: 1px solid var(--figma-white-40);
  border-radius: 12px;
}

#footer-custom form .inputs-wrap input::placeholder {
  font-size: 14px;
  line-height: 1.25;
  color: var(--figma-black-30);
}

#footer-custom form input:focus {
  outline: none;
}

#footer-custom form .name-wrap {
  display: flex;
  flex-basis: 0;
  flex-grow: 1;
}

#footer-custom form .phone-wrap {
  display: flex;
  flex-basis: 0;
  flex-grow: 1;
  position: relative;
}

#footer-custom form .phone-wrap input {
  padding-left: 56px;
}

#footer-custom form .flag {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

#footer-custom form .comment-wrap {
  display: flex;
  flex-basis: 0;
  flex-grow: 1;
}

#footer-custom form .button-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#footer-custom form button {
  height: 54px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1%;
  line-height: 1.2;
  color: var(--figma-white-100);
  background: var(--figma-gradient-1);
  border: none;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

#footer-custom form button:hover {
  background: var(--figma-gradient-2);
}

#footer-custom form .checkbox-wrap {
  display: flex;
  gap: 8px;
  font-size: 12px;
  line-height: 1.25;
  color: var(--figma-white-100);
}

#footer-custom form input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background:none no-repeat;
  background-size: contain;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#footer-custom form input[type="checkbox"]:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/checkbox_unchecked_light.svg");}

#footer-custom form input[type="checkbox"]:checked {
  background:none;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#footer-custom form input[type="checkbox"]:checked:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/checkbox_checked_light.svg");}

#footer-custom form .checkbox-wrap a {
  color: var(--figma-white-100);
  text-decoration: underline;
}

/* Адаптация главного баннера */
@media (max-width: 1023px){

    #banner-custom .left-side,
    #banner-custom .slider-wrap {
        width: 100%;
        flex: 0 0 100%;
    }

    #banner-custom .slider-wrap {
        max-width: 100%;
    }
}

/* =====================================================
   MOBILE FIX — шапка + пагинация преимуществ
   Изолировано только для мобильной версии главного блока
   ===================================================== */
@media (max-width: 743px){

  /* Главная / mobile:
     сверху за шапкой НЕ рисуем отдельную заливку.
     Сам первый экран сохраняет свой штатный коричневый фон. */
  #mobileheader {
    position: relative;
    z-index: 2;
    background: transparent !important;
    overflow: visible !important;
  }

  /* Преимущества:
     возвращаем геометрию из файла
     «2208 экскл пр-во нормальное».
     Никакой принудительной ширины 288px. */
  #banner-custom .features-wrap-3 {
    position: relative;
    display: flex;
    width: 100%;
    padding-bottom: 34px;
  }

  #banner-custom .features-wrap-3 .owl-carousel {
    width: 100%;
    min-width: 0;
  }
}

/* =====================================================
   Страница «О компании» — Figma node 288-1557 (full page)
   ===================================================== */

body:is(#company-about-page,.vvmd-is-page-about) {
  overflow-x: hidden;
}

/* Контент как в макете: центр ~1440, без «резины» на ультрашироких */
body:is(#company-about-page,.vvmd-is-page-about) .wrapper_inner,
body:is(#company-about-page,.vvmd-is-page-about) .right_block.wide_Y,
body:is(#company-about-page,.vvmd-is-page-about) .middle,
body:is(#company-about-page,.vvmd-is-page-about) .container {
  max-width: 1440px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body:is(#company-about-page,.vvmd-is-page-about) #content > .wraps,
body:is(#company-about-page,.vvmd-is-page-about) .wraps#content {
  overflow: visible;
}

#company-about-page {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--figma-grey-super-light-2x);
  overflow-x: clip;
}

body:is(#company-about-page,.vvmd-is-page-about) {
  overflow-x: clip;
}

#company-about-page .front-news-slider {
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
}

/* Full-bleed фон для тёмных/золотых секций.
   .co-hero — отдельная карточка с скруглением (не 100vw). */
#company-about-page .co-goal,
#company-about-page .co-enterprise{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  box-sizing: border-box;
}

#company-about-page .co-founder {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

#company-about-page .co-goal > *,
#company-about-page .co-enterprise > *{
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

/* Основатель: full-bleed фон, контент строго в 1440 */
#company-about-page .co-founder > .co-founder__container,
.co-founder__container {
  max-width: 1440px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

/* --- Hero (Figma: фон-монеты, форма по центру, новости снизу) --- */
.co-hero {
  position: relative;
  isolation: isolate;
  margin: clamp(12px, 2vw, 24px) clamp(12px, 2.5vw, 40px) 0;
  padding: clamp(28px, 4vw, 48px) clamp(16px, 3vw, 40px) clamp(28px, 4vw, 40px);
  color: var(--figma-white-100);
  border-radius: 32px;
  overflow: hidden;
  background-color: #0a0a0a;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.58) 40%, rgba(0, 0, 0, 0.72) 100%),
    var(--co-hero-bg);
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
}

.co-hero__container {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 48px);
}

.co-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.72);
}

.co-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  width: min(100%, 820px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px) 0 clamp(8px, 2vw, 16px);
}

.co-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--figma-brown-dark);
  background: var(--figma-brown-super-light);
  border: 0;
  border-radius: 999px;
}

.co-hero__chip img {
  width: 16px;
  height: 16px;
  filter: none;
}

.co-hero__title {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(28px, 4.2vw, 52px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--figma-white-100);
}

.co-hero__text {
  margin: 0;
  max-width: 42ch;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.co-hero__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(100%, 560px);
  margin-top: 8px;
  text-align: left;
}

.co-hero__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.co-hero__field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

.co-hero__field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 15px;
  line-height: 1.2;
}

.co-hero__flag {
  display: inline-flex;
  flex-shrink: 0;
  width: 22px;
  height: 16px;
}

.co-hero__flag img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.co-hero__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.co-hero__submit:hover {
  opacity: 0.9;
  color: #111;
}

.co-hero__agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.co-hero__agree input {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: #fff;
}

.co-hero .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero news cards — Figma: белые карточки, стрелки слева/справа, точки снизу */
.co-hero__news {
  position: relative;
  width: 100%;
  padding: 8px 56px 0;
  box-sizing: border-box;
}

.co-hero-news {
  position: relative;
  z-index: 1;
}

.co-hero-news__carousel {
  width: 100%;
}

.co-hero-news__carousel .owl-stage {
  display: flex;
  align-items: stretch;
}

.co-hero-news__carousel .owl-item {
  display: flex;
  height: auto;
}

.co-hero-news__item {
  width: 100%;
  height: auto;
}

.co-hero-news__card {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: #fff !important;
  border-radius: 24px;
  overflow: hidden;
  color: #1a1a1a !important;
  text-decoration: none !important;
  box-sizing: border-box;
  box-shadow: none;
  transition: transform 0.2s ease;
}

.co-hero-news__img {
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 4 / 3;
  background-color: #ececec;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.co-hero-news__meta {
  display: block;
  margin: 0;
  padding: 12px 16px 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: #8a8a8a !important;
}

.co-hero-news__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 0;
  padding: 8px 16px 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #1a1a1a !important;
}

.co-hero-news__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}

.co-hero-news__dots .owl-dot,
.co-hero-news__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.co-hero-news__dots .owl-dot.active,
.co-hero-news__dots button.active {
  width: 32px;
  background: #fff;
}

.co-hero-news__nav {
  position: absolute !important;
  top: 42%;
  z-index: 5;
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background-color: #fff !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 14px 14px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%);
  cursor: pointer;
}

@media (max-width: 767px){
  .co-hero__form-row {
    grid-template-columns: 1fr;
  }

  .co-hero__news {
    padding: 0 40px 0;
  }

  .co-hero__title {
    max-width: none;
  }

  .co-hero-news__nav {
    width: 40px !important;
    height: 40px !important;
  }
}

/* --- Goal --- */
.co-goal {
  padding: clamp(48px, 6vw, 80px) clamp(16px, 4vw, 40px);
  background: var(--figma-grey-super-light-2x);
}

.co-goal__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
}

.co-goal__title {
  margin: 0;
  max-width: 1100px;
  font-size: clamp(24px, 3.2vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--figma-black-100);
}

.co-goal__slider {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.co-goal__carousel {
  width: 100%;
}

.co-goal__bottom {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.co-goal__bottom .slider-dots .owl-dot,
.co-goal__bottom .slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--figma-grey-light);
  transition: width 0.2s ease, background 0.2s ease;
}

.co-goal__bottom .slider-dots .owl-dot span {
  display: none;
}

.co-goal__bottom .slider-dots .owl-dot.active,
.co-goal__bottom .slider-dots button.active {
  width: 32px;
  background: var(--figma-black-100);
}

.co-goal__item {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--figma-white-100);
  border-radius: 24px;
  box-sizing: border-box;
}

.co-goal__copy h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--figma-black-100);
}

.co-goal__copy p {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--figma-grey-100);
}

.co-goal__item span {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--figma-grey-100);
}

@media (max-width: 743px){
  .co-goal {
    padding: 32px 16px 40px;
  }

  .co-goal__inner {
    gap: 20px;
  }

  .co-goal__item {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
  }

  .co-goal__copy h3 {
    font-size: 18px;
  }

  .co-goal__copy p {
    margin-top: 4px;
    font-size: 14px;
  }
}
.co-enterprise {
  padding: clamp(40px, 5vw, 72px) clamp(16px, 4vw, 40px);
  background: var(--figma-grey-super-light-2x);
}

.co-enterprise__container {
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
}

.co-enterprise__heading {
  margin: 0 0 clamp(20px, 3vw, 32px);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--figma-black-100);
}

.co-enterprise__carousel .owl-stage-outer {
  overflow: hidden;
}

.co-enterprise__carousel .owl-item {
  min-width: 0;
}

.co-enterprise__card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  padding: clamp(24px, 3vw, 40px);
  background: var(--figma-white-100);
  border-radius: 32px;
  box-sizing: border-box;
  min-width: 0;
}

.co-enterprise__title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--figma-black-100);
  overflow-wrap: break-word;
}

.co-enterprise__countries {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 16px 8px 10px;
  background: var(--figma-grey-super-light);
  border-radius: 999px;
}

.co-enterprise__flags {
  display: inline-flex;
  align-items: center;
}

.co-enterprise__flag {
  display: block;
  width: 32px;
  height: 32px;
  margin-right: -8px;
  border: 2px solid var(--figma-white-100);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  object-fit: cover;
  background: var(--figma-white-100);
}

.co-enterprise__countries-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--figma-black-100);
}

.co-enterprise__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--figma-brown-dark);
  background: var(--figma-brown-super-light);
  border-radius: 999px;
}

.co-enterprise__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.co-enterprise__text p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--figma-grey-100);
}

.co-enterprise__media {
  height: 100%;
  min-height: 0;
  border-radius: 32px;
  overflow: hidden;
  background: var(--figma-white-100);
}

#company-about-page .co-enterprise__media img,
.co-enterprise__media img {
  position: static !important;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center top !important;
  border-radius: 0;
}

.co-enterprise__bottom .slider-dots .owl-dot,
.co-enterprise__bottom .slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--figma-grey-light);
  transition: width 0.2s ease, background 0.2s ease;
}

.co-enterprise__bottom .slider-dots .owl-dot span {
  display: none;
}

.co-enterprise__bottom .slider-dots .owl-dot.active,
.co-enterprise__bottom .slider-dots button.active {
  width: 32px;
  background: var(--figma-black-100);
}

/* --- Founder (Figma: статичный блок, без слайдера) --- */
.co-founder {
  position: relative;
  padding: clamp(40px, 5vw, 72px) clamp(16px, 4vw, 40px);
  background: var(--figma-grey-super-light-2x);
  overflow: visible;
}

#company-about-page .co-founder > .co-founder__container,
.co-founder__container {
  max-width: 1440px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

.co-founder__heading {
  margin: 0 0 clamp(20px, 3vw, 32px);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--figma-black-100);
}

.co-founder__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 16px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.co-founder__card {
  background: var(--figma-white-100);
  border-radius: 32px;
  overflow: hidden;
  min-width: 0;
}

.co-founder__card--info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 3vw, 40px);
  min-width: 0;
  overflow: visible;
}

.co-founder__lead {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--figma-black-100);
  overflow-wrap: break-word;
}

.co-founder__awards {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 6px 18px 6px 8px;
  background: var(--figma-grey-super-light);
  border-radius: 999px;
}

.co-founder__medals {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(100%, 220px);
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
  flex-shrink: 0;
}

.co-founder__awards-sep {
  display: block;
  width: 1px;
  height: 28px;
  flex-shrink: 0;
  background: rgba(26, 26, 26, 0.12);
}

.co-founder__market {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--figma-black-100);
  background: transparent;
  border-radius: 0;
  white-space: nowrap;
}

.co-founder__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--figma-brown-dark);
  background: var(--figma-brown-super-light);
  border-radius: 999px;
}

.co-founder__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--figma-grey-100);
}

.co-founder__card--photo {
  position: relative;
  align-self: start;
  min-width: 0;
  min-height: 0;
  background: var(--figma-white-100);
  border-radius: 32px;
  overflow: hidden;
}

#company-about-page .co-founder__card--photo img,
.co-founder__card--photo img {
  position: static !important;
  inset: auto !important;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  border: 0;
  border-radius: 0;
  object-fit: contain !important;
  object-position: center top !important;
}

/* --- Shared section wrap --- */




/* Company page: слайдеры как на главной (не ломаем owl) */
#company-about-page .front-news-slider .content {
  overflow: hidden;
}




/* Company page: form+video, company gold, faq, reviews */







































/* =====================================================
   Клики: B24 overlay не должен блокировать страницу
   ===================================================== */
.b24-widget-button-shadow {
  pointer-events: none !important;
}
.b24-widget-button-shadow:not(.b24-widget-button-show) {
  opacity: 0 !important;
  visibility: hidden !important;
}
/* когда виджет реально открыт — shadow становится visible */
.b24-widget-button-shadow.b24-widget-button-show,
body.crm-widget-button-show .b24-widget-button-shadow {
  pointer-events: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#form-and-video form input[type="checkbox"],
#front-company-custom form input[type="checkbox"],
#footer-custom form input[type="checkbox"],
#front-form-two form input[type="checkbox"],
#banner-custom form input[type="checkbox"] {
  cursor: pointer;
  flex-shrink: 0;
  pointer-events: auto;
}

#form-and-video .form-wrap,
#company-about-page .co-hero__submit,
#company-about-page .figma-black-button,
#company-about-page a,
#company-about-page button:not(.video-play),
#front-options-custom .details-button,
#form-and-video button[type="submit"],
[data-vvmd-action="callback"] {
  position: relative;
  z-index: 5;
  pointer-events: auto !important;
  cursor: pointer;
}

#form-and-video .video-play {
  position: absolute !important;
  z-index: 6;
  pointer-events: auto !important;
  cursor: pointer;
}

/* зависший jqm overlay не должен глушить клики */
.jqmOverlay:not(.jqmOverlay--active) {
  pointer-events: none !important;
}


/* =========================================================
   COMPANY PAGE — FINAL SAFE PATCH
   Добавлено после стабильного custom (4).css.
   Влияет ТОЛЬКО на /company/ через #company-about-page.
   Главная страница не затрагивается.
   ========================================================= */

/* ---------------------------------------------------------
   1. ШИРИНА СТРАНИЦЫ /COMPANY/
   Убираем старое ограничение программиста 1440 / 1360.
   Система как на главной и в Figma: 40px поля на desktop.
   --------------------------------------------------------- */

body:is(#company-about-page,.vvmd-is-page-about) .wrapper_inner,
body:is(#company-about-page,.vvmd-is-page-about) .right_block.wide_Y,
body:is(#company-about-page,.vvmd-is-page-about) .middle,
body:is(#company-about-page,.vvmd-is-page-about) .container {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#company-about-page {
    --co-page-pad: 40px;
    width: 100% !important;
    max-width: none !important;
    overflow-x: clip;
}

/* hero — 1840px при viewport 1920, как Figma */
#company-about-page .co-hero {
    width: calc(100% - (2 * var(--co-page-pad))) !important;
    max-width: none !important;
    margin-left: var(--co-page-pad) !important;
    margin-right: var(--co-page-pad) !important;
    box-sizing: border-box !important;
}

/* Остальные уникальные company-секции — одна и та же рабочая ширина */
#company-about-page .co-goal,
#company-about-page .co-enterprise,
#company-about-page .co-founder {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: var(--co-page-pad) !important;
    padding-right: var(--co-page-pad) !important;
    box-sizing: border-box !important;
}

#company-about-page .co-goal > *,
#company-about-page .co-enterprise > *,
#company-about-page .co-founder > .co-founder__container,
#company-about-page .co-goal__inner,
#company-about-page .co-enterprise__container,
#company-about-page .co-founder__container {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}


/* ---------------------------------------------------------
   2. ЦЕЛИ КОМПАНИИ
   Возвращаем структуру и визуал из Figma:
   chip + центрированный заголовок + 5 карточек на desktop.
   --------------------------------------------------------- */

#company-about-page .co-goal {
    background: var(--figma-grey-super-light-2x);
    padding-top: 64px !important;
    padding-bottom: 64px !important;
}

#company-about-page .co-goal__inner {
    display: block;
}

#company-about-page .co-goal__panel {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    padding: 48px 0 0;
    background: transparent;
    box-sizing: border-box;
}

#company-about-page .co-goal__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

#company-about-page .co-goal__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 14px;
    border: 1px solid rgba(46,46,41,.12);
    border-radius: 999px;
    background: #fff;
}

#company-about-page .co-goal__chip-icon {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

#company-about-page .co-goal__title {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

#company-about-page .co-goal__lead {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    color: var(--figma-grey-100);
}

#company-about-page .co-goal__slider {
    position: relative;
    width: 100%;
    padding-top: 48px;
}

#company-about-page .co-goal__carousel {
    width: 100%;
}

#company-about-page .co-goal__carousel .owl-stage-outer {
    overflow: hidden;
}

#company-about-page .co-goal__carousel .owl-item {
    display: flex;
}

/* =========================================================
   /COMPANY/ — «НАША ЦЕЛЬ»
   Геометрия карточек повторяет белые карточки
   золотого блока «Первая в СНГ».
   ========================================================= */
#company-about-page .co-goal__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    height: 300px;
    min-height: 300px;
    padding: 20px;
    overflow: hidden;
    background: var(--figma-white-100);
    border-radius: 24px;
    box-sizing: border-box;
}

#company-about-page .co-goal__badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 4px 10px 4px 4px;
    border-radius: 999px;
    background: #f0e4d4;
}

#company-about-page .co-goal__badge-mark {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 50%;
    background:none center / 180% no-repeat #c9a06a;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#company-about-page .co-goal__badge-mark:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/goal_coin_dostoinomu.webp");}

#company-about-page .co-goal__badge-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#company-about-page .co-goal__name,
#company-about-page .co-goal__text {
    position: relative;
    z-index: 2;
}

#company-about-page .co-goal__name {
    margin: 2px 0 0;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0;
}

#company-about-page .co-goal__text {
    margin: 0;
    max-width: 100%;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
    color: var(--figma-grey-100);
}

#company-about-page .co-goal__coin {
    position: absolute;
    right: -22%;
    bottom: -38%;
    z-index: 0;
    width: 125%;
    max-width: 300px;
    aspect-ratio: 1;
    pointer-events: none;
    background:none center / contain no-repeat;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#company-about-page .co-goal__coin:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/goal_coin_dostoinomu.webp");}

#company-about-page .co-goal__bottom {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}


/* ---------------------------------------------------------
   3. ПРЕДПРИЯТИЕ + ОСНОВАТЕЛЬ
   Одна система: 1840 рабочая ширина, две колонки,
   одинаковая высота карточки и фото.
   --------------------------------------------------------- */

#company-about-page .co-enterprise,
#company-about-page .co-founder {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
    background: var(--figma-grey-super-light-2x);
}

#company-about-page .co-enterprise__grid,
#company-about-page .co-founder__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1064fr) minmax(0, 756fr) !important;
    gap: 20px !important;
    align-items: stretch !important;
    width: 100%;
}

#company-about-page .co-enterprise__card,
#company-about-page .co-founder__card--info,
#company-about-page .co-enterprise__media,
#company-about-page .co-founder__card--photo {
    height: 748px !important;
    min-height: 0 !important;
    box-sizing: border-box;
}

#company-about-page .co-enterprise__card,
#company-about-page .co-founder__card--info {
    background: var(--figma-white-100);
    border-radius: 24px;
    overflow: hidden;
}

#company-about-page .co-enterprise__media,
#company-about-page .co-founder__card--photo {
    border-radius: 24px !important;
    overflow: hidden !important;
    background: var(--figma-white-100);
}


/* ---------------------------------------------------------
   4. ОСНОВАТЕЛЬ — возвращаем изображение наград
   PHP уже подставляет background-image; раньше span имел width:auto
   без контента и визуально схлопывался.
   --------------------------------------------------------- */

#company-about-page .co-founder__awards {
 /*    display: inline-flex !important; уберем плашку в основателе -------------------- */
display: none !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    width: fit-content !important;
    max-width: 100% !important;
}

#company-about-page .co-founder__medals {
    display: block !important;
    width: 190px !important;
    height: 48px !important;
    min-width: 190px !important;
    flex: 0 0 190px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
}


/* ---------------------------------------------------------
   5. TABLET
   --------------------------------------------------------- */

@media (max-width: 1279px){

    #company-about-page .co-enterprise__card,
    #company-about-page .co-founder__card--info,

  /* =====================================================
     ПРЕДПРИЯТИЕ / страны:
     как блок наград у «Основателя» —
     изображения слева, разделитель, подпись справа.
     ===================================================== */
  #company-about-page .co-enterprise__countries {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 6px 18px 6px 8px !important;
    box-sizing: border-box !important;
  }

  #company-about-page .co-enterprise__flags {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    white-space: nowrap !important;
  }

  #company-about-page .co-enterprise__countries-text {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    min-height: 28px !important;
    padding-left: 14px !important;
    border-left: 1px solid rgba(26, 26, 26, 0.12) !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    text-align: left !important;
    white-space: normal !important;
  }

    #company-about-page .co-enterprise__media,
    #company-about-page .co-founder__card--photo {
        height: 600px !important;
    }
}


/* ---------------------------------------------------------
   6. MOBILE
   Сохраняем красивую мобильную композицию:
   одна белая карточка, фото внутри, правильный порядок.
   --------------------------------------------------------- */

@media (max-width: 1649px){
    #company-about-page .co-goal__name {
        font-size: 20px;
    }

    #company-about-page .co-goal__text {
        font-size: 14px;
    }
}

@media (max-width: 1023px){
    #company-about-page .co-goal__name {
        font-size: 22px;
    }

    #company-about-page .co-goal__text {
        font-size: 14px;
    }
}

@media (max-width: 743px){
    #company-about-page .co-goal__name {
        font-size: 24px;
        line-height: 1.1;
    }

    #company-about-page .co-goal__text {
        font-size: 15px;
        line-height: 1.25;
        max-width: 85%;
    }

    #company-about-page .co-goal__item {
        height: 280px;
        min-height: 280px;
        padding: 20px 18px;
    }
}

@media (max-width: 743px){

    #company-about-page .co-hero {
        width: calc(100% - (2 * var(--co-page-pad))) !important;
        margin-left: var(--co-page-pad) !important;
        margin-right: var(--co-page-pad) !important;
    }

    #company-about-page .co-goal,
    #company-about-page .co-enterprise,
    #company-about-page .co-founder {
        padding-left: var(--co-page-pad) !important;
        padding-right: var(--co-page-pad) !important;
    }

    #company-about-page .co-goal {
        padding-top: 32px !important;
        padding-bottom: 40px !important;
    }

    #company-about-page .co-goal__panel {
        gap: 24px;
        padding-top: 0;
    }

    #company-about-page .co-goal__slider {
        padding-top: 40px;
    }

    #company-about-page .co-goal__item {
        height: 280px;
        min-height: 280px;
        padding: 18px;
    }

    #company-about-page .co-goal__coin {
        right: -22%;
        bottom: -34%;
        max-width: 260px;
    }

    #company-about-page .co-enterprise__grid,
    #company-about-page .co-founder__inner {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        padding: 20px !important;
        background: var(--figma-white-100) !important;
        border-radius: 24px !important;
        overflow: hidden !important;
    }

    #company-about-page .co-enterprise__card,
    #company-about-page .co-founder__card--info {
        display: contents !important;
    }

    #company-about-page .co-enterprise__media,
    #company-about-page .co-founder__card--photo {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 704 / 668;
        border-radius: 24px !important;
        overflow: hidden !important;
    }

    #company-about-page .co-founder__medals {
        width: 180px !important;
        min-width: 180px !important;
        flex-basis: 180px !important;
        height: 44px !important;
    }
}

@media (max-width: 374px){

    #company-about-page .co-founder__medals {
        width: 160px !important;
        min-width: 160px !important;
        flex-basis: 160px !important;
        height: 40px !important;
    }
}


/* =========================================================
   COMPANY PAGE — PATCH V2
   Только /company/. Главную не затрагивает.
   Исправляет:
   1) единый chip «Более 35 лет работы»;
   2) высоту Предприятия / Основателя по содержимому;
   3) старое ограничение 1440px у нижних блоков с главной.
   ========================================================= */


/* ---------------------------------------------------------
   1. CHIP «Более 35 лет работы»
   Такой же принцип, как у остальных светлых outline-chip.
   --------------------------------------------------------- */

#company-about-page .co-enterprise__chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: fit-content !important;
    margin: 0 0 16px !important;
    padding: 8px 14px 8px 10px !important;

    background: #ffffff !important;
    border: 1px solid rgba(46, 46, 41, 0.22) !important;
    border-radius: 999px !important;

    color: var(--figma-black-100) !important;
    box-sizing: border-box !important;
}

#company-about-page .co-enterprise__chip-icon {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
}


/* ---------------------------------------------------------
   2. ПРЕДПРИЯТИЕ + ОСНОВАТЕЛЬ
   Убираем искусственные 748/600px.
   Высоту задаёт реальный контент левой карточки,
   фотография растягивается ровно до той же высоты.
   --------------------------------------------------------- */

#company-about-page .co-enterprise__grid,
#company-about-page .co-founder__inner {
    align-items: stretch !important;
}

#company-about-page .co-enterprise__card,
#company-about-page .co-founder__card--info {
    height: auto !important;
    min-height: 0 !important;
    align-self: stretch !important;
}

#company-about-page .co-enterprise__media,
#company-about-page .co-founder__card--photo {
    height: auto !important;
    min-height: 0 !important;
    align-self: stretch !important;
}


/* ---------------------------------------------------------
   3. ВСЕ НИЖНИЕ БЛОКИ, КОТОРЫЕ БЕРЁМ С ГЛАВНОЙ
   В старом company CSS сохранилось:
      .co-section { width:100vw; ... }
      .co-section > * { max-width:1440px; margin:auto; }
   Из-за этого production / form / team / gold /
   showrooms / options / FAQ снова становились узкими.

   Снимаем ТОЛЬКО company-ограничитель.
   Внутренние стили самих блоков остаются ровно
   такими же, как на главной.
   --------------------------------------------------------- */






/* Эти блоки уже имеют собственные стили главной.
   Здесь только запрещаем company-обёртке снова их сужать. */



/* ---------------------------------------------------------
   4. TABLET
   Никакой фиксированной высоты 600px.
   --------------------------------------------------------- */

@media (max-width: 1279px){
    #company-about-page .co-enterprise__card,
    #company-about-page .co-founder__card--info,
    #company-about-page .co-enterprise__media,
    #company-about-page .co-founder__card--photo {
        height: auto !important;
        min-height: 0 !important;
    }
}


/* ---------------------------------------------------------
   5. MOBILE
   Здесь фото снова получает заданное нами раньше aspect-ratio,
   чтобы мобильная композиция не поплыла.
   --------------------------------------------------------- */

@media (max-width: 743px){
    #company-about-page .co-enterprise__media,
    #company-about-page .co-founder__card--photo {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 704 / 668 !important;
        align-self: auto !important;
    }
}


/* =========================================================
   COMPANY PAGE — PATCH V3 / HERO
   Только первый экран /company/.
   Главную страницу не затрагивает.
   Цель: Figma desktop — широкий hero, заголовок в 3 строки,
   форма компактнее, новости выше и полностью внутри hero.
   ========================================================= */

@media (min-width: 1280px){

    /* Сам hero уже идёт с полями 40px из предыдущего patch.
       Здесь задаём Figma-высоту первого экрана. */
    #company-about-page .co-hero {
        height: 922px !important;
        min-height: 922px !important;
        padding: 40px 40px 28px !important;
        box-sizing: border-box !important;
    }

    /* Снимаем старое внутреннее ограничение 1440px:
       именно оно продолжало сжимать контент и новости внутри hero. */
    #company-about-page .co-hero__container {
        width: 100% !important;
        max-width: none !important;
        height: 100% !important;
        margin: 0 !important;

        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        gap: 20px !important;
    }

    /* Центральная часть шире: заголовок перестаёт ломаться на 4 строки. */
    #company-about-page .co-hero__content {
        width: min(100%, 1060px) !important;
        max-width: 1060px !important;
        margin: 0 auto !important;
        padding: 44px 0 0 !important;
        gap: 16px !important;
        flex: 0 0 auto !important;
    }

    #company-about-page .co-hero__title {
        width: 100% !important;
        max-width: 1000px !important;
        margin: 0 auto !important;
        font-size: 52px !important;
        font-weight: 500 !important;
        line-height: 1.08 !important;
        letter-spacing: -0.02em !important;
        text-wrap: balance;
    }

    #company-about-page .co-hero__text {
        max-width: 720px !important;
        margin: 0 auto !important;
        font-size: 16px !important;
        line-height: 1.25 !important;
    }

    #company-about-page .co-hero__form {
        width: min(100%, 640px) !important;
        margin-top: 4px !important;
        gap: 10px !important;
    }

    #company-about-page .co-hero__field,
    #company-about-page .co-hero__submit {
        min-height: 52px !important;
    }

    /* Новости прижимаем к низу hero, но без огромного пустого промежутка.
       За счёт flex:1 они занимают оставшееся место и поднимаются выше. */
    #company-about-page .co-hero__news {
        width: 100% !important;
        max-width: none !important;
        margin-top: auto !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
    }

    #company-about-page .co-hero-news__carousel {
        width: 100% !important;
    }

    /* Карточки новостей делаем визуально легче и ниже,
       ближе к пропорциям Figma первого экрана. */
    #company-about-page .co-hero-news__card {
        border-radius: 20px !important;
    }

    #company-about-page .co-hero-news__img {
        aspect-ratio: 16 / 9 !important;
    }

    #company-about-page .co-hero-news__meta {
        padding: 10px 14px 0 !important;
        font-size: 13px !important;
        line-height: 1.2 !important;
    }

    #company-about-page .co-hero-news__title {
        padding: 6px 14px 14px !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        -webkit-line-clamp: 2 !important;
    }

    #company-about-page .co-hero-news__dots {
        margin-top: 14px !important;
    }

    #company-about-page .co-hero-news__nav {
        top: 45% !important;
    }
}


/* На средних desktop / laptop не фиксируем 922 насильно:
   сохраняем пропорции и не даём заголовку снова развалиться. */
@media (min-width: 1024px) and (max-width: 1279px){
    #company-about-page .co-hero__container {
        max-width: none !important;
        width: 100% !important;
    }

    #company-about-page .co-hero__content {
        width: min(100%, 920px) !important;
        max-width: 920px !important;
    }

    #company-about-page .co-hero__title {
        max-width: 900px !important;
        font-size: 46px !important;
        line-height: 1.08 !important;
        text-wrap: balance;
    }

    #company-about-page .co-hero__news {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    #company-about-page .co-hero-news__img {
        aspect-ratio: 16 / 9 !important;
    }
}


/* =========================================================
   COMPANY PAGE — PATCH V4
   Только /company/. Главная не затрагивается.
   Исправляет:
   - hero news: уменьшает шрифты описания;
   - «Цели»: убирает "полосы", на широком desktop без стрелок,
     на меньших экранах стрелки справа;
   - «Предприятие» / «Основатель»: высоту задаёт текст,
     изображение больше НЕ растягивает секцию;
   - «Наша команда»: 1 в 1 стили главной;
   - FAQ: 1 в 1 стили главной.
   ========================================================= */


/* ---------------------------------------------------------
   1. HERO — новости чуть компактнее
   --------------------------------------------------------- */

@media (min-width: 1280px){
    #company-about-page .co-hero-news__meta {
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    #company-about-page .co-hero-news__title {
        font-size: 14px !important;
        line-height: 1.22 !important;
        font-weight: 500 !important;
        padding: 6px 14px 12px !important;
    }
}


/* ---------------------------------------------------------
   2. ЦЕЛИ КОМПАНИИ
   Две "полосы" были обычными <button> без стилей.
   На >=1500 показываем все 5 карточек — стрелки не нужны.
   Ниже 1500 — стрелки справа, как у слайдеров главной.
   --------------------------------------------------------- */

#company-about-page .co-goal__slider {
    position: relative !important;
}

#company-about-page .co-goal__nav {
    position: absolute !important;
    top: 0 !important;
    z-index: 5 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: none !important;

    font-size: 0 !important;
    line-height: 0 !important;
    cursor: pointer !important;
}

@media (min-width: 1500px){
    #company-about-page .co-goal__nav {
        display: none !important;
    }

    #company-about-page .co-goal__slider {
        padding-top: 32px !important;
    }
}

@media (max-width: 1499px){
    #company-about-page .co-goal__slider {
        padding-top: 64px !important;
    }
}

@media (max-width: 743px){
    /* На мобильном стрелки не нужны: свайп Owl остаётся штатным. */
    #company-about-page .co-goal__nav {
        display: none !important;
    }

    #company-about-page .co-goal__slider {
        padding-top: 24px !important;
    }
}


/* ---------------------------------------------------------
   3. ПРЕДПРИЯТИЕ / ОСНОВАТЕЛЬ
   Ключевой фикс: изображение исключено из расчёта высоты grid-row.
   Высоту задаёт левая текстовая карточка, фото просто заполняет её.
   --------------------------------------------------------- */

@media (min-width: 744px){

    #company-about-page .co-enterprise__grid,
    #company-about-page .co-founder__inner {
        align-items: stretch !important;
    }

    #company-about-page .co-enterprise__card,
    #company-about-page .co-founder__card--info {
        height: auto !important;
        min-height: 0 !important;
        align-self: stretch !important;
    }

    #company-about-page .co-enterprise__media,
    #company-about-page .co-founder__card--photo {
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
        align-self: stretch !important;
        overflow: hidden !important;
    }
}


/* ---------------------------------------------------------
   5. FAQ — строго как на ГЛАВНОЙ
   PHP уже подключает тот же /include/mainpage/components/faq/normal_img.php.
   Разница была только из-за company-specific CSS.
   --------------------------------------------------------- */




























/* =========================================================
   V5 — ЕДИНЫЙ СТИЛЬ ПЛАШЕК + VIDEO ПО FIGMA
   23.08.2026
   ========================================================= */


/* ---------------------------------------------------------
   1. COMPANY: плашки «Цели компании» и «Более 35 лет работы»
   — тот же визуальный язык, что у плашек на главной:
   белая капсула, тонкая обводка, чёрная молния и текст.
   --------------------------------------------------------- */

#company-about-page .co-goal__chip,
#company-about-page .co-enterprise__chip {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    width: fit-content !important;
    min-height: 42px !important;
    padding: 9px 16px !important;

    background: #fff !important;
    border: 1px solid rgba(46, 46, 41, 0.24) !important;
    border-radius: 999px !important;

    color: var(--figma-black-100) !important;
    font-family: "Inter Tight", sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;

    box-shadow: none !important;
    box-sizing: border-box !important;
}

#company-about-page .co-goal__chip-icon,
#company-about-page .co-enterprise__chip-icon {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    flex: 0 0 18px !important;

    /* Иконки исходно могут быть коричневыми —
       приводим их к единому чёрному виду плашек главной. */
    filter: brightness(0) saturate(100%) !important;
}

#company-about-page .co-goal__chip {
    margin-left: auto !important;
    margin-right: auto !important;
}

#company-about-page .co-enterprise__chip {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 16px !important;
}

@media (max-width: 743px){
    #company-about-page .co-goal__chip,
    #company-about-page .co-enterprise__chip {
        min-height: 38px !important;
        padding: 8px 14px !important;
        gap: 7px !important;
        font-size: 14px !important;
    }

    #company-about-page .co-goal__chip-icon,
    #company-about-page .co-enterprise__chip-icon {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        flex-basis: 16px !important;
    }
}


/* ---------------------------------------------------------
   2. FORM + VIDEO — точная desktop-геометрия Figma 1920
   Figma node 6682:7197:
   секция: padding 48px 40px
   чёрный wrapper: 650px
   форма: 600px, margin 16px => внутренняя высота 618px
   --------------------------------------------------------- */

@media (min-width: 1280px){
    #form-and-video {
        padding: 48px 40px !important;
    }

    #form-and-video .wrapper{
        height: 650px !important;
        min-height: 650px !important;
        max-height: 650px !important;
        border-radius: 32px !important;
    }

    #form-and-video .form-wrap{
        flex: 0 0 600px !important;
        width: 600px !important;
        max-width: 600px !important;

        margin: 16px !important;
        padding: 32px !important;
        border-radius: 24px !important;
        box-sizing: border-box !important;
    }

    #form-and-video .form-wrap .headline{
        font-size: 52px !important;
        line-height: 1.1 !important;
        letter-spacing: -0.02em !important;
        font-weight: 500 !important;
    }

    #form-and-video .video-wrap{
        min-height: 0 !important;
        height: 650px !important;
    }
}


/* ---------------------------------------------------------
   3. Средние экраны: не держим гигантские 840px.
   --------------------------------------------------------- */

@media (min-width: 1024px) and (max-width: 1279px){
    #form-and-video .wrapper{
        height: 560px !important;
        min-height: 560px !important;
        max-height: 560px !important;
    }

    #form-and-video .video-wrap{
        height: 560px !important;
        min-height: 0 !important;
    }

    #form-and-video .form-wrap{
        flex: 0 0 min(436px, 42%) !important;
        margin: 12px !important;
        padding: 24px !important;
    }
}


/* ---------------------------------------------------------
   4. Mobile оставляем существующую вертикальную композицию:
   video 420px + форма ниже. Не затрагиваем.
   --------------------------------------------------------- */


/* =========================================================
   V6 — ГЛАВНАЯ: ПЕРВЫЙ БЛОК РОВНО В ВЫСОТУ ЭКРАНА
   Только desktop >= 1280px.
   Не меняет мобильную версию и остальные блоки.
   ========================================================= */

@media (min-width: 1280px){

    #banner-custom .left-side .top-area {
        gap: 18px !important;
    }

    #banner-custom .left-side .bottom-area {
        margin-top: 16px !important;
        gap: 12px !important;
    }
}


/* Невысокие ноутбуки: чуть плотнее верхняя часть,
   чтобы нижние 3 карточки не уходили под сгиб экрана. */
@media (min-width: 1280px) and (max-height: 820px){

    #banner-custom .left-side .top-area {
        gap: 14px !important;
    }

    #banner-custom .left-side .bottom-area {
        margin-top: 10px !important;
        gap: 8px !important;
    }
}


/* =========================================================
   V7 — TEAM CLEANUP
   На /company/ блок #front-team-custom больше НЕ имеет
   ни одного отдельного company-стиля.
   Он использует ровно те же глобальные стили,
   что и блок «Наша команда» на главной.
   ========================================================= */


/* =========================================================
   V8 — COMPANY CLEAN ARCHITECTURE
   Правило проекта:
   готовые блоки с главной на /company/ НЕ имеют отдельных стилей.
   Они подключаются 1 в 1 и используют только глобальный CSS главной.

   На /company/ индивидуальные стили остаются только у новых блоков:
   - co-hero
   - co-goal
   - co-enterprise
   - co-founder

   Повторные блоки НЕ переопределяются:
   - Собственное производство
   - Форма + видео
   - Наша команда
   - Золотой блок / «Первая в СНГ...»
   - Шоурумы
   - Опции для бизнеса
   - FAQ
   ========================================================= */


/* =========================================================
   V9 — ТОЛЬКО УНИКАЛЬНЫЕ БЛОКИ /company/
   Повторные блоки с главной НЕ ТРОГАЕМ.
   ========================================================= */


/* ---------------------------------------------------------
   1. Уникальные плашки company приводим к тому же визуальному
      кеглю/начертанию, что «Лучшие в своем деле» на главной.
   --------------------------------------------------------- */

#company-about-page .co-goal__chip,
#company-about-page .co-enterprise__chip {
    min-height: 40px !important;
    padding: 8px 16px !important;
    gap: 8px !important;

    font-family: "Inter Tight", sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;

    color: var(--figma-black-100) !important;
    background: #fff !important;
    border: 1px solid var(--figma-black-20) !important;
    border-radius: 999px !important;
}

#company-about-page .co-goal__chip-icon,
#company-about-page .co-enterprise__chip-icon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    flex: 0 0 18px !important;
    filter: brightness(0) saturate(100%) !important;
}


/* ---------------------------------------------------------
   2. Тексты карточек «Цели компании» — как описания карточек
      в золотом блоке главной: 18px / 1.1 / серый.
   --------------------------------------------------------- */

#company-about-page .co-goal__text {
    font-family: inherit;
}

@media (max-width: 1023px) {
    #company-about-page .co-goal__chip,
    #company-about-page .co-enterprise__chip {
        min-height: 36px !important;
        padding: 7px 14px !important;
        font-size: 14px !important;
    }

    #company-about-page .co-goal__text {
        font-size: 16px !important;
    }
}


/* =========================================================
   V10 — ОБЩИЕ СТИЛИ ГОТОВЫХ БЛОКОВ ГЛАВНОЙ
   ВАЖНО:
   Эти правила НЕ company-specific.
   Они правят сами исходные блоки главной, поэтому на /company/
   блоки остаются 1 в 1 с главной.

   Исправления:
   1) единый вертикальный ритм между секциями на mobile/tablet;
   2) золотой «О компании»: подзаголовок выше, компактнее блок;
   3) карточки преимуществ чуть ближе к логотипам;
   4) шоурумы: воздух между адресом и контактами;
   5) цвета телефона/времени в mobile = desktop.
   ========================================================= */


/* ---------------------------------------------------------
   1. ЕДИНЫЙ ВЕРТИКАЛЬНЫЙ РИТМ ГОТОВЫХ СЕКЦИЙ
   Раньше на <=1023px у .front-news-slider было padding: 0 20px,
   из-за этого dots предыдущего слайдера и chip следующего блока
   визуально слипались.
   --------------------------------------------------------- */

@media (max-width: 1023px) {
    .front-news-slider {
        padding: 30px 20px !important;
    }
}

@media (max-width: 743px) {
    .front-news-slider {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }
}

/* Guaranteed Contacts breadcrumb row: the legacy page-top can render an
   empty #navigation wrapper. Keep one visual breadcrumb line in that case. */
body:is(#page-contacts,.vvmd-is-page-contacts) #navigation {
	display: block !important;
	visibility: visible !important;
	min-height: 17.5px !important;
}

/* =========================================================
   CONTACTS — final breadcrumb visibility/alignment
   This is intentionally limited to the Contacts first screen.
   ========================================================= */
body:is(#page-contacts,.vvmd-is-page-contacts) #navigation {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: calc(100% - 80px) !important;
	max-width: var(--figma-container) !important;
	margin: 0 auto 16px !important;
	padding: 0 !important;
	text-align: left !important;
}

body:is(#page-contacts,.vvmd-is-page-contacts) #pagetitle {
	display: block !important;
	padding: 0 !important;
	overflow: visible !important;
	font-family: var(--figma-font) !important;
	font-size: 64px !important;
	line-height: 70.4px !important;
	font-weight: 500 !important;
	letter-spacing: -0.2px !important;
	color: var(--figma-black-100) !important;
	text-align: center !important;
}

@media (max-width: 743px) {
	body:is(#page-contacts,.vvmd-is-page-contacts) #pagetitle {
		font-size: 32px !important;
		line-height: 35.2px !important;
		text-align: left !important;
	}
}


/* ---------------------------------------------------------
   2. ЗОЛОТОЙ БЛОК «О КОМПАНИИ» — MOBILE
   Заголовок → подзаголовок без огромной пустоты.
   Подзаголовок: та же типографическая роль 16/1.25,
   что и обычные описания в дизайн-системе.
   --------------------------------------------------------- */

@media (max-width: 1023px) {
    #front-company-custom .content {
        gap: 16px !important;
    }

    #front-company-custom .content .title {
        margin-bottom: 8px !important;
    }

    #front-company-custom .content .subtitle {
        margin: 0 !important;
        font-size: 16px !important;
        font-weight: 400 !important;
        line-height: 1.25 !important;
        letter-spacing: 0 !important;
    }

    /* Карточки «Гарантии / Лидеры / ...» ближе к ленте логотипов */
    #front-company-custom .features-mobile {
        margin-top: 8px !important;
    }

    /* Форма не отваливается далеко вниз */
    #front-company-custom .form-wrap {
        margin-top: 16px !important;
        margin-bottom: 16px !important;
    }
}

@media (max-width: 743px) {
    #front-company-custom .content {
        gap: 14px !important;
        padding: 20px !important;
    }

    #front-company-custom .content .title {
        margin-bottom: 4px !important;
    }

    #front-company-custom .content .subtitle {
        font-size: 16px !important;
        line-height: 1.25 !important;
    }

    #front-company-custom .features-mobile {
        margin-top: 4px !important;
    }

    #front-company-custom .features-mobile .item {
        height: 280px !important;
    }

    #front-company-custom .form-wrap {
        margin-top: 12px !important;
        margin-bottom: 12px !important;
    }
}


/* ---------------------------------------------------------
   3. ШОУРУМЫ
   На mobile длинный адрес больше не прилипает к телефону.
   Контакты получают устойчивый отдельный ряд.
   --------------------------------------------------------- */

@media (max-width: 1023px) {
    #front-showrooms-custom .showrooms .showroom {
        height: auto !important;
        min-height: 184px !important;
        justify-content: flex-start !important;
        gap: 22px !important;
    }

    #front-showrooms-custom .showrooms .info-wrap {
        margin-top: auto !important;
        gap: 10px !important;
    }
}

#front-showrooms-custom .showrooms .info-wrap .phone a {
    text-decoration: none !important;
    color: inherit !important;
}


/* =========================================================
   V11 — ФИНАЛЬНЫЕ ТОЧЕЧНЫЕ ПРАВКИ
   ВАЖНО: всё уже работающее выше НЕ меняем.
   Только:
   1) воздух между готовыми секциями на mobile/tablet;
   2) воздух перед уникальными «Цели / Более 35 лет»;
   3) showroom mobile — адрес и контакты не слипаются;
   4) золотой блок «О компании» компактнее и на desktop тоже.
   ========================================================= */


/* ---------------------------------------------------------
   1. MOBILE/TABLET — единый вертикальный ритм готовых блоков.
   Плашка следующей секции не должна прилипать к dots/кнопке
   предыдущей. Внутренности самих готовых блоков НЕ меняем.
   --------------------------------------------------------- */

@media (max-width: 1023px) {
    .front-news-slider + .front-news-slider {
        margin-top: 16px !important;
    }
}

@media (max-width: 743px) {
    .front-news-slider + .front-news-slider {
        margin-top: 20px !important;
    }

    /* На мобильном после dots оставляем визуальный воздух
       перед началом следующего блока. */
    .front-news-slider .slider-dots,
    .front-news-slider .bottom {
        margin-bottom: 8px !important;
    }
}


/* ---------------------------------------------------------
   2. /company/ — уникальные секции «Цели» и «Предприятие».
   Стили самих плашек уже приведены к общей системе;
   здесь только возвращаем нормальный внешний интервал.
   --------------------------------------------------------- */

@media (max-width: 1023px) {
    #company-about-page .co-goal {
        padding-top: 52px !important;
    }

    #company-about-page .co-enterprise {
        padding-top: 56px !important;
    }
}

@media (max-width: 743px) {
    #company-about-page .co-goal {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    #company-about-page .co-enterprise {
        padding-top: 52px !important;
    }
}


/* ---------------------------------------------------------
   3. ШОУРУМЫ — MOBILE/TABLET.
   Адрес отдельно, телефон/время ниже с устойчивым отступом.
   Цвета остаются такими же, как на desktop:
   Киров — белые контакты; Москва — серые.
   --------------------------------------------------------- */

@media (max-width: 1023px) {
    #front-showrooms-custom .showrooms .showroom {
        height: auto !important;
        min-height: 200px !important;
        justify-content: flex-start !important;
    }

    #front-showrooms-custom .showrooms .title {
        margin-bottom: 22px !important;
    }

    #front-showrooms-custom .showrooms .info-wrap {
        margin-top: 0 !important;
        row-gap: 10px !important;
    }
}

@media (max-width: 743px) {
    #front-showrooms-custom .showrooms .showroom {
        min-height: 216px !important;
        padding: 24px !important;
    }

    #front-showrooms-custom .showrooms .title {
        margin-bottom: 24px !important;
    }
}


/* ---------------------------------------------------------
   4. ОБЩИЙ ЗОЛОТОЙ БЛОК «О КОМПАНИИ».
   Это тот же исходный блок на всех страницах:
   сокращаем только лишние вертикальные промежутки,
   чтобы desktop ближе укладывался в один экран.
   Типографику, карточки и форму НЕ переписываем.
   --------------------------------------------------------- */

@media (min-width: 1024px) {
    #front-company-custom .content {
        gap: 14px !important;
        padding-top: 56px !important;
    }

    #front-company-custom .content .title {
        margin-bottom: 6px !important;
    }

    #front-company-custom .content .subtitle {
        margin-top: 0 !important;
        margin-bottom: 4px !important;
    }

    #front-company-custom .features-desktop {
        margin-top: 14px !important;
        margin-bottom: 14px !important;
    }

    #front-company-custom .form-wrap {
        margin-top: 14px !important;
        margin-bottom: 20px !important;
    }
}

@media (max-width: 1023px) {
    #front-company-custom .content .title {
        margin-bottom: 2px !important;
    }

    #front-company-custom .content .subtitle {
        margin-top: 0 !important;
        margin-bottom: 4px !important;
    }

    #front-company-custom .features-mobile {
        margin-top: 6px !important;
    }

    #front-company-custom .form-wrap {
        margin-top: 10px !important;
    }
}
@media (max-width: 743px) {
    #company-about-page .co-enterprise__media {
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        overflow: hidden !important;
        border-radius: 28px !important;
    }
}


/* =========================================================
   V13 — ТОЛЬКО 2 ТОЧЕЧНЫЕ MOBILE-ПРАВКИ
   1) Шоурумы: мобильная кнопка «Заказать звонок»
      больше не подрезается и получает нормальную высоту.
   2) Новости первого экрана /company/:
      максимум 3 строки, легче и компактнее.
   Остальные работающие стили НЕ ТРОГАЕМ.
   ========================================================= */

@media (max-width: 743px) {

    /* -----------------------------------------------------
       1. ШОУРУМЫ — CTA «Заказать звонок»
       В исходном CSS .mobile-version только переключается
       display:none -> display:flex и не имеет собственной
       геометрии. На iOS из-за flex/родительской геометрии
       кнопка может визуально подрезаться.
       ----------------------------------------------------- */

    #front-showrooms-custom .mobile-version.figma-black-button,
    #front-showrooms-custom .mobile-version .figma-black-button {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 64px !important;
        height: auto !important;
        flex: 0 0 auto !important;
        box-sizing: border-box !important;

        margin-top: 20px !important;
        margin-bottom: 4px !important;
        padding: 18px 24px !important;

        overflow: visible !important;
        border-radius: 20px !important;
    }

    #front-showrooms-custom .content {
        overflow: visible !important;
        padding-bottom: 4px !important;
    }


    /* -----------------------------------------------------
       2. НОВОСТИ ПЕРВОГО ЭКРАНА /company/
       Оставляем 3 строки, но делаем заголовок визуально легче.
       ----------------------------------------------------- */

    #company-about-page .co-hero-news__title {
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 3 !important;
        overflow: hidden !important;

        font-size: 15px !important;
        font-weight: 500 !important;
        line-height: 1.18 !important;
        letter-spacing: -0.01em !important;

        margin: 0 !important;
        padding: 6px 14px 14px !important;

        min-height: 0 !important;
        max-height: calc(15px * 1.18 * 3 + 20px) !important;
    }
}


/* =====================================================================
   КАНОНИЧЕСКИЕ КОМПОНЕНТЫ ДИЗАЙН-СИСТЕМЫ — Figma UI-kit
   Добавлено 06.09.2026.

   Слой намеренно additive: эти классы пока не используются ни в одной
   разметке, поэтому ни одна страница визуально не меняется. Дубли,
   которые сейчас описаны отдельно под #banner-custom, #footer-custom,
   #form-and-video, #front-company-custom, #front-form-two и другие
   блоки, переводятся на эти классы отдельным шагом, по одному блоку.

   Префикс figma- обязателен: .btn, .tab и .checkbox уже заняты
   Bootstrap/Aspro и существующими правилами проекта. В проекте уже
   есть .figma-black-button и .figma-menu-button — префикс тот же.

   Все значения взяты из компонент-сетов Figma и выражены через
   существующие токены. Новых токенов слой не вводит.
   ===================================================================== */

/* ---------------------------------------------------------------------
   Кнопка — Figma COMPONENT_SET 2708-322908 «button»
   9 вариантов: color (brown / linear / white) × State (Default / hover
   / Disabled). Общая геометрия во всех вариантах:
     54px · r12 · pad 16/20 · gap16 · текст 14 / 16.8 / 0.14 · w600

   Токен --figma-btn-pad (12px 24px) описывает другую кнопку макета,
   поэтому здесь используется --figma-btn-form-pad, совпадающий
   со значением этого компонента.
   --------------------------------------------------------------------- */
.figma-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	min-height: var(--figma-btn-h);
	padding: var(--figma-btn-form-pad);
	border: 0;
	border-radius: var(--figma-radius-btn);
	font-family: "Inter Tight", sans-serif;
	font-size: var(--figma-fs-sm);
	font-weight: 600;
	line-height: 16.8px;
	letter-spacing: 0.14px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, background-image 0.2s ease, color 0.2s ease;
}

/* color=brown. В макете у hover текст задан белым с прозрачностью 0.4 —
   тем же значением, что у disabled. Принято как промах макета:
   текст остаётся полностью белым. */
.figma-btn--brown {
	background-color: var(--figma-gold);
	color: var(--figma-white-100);
}

.figma-btn--brown:hover {
	background-color: var(--figma-brown-deep);
	color: var(--figma-white-100);
}

/* color=linear. Градиенты уже были в системе: gradient-2 — Default,
   gradient-1 — hover. Направление в токенах задано раньше, при первом
   применении сверить с макетом визуально. */
.figma-btn--linear {
	background-image: var(--figma-gradient-2);
	color: var(--figma-white-100);
}

.figma-btn--linear:hover {
	background-image: var(--figma-gradient-1);
}

.figma-btn--brown:disabled,
.figma-btn--brown.is-disabled,
.figma-btn--linear:disabled,
.figma-btn--linear.is-disabled {
	background-color: var(--figma-brown-light);
	background-image: none;
	color: var(--figma-white-40);
}

/* color=white */
.figma-btn--white {
	background-color: var(--figma-white-100);
	color: var(--figma-black-warm);
}

.figma-btn--white:hover {
	background-color: var(--figma-white-dark);
}

.figma-btn--white:disabled,
.figma-btn--white.is-disabled {
	background-color: var(--figma-white-dark);
	color: var(--figma-black-30);
}

/* ---------------------------------------------------------------------
   Тёмная кнопка с иконкой — Figma COMPONENT_SET 2708-324299 «button S»
     42px · r12 · pad 12/12/12/16 · текст 14 / 16.8 / 0.14 · w600
   --------------------------------------------------------------------- */
.figma-btn--dark {
	min-height: 42px;
	padding: 12px 12px 12px 16px;
	background-color: var(--figma-black-warm);
	color: var(--figma-white-100);
}

.figma-btn--dark:hover {
	background-color: var(--figma-black-dark);
	color: var(--figma-white-60);
}

.figma-btn--dark:disabled,
.figma-btn--dark.is-disabled {
	background-color: var(--figma-black-light);
	color: var(--figma-white-40);
}

/* ---------------------------------------------------------------------
   Светлая кнопка-пилюля — Figma COMPONENT_SET 2708-324864 «button small»
     38px · r53 (пилюля) · pad 10/16 · gap10 · текст 14 / 17.5 / 0 · w400
   --------------------------------------------------------------------- */
.figma-btn--pill {
	gap: 10px;
	min-height: 38px;
	padding: 10px 16px;
	border-radius: var(--figma-radius-pill);
	background-color: var(--figma-white-100);
	color: var(--figma-black-warm);
	font-weight: 400;
	line-height: 17.5px;
	letter-spacing: 0;
}

.figma-btn--pill:hover {
	background-color: var(--figma-white-dark);
	color: var(--figma-black-dark);
}

.figma-btn--pill:disabled,
.figma-btn--pill.is-disabled {
	background-color: var(--figma-grey-super-light);
	color: var(--figma-black-20);
}

/* ---------------------------------------------------------------------
   Поле ввода — Figma COMPONENT_SET 6685-48530 «Text-field»
   и 6685-48546 «Number-field». 10 вариантов: State (Default / Typing /
   Stackeholder / Disabled / Failed) × Collor (white 100 / white 10%).
     56px · r12 · pad 16/14/16/20 · текст 14 / 17.5 / 0 · w400
   Значение --figma-input-pad совпадает с макетом до пикселя.
   --------------------------------------------------------------------- */
.figma-field {
	/* цвет ошибки: в макете это --figma-error с прозрачностью 0.5,
	   держим одним значением на компонент */
	--figma-field-error: rgba(255, 56, 60, 0.5);

	display: block;
	width: 100%;
	min-height: var(--figma-btn-form-h);
	padding: var(--figma-input-pad);
	border: 1px solid var(--figma-grey-super-light);
	border-radius: var(--figma-radius-btn);
	background-color: var(--figma-white-100);
	font-family: "Inter Tight", sans-serif;
	font-size: var(--figma-fs-sm);
	font-weight: 400;
	line-height: 17.5px;
	color: var(--figma-black-light);
	transition: border-color 0.2s ease;
}

.figma-field::placeholder {
	color: var(--figma-black-30);
}

.figma-field:disabled::placeholder {
	color: var(--figma-black-10);
}

/* State=Failed */
.figma-field.is-invalid {
	border-color: var(--figma-field-error);
}

.figma-field-hint {
	font-family: "Inter Tight", sans-serif;
	font-size: var(--figma-fs-xs);
	font-weight: 400;
	line-height: 14px;
	color: rgba(255, 56, 60, 0.5);
}

/* Плавающая подпись состояния State=Typing */
.figma-field-label {
	font-family: "Inter Tight", sans-serif;
	font-size: var(--figma-fs-xs);
	font-weight: 400;
	line-height: 14px;
	color: var(--figma-black-30);
}

/* Collor=white 10% — поле на тёмном фоне */
.figma-field--on-dark {
	border-color: var(--figma-white-40);
	background-color: var(--figma-white-15);
	backdrop-filter: blur(4px);
	color: var(--figma-white-100);
}

.figma-field--on-dark::placeholder {
	color: var(--figma-white-dark);
}

.figma-field--on-dark:disabled {
	background-color: var(--figma-white-40);
}

.figma-field--on-dark:disabled::placeholder {
	color: var(--figma-white-80);
}

.figma-field--on-dark ~ .figma-field-label,
.figma-field--on-dark .figma-field-label {
	color: var(--figma-white-dark);
}

/* ---------------------------------------------------------------------
   Чекбокс — Figma COMPONENT_SET 6655-20985 «Checkbox»
   6 вариантов: Color (White / Dark) × State (Active / Non active / Hover).
     18x18 · r4 (токена под 4px в системе нет)
   Color=White — для тёмных фонов, Color=Dark — для светлых.
   --------------------------------------------------------------------- */
.figma-checkbox {
	position: relative;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 0;
	border: 1px solid var(--figma-black-light);
	border-radius: 4px;
	background-color: transparent;
	appearance: none;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.figma-checkbox:hover {
	border-color: var(--figma-black-30);
}

.figma-checkbox:checked {
	border-color: var(--figma-black-light);
	background-color: var(--figma-black-light);
}

/* Галочка: рисуется вектором, чтобы не тянуть изображение */
.figma-checkbox:checked::after {
	content: "";
	position: absolute;
	top: 4px;
	left: 3px;
	width: 10px;
	height: 5px;
	border-left: 2px solid var(--figma-white-100);
	border-bottom: 2px solid var(--figma-white-100);
	transform: rotate(-45deg);
}

/* Color=White — на тёмном фоне */
.figma-checkbox--on-dark {
	border-color: var(--figma-white-100);
}

.figma-checkbox--on-dark:hover {
	border-color: var(--figma-white-40);
}

.figma-checkbox--on-dark:checked {
	border-color: var(--figma-white-100);
	background-color: var(--figma-white-100);
}

.figma-checkbox--on-dark:checked::after {
	border-left-color: var(--figma-black-pure);
	border-bottom-color: var(--figma-black-pure);
}

/* ---------------------------------------------------------------------
   Таб / чип — Figma COMPONENT_SET 6909-195765 «Tab»
     r1000 (пилюля) · pad 10/16 · gap4 · текст 14 / 17.5 / 0 · w500

   В макете состояние Default нарисовано иначе (r8, pad 8/10), чем Hover
   и Selected (r1000, pad 10/16). Реализация буквально означала бы
   смену формы при наведении, поэтому геометрия унифицирована по
   Hover/Selected, а между состояниями меняется только цвет.
   --------------------------------------------------------------------- */
.figma-tab {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 10px 16px;
	border: 0;
	border-radius: var(--figma-radius-pill);
	background-color: transparent;
	font-family: "Inter Tight", sans-serif;
	font-size: var(--figma-fs-sm);
	font-weight: 500;
	line-height: 17.5px;
	color: var(--figma-black-light);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}


/* =====================================================================
   СТРАНИЦА «РЕКВИЗИТЫ» — /company/rekvizity-dlya-oplaty.php
   Figma: канвас «Реквизиты (NEW)» 6280-22539.
   Кадры: 1920 6950-9566 · 1440 7043-87008 · 1280 7133-119955 ·
          1024 7063-80432 · 744 7070-99796 · 375 6996-55529 · 320 7132-60696
   Добавлено 06.09.2026.

   Весь блок заскоупен под body:is(#page-requisites,.vvmd-is-page-requisites). Ни одно правило
   не может достать существующие страницы, даже штатные узлы темы
   (#content, .page-top, #navigation, #pagetitle, .breadcrumbs) —
   они переопределяются только при наличии #page-requisites в DOM.

   :has() здесь не эксперимент: этим же приёмом в проекте уже сделана
   страница «О компании» (body:is(#company-about-page,.vvmd-is-page-about)).

   Значения сняты с рендеров всех семи кадров при scale=1 (1px рендера =
   1px макета) и откалиброваны по кадру 1920, где типографика известна
   точно из данных узлов: H1 64/70.4/-0.2, подпись 28/30.8, строка
   24/33.6/-0.48. Эндпоинт /nodes на момент работы отдавал rate limit,
   поэтому промежуточные кадры измерены, а не прочитаны.

   Макет переключает типографику и раскладку не по всем семи точкам,
   а тремя наборами:
     >=1441  H1 64 · подпись 28 · строка 24 · 2 колонки · линия сверху
     >=1024  H1 52 · подпись 28 · строка 24 · 2 колонки · линия сверху
     <=1023  H1 32 · подпись 20 · строка 14 · линия снизу
             (2 колонки до 744, одна с 743)
   ===================================================================== */

/* Отступ под кастомный хедер — переменная живёт только на этой
   странице, не в :root. Хедер позиционирован абсолютно (top 20,
   высота 64), места в потоке не занимает и накрывает начало
   #content. В макете верх крошек на 106px от верха кадра при низе
   хедера 84px, то есть зазор 22px. */
body:is(#page-requisites,.vvmd-is-page-requisites) {
	--header-clearance: 106px;
}

/* ---------------------------------------------------------------------
   Раскладка: крошки во всю ширину, ниже H1 слева и реквизиты справа.
   .topic и #navigation лежат внутри .page-top, поэтому обёртки
   поднимаются в сетку #content через display: contents — тогда порядок
   задаётся размещением в гриде, а не переопределением order у темы.

   Если браузер не поддержит display: contents, страница деградирует
   в одну колонку: контент остаётся читаемым.

   Ширина контента 1840px и паддинг 40px — из макета 1920
   (совпадают с токенами --figma-container и --figma-section-pad),
   зазор между колонками 20px — из --figma-gap.
   --------------------------------------------------------------------- */
body:is(#page-requisites,.vvmd-is-page-requisites) #content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 var(--figma-gap);
	align-items: start;
	max-width: calc(var(--figma-container) + 80px);
	margin: 0 auto;
	/* .page-top здесь display: contents и своей высоты не имеет,
	   поэтому отступ под хедер задаётся на сетке */
	padding: var(--header-clearance) 40px 48px;
}

body:is(#page-requisites,.vvmd-is-page-requisites) .top-block-wrapper,
body:is(#page-requisites,.vvmd-is-page-requisites) .page-top {
	display: contents;
}

/* Отступ 48px под крошками — из макета: низ крошек до верха первой
   линии группы, она же верх H1 */
body:is(#page-requisites,.vvmd-is-page-requisites) #navigation {
	grid-row: 1;
	grid-column: 1 / -1;
	padding-top: 0;
	margin: 0 0 48px;
    /* Интервалы: общий блок VVMD_PAGE_HEADINGS ниже. */
}

body:is(#page-requisites,.vvmd-is-page-requisites) .topic {
	grid-row: 2;
	grid-column: 1;
	margin: 0;
	padding: 0;
}

body:is(#page-requisites,.vvmd-is-page-requisites) .wrapper_inner {
	grid-row: 2;
	grid-column: 2;
}

/* ---------------------------------------------------------------------
   Заголовок страницы — Figma 6955-57775.
   --------------------------------------------------------------------- */
body:is(#page-requisites,.vvmd-is-page-requisites) #pagetitle {
	/* в теме это inline с overflow: hidden — при 64px подрезает
	   выносные элементы букв, поэтому нормализуем */
	display: block;
	overflow: visible;
	font-family: "Inter Tight", sans-serif;
	font-weight: 500;
	font-size: var(--figma-fs-h1);
	line-height: 70.4px;
	letter-spacing: -0.2px;
	color: var(--figma-black-100);
	margin: 0;
}

/* ---------------------------------------------------------------------
   Хлебные крошки — Figma COMPONENT_SET 6033-38494 «breadcrumb»,
   вариант Color=Grey, Dot=True:
     шрифт    14 / 17.5 / 0 · w400
     отступы  8px между пунктами, 4px между точкой и текстом
     точка    круг 4x4 в цвет текста
     цвета    Default #8C8C8C · Hover #8A8A8A · текущий #292B2E

   Стилизуется штатный вывод bitrix:breadcrumb — своя разметка
   не создаётся, шаблон компонента не меняется, микроразметка
   BreadcrumbList сохраняется.
   --------------------------------------------------------------------- */
body:is(#page-requisites,.vvmd-is-page-requisites) .breadcrumbs {
	--crumb-color: #8C8C8C;
	--crumb-color-hover: #8A8A8A;
	--crumb-color-current: var(--figma-black-100);

	font-family: "Inter Tight", sans-serif;
	font-size: var(--figma-fs-sm);
	line-height: 17.5px;
	font-weight: 400;
}

body:is(#page-requisites,.vvmd-is-page-requisites) .breadcrumbs .breadcrumbs__item .breadcrumbs__item-name {
	font-size: var(--figma-fs-sm);
	line-height: 17.5px;
	font-weight: 400;
	color: var(--crumb-color);
}

/* Разделитель: в макете точка 4x4, в теме — тире */
body:is(#page-requisites,.vvmd-is-page-requisites) .breadcrumbs .breadcrumbs__separator {
	display: inline-flex;
	align-items: center;
	margin: 0 4px 0 8px;
	font-size: 0;
	line-height: 0;
	color: transparent;
}

/* ---------------------------------------------------------------------
   Список «подпись — значения» — Figma 6955-58039:
     подпись  28 / 30.8 / 0     · w400 · #DFB77A  (6955-58037)
     строка   24 / 33.6 / -0.48 · w400 · #2E2E29  (6955-58038)
     линия    1px rgba(0,0,0,.1)

   Линия задаётся через --rq-border-top / --rq-border-bottom, потому что
   макет меняет её сторону: на десктопе она над каждой группой, с 1023px
   — под каждой. Переключается одна переменная, правила не дублируются.
   --------------------------------------------------------------------- */
#page-requisites .rq-groups {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

/* Верхняя линия первой группы совпадает с верхом H1, как в макете */
#page-requisites .rq-group {
	--rq-line: 1px solid var(--figma-black-10);

	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 32px;
	border-top: var(--rq-line);
}

#page-requisites .rq-group__title {
	margin: 0;
	font-family: "Inter Tight", sans-serif;
	font-weight: 400;
	font-size: var(--figma-fs-h2);
	line-height: 30.8px;
	letter-spacing: 0;
	color: var(--figma-gold);
}

#page-requisites .rq-group__lines {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

#page-requisites .rq-group__line {
	margin: 0;
	font-family: "Inter Tight", sans-serif;
	font-weight: 400;
	font-size: var(--figma-fs-h3);
	line-height: 33.6px;
	letter-spacing: -0.48px;
	color: var(--figma-black-warm);
}

/* --- 1280 и 1024: H1 переходит на 52px, паддинг 32.
       На 1440 значения совпадают с базовыми, отдельного правила нет --- */
@media (max-width: 1279px) {
	body:is(#page-requisites,.vvmd-is-page-requisites) #pagetitle {
		font-size: var(--figma-fs-h1-alt);
		line-height: 57.2px;
		letter-spacing: -1.04px;
	}

	body:is(#page-requisites,.vvmd-is-page-requisites) #content {
		padding-left: 32px;
		padding-right: 32px;
	}
}

/* --- <=1023: мобильный типографический набор, линия под группой.
       Колонок по-прежнему две — макет 744 их сохраняет --- */
@media (max-width: 1023px) {
	body:is(#page-requisites,.vvmd-is-page-requisites) #content {
		padding: var(--header-clearance) 20px 32px;
	}

	body:is(#page-requisites,.vvmd-is-page-requisites) #navigation {
		margin-bottom: 32px;
	}

	body:is(#page-requisites,.vvmd-is-page-requisites) #pagetitle {
		font-size: 32px;
		line-height: 35.2px;
		letter-spacing: -0.2px;
	}

	#page-requisites .rq-group {
		padding-top: 0;
		padding-bottom: 32px;
		border-top: 0;
		border-bottom: var(--rq-line);
	}

	#page-requisites .rq-group__title {
		font-size: var(--figma-fs-h4);
		line-height: 22px;
	}

	#page-requisites .rq-group__lines {
		gap: 8px;
	}

	#page-requisites .rq-group__line {
		font-size: var(--figma-fs-sm);
		line-height: 19.6px;
		letter-spacing: 0;
	}
}

/* --- <=743: одна колонка --- */
@media (max-width: 743px) {
	body:is(#page-requisites,.vvmd-is-page-requisites) #content {
		grid-template-columns: 1fr;
		padding-left: 16px;
		padding-right: 16px;
	}

	body:is(#page-requisites,.vvmd-is-page-requisites) .topic {
		grid-row: 2;
		grid-column: 1;
		margin-bottom: 32px;
	}

	body:is(#page-requisites,.vvmd-is-page-requisites) .wrapper_inner {
		grid-row: 3;
		grid-column: 1;
	}
}


/* =====================================================================
   СТРАНИЦА «КОНТАКТЫ» — /contacts/  (герой: крошки, H1, карта с карточкой)
   Figma: канвас «Контакты +».
   Кадры: 1920 6300-88829 · 1440 7042-59095 · 1280 7134-160384 ·
          1024 7063-53766 · 744 7077-107502 · 375 6894-36232 · 320 7133-117044
   Добавлено 06.09.2026.

   Весь блок заскоупен под #page-contacts: правила для штатных узлов темы
   (#content, .page-top, #navigation, .topic, #pagetitle, .breadcrumbs)
   идут через body:is(#page-contacts,.vvmd-is-page-contacts) и не могут достать другие страницы.
   Приём тот же, что уже применён на «О компании» и «Реквизитах».

   Значения сняты с рендеров всех семи кадров при scale=1. В кадрах от
   1024 и выше есть золотая полоса преимуществ высотой 40px над хедером;
   на сайте её нет и добавить её из контента страницы нельзя, поэтому все
   вертикальные координаты пересчитаны со сдвигом -40px относительно
   кадров 1920/1440/1280/1024. Кадры 744 и ниже полосы не содержат.

   Макет меняет герой тремя наборами:
     >=1280  H1 64 центр · карта 760 · карточка 1031 поверх карты
     1024    H1 52 центр · карта 760 · карточка 912
     744     H1 32 центр · карта 589 · карточка 664
     <=375   H1 24 слева · карточка НАД картой, карта 348
   ===================================================================== */

/* ---------------------------------------------------------------------
   Раскладка страницы: крошки слева, H1 по центру, ниже герой во всю
   ширину контента. .topic и #navigation лежат внутри .page-top, поэтому
   обёртки поднимаются в сетку #content через display: contents — порядок
   задаётся размещением в гриде, а не переопределением order у темы.
   Без поддержки display: contents страница деградирует в один поток
   и остаётся читаемой.

   --header-clearance объявляется только на этой странице, не в :root.
   --------------------------------------------------------------------- */
body:is(#page-contacts,.vvmd-is-page-contacts) {
	--header-clearance: 106px;
}

body:is(#page-contacts,.vvmd-is-page-contacts) #content {
	display: grid;
	grid-template-columns: 1fr;
	align-items: start;
	width: 100%;
	max-width: none;
	margin: 0;
	/* Общая страница не зажимает shared-блоки. Отступы оставляем только сверху/снизу. */
	padding: var(--header-clearance) 0 48px;
}

body:is(#page-contacts,.vvmd-is-page-contacts) .top-block-wrapper,
body:is(#page-contacts,.vvmd-is-page-contacts) .page-top {
	display: contents;
}

body:is(#page-contacts,.vvmd-is-page-contacts) #navigation {
	grid-row: 1;
	width: calc(100% - 80px);
	max-width: var(--figma-container);
	padding-top: 0;
	margin: 0 auto 8px;
}

/* H1 по центру — в макете так во всех кадрах от 744 и выше */
body:is(#page-contacts,.vvmd-is-page-contacts) .topic {
	grid-row: 2;
	width: calc(100% - 80px);
	max-width: var(--figma-container);
	margin: 0 auto 36px;
	padding: 0;
	text-align: center;
}

body:is(#page-contacts,.vvmd-is-page-contacts) .wrapper_inner {
	grid-row: 3;
}

/* ---------------------------------------------------------------------
   Заголовок «Контакты и адреса»: 64 / 70.4 / -0.2 · w500
   --------------------------------------------------------------------- */
body:is(#page-contacts,.vvmd-is-page-contacts) #pagetitle {
	/* в теме это inline с overflow: hidden — при 64px подрезает
	   выносные элементы букв, поэтому нормализуем */
	display: block;
	overflow: visible;
	font-family: var(--figma-font);
	font-weight: 500;
	font-size: var(--figma-fs-h1);
	line-height: 70.4px;
	letter-spacing: -0.2px;
	color: var(--figma-black-100);
	margin: 0;
}

/* ---------------------------------------------------------------------
   Хлебные крошки — тот же компонент Figma, что и на «Реквизитах»
   (COMPONENT_SET 6033-38494, вариант Color=Grey, Dot=True):
     шрифт 14 / 17.5 / 0 · w400 · отступы 8 и 4 · точка 4x4
     Default #8C8C8C · Hover #8A8A8A · текущий #292B2E

   Стилизуется штатный вывод bitrix:breadcrumb: своя разметка не
   создаётся, шаблон компонента не меняется, микроразметка
   BreadcrumbList сохраняется.
   --------------------------------------------------------------------- */
body:is(#page-contacts,.vvmd-is-page-contacts) .breadcrumbs {
	--crumb-color: #8C8C8C;
	--crumb-color-hover: #8A8A8A;
	--crumb-color-current: var(--figma-black-100);

	font-family: var(--figma-font);
	font-size: var(--figma-fs-sm);
	line-height: 17.5px;
	font-weight: 400;
}

body:is(#page-contacts,.vvmd-is-page-contacts) .breadcrumbs .breadcrumbs__item .breadcrumbs__item-name {
	font-size: var(--figma-fs-sm);
	line-height: 17.5px;
	font-weight: 400;
	color: var(--crumb-color);
}

/* Разделитель: в макете точка 4x4, в теме — тире */
body:is(#page-contacts,.vvmd-is-page-contacts) .breadcrumbs .breadcrumbs__separator {
	display: inline-flex;
	align-items: center;
	margin: 0 4px 0 8px;
	font-size: 0;
	line-height: 0;
	color: transparent;
}

/* ---------------------------------------------------------------------
   Герой: карта во всю ширину контента, тёмная карточка поверх неё.
   На десктопе карточка позиционирована абсолютно и утоплена на 26px
   от низа карты (промер: низ карты 1034, низ карточки 1008 на кадре
   1920). На мобильном она выходит из потока карты и встаёт над ней.
   --------------------------------------------------------------------- */
#page-contacts .co-contact-hero {
	position: relative;
	display: flex;
	flex-direction: column;
}

#page-contacts .co-contact-hero__map {
	height: 760px;
	border-radius: var(--figma-radius-card);
	overflow: hidden;
	background: var(--figma-black-10);
}

#page-contacts .co-contact-hero__iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

#page-contacts .co-contact-hero__panel {
	position: absolute;
	left: 50%;
	bottom: 26px;
	transform: translateX(-50%);
	width: 1031px;
	max-width: calc(100% - 80px);
	padding: 36px 40px;
	border-radius: var(--figma-radius-card);
	background: var(--figma-black-100);
}

/* Четыре колонки: телефон с почтой, два офиса, соцсети.
   Ширины офисных колонок заданы, чтобы адрес переносился как в макете. */
#page-contacts .co-contact-hero__panel-grid {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
}

#page-contacts .co-contact-hero__col {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

#page-contacts .co-contact-hero__col--office {
	width: 215px;
	flex: 0 0 auto;
}

#page-contacts .co-contact-hero__col--socials {
	flex: 0 0 auto;
}

/* Телефон и почта — 28 / 33.6 · w500, белые */
#page-contacts .co-contact-hero__phone,
#page-contacts .co-contact-hero__email {
	font-family: var(--figma-font);
	font-weight: 500;
	font-size: var(--figma-fs-h2);
	line-height: 33.6px;
	letter-spacing: 0;
	color: var(--figma-white-100);
	text-decoration: none;
}

#page-contacts .co-contact-hero__email {
	margin-top: 16px;
}

/* Название города — 16 / 20 · w600, белое, вплотную к адресу */
#page-contacts .co-contact-hero__office-name {
	font-family: var(--figma-font);
	font-weight: 600;
	font-size: var(--figma-fs-base);
	line-height: 20px;
	color: var(--figma-white-100);
}

/* Адрес, часы, телефон офиса — 14 / 17.5 · w400 */
#page-contacts .co-contact-hero__office-text,
#page-contacts .co-contact-hero__office-phone {
	/* block нужен телефону: в мобильной раскладке колонка становится
	   блочной, и на инлайновой ссылке margin-top не работал бы */
	display: block;
	margin: 0;
	font-family: var(--figma-font);
	font-weight: 400;
	font-size: var(--figma-fs-sm);
	line-height: 17.5px;
	color: var(--figma-white-60);
	text-decoration: none;
}

#page-contacts .co-contact-hero__office-text + .co-contact-hero__office-text,
#page-contacts .co-contact-hero__office-phone {
	margin-top: 16px;
}

/* Соцсети: готовые ассеты 40x40 — коричневый круг с белой глифой,
   поэтому фон и цвет в CSS не задаются */
#page-contacts .co-contact-hero__socials {
	display: flex;
	gap: 12px;
}

#page-contacts .co-contact-hero__social {
	display: block;
	line-height: 0;
	border-radius: var(--figma-radius-pill);
	transition: opacity .15s ease;
}

#page-contacts .co-contact-hero__social img {
	display: block;
	width: 40px;
	height: 40px;
}

/* --- 1280 и ниже: H1 переходит на 52px. Ширина карточки та же 1031,
       она сохраняется в макете на 1920, 1440 и 1280 --- */
@media (max-width: 1279px) {
	body:is(#page-contacts,.vvmd-is-page-contacts) #pagetitle {
		font-size: var(--figma-fs-h1-alt);
		line-height: 57.2px;
		letter-spacing: -1.04px;
	}

	body:is(#page-contacts,.vvmd-is-page-contacts) #navigation,
	body:is(#page-contacts,.vvmd-is-page-contacts) .topic,
	#page-contacts .co-contact-hero {
		width: calc(100% - 64px);
	}

	body:is(#page-contacts,.vvmd-is-page-contacts) .topic {
		margin-bottom: 32px;
	}

	#page-contacts .co-contact-hero__panel {
		width: 912px;
		max-width: calc(100% - 64px);
	}
}

/* --- 1023 и ниже: планшет. Карта ниже, карточка компактнее --- */
@media (max-width: 1023px) {
	body:is(#page-contacts,.vvmd-is-page-contacts) #content {
		padding-top: var(--header-clearance);
		padding-bottom: 32px;
	}

	body:is(#page-contacts,.vvmd-is-page-contacts) #navigation,
	body:is(#page-contacts,.vvmd-is-page-contacts) .topic,
	#page-contacts .co-contact-hero {
		width: calc(100% - 40px);
	}

	body:is(#page-contacts,.vvmd-is-page-contacts) #pagetitle {
		font-size: 32px;
		line-height: 35.2px;
		letter-spacing: -0.2px;
	}

	body:is(#page-contacts,.vvmd-is-page-contacts) .topic {
		margin-bottom: 24px;
	}

	#page-contacts .co-contact-hero__map {
		height: 589px;
	}

	#page-contacts .co-contact-hero__panel {
		width: 664px;
		max-width: calc(100% - 40px);
		padding: 28px 32px;
	}

	#page-contacts .co-contact-hero__panel-grid {
		gap: 24px;
	}

	#page-contacts .co-contact-hero__col--office {
		width: auto;
		flex: 1 1 0;
	}
}

/* --- 743 и ниже: карточка выходит из наложения и встаёт НАД картой,
       колонки складываются в одну, название города вливается в строку
       адреса — как в кадрах 375 и 320 --- */
@media (max-width: 743px) {
	body:is(#page-contacts,.vvmd-is-page-contacts) #navigation,
	body:is(#page-contacts,.vvmd-is-page-contacts) .topic,
	#page-contacts .co-contact-hero {
		width: calc(100% - 32px);
	}

	body:is(#page-contacts,.vvmd-is-page-contacts) #pagetitle {
		font-size: var(--figma-fs-h3);
		line-height: 26.4px;
		letter-spacing: -0.48px;
	}

	/* на мобильном заголовок выровнен по левому краю */
	body:is(#page-contacts,.vvmd-is-page-contacts) .topic {
		margin-bottom: 20px;
		text-align: left;
	}

	body:is(#page-contacts,.vvmd-is-page-contacts) #navigation {
		margin-bottom: 16px;
	}

	#page-contacts .co-contact-hero {
		gap: 20px;
	}

	#page-contacts .co-contact-hero__map {
		order: 2;
		height: 348px;
	}

	#page-contacts .co-contact-hero__panel {
		order: 1;
		position: static;
		left: auto;
		bottom: auto;
		transform: none;
		width: 100%;
		max-width: none;
		padding: 20px;
	}

	#page-contacts .co-contact-hero__panel-grid {
		flex-direction: column;
		gap: 20px;
	}

	/* блочный контекст обязателен: во flex-колонке display: inline
	   у названия города был бы приведён к block и слияние строк
	   не сработало бы */
	#page-contacts .co-contact-hero__col--office {
		display: block;
		flex: 0 0 auto;
	}

	#page-contacts .co-contact-hero__phone,
	#page-contacts .co-contact-hero__email {
		font-size: var(--figma-fs-h3);
		line-height: 28.8px;
		letter-spacing: -0.48px;
	}

	#page-contacts .co-contact-hero__email {
		margin-top: 8px;
	}

	/* город и первая строка адреса образуют один абзац:
	   «г. Москва, Ленинградский проспект, 37 …» */
	#page-contacts .co-contact-hero__office-name {
		display: inline;
		font-weight: 400;
		font-size: var(--figma-fs-sm);
		line-height: 17.5px;
		color: var(--figma-white-60);
	}

	#page-contacts .co-contact-hero__col--socials {
		margin-top: 4px;
	}
}

/* =====================================================================
   НОВЫЕ СТРАНИЦЫ (оплата / клиенты / отзывы / новости / блог)
   Добавлено 06.09.2026. ТОЛЬКО новые правила в конец файла.
   Существующие селекторы не изменялись.
   Каждый селектор заскоупен под #page-payment / #page-clients /
   #page-reviews / #page-news / #page-blog и не действует на старые страницы.
   Каталог (#page-catalog) без chrome-правил: сетка Bitrix не переопределяется.
   ===================================================================== */

body:is(#page-payment,.vvmd-is-page-payment),
body:is(#page-reviews,.vvmd-is-page-reviews),
body:is(#page-news,.vvmd-is-page-news) {
	--header-clearance: 106px;
}

body:is(#page-payment,.vvmd-is-page-payment) .top-block-wrapper,
body:is(#page-payment,.vvmd-is-page-payment) .page-top,
body:is(#page-reviews,.vvmd-is-page-reviews) .top-block-wrapper,
body:is(#page-reviews,.vvmd-is-page-reviews) .page-top,
body:is(#page-news,.vvmd-is-page-news) .top-block-wrapper,
body:is(#page-news,.vvmd-is-page-news) .page-top {
	display: contents;
}

body:is(#page-payment,.vvmd-is-page-payment) #content,
body:is(#page-reviews,.vvmd-is-page-reviews) #content,
	body:is(#page-news,.vvmd-is-page-news) #content {
	display: grid;
	grid-template-columns: 1fr;
	align-items: start;
	max-width: calc(var(--figma-container) + 80px);
	margin: 0 auto;
	padding: var(--header-clearance) 40px 48px;
}

body:is(#page-payment,.vvmd-is-page-payment) #navigation,
body:is(#page-reviews,.vvmd-is-page-reviews) #navigation,
body:is(#page-news,.vvmd-is-page-news) #navigation {
	grid-row: 1;
	padding-top: 0;
	margin: 0 0 8px;
}

body:is(#page-payment,.vvmd-is-page-payment) .topic,
body:is(#page-reviews,.vvmd-is-page-reviews) .topic,
body:is(#page-news,.vvmd-is-page-news) .topic {
	grid-row: 2;
	margin: 0 0 36px;
	padding: 0;
}

body:is(#page-payment,.vvmd-is-page-payment) .wrapper_inner,
body:is(#page-reviews,.vvmd-is-page-reviews) .wrapper_inner,
body:is(#page-news,.vvmd-is-page-news) .wrapper_inner {
	grid-row: 3;
}

body:is(#page-payment,.vvmd-is-page-payment) #pagetitle,
body:is(#page-reviews,.vvmd-is-page-reviews) #pagetitle,
	body:is(#page-news,.vvmd-is-page-news) #pagetitle {
	margin: 0;
	font-family: var(--figma-font-display, inherit);
	font-weight: 400;
	font-size: 64px;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--figma-black, #111);
}

body:is(#page-payment,.vvmd-is-page-payment) .breadcrumbs .breadcrumbs__item .breadcrumbs__item-name,
body:is(#page-reviews,.vvmd-is-page-reviews) .breadcrumbs .breadcrumbs__item .breadcrumbs__item-name,
body:is(#page-news,.vvmd-is-page-news) .breadcrumbs .breadcrumbs__item .breadcrumbs__item-name {
	font-size: 14px;
	line-height: 18px;
}

#page-payment .pg-pay-delivery {
	margin: 0 0 56px;
}

#page-payment .pg-pay-delivery__head {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0 0 28px;
}

#page-payment .pg-pay-delivery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

#page-payment .pg-pay-card {
	padding: 24px;
	border-radius: 16px;
	background: #f6f4f0;
}

#page-payment .pg-pay-card__title {
	margin: 0 0 12px;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 500;
}

#page-payment .pg-pay-card__text {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.45;
}

#page-payment .pg-pay-card__text:last-child {
	margin-bottom: 0;
}

#page-payment .pg-pay-delivery__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 24px;
}

#page-payment .pg-pay-delivery__logos img {
	height: 28px;
	width: auto;
}

@media (max-width: 1024px) {
	body:is(#page-payment,.vvmd-is-page-payment) #pagetitle,
	body:is(#page-reviews,.vvmd-is-page-reviews) #pagetitle,
	body:is(#page-news,.vvmd-is-page-news) #pagetitle {
		font-size: 40px;
	}

	#page-payment .pg-pay-delivery__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 743px) {
	body:is(#page-payment,.vvmd-is-page-payment) #content,
	body:is(#page-reviews,.vvmd-is-page-reviews) #content,
	body:is(#page-news,.vvmd-is-page-news) #content {
		padding-left: 16px;
		padding-right: 16px;
	}

	body:is(#page-payment,.vvmd-is-page-payment) #pagetitle,
	body:is(#page-reviews,.vvmd-is-page-reviews) #pagetitle,
	body:is(#page-news,.vvmd-is-page-news) #pagetitle {
		font-size: 28px;
	}
}

/* =====================================================================
   КАТАЛОГ FIGMA — только новые правила в конец файла.
   06.09.2026. Существующие селекторы не изменялись.
   Скоуп: #page-catalog и его модификаторы
   --root / --section / --product.
   ===================================================================== */

body:is(#page-catalog,.vvmd-is-page-catalog) {
	--header-clearance: 106px;
}

body:is(#page-catalog,.vvmd-is-page-catalog) .top-block-wrapper,
body:is(#page-catalog,.vvmd-is-page-catalog) .page-top {
	display: contents;
}

body:is(#page-catalog,.vvmd-is-page-catalog) #content {
	display: grid;
	grid-template-columns: 1fr;
	align-items: start;
	max-width: calc(var(--figma-container, 1840px) + 80px);
	margin: 0 auto;
	padding: var(--header-clearance) 40px 48px;
}

body:is(#page-catalog,.vvmd-is-page-catalog) #navigation {
	grid-row: 1;
	margin: 0 0 8px;
	padding-top: 0;
}

body:is(#page-catalog,.vvmd-is-page-catalog) .topic {
	grid-row: 2;
	margin: 0 0 32px;
	padding: 0;
}

body:is(#page-catalog,.vvmd-is-page-catalog) .wrapper_inner {
	grid-row: 3;
}

body:is(#page-catalog,.vvmd-is-page-catalog) .wrapper_inner,
body:is(#page-catalog,.vvmd-is-page-catalog) .container_inner,
body:is(#page-catalog,.vvmd-is-page-catalog) .right_block,
body:is(#page-catalog,.vvmd-is-page-catalog) .middle,
body:is(#page-catalog,.vvmd-is-page-catalog) .container {
	width: 100%;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

body:is(#page-catalog,.vvmd-is-page-catalog) #pagetitle {
	margin: 0;
	font-family: var(--figma-font-display, inherit);
	font-weight: 400;
	font-size: 64px;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--figma-black, #111);
}

body:is(#page-catalog,.vvmd-is-page-catalog) .breadcrumbs .breadcrumbs__item .breadcrumbs__item-name {
	font-size: 14px;
	line-height: 18px;
}

#page-catalog {
	min-width: 0;
}

/* ---------- /catalog/ : карточки категорий ---------- */
#page-catalog.page-catalog--root .catalog_section_list.row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 0 0 56px;
	width: 100%;
}

#page-catalog.page-catalog--root .catalog_section_list > .item_block {
	width: auto;
	max-width: none;
	float: none;
	padding: 0;
	margin: 0;
	flex: none;
}

#page-catalog.page-catalog--root .section_item {
	height: 459px;
	margin: 0;
	border: 0;
	box-shadow: none;
	border-radius: 24px;
	background: var(--figma-white-100, #fff);
	overflow: hidden;
}

#page-catalog.page-catalog--root .section_item_inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	width: 100%;
}

#page-catalog.page-catalog--root .section_item_inner tbody,
#page-catalog.page-catalog--root .section_item_inner tr {
	display: contents;
}

#page-catalog.page-catalog--root .section_item_inner td.image,
#page-catalog.page-catalog--root .section_item_inner td.section_info {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
}

#page-catalog.page-catalog--root .section_item_inner td.image {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px 32px 0;
	min-height: 0;
}

#page-catalog.page-catalog--root .section_item .thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 220px;
}

#page-catalog.page-catalog--root .section_item .thumb img {
	max-height: 200px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

#page-catalog.page-catalog--root .section_item_inner td.section_info {
	padding: 16px 32px 32px;
}

#page-catalog.page-catalog--root .section_item .name,
#page-catalog.page-catalog--root .section_item .name ul,
#page-catalog.page-catalog--root .section_item .section_info ul {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

#page-catalog.page-catalog--root .section_item .dark_link,
#page-catalog.page-catalog--root .section_item .font_md {
	display: block;
	font-size: 28px;
	line-height: 1.1;
	font-weight: 400;
	color: var(--figma-black-100, #111);
	max-width: 314px;
}

#page-catalog.page-catalog--root .section_item .element-count2 {
	display: inline-block;
	margin-top: 8px;
	font-size: 14px;
	line-height: 18px;
	color: var(--figma-black-60, rgba(17, 17, 17, 0.6));
}

/* ---------- категория : сетка товаров ---------- */
#page-catalog.page-catalog--section .main-catalog-wrapper {
	display: block;
	width: 100%;
}

#page-catalog.page-catalog--section .section-content-wrapper,
#page-catalog.page-catalog--section #right_block_ajax {
	width: 100%;
	max-width: none;
}

#page-catalog.page-catalog--section .filter-panel-wrapper {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin: 0 0 20px;
}

#page-catalog.page-catalog--section .catalog-block,
#page-catalog.page-catalog--section .catalog_block,
#page-catalog.page-catalog--section .js-load-wrapper .items,
#page-catalog.page-catalog--section .catalog-items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

#page-catalog.page-catalog--section .catalog-block-view__item,
#page-catalog.page-catalog--section .item_block.col-lg-3,
#page-catalog.page-catalog--section .item_block.col-md-4,
#page-catalog.page-catalog--section .item_block[class*="col-"] {
	width: auto;
	max-width: none;
	float: none;
	padding: 0;
	margin: 0;
	flex: none;
}

#page-catalog.page-catalog--section .catalog_item_wrapp,
#page-catalog.page-catalog--section .catalog_item {
	height: 100%;
	margin: 0;
	border: 0;
	box-shadow: none;
	border-radius: 20px;
	background: var(--figma-white-100, #fff);
	overflow: hidden;
}

#page-catalog.page-catalog--section .inner_wrap {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 16px 16px 20px;
}

#page-catalog.page-catalog--section .image_wrapper_block {
	border-radius: 16px;
	overflow: hidden;
	background: #f6f4f0;
}

#page-catalog.page-catalog--section .image_wrapper_block .thumb,
#page-catalog.page-catalog--section .section-gallery-wrapper {
	min-height: 240px;
}

#page-catalog.page-catalog--section .image_wrapper_block img {
	object-fit: contain;
}

#page-catalog.page-catalog--section .item-title,
#page-catalog.page-catalog--section .item-title a {
	font-size: 16px;
	line-height: 1.25;
	font-weight: 400;
	color: var(--figma-black-100, #111);
}

#page-catalog.page-catalog--section .item_info--bottom_block .btn,
#page-catalog.page-catalog--section .to-cart,
#page-catalog.page-catalog--section .btn-default {
	min-height: 44px;
	border-radius: 12px;
}

/* ---------- фильтры / шторка (только категория) ---------- */
#page-catalog.page-catalog--section .pg-cat-filter-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 0 0 16px;
	padding: 10px 18px;
	border: 0;
	border-radius: 100px;
	background: #111;
	color: #fff;
	font-size: 14px;
	line-height: 18px;
	cursor: pointer;
}

#page-catalog.page-catalog--section .pg-cat-filter-backdrop {
	position: fixed;
	inset: 0;
	z-index: 80;
	background: rgba(17, 17, 17, 0.45);
}

#page-catalog.page-catalog--section .bx_filter,
#page-catalog.page-catalog--section .bx_filter_vertical {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 81;
	width: min(457px, 100vw);
	max-width: 100%;
	margin: 0;
	padding: 24px 20px 32px;
	overflow: auto;
	background: #fff;
	transform: translateX(110%);
	transition: transform 0.28s ease;
	box-shadow: none;
}

html.pg-cat-filter-lock {
	overflow: hidden;
}

/* ---------- товар : full_card ---------- */
#page-catalog.page-catalog--product .product-container.catalog_detail {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 32px;
	align-items: start;
	margin: 0 0 48px;
	padding: 24px;
	border-radius: 24px;
	background: var(--figma-white-100, #fff);
}

#page-catalog.page-catalog--product .product-detail-gallery {
	width: 100%;
	max-width: none;
}

#page-catalog.page-catalog--product .detail-gallery-big__picture,
#page-catalog.page-catalog--product .product-detail-gallery img {
	border-radius: 20px;
	object-fit: contain;
}

#page-catalog.page-catalog--product .product-info {
	border: 0;
	border-radius: 0;
	background: transparent;
	padding: 8px 8px 0;
}

#page-catalog.page-catalog--product .product-info .item-title,
#page-catalog.page-catalog--product .product-info h1 {
	font-size: 32px;
	line-height: 1.15;
	font-weight: 400;
}

#page-catalog.page-catalog--product .product-action .btn,
#page-catalog.page-catalog--product .product-main .btn,
#page-catalog.page-catalog--product .to-order,
#page-catalog.page-catalog--product .btn-lg {
	min-height: 54px;
	padding: 14px 24px;
	border-radius: 14px;
}

#page-catalog.page-catalog--product .properties__item {
	font-size: 14px;
	line-height: 20px;
}

/* ---------- адаптив ---------- */
@media (max-width: 1279px) {
	body:is(#page-catalog,.vvmd-is-page-catalog) #pagetitle {
		font-size: 48px;
	}

	#page-catalog.page-catalog--root .catalog_section_list.row,
	#page-catalog.page-catalog--section .catalog-block,
	#page-catalog.page-catalog--section .catalog_block,
	#page-catalog.page-catalog--section .js-load-wrapper .items {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	#page-catalog.page-catalog--root .section_item {
		height: 400px;
	}

	#page-catalog.page-catalog--root .section_item .dark_link,
	#page-catalog.page-catalog--root .section_item .font_md {
		font-size: 22px;
	}
}

@media (max-width: 1024px) {
	#page-catalog.page-catalog--root .catalog_section_list.row,
	#page-catalog.page-catalog--section .catalog-block,
	#page-catalog.page-catalog--section .catalog_block,
	#page-catalog.page-catalog--section .js-load-wrapper .items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#page-catalog.page-catalog--product .product-container.catalog_detail {
		grid-template-columns: 1fr;
		padding: 16px;
	}

	body:is(#page-catalog,.vvmd-is-page-catalog) #pagetitle {
		font-size: 40px;
	}
}

@media (max-width: 743px) {
	body:is(#page-catalog,.vvmd-is-page-catalog) #content {
		padding: var(--header-clearance) 16px 32px;
	}

	body:is(#page-catalog,.vvmd-is-page-catalog) #pagetitle {
		font-size: 28px;
	}

	#page-catalog.page-catalog--root .catalog_section_list.row {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	#page-catalog.page-catalog--root .section_item {
		height: 280px;
		border-radius: 12px;
	}

	#page-catalog.page-catalog--root .section_item .thumb {
		height: 140px;
	}

	#page-catalog.page-catalog--root .section_item .thumb img {
		max-height: 120px;
	}

	#page-catalog.page-catalog--root .section_item .dark_link,
	#page-catalog.page-catalog--root .section_item .font_md {
		font-size: 14px;
		max-width: none;
	}

	#page-catalog.page-catalog--section .catalog-block,
	#page-catalog.page-catalog--section .catalog_block,
	#page-catalog.page-catalog--section .js-load-wrapper .items {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	#page-catalog.page-catalog--section .bx_filter,
	#page-catalog.page-catalog--section .bx_filter_vertical {
		width: 100%;
	}
}

/* =====================================================================
   НОВОСТИ / ОТЗЫВЫ / КЛИЕНТЫ — карточки Figma.
   Только APPEND. Скоуп: #page-news #page-blog #page-reviews #page-clients.
   06.09.2026. Существующие правила не изменялись.
   ===================================================================== */

#page-news .item-views.news2 > .items,
#page-blog .item-views > .items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

#page-news .item-views.news2 .item,
#page-blog .item-views .item {
	margin: 0;
	border: 0;
	border-radius: 20px;
	background: var(--figma-white-100, #fff);
	overflow: hidden;
}

#page-news .item-views.news2 .item .image,
#page-blog .item-views .item .image {
	border-radius: 20px 20px 0 0;
	overflow: hidden;
}

#page-reviews .item-views.reviews > .items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

#page-reviews .item-views.reviews .item {
	margin: 0;
	border: 0;
	border-radius: 20px;
	background: var(--figma-white-100, #fff);
	padding: 20px;
}

#page-clients .item-views.partners > .items,
#page-clients .item-views.partners .items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

#page-clients .item-views.partners .item {
	margin: 0;
	border: 0;
	border-radius: 20px;
	background: var(--figma-white-100, #fff);
	min-height: 160px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

#page-clients .item-views.partners .item img {
	max-height: 72px;
	width: auto;
	object-fit: contain;
}

@media (max-width: 1024px) {
	#page-news .item-views.news2 > .items,
	#page-blog .item-views > .items,
	#page-reviews .item-views.reviews > .items,
	#page-clients .item-views.partners > .items,
	#page-clients .item-views.partners .items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 743px) {
	#page-news .item-views.news2 > .items,
	#page-blog .item-views > .items,
	#page-reviews .item-views.reviews > .items,
	#page-clients .item-views.partners > .items,
	#page-clients .item-views.partners .items {
		grid-template-columns: 1fr;
	}
}

/* catalog overflow fix — APPEND only, 06.09.2026 */
body:is(#page-catalog,.vvmd-is-page-catalog) #content,
body:is(#page-catalog,.vvmd-is-page-catalog) .wrapper_inner,
body:is(#page-catalog,.vvmd-is-page-catalog) .container_inner,
body:is(#page-catalog,.vvmd-is-page-catalog) .right_block,
body:is(#page-catalog,.vvmd-is-page-catalog) .middle,
body:is(#page-catalog,.vvmd-is-page-catalog) .container,
body:is(#page-catalog,.vvmd-is-page-catalog) .topic,
body:is(#page-catalog,.vvmd-is-page-catalog) #navigation,
#page-catalog,
#page-catalog .main-catalog-wrapper,
#page-catalog .section-content-wrapper,
#page-catalog .catalog_section_list {
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

body:is(#page-catalog,.vvmd-is-page-catalog) #pagetitle {
	max-width: 100%;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
}

#page-catalog.page-catalog--root .catalog_section_list.row {
	width: 100%;
	max-width: 100%;
}

#page-catalog.page-catalog--root .catalog_section_list > .item_block,
#page-catalog.page-catalog--root .section_item {
	min-width: 0;
	max-width: 100%;
}

#page-catalog.page-catalog--root .section_item .dark_link,
#page-catalog.page-catalog--root .section_item .font_md {
	max-width: 100%;
	overflow-wrap: anywhere;
}

/* clip reused homepage sliders inside new pages only */
#page-catalog .owl-stage-outer,
#page-contacts .owl-stage-outer,
#page-payment .owl-stage-outer,
#page-clients .owl-stage-outer,
#page-reviews .owl-stage-outer,
#page-news .owl-stage-outer,
#page-blog .owl-stage-outer {
	max-width: 100%;
	overflow: hidden;
}

/* full_card: не ломать штатную колонку Aspro, только карточка-обёртка */
#page-catalog.page-catalog--product .product-container.catalog_detail {
	display: block;
}

#page-catalog.page-catalog--section .pg-cat-filter-btn {
	position: relative;
	z-index: 2;
}

#page-catalog.page-catalog--section.is-filter-open .pg-cat-filter-backdrop {
	display: block;
}

#page-catalog.page-catalog--section .catalog-block-view__item .item-title,
#page-catalog.page-catalog--section .catalog_item .item-title {
	padding: 12px 4px 0;
}

#page-catalog.page-catalog--product .product-info,
#page-catalog.page-catalog--product .product-side,
#page-catalog.page-catalog--product .left_block.product-side {
	display: block;
	visibility: visible;
}

#page-news .item-views.news2 .item .body-info,
#page-blog .item-views .item .body-info,
#page-news .item-views.news2 .item .inner-item,
#page-blog .item-views .item .inner-item {
	padding: 16px 16px 20px;
}

#page-news .detail .detail-text-wrap,
#page-blog .detail .detail-text-wrap,
#page-news .news-detail,
#page-blog .news-detail {
	max-width: 840px;
	font-size: 16px;
	line-height: 1.5;
}

#page-reviews .add_review,
#page-reviews .btn.add_review {
	min-height: 44px;
	border-radius: 12px;
}

#page-contacts #page-contacts-goal,
#page-contacts .co-founder,
#page-contacts .co-goal {
	margin-bottom: 40px;
}

#page-payment .pg-pay-delivery__logos img {
	max-height: 28px;
}

@media (max-width: 743px) {

	#page-catalog.page-catalog--root .section_item {
		min-height: 240px;
	}

	#page-news .item-views.news2 .item,
	#page-blog .item-views .item,
	#page-reviews .item-views.reviews .item {
		border-radius: 12px;
	}
}

/* =====================================================================
   ДОБОР 06.09.2026 вечер-2. Только APPEND.
   Фильтр категории: шторка на body (Aspro parent схлопывал 0×0).
   Сетки новостей/блога/отзывов/клиентов — реальные контейнеры Aspro.
   Скоуп: html.pg-cat-filter-lock / #page-catalog / #page-news /
   #page-blog / #page-reviews / #page-clients.
   Существующие правила выше не изменялись.
   ===================================================================== */

html.pg-cat-filter-lock .bx_filter.pg-cat-filter-sheet {
	position: fixed !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: auto !important;
	z-index: 10050 !important;
	width: min(420px, 100vw) !important;
	min-width: min(320px, 100vw) !important;
	height: 100vh !important;
	max-height: 100vh !important;
	min-height: 100vh !important;
	margin: 0 !important;
	padding: 24px 20px 40px !important;
	overflow: auto !important;
	background: #fff !important;
	transform: none !important;
	visibility: visible !important;
	opacity: 1 !important;
	display: block !important;
	box-sizing: border-box !important;
}

html.pg-cat-filter-lock .bx_filter.pg-cat-filter-sheet .bx_filter_section,
html.pg-cat-filter-lock .bx_filter.pg-cat-filter-sheet .smartfilter,
html.pg-cat-filter-lock .bx_filter.pg-cat-filter-sheet .bx_filter_parameters {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	visibility: visible !important;
	opacity: 1 !important;
}

#page-catalog .owl-carousel,
#page-contacts .owl-carousel,
#page-payment .owl-carousel,
#page-clients .owl-carousel,
#page-reviews .owl-carousel,
#page-news .owl-carousel,
#page-blog .owl-carousel,
#page-catalog .drag-block,
#page-contacts .drag-block,
#page-payment .drag-block,
#page-clients .drag-block,
#page-reviews .drag-block,
#page-news .drag-block,
#page-blog .drag-block {
	max-width: 100%;
	overflow: hidden;
}

#page-catalog.page-catalog--section .catalog_item_wrapp,
#page-catalog.page-catalog--section .catalog_item_wrapp .inner_wrap {
	background: #fff;
	border-radius: 20px;
}

#page-catalog.page-catalog--section .item-title {
	display: block;
	visibility: visible;
}

#page-catalog.page-catalog--product .product-info.bordered {
	border: 0;
	box-shadow: none;
}

#page-news .item-views.news2 .items > .row,
#page-blog .item-views.news2 .items > .row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
}

#page-news .item-views.news2 .item-wrapper,
#page-blog .item-views.news2 .item-wrapper {
	width: auto;
	max-width: none;
	float: none;
	padding: 0;
	margin: 0;
}

#page-news .item-views.news2 .item,
#page-blog .item-views.news2 .item {
	height: 100%;
	margin: 0;
	box-shadow: none;
	border: 0;
	border-radius: 20px;
	overflow: hidden;
	background: #fff;
}

#page-reviews .item-views.reviews .appear-block {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

#page-reviews .item-views.reviews .item-wrapper {
	width: auto;
	max-width: none;
	float: none;
	padding: 0;
	margin: 0;
}

#page-reviews .item-views.reviews .item {
	height: 100%;
	margin: 0;
	border: 0;
	box-shadow: none;
	border-radius: 20px;
	background: #fff;
	padding: 20px;
}

#page-clients .item-views.partners .row.sid.items,
#page-clients .item-views.partners .row.items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
}

#page-clients .item-views.partners .item-wrap,
#page-clients .item-views.partners .item-width-261 {
	width: auto;
	max-width: none;
	float: none;
	padding: 0;
	margin: 0;
}

#page-clients .item-views.partners .item {
	height: 100%;
	min-height: 140px;
	margin: 0;
	border: 0;
	box-shadow: none;
	border-radius: 20px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

@media (max-width: 1024px) {
	#page-news .item-views.news2 .items > .row,
	#page-blog .item-views.news2 .items > .row,
	#page-reviews .item-views.reviews .appear-block,
	#page-clients .item-views.partners .row.sid.items,
	#page-clients .item-views.partners .row.items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 743px) {
	html.pg-cat-filter-lock .bx_filter.pg-cat-filter-sheet {
		width: 100% !important;
		min-width: 0 !important;
	}

	#page-news .item-views.news2 .items > .row,
	#page-blog .item-views.news2 .items > .row,
	#page-reviews .item-views.reviews .appear-block,
	#page-clients .item-views.partners .row.sid.items,
	#page-clients .item-views.partners .row.items {
		grid-template-columns: 1fr;
	}
}

/* =====================================================================
   ДОБОР 06.09.2026 вечер-3. Только APPEND.
   Новости: .items не должен быть 4-колоночной сеткой — внутри один .row.
   Горизонтальный скролл слайдеров — clip на новых страницах.
   Существующие правила выше не изменялись.
   ===================================================================== */

#page-news .item-views.news2 > .items,
#page-blog .item-views.news2 > .items,
#page-blog .item-views > .items {
	display: block;
	width: 100%;
	grid-template-columns: none;
}

#page-news .item-views.news2 .items > .row,
#page-blog .item-views.news2 .items > .row {
	width: 100%;
	max-width: 100%;
}

#page-reviews .item-views.reviews .appear-block {
	width: 100%;
}

#page-clients .item-views.partners .row.sid.items,
#page-clients .item-views.partners .row.items {
	width: 100%;
}

body:is(#page-catalog,.vvmd-is-page-catalog),
body:is(#page-news,.vvmd-is-page-news),
body:is(#page-blog,.vvmd-is-page-blog),
body:is(#page-reviews,.vvmd-is-page-reviews),
body:is(#page-contacts,.vvmd-is-page-contacts),
body:is(#page-payment,.vvmd-is-page-payment) {
	overflow-x: hidden;
}

/* =====================================================================
   ДОБОР 06.09.2026 вечер-4. Только APPEND.
   Отзывы: после appear Aspro снимает .appear-block, сетка на .loading_state.
   Существующие правила выше не изменялись.
   ===================================================================== */

#page-reviews .item-views.reviews .loading_state {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
}

@media (max-width: 1024px) {
	#page-reviews .item-views.reviews .loading_state {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 743px) {
	#page-reviews .item-views.reviews .loading_state {
		grid-template-columns: 1fr;
	}
}


/* =====================================================================
   /catalog/ root — 11 секций Figma 6025:42650. Только APPEND.
   06.09.2026. Существующие правила выше не изменялись.
   Скоуп: #page-catalog.page-catalog--root и body:is(#page-catalog.page-catalog--root,.vvmd-is-page-catalog-root)
   ===================================================================== */

body:is(#page-catalog.page-catalog--root,.vvmd-is-page-catalog-root) {
	overflow-x: hidden;
}

body:is(#page-catalog.page-catalog--root,.vvmd-is-page-catalog-root) .topic {
	display: none;
}

body:is(#page-catalog.page-catalog--root,.vvmd-is-page-catalog-root) #pagetitle {
	display: none;
}

#page-catalog.page-catalog--root {
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow-x: hidden;
}

#page-catalog.page-catalog--root > .pg-cat-sec {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

#page-catalog.page-catalog--root .pg-cat-sec--partners {
	margin: 0 0 8px;
}

#page-catalog.page-catalog--root .pg-cat-sec--sections {
	margin: 0 0 32px;
}

#page-catalog.page-catalog--root .pg-cat-sec--sections .catalog_section_list.row {
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
}

#page-catalog.page-catalog--root .pg-cat-sec--viewed {
	margin: 0 0 32px;
}

#page-catalog.page-catalog--root .pg-cat-sec--cases,
#page-catalog.page-catalog--root .pg-cat-sec--about,
#page-catalog.page-catalog--root .pg-cat-sec--mosaic,
#page-catalog.page-catalog--root .pg-cat-sec--reviews,
#page-catalog.page-catalog--root .pg-cat-sec--business,
#page-catalog.page-catalog--root .pg-cat-sec--video,
#page-catalog.page-catalog--root .pg-cat-sec--seo {
	margin: 0;
}


/* =====================================================================
   /catalog/ root — блок 3 «Каталог изделий» Figma 6025:42650 / 6025:154027.
   Геометрия: 1920 pad 48/40/48/40, заголовок 1840×98, панель 1840×918
   r=30 pad=32 gap=32 fill rgba(255,255,255,.8).
   1440 — 7040:28984 (5 колонок). 744 — 7068:93742 (3). 375 — 6891:80668 (2).
   Только APPEND. Существующие правила выше не изменялись.
   ===================================================================== */

#page-catalog.page-catalog--root .main-catalog-wrapper {
	display: none;
}

#page-catalog.page-catalog--root .pg-cat-sec--sections {
	box-sizing: border-box;
	width: 100%;
	max-width: 1840px;
	margin: 0 auto 24px;
	padding: 48px 0;
}

#page-catalog.page-catalog--root .pg-cat-figma {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
}

#page-catalog.page-catalog--root .pg-cat-figma__title {
	box-sizing: border-box;
	margin: 0;
	min-height: 98px;
	font-family: var(--figma-font-display, inherit);
	font-weight: 400;
	font-size: 48px;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--figma-black, #111111);
}

#page-catalog.page-catalog--root .pg-cat-figma__panel {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
	padding: 32px;
	border-radius: 30px;
	background: rgba(255, 255, 255, 0.8);
}

#page-catalog.page-catalog--root .pg-cat-figma__tabs {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0;
	width: max-content;
	max-width: 100%;
	margin: 0;
	padding: 4px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	background: var(--figma-white-dark, #f3f3f3);
	border-radius: 24px;
}

#page-catalog.page-catalog--root .pg-cat-figma__tabs::-webkit-scrollbar {
	display: none;
}

#page-catalog.page-catalog--root .pg-cat-figma__tab {
	flex: 0 0 auto;
	margin: 0;
	padding: 10px 16px;
	border: 0;
	background: transparent;
	border-radius: 24px;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.25;
	white-space: nowrap;
	color: var(--figma-black, #111111);
	cursor: pointer;
}

#page-catalog.page-catalog--root .pg-cat-figma__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 24px 20px;
	width: 100%;
}

#page-catalog.page-catalog--root .pg-cat-figma__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	text-decoration: none;
	color: inherit;
}

#page-catalog.page-catalog--root .pg-cat-figma__photo {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	aspect-ratio: 1 / 1;
	padding: 24px 20px 40px;
	border-radius: 20px;
	background: var(--figma-white-dark, #f3f3f3);
	overflow: hidden;
}

#page-catalog.page-catalog--root .pg-cat-figma__photo img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

#page-catalog.page-catalog--root .pg-cat-figma__name {
	display: block;
	margin: 12px 0 0;
	font-size: 16px;
	line-height: 1.25;
	font-weight: 500;
	color: var(--figma-black, #111111);
}

#page-catalog.page-catalog--root .pg-cat-figma__count {
	display: block;
	margin: 4px 0 0;
	font-size: 14px;
	line-height: 1.25;
	color: var(--figma-grey-100, #858585);
}

@media (max-width: 1500px) {
	#page-catalog.page-catalog--root .pg-cat-sec--sections {
		padding: 40px 0;
	}

	#page-catalog.page-catalog--root .pg-cat-figma {
		gap: 24px;
	}

	#page-catalog.page-catalog--root .pg-cat-figma__title {
		min-height: 0;
		font-size: 40px;
	}

	#page-catalog.page-catalog--root .pg-cat-figma__panel {
		padding: 24px;
		border-radius: 28px;
		gap: 24px;
	}

	#page-catalog.page-catalog--root .pg-cat-figma__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 20px 16px;
	}
}

@media (max-width: 1023px) {
	#page-catalog.page-catalog--root .pg-cat-sec--sections {
		padding: 32px 0;
	}

	#page-catalog.page-catalog--root .pg-cat-figma {
		gap: 20px;
	}

	#page-catalog.page-catalog--root .pg-cat-figma__title {
		font-size: 32px;
	}

	#page-catalog.page-catalog--root .pg-cat-figma__panel {
		padding: 20px;
		border-radius: 24px;
		gap: 20px;
	}

	#page-catalog.page-catalog--root .pg-cat-figma__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px 12px;
	}

	#page-catalog.page-catalog--root .pg-cat-figma__photo {
		padding: 16px 12px 36px;
		border-radius: 16px;
	}

	#page-catalog.page-catalog--root .pg-cat-figma__name {
		font-size: 14px;
	}

	#page-catalog.page-catalog--root .pg-cat-figma__count {
		font-size: 12px;
	}
}

@media (max-width: 743px) {
	#page-catalog.page-catalog--root .pg-cat-sec--sections {
		padding: 24px 0;
		margin-bottom: 16px;
	}

	#page-catalog.page-catalog--root .pg-cat-figma {
		gap: 16px;
	}

	#page-catalog.page-catalog--root .pg-cat-figma__title {
		font-size: 24px;
		line-height: 1.2;
	}

	#page-catalog.page-catalog--root .pg-cat-figma__panel {
		padding: 12px;
		border-radius: 16px;
		gap: 16px;
	}

	#page-catalog.page-catalog--root .pg-cat-figma__tabs {
		margin-left: 0;
		margin-right: 0;
	}

	#page-catalog.page-catalog--root .pg-cat-figma__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 8px;
	}

	#page-catalog.page-catalog--root .pg-cat-figma__photo {
		padding: 10px 10px 32px;
		border-radius: 12px;
	}

	#page-catalog.page-catalog--root .pg-cat-figma__name {
		font-size: 13px;
		overflow-wrap: anywhere;
	}

	#page-catalog.page-catalog--root .pg-cat-figma__count {
		font-size: 12px;
	}
}


/* =====================================================================
   Новые страницы — overflow / секции по Figma.
   Только APPEND. Существующие правила выше не изменялись.
   06.09.2026.
   ===================================================================== */

#page-catalog.page-catalog--section,
#page-catalog.page-catalog--product,
#page-contacts,
#page-payment,
#page-clients,
#page-news,
#page-blog,
#page-reviews {
	min-width: 0;
	overflow-x: clip;
}

#page-catalog.page-catalog--section .pg-cat-sec--hero,
#page-catalog.page-catalog--section .pg-cat-sec--partners,
#page-payment #front-top-banners-custom,
#page-payment #front-brands-custom,
#page-clients #front-top-banners-custom,
#page-clients #front-brands-custom,
#page-news #front-top-banners-custom,
#page-blog #front-top-banners-custom,
#page-reviews #front-top-banners-custom {
	margin: 0 0 24px;
	max-width: 100%;
}

@media (max-width: 743px) {
	#page-catalog.page-catalog--section .pg-cat-sec--hero,
	#page-catalog.page-catalog--section .pg-cat-sec--partners,
	#page-payment #front-top-banners-custom,
	#page-clients #front-top-banners-custom,
	#page-news #front-top-banners-custom,
	#page-blog #front-top-banners-custom,
	#page-reviews #front-top-banners-custom {
		margin-bottom: 16px;
	}

	#page-payment .pg-pay-delivery__grid {
		grid-template-columns: 1fr;
	}

	#page-contacts,
	#page-payment,
	#page-clients,
	#page-news,
	#page-blog,
	#page-reviews,
	#page-catalog.page-catalog--section,
	#page-catalog.page-catalog--product {
		overflow-x: clip;
	}
}


/* =====================================================================
   Страницы после /catalog/: категория, товар, клиенты, новости, отзывы.
   Только APPEND. Существующие правила выше не изменялись.
   06.09.2026. Источник — кэш Figma (не 6025:154027).
   ===================================================================== */

#page-news .item-views .items,
#page-blog .item-views .items {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
	max-width: 100%;
}

#page-news .item-views .item-wrapper,
#page-blog .item-views .item-wrapper {
	width: auto;
	max-width: none;
	float: none;
	padding: 0;
	margin: 0;
	flex: none;
}

#page-news .item-views .item,
#page-blog .item-views .item {
	height: 100%;
	max-width: 100%;
}

#page-news .item-views img,
#page-blog .item-views img,
#page-reviews .item-views img,
#page-clients .item-views img {
	max-width: 100%;
	height: auto;
}

#page-reviews .item-views .items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
	max-width: 100%;
}

#page-reviews .item-views .item-wrapper {
	width: auto;
	max-width: none;
	float: none;
	padding: 0;
	margin: 0;
	flex: none;
}

#page-catalog.page-catalog--section #front-form-two,
#page-catalog.page-catalog--product #front-form-two,
#page-payment #front-form-two,
#page-clients #front-form-two,
#page-reviews #front-form-two,
#page-catalog.page-catalog--product .catalog_in_page,
#page-catalog.page-catalog--product .tabs_slider,
#page-clients #front-cases-custom,
#page-clients #form-and-video,
#page-clients #front-showrooms-custom,
#page-clients #front-options-custom,
#page-clients #front-reviews-custom,
#page-clients #front-company-custom,
#page-clients #front-seo-custom {
	max-width: 100%;
	min-width: 0;
	overflow-x: clip;
}

@media (max-width: 1500px) {
	#page-news .item-views .items,
	#page-blog .item-views .items {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 1279px) {
	#page-news .item-views .items,
	#page-blog .item-views .items {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	#page-reviews .item-views .items {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1023px) {
	#page-news .item-views .items,
	#page-blog .item-views .items,
	#page-reviews .item-views .items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 743px) {
	#page-news .item-views .items,
	#page-blog .item-views .items,
	#page-reviews .item-views .items {
		grid-template-columns: 1fr;
	}

	#page-catalog.page-catalog--section #front-form-two,
	#page-payment #front-form-two,
	#page-clients #front-form-two,
	#page-reviews #front-form-two {
		overflow-x: clip;
	}
}


/* =====================================================================
   Дожим сеток новостей/блога и overflow карты контактов.
   Только APPEND. 06.09.2026.
   ===================================================================== */

#page-news .item-views.news2 > .items,
#page-blog .item-views.news2 > .items,
#page-blog .item-views > .items {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
	max-width: 100%;
}

#page-news .item-views.news2 .item-wrapper,
#page-blog .item-views.news2 .item-wrapper,
#page-blog .item-views .item-wrapper {
	width: auto;
	max-width: none;
	float: none;
	padding: 0;
	margin: 0;
}

#page-contacts .co-contact-hero,
#page-contacts .co-contact-hero__map,
#page-contacts .co-contact-hero__iframe {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

#page-contacts .co-contact-hero__iframe {
	display: block;
}

#page-contacts,
#page-contacts .co-contact-hero__map {
	overflow-x: clip;
}

@media (max-width: 1500px) {
	#page-news .item-views.news2 > .items,
	#page-blog .item-views.news2 > .items,
	#page-blog .item-views > .items {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 1279px) {
	#page-news .item-views.news2 > .items,
	#page-blog .item-views.news2 > .items,
	#page-blog .item-views > .items {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1023px) {
	#page-news .item-views.news2 > .items,
	#page-blog .item-views.news2 > .items,
	#page-blog .item-views > .items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 743px) {
	#page-news .item-views.news2 > .items,
	#page-blog .item-views.news2 > .items,
	#page-blog .item-views > .items {
		grid-template-columns: 1fr;
	}
}

body:is(#page-contacts,.vvmd-is-page-contacts) .wrapper_inner,
body:is(#page-contacts,.vvmd-is-page-contacts) .container_inner,
body:is(#page-contacts,.vvmd-is-page-contacts) .middle,
body:is(#page-contacts,.vvmd-is-page-contacts) .container {
	min-width: 0;
	max-width: 100%;
}

#page-contacts .co-contact-hero {
	overflow: hidden;
	width: calc(100% - 80px);
	max-width: var(--figma-container);
	margin-left: auto;
	margin-right: auto;
}

/* Контакты - ширина первого экрана по брейкпоинтам Figma.
   Важно: эти значения должны идти после базового правила выше,
   иначе поздний width: calc(100% - 80px) сужает планшет и мобильный. */
@media (max-width: 1279px) {
	#page-contacts .co-contact-hero {
		width: calc(100% - 64px);
	}
}

@media (max-width: 1023px) {
	#page-contacts .co-contact-hero {
		width: calc(100% - 40px);
	}
}

@media (max-width: 743px) {
	#page-contacts .co-contact-hero {
		width: calc(100% - 32px);
	}
}


/* =====================================================================
   Новые страницы: локальный CTA отзывов. Только APPEND. 06.09.2026.
   Не меняет существующие правила. Scoped на #page-reviews.
   ===================================================================== */

#page-reviews .pg-reviews-cta {
	width: 100%;
	max-width: 100%;
	margin: 48px 0 0;
	padding: 72px 40px;
	border-radius: 24px;
	background: var(--figma-black-warm, #2e2e29);
	color: #fff;
	text-align: center;
	box-sizing: border-box;
}

#page-reviews .pg-reviews-cta__inner {
	max-width: 720px;
	margin: 0 auto;
}

#page-reviews .pg-reviews-cta__title {
	margin: 0 0 12px;
	font-family: var(--figma-font, inherit);
	font-weight: 500;
	font-size: 40px;
	line-height: 1.2;
	color: #fff;
}

#page-reviews .pg-reviews-cta__text {
	margin: 0 0 28px;
	font-size: 18px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.78);
}

#page-reviews .pg-reviews-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 12px 28px;
	border: 0;
	border-radius: 12px;
	background: var(--figma-gold, #dfb77a);
	color: var(--figma-black-dark, #1a1b1d);
	cursor: pointer;
}

@media (max-width: 743px) {
	#page-reviews .pg-reviews-cta {
		margin-top: 32px;
		padding: 40px 20px;
		border-radius: 16px;
	}

	#page-reviews .pg-reviews-cta__title {
		font-size: 28px;
	}

	#page-reviews .pg-reviews-cta__text {
		font-size: 16px;
	}
}

#page-news .item-views .items > .row,
#page-blog .item-views .items > .row {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

@media (max-width: 1279px) {
	#page-news .item-views .items > .row,
	#page-blog .item-views .items > .row {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1023px) {
	#page-news .item-views .items > .row,
	#page-blog .item-views .items > .row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 743px) {
	#page-news .item-views .items > .row,
	#page-blog .item-views .items > .row {
		grid-template-columns: 1fr;
	}
}

#page-news .item-views.news2 > .items > .row > .item-wrapper,
#page-blog .item-views.news2 > .items > .row > .item-wrapper {
	width: 100%;
	max-width: 100%;
	flex: 0 0 auto;
	float: none;
	padding-left: 0;
	padding-right: 0;
}

#page-news .item-views.news2 > .items > .row.flexbox,
#page-blog .item-views.news2 > .items > .row.flexbox {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	width: 100% !important;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	flex-wrap: unset;
}

#page-news #form-and-video,
#page-blog #form-and-video {
	width: 100%;
	max-width: 100%;
	overflow-x: clip;
}

#page-reviews .item-views.reviews .appear-block {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
	max-width: 100%;
}

#page-payment .brands .title_block,
#page-payment .item-views.brands > .top_block {
	margin-bottom: 12px;
}

@media (max-width: 1279px) {
	#page-news .item-views.news2 > .items > .row.flexbox,
	#page-blog .item-views.news2 > .items > .row.flexbox {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	#page-reviews .item-views.reviews .appear-block {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1023px) {
	#page-news .item-views.news2 > .items > .row.flexbox,
	#page-blog .item-views.news2 > .items > .row.flexbox,
	#page-reviews .item-views.reviews .appear-block {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 743px) {
	#page-news .item-views.news2 > .items > .row.flexbox,
	#page-blog .item-views.news2 > .items > .row.flexbox,
	#page-reviews .item-views.reviews .appear-block {
		grid-template-columns: 1fr;
	}
}


/* =====================================================================
   /catalog/ root — pass 2. Figma 6025:42650 / 6891:80668.
   Viewed cards, catalog tile polish, partners height, overflow.
   Только APPEND. Scoped на #page-catalog.page-catalog--root.
   ===================================================================== */

body:is(#page-catalog.page-catalog--root,.vvmd-is-page-catalog-root) {
	overflow-x: clip;
}

#page-catalog.page-catalog--root .pg-cat-sec--partners {
	box-sizing: border-box;
	min-height: 222px;
	display: flex;
	align-items: center;
	padding: 40px 0;
	margin: 0;
}

#page-catalog.page-catalog--root .pg-cat-figma__photo {
	background: #ffffff;
	border-radius: 20px;
}

#page-catalog.page-catalog--root .pg-cat-sec--viewed {
	box-sizing: border-box;
	width: 100%;
	max-width: 1840px;
	margin: 0 auto 24px;
	padding: 48px 0 32px;
}

#page-catalog.page-catalog--root .pg-cat-viewed {
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
	min-width: 0;
}

#page-catalog.page-catalog--root .pg-cat-viewed__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	min-height: 70px;
}

#page-catalog.page-catalog--root .pg-cat-viewed__title {
	margin: 0;
	font-family: var(--figma-font-display, inherit);
	font-weight: 400;
	font-size: 48px;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--figma-black, #111111);
}

#page-catalog.page-catalog--root .pg-cat-viewed__nav {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
}

#page-catalog.page-catalog--root .pg-cat-viewed__pager {
	font-size: 14px;
	line-height: 1.2;
	color: #858585;
	white-space: nowrap;
}

#page-catalog.page-catalog--root .pg-cat-viewed__arrow {
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f3f3f3;
	cursor: pointer;
	position: relative;
}

#page-catalog.page-catalog--root .pg-cat-viewed__row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
	min-height: 523px;
}

#page-catalog.page-catalog--root .pg-cat-viewed__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	text-decoration: none;
	color: inherit;
}

#page-catalog.page-catalog--root .pg-cat-viewed__photo {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	aspect-ratio: 1 / 1;
	padding: 24px;
	border-radius: 20px;
	background: #ffffff;
	overflow: hidden;
}

#page-catalog.page-catalog--root .pg-cat-viewed__photo img {
	display: block;
	width: auto;
	height: auto;
	max-width: 86%;
	max-height: 86%;
	object-fit: contain;
}

#page-catalog.page-catalog--root .pg-cat-viewed__sample {
	position: absolute;
	top: 16px;
	left: 16px;
	font-size: 12px;
	line-height: 1.2;
	color: #858585;
}

#page-catalog.page-catalog--root .pg-cat-viewed__badge {
	display: inline-block;
	margin: 12px 0 0;
	padding: 4px 10px;
	border-radius: 999px;
	background: #ececec;
	font-size: 12px;
	line-height: 1.2;
	color: #6b6b6b;
	white-space: nowrap;
}

#page-catalog.page-catalog--root .pg-cat-viewed__name {
	display: block;
	margin: 8px 0 0;
	font-size: 16px;
	line-height: 1.25;
	font-weight: 500;
	color: var(--figma-black, #111111);
}

#page-catalog.page-catalog--root .pg-cat-viewed__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 8px;
}

#page-catalog.page-catalog--root .pg-cat-viewed__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d4d4d4;
}

@media (max-width: 1439px) {
	#page-catalog.page-catalog--root .pg-cat-sec--partners {
		min-height: 0;
		padding: 28px 0;
	}

	#page-catalog.page-catalog--root .pg-cat-viewed__title {
		font-size: 40px;
	}

	#page-catalog.page-catalog--root .pg-cat-viewed {
		gap: 24px;
	}

	#page-catalog.page-catalog--root .pg-cat-sec--viewed {
		padding: 32px 0 24px;
	}
}

@media (max-width: 1023px) {
	#page-catalog.page-catalog--root .pg-cat-viewed__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		min-height: 0;
		gap: 16px;
	}

	#page-catalog.page-catalog--root .pg-cat-viewed__title {
		font-size: 32px;
	}

	#page-catalog.page-catalog--root .pg-cat-viewed__head {
		min-height: 0;
	}
}

@media (max-width: 743px) {
	#page-catalog.page-catalog--root .pg-cat-sec--partners {
		padding: 20px 0;
		min-height: 0;
	}

	#page-catalog.page-catalog--root .pg-cat-sec--viewed {
		padding: 24px 0 16px;
		margin-bottom: 16px;
	}

	#page-catalog.page-catalog--root .pg-cat-viewed {
		gap: 16px;
	}

	#page-catalog.page-catalog--root .pg-cat-viewed__title {
		font-size: 24px;
		line-height: 1.2;
	}

	#page-catalog.page-catalog--root .pg-cat-viewed__nav {
		display: none;
	}

	#page-catalog.page-catalog--root .pg-cat-viewed__photo {
		padding: 16px;
		border-radius: 16px;
	}

	#page-catalog.page-catalog--root .pg-cat-viewed__name {
		font-size: 14px;
		overflow-wrap: anywhere;
	}
}

/* =====================================================================
   /catalog/ root — Figma API 2026-09-07 files?ids=6025:42650 / 6025:154027
   / 6034:61294 / 6891:80668. Title 64/500, viewed cards 445x401 photo,
   name 28/500. Mobile 375 title 24/500. 1440/744 nodes: 429, no guess.
   Только APPEND. Scoped #page-catalog.page-catalog--root.
   ===================================================================== */

#page-catalog.page-catalog--root .pg-cat-figma__title {
	font-size: 64px;
	font-weight: 500;
	line-height: 70.4px;
	letter-spacing: -0.2px;
}

#page-catalog.page-catalog--root .pg-cat-viewed__title {
	font-size: 64px;
	font-weight: 500;
	line-height: 70.4px;
	letter-spacing: -0.2px;
}

#page-catalog.page-catalog--root .pg-cat-viewed__photo {
	aspect-ratio: 445 / 401;
}

#page-catalog.page-catalog--root .pg-cat-viewed__name {
	font-size: 28px;
	font-weight: 500;
	line-height: 30.8px;
}

@media (max-width: 743px) {
	#page-catalog.page-catalog--root .pg-cat-figma__title {
		font-size: 24px;
		font-weight: 500;
		line-height: 28.8px;
		letter-spacing: -0.2px;
	}

	#page-catalog.page-catalog--root .pg-cat-viewed__title {
		font-size: 24px;
		font-weight: 500;
		line-height: 28.8px;
		letter-spacing: -0.2px;
	}

	#page-catalog.page-catalog--root .pg-cat-viewed__name {
		font-size: 14px;
		font-weight: 400;
		line-height: 17.5px;
	}
}

/* =====================================================================
   /catalog/ root — final pass. Геометрия только из Figma API
   6025:42650 / 6025:154027 / 6034:61294 / 6891:80668.
   1440/744 не задаю: API 429. Карточки Catalog не выдумываю (kids=0).
   Только APPEND. Scoped #page-catalog.page-catalog--root.
   ===================================================================== */

html:is(#page-catalog.page-catalog--root,.vvmd-is-page-catalog-root),
body:is(#page-catalog.page-catalog--root,.vvmd-is-page-catalog-root),
body:is(#page-catalog.page-catalog--root,.vvmd-is-page-catalog-root) .wrapper,
body:is(#page-catalog.page-catalog--root,.vvmd-is-page-catalog-root) #content,
body:is(#page-catalog.page-catalog--root,.vvmd-is-page-catalog-root) main {
	overflow-x: clip;
}

#page-catalog.page-catalog--root {
	gap: 24px;
}

#page-catalog.page-catalog--root .pg-cat-sec--partners {
	min-height: 222px;
}

#page-catalog.page-catalog--root .pg-cat-figma__panel {
	max-width: 1840px;
}

#page-catalog.page-catalog--root .pg-cat-figma__grid {
	gap: 20px;
	max-width: 1776px;
}

#page-catalog.page-catalog--root .pg-cat-figma__card {
	min-height: 372px;
}

#page-catalog.page-catalog--root .pg-cat-sec--viewed {
	box-sizing: border-box;
}

#page-catalog.page-catalog--root .pg-cat-viewed__row {
	gap: 20px;
	min-height: 523px;
}

#page-catalog.page-catalog--root .pg-cat-viewed__card {
	height: 523px;
}

#page-catalog.page-catalog--root .pg-cat-viewed__name {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	max-height: 62px;
}

@media (max-width: 743px) {
	#page-catalog.page-catalog--root {
		gap: 32px;
	}

	#page-catalog.page-catalog--root .pg-cat-figma__grid {
		max-width: 100%;
	}

	#page-catalog.page-catalog--root .pg-cat-viewed__card {
		height: auto;
	}
}
/* =====================================================================
   /catalog/monety_i_medali_monetnogo_tipa/ — Figma 6025:139645
   Только APPEND. Scoped:
   #page-catalog.page-catalog--section.page-catalog--figma-cat
   Не трогает корневой каталог и глобальные селекторы.
   1440/1280/1024/744/375: API 429, размеры не выдуманы.
   ===================================================================== */

body:is(#page-catalog.page-catalog--figma-cat,.vvmd-is-page-catalog-section) #pagetitle {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

#page-catalog.page-catalog--section.page-catalog--figma-cat {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
	overflow-x: clip;
}

@media (min-width: 1280px) {

	#page-catalog.page-catalog--section.page-catalog--figma-cat .pg-cat-sec--hero > div,
	#page-catalog.page-catalog--section.page-catalog--figma-cat .pg-cat-sec--hero .top-banner-main-slider,
	#page-catalog.page-catalog--section.page-catalog--figma-cat .pg-cat-sec--hero .owl-stage-outer,
	#page-catalog.page-catalog--section.page-catalog--figma-cat .pg-cat-sec--hero .owl-stage,
	#page-catalog.page-catalog--section.page-catalog--figma-cat .pg-cat-sec--hero .owl-item,
	#page-catalog.page-catalog--section.page-catalog--figma-cat .pg-cat-sec--hero .item {
		height: 1116px;
		max-height: 1116px;
	}
}

#page-catalog.page-catalog--section.page-catalog--figma-cat .pg-sec-viewed__photo img {
	display: block;
	width: auto;
	height: auto;
	max-width: 86%;
	max-height: 86%;
	object-fit: contain;
}

@media (max-width: 1024px) {

	#page-catalog.page-catalog--section.page-catalog--figma-cat .pg-cat-sec--hero > div,
	#page-catalog.page-catalog--section.page-catalog--figma-cat .pg-cat-sec--hero .top-banner-main-slider,
	#page-catalog.page-catalog--section.page-catalog--figma-cat .pg-cat-sec--hero .owl-stage-outer,
	#page-catalog.page-catalog--section.page-catalog--figma-cat .pg-cat-sec--hero .owl-stage,
	#page-catalog.page-catalog--section.page-catalog--figma-cat .pg-cat-sec--hero .owl-item,
	#page-catalog.page-catalog--section.page-catalog--figma-cat .pg-cat-sec--hero .item {
		height: auto;
		max-height: none;
	}
}

@media (max-width: 743px) {
	#page-catalog.page-catalog--section.page-catalog--figma-cat {
		gap: 32px;
		overflow-x: clip;
	}
}

/* --- Цели компании: визуал как на /company/ --- */
#page-contacts .co-goal {
	min-height: 746px;
	padding: 48px 0;
	background: var(--figma-grey-super-light-2x, #f6f6f6);
}

#page-contacts .co-goal__inner {
	display: block;
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

#page-contacts .co-goal__panel {
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: 100%;
	max-width: 1840px;
	margin: 0 auto;
	padding: 0;
	background: transparent;
	box-sizing: border-box;
}

#page-contacts .co-goal__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

#page-contacts .co-goal__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	padding: 8px 14px;
	border: 1px solid rgba(46, 46, 41, 0.12);
	border-radius: 999px;
	background: #fff;
}

#page-contacts .co-goal__chip-icon {
	display: block;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}

#page-contacts .co-goal__title {
	max-width: 980px;
	margin: 0 auto;
	text-align: center;
}

#page-contacts .co-goal__lead {
	max-width: 860px;
	margin: 0 auto;
	text-align: center;
	color: var(--figma-grey-100, #858585);
}

#page-contacts .co-goal__slider {
	position: relative;
	width: 100%;
	padding-top: 48px;
}

#page-contacts .co-goal__carousel {
	width: 100%;
}

#page-contacts .co-goal__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	width: 100%;
	height: 300px;
	min-height: 300px;
	padding: 20px;
	overflow: hidden;
	background: var(--figma-white-100, #fff);
	border-radius: 24px;
	box-sizing: border-box;
	box-shadow: none;
	border: 0;
}

#page-contacts .co-goal__badge {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	padding: 4px 10px 4px 4px;
	border-radius: 999px;
	background: #f0e4d4;
}

#page-contacts .co-goal__badge-mark {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	border-radius: 50%;
	background:none center / 180% no-repeat #c9a06a;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#page-contacts .co-goal__badge-mark:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/goal_coin_dostoinomu.webp");}

#page-contacts .co-goal__badge-text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 12px;
	line-height: 1.2;
	color: #6b5a45;
}

#page-contacts .co-goal__name,
#page-contacts .co-goal__text {
	position: relative;
	z-index: 2;
}

#page-contacts .co-goal__name {
	margin: 2px 0 0;
	font-size: 28px;
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0;
	color: var(--figma-black-100, #111);
}

#page-contacts .co-goal__text {
	margin: 0;
	max-width: 100%;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: 0;
	color: var(--figma-grey-100, #858585);
}

#page-contacts .co-goal__coin {
	position: absolute;
	right: -22%;
	bottom: -38%;
	z-index: 0;
	width: 125%;
	max-width: 300px;
	aspect-ratio: 1;
	pointer-events: none;
	background:none center / contain no-repeat;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#page-contacts .co-goal__coin:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/goal_coin_dostoinomu.webp");}

#page-contacts .co-goal__bottom {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

#page-contacts .pg-ct-sec--gallery #front-production-custom {
	max-width: 100%;
}

#page-contacts .pg-ct-sec--viewed {
	box-sizing: border-box;
	width: 100%;
	max-width: 1840px;
	margin: 0 auto;
	padding: 48px 0;
}

#page-contacts .pg-ct-viewed {
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
	min-width: 0;
}

#page-contacts .pg-ct-viewed__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	min-height: 70px;
}

#page-contacts .pg-ct-viewed__title {
	margin: 0;
	font-family: var(--figma-font-display, inherit);
	font-size: 48px;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--figma-black, #111);
}

#page-contacts .pg-ct-viewed__nav {
	display: flex;
	align-items: center;
	gap: 12px;
}

#page-contacts .pg-ct-viewed__pager {
	font-size: 14px;
	line-height: 1.2;
	color: #858585;
	white-space: nowrap;
}

#page-contacts .pg-ct-viewed__arrow {
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f3f3f3;
	cursor: pointer;
	position: relative;
}

#page-contacts .pg-ct-viewed__row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
	min-height: 523px;
}

#page-contacts .pg-ct-viewed__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	text-decoration: none;
	color: inherit;
}

#page-contacts .pg-ct-viewed__photo {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	aspect-ratio: 445 / 401;
	padding: 24px;
	border-radius: 20px;
	background: #fff;
	overflow: hidden;
}

#page-contacts .pg-ct-viewed__photo img {
	display: block;
	width: auto;
	height: auto;
	max-width: 86%;
	max-height: 86%;
	object-fit: contain;
}

#page-contacts .pg-ct-viewed__sample {
	position: absolute;
	top: 16px;
	left: 16px;
	font-size: 12px;
	line-height: 1.2;
	color: #858585;
}

#page-contacts .pg-ct-viewed__badge {
	display: inline-block;
	margin: 12px 0 0;
	font-size: 12px;
	line-height: 1.2;
	color: #858585;
}

#page-contacts .pg-ct-viewed__name {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	margin: 8px 0 0;
	max-height: 62px;
	font-size: 16px;
	line-height: 1.25;
	font-weight: 500;
	color: var(--figma-black, #111);
}

#page-contacts .pg-ct-viewed__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 8px;
}

#page-contacts .pg-ct-viewed__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d4d4d4;
}

#page-contacts .pg-ct-viewed__dot.is-active {
	width: 28px;
	border-radius: 999px;
	background: #2e2e29;
}

@media (max-width: 1024px) {
	#page-contacts .co-goal,
	#page-contacts .pg-ct-sec--founder,
	#page-contacts .pg-ct-sec--gallery,
	#page-contacts .pg-ct-sec--video,
	#page-contacts .pg-ct-sec--about,
	#page-contacts .pg-ct-sec--business,
	#page-contacts .pg-ct-sec--seo {
		min-height: 0;
	}

	#page-contacts .co-goal__item {
		height: 260px;
		min-height: 260px;
	}

	#page-contacts .pg-ct-viewed__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		min-height: 0;
		gap: 16px;
	}

	#page-contacts .pg-ct-viewed__title {
		font-size: 32px;
	}

	#page-contacts .pg-ct-viewed__head {
		min-height: 0;
	}
}

@media (max-width: 743px) {

	#page-contacts .co-goal__item {
		height: 220px;
		min-height: 220px;
	}

	#page-contacts .co-goal__name {
		font-size: 22px;
	}

	#page-contacts .pg-ct-viewed__title {
		font-size: 24px;
		line-height: 1.2;
	}

	#page-contacts .pg-ct-viewed__nav {
		display: none;
	}

	#page-contacts .pg-ct-viewed__name {
		font-size: 14px;
		font-weight: 400;
		overflow-wrap: anywhere;
	}
}

#page-clients .pg-cl-sec--main {
	position: relative;
	width: 100%;
	min-width: 0;
	overflow-x: clip;
}

#page-clients .pg-cl-sec--main #banner-custom {
	width: 100%;
	max-width: none;
	margin: 0;
}

/* Категории после Cover: Figma 1840×179, не absolute поверх пустого серого. */
#page-clients .pg-cl-cats {
	position: relative;
	left: auto;
	bottom: auto;
	z-index: 2;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 12px;
	box-sizing: border-box;
	width: min(1840px, calc(100% - 80px));
	height: 179px;
	max-height: 179px;
	margin: 40px auto 0;
	padding: 16px 20px;
	overflow-x: auto;
	overflow-y: hidden;
	transform: none;
	background: rgba(255, 255, 255, 0.92);
	border-radius: 20px;
}

#page-clients .pg-cl-cats__item {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 48px;
	padding: 12px 20px;
	border-radius: 999px;
	background: #f3f3f3;
	color: #111;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

#page-clients .pg-cl-cats__item:hover,
#page-clients .pg-cl-cats__item:focus-visible {
	background: #e8e8e8;
}

#page-clients .pg-cl-sec--list {
	box-sizing: border-box;
	width: 100%;
	min-height: 1650px;
	padding: 48px 40px;
}

#page-clients .pg-cl-list {
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
	max-width: 1840px;
	margin: 0 auto;
	min-width: 0;
}

#page-clients .pg-cl-list__head {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 70px;
}

#page-clients .pg-cl-list__title {
	margin: 0;
	font-family: var(--figma-font-display, inherit);
	font-size: 48px;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--figma-black, #111);
}

#page-clients .pg-cl-list__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
	min-width: 0;
	min-height: 1366px;
}

#page-clients .pg-cl-list__card {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 0;
	min-height: 326px;
	padding: 32px;
	border-radius: 20px;
	background: #fff;
	text-decoration: none;
	color: inherit;
}

#page-clients .pg-cl-list__card img {
	display: block;
	width: auto;
	height: auto;
	max-width: 80%;
	max-height: 160px;
	object-fit: contain;
}

#page-clients .pg-cl-list__name {
	font-size: 16px;
	line-height: 1.25;
	text-align: center;
	color: var(--figma-black, #111);
}

#page-clients .pg-cl-sec--cases {
	min-height: 1274px;
}

#page-clients .pg-cl-sec--video {
	min-height: 746px;
}

#page-clients .pg-cl-sec--reviews {
	min-height: 784px;
}

#page-clients .pg-cl-sec--about {
	min-height: 1224px;
}

#page-clients .pg-cl-sec--gallery {
	min-height: 804px;
}

#page-clients .pg-cl-sec--gallery #front-production-custom {
	max-width: 100%;
}

#page-clients .pg-cl-sec--quiz {
	min-height: 659px;
}

#page-clients .pg-cl-sec--business {
	min-height: 873px;
}

#page-clients .pg-cl-sec--seo {
	min-height: 305px;
}

#page-clients .pg-cl-sec--cases,
#page-clients .pg-cl-sec--video,
#page-clients .pg-cl-sec--reviews,
#page-clients .pg-cl-sec--about,
#page-clients .pg-cl-sec--gallery,
#page-clients .pg-cl-sec--quiz,
#page-clients .pg-cl-sec--business,
#page-clients .pg-cl-sec--seo {
	max-width: 100%;
	min-width: 0;
	overflow-x: clip;
}

#page-clients .pg-cl-sec--gallery #front-production-custom,
#page-clients #front-cases-custom,
#page-clients #form-and-video,
#page-clients #front-reviews-custom,
#page-clients #front-company-custom,
#page-clients #front-form-two,
#page-clients #front-options-custom,
#page-clients #front-seo-custom {
	max-width: 100%;
	min-width: 0;
	overflow-x: clip;
}

@media (max-width: 1599px) {
	#page-clients .pg-cl-list__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		min-height: 0;
	}
}

@media (max-width: 1279px) {
	#page-clients .pg-cl-list__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	#page-clients .pg-cl-list__title {
		font-size: 40px;
	}
}

@media (max-width: 1024px) {

	#page-clients .pg-cl-cats {
		width: calc(100% - 32px);
		height: auto;
		max-height: none;
		margin-top: 24px;
		bottom: auto;
	}

	#page-clients .pg-cl-sec--list,
	#page-clients .pg-cl-sec--cases,
	#page-clients .pg-cl-sec--video,
	#page-clients .pg-cl-sec--reviews,
	#page-clients .pg-cl-sec--about,
	#page-clients .pg-cl-sec--gallery,
	#page-clients .pg-cl-sec--quiz,
	#page-clients .pg-cl-sec--business,
	#page-clients .pg-cl-sec--seo {
		min-height: 0;
	}

	#page-clients .pg-cl-sec--list {
		padding: 32px 16px;
	}

	#page-clients .pg-cl-list__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		min-height: 0;
		gap: 16px;
	}

	#page-clients .pg-cl-list__card {
		min-height: 220px;
		padding: 20px;
	}

	#page-clients .pg-cl-list__title {
		font-size: 32px;
	}

	#page-clients .pg-cl-list__head {
		min-height: 0;
	}
}

@media (max-width: 743px) {

	#page-clients .pg-cl-cats {
		padding: 12px;
		border-radius: 16px;
		margin-top: 16px;
	}

	#page-clients .pg-cl-cats__item {
		min-height: 40px;
		padding: 8px 14px;
		font-size: 14px;
	}

	#page-clients .pg-cl-list {
		gap: 20px;
	}

	#page-clients .pg-cl-list__title {
		font-size: 24px;
		line-height: 1.2;
	}

	#page-clients .pg-cl-list__card {
		min-height: 160px;
		padding: 16px;
		border-radius: 16px;
	}

	#page-clients .pg-cl-list__card img {
		max-height: 88px;
	}

	#page-clients .pg-cl-list__name {
		font-size: 14px;
		overflow-wrap: anywhere;
	}
}
/* =====================================================================
   /info/payment/ — Figma 6030:136313 (cache; live API 429)
   Только APPEND. Scoped #page-payment / body:is(#page-payment.page-payment--figma,.vvmd-is-page-payment-figma).
   Hero = #banner-custom (1_screen GRAD #fdd896→#79421c), не серый Cover.
   Partners = brands_slider («Нам доверяют…»), как /catalog/.
   Крошки: relative над Hero (как catalog), не absolute поверх чипов.
   FOREIGN IB26-категории удалены из PHP (не маскируем display:none).
   gallery = production, не showrooms.
   ===================================================================== */

/* Как /catalog/: крошки в потоке над Hero (не absolute поверх чипов баннера). */
body:is(#page-payment.page-payment--figma,.vvmd-is-page-payment-figma) #content {
	display: block;
	max-width: none;
	width: 100%;
	margin: 0;
	padding: var(--header-clearance, 106px) 0 0;
}

body:is(#page-payment.page-payment--figma,.vvmd-is-page-payment-figma) .wrapper_inner,
body:is(#page-payment.page-payment--figma,.vvmd-is-page-payment-figma) .container_inner,
body:is(#page-payment.page-payment--figma,.vvmd-is-page-payment-figma) .right_block,
body:is(#page-payment.page-payment--figma,.vvmd-is-page-payment-figma) .middle,
body:is(#page-payment.page-payment--figma,.vvmd-is-page-payment-figma) .container,
body:is(#page-payment.page-payment--figma,.vvmd-is-page-payment-figma) #content .maxwidth-theme,
body:is(#page-payment.page-payment--figma,.vvmd-is-page-payment-figma) .wrapper_inner .maxwidth-theme {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body:is(#page-payment.page-payment--figma,.vvmd-is-page-payment-figma) #navigation {
	position: relative;
	left: auto;
	right: auto;
	top: auto;
	z-index: auto;
	grid-row: auto;
	box-sizing: border-box;
	width: auto;
	max-width: 1840px;
	margin: 0 40px 12px;
	padding: 0;
	pointer-events: auto;
}

body:is(#page-payment.page-payment--figma,.vvmd-is-page-payment-figma) .topic,
body:is(#page-payment.page-payment--figma,.vvmd-is-page-payment-figma) #pagetitle {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

#page-payment.page-payment--figma {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
	overflow-x: clip;
	background: #f6f6f6;
}

/* Partners = brands_slider главной («Нам доверяют…»), без пустой custom-ленты. */
#page-payment .pg-pay-sec--partners {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow-x: clip;
}

#page-payment .pg-pay-sec--delivery {
	box-sizing: border-box;
	width: 100%;
	min-height: 765px;
	padding: 48px 40px;
}

#page-payment.page-payment--figma .pg-pay-delivery__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	box-sizing: border-box;
	width: 100%;
	max-width: 1840px;
	margin: 0 auto 32px;
	min-height: 140px;
}

#page-payment.page-payment--figma .pg-pay-delivery__heading {
	margin: 0;
	font-family: var(--figma-font-display, "Inter Tight", sans-serif);
	font-size: 48px;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--figma-black, #111);
}

#page-payment .pg-pay-sec--about,
#page-payment .pg-pay-sec--video,
#page-payment .pg-pay-sec--gallery,
#page-payment .pg-pay-sec--quiz,
#page-payment .pg-pay-sec--reviews,
#page-payment .pg-pay-sec--business,
#page-payment .pg-pay-sec--seo {
	max-width: 100%;
	min-width: 0;
	overflow-x: clip;
}

@media (max-width: 1279px) {

	#page-payment.page-payment--figma .pg-pay-delivery__heading {
		font-size: 40px;
	}
}

@media (max-width: 1024px) {
	body:is(#page-payment.page-payment--figma,.vvmd-is-page-payment-figma) #content {
		padding-top: var(--header-clearance, 88px);
	}

	body:is(#page-payment.page-payment--figma,.vvmd-is-page-payment-figma) #navigation {
		margin: 0 16px 8px;
	}

	#page-payment .pg-pay-sec--delivery {
		padding: 32px 16px;
	}

	#page-payment.page-payment--figma .pg-pay-delivery__heading {
		font-size: 32px;
	}
}

@media (max-width: 743px) {
	#page-payment.page-payment--figma {
		gap: 16px;
		overflow-x: clip;
	}

	#page-payment.page-payment--figma .pg-pay-delivery__heading {
		font-size: 24px;
		line-height: 1.2;
	}
}

body:is(#page-news.page-news--list,.vvmd-is-page-news-list) #content {
	display: block;
	max-width: none;
	width: 100%;
	margin: 0;
	padding: var(--news-header-clearance) 0 0;
	position: relative;
}

body:is(#page-news.page-news--list,.vvmd-is-page-news-list) .wrapper_inner,
body:is(#page-news.page-news--list,.vvmd-is-page-news-list) .container_inner,
body:is(#page-news.page-news--list,.vvmd-is-page-news-list) .right_block,
body:is(#page-news.page-news--list,.vvmd-is-page-news-list) .middle,
body:is(#page-news.page-news--list,.vvmd-is-page-news-list) .container,
body:is(#page-news.page-news--list,.vvmd-is-page-news-list) #page-news .maxwidth-theme,
body:is(#page-news.page-news--list,.vvmd-is-page-news-list) .wrapper_inner .maxwidth-theme {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Крошки в обычном потоке под шапкой — Color=Grey.
   .page-top / .top-block-wrapper часто display:contents → padding на них
   не действует; горизонтальный pad задаём на #navigation. */
body:is(#page-news.page-news--list,.vvmd-is-page-news-list) #navigation {
    /* Интервалы: общий блок VVMD_PAGE_HEADINGS ниже. */
	position: static;
	left: auto;
	right: auto;
	top: auto;
	z-index: auto;
	grid-row: auto;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0 0 32px;
	padding: 0 40px;
	pointer-events: auto;
	line-height: 1.2;


}

/* SEO #pagetitle скрыт — визуальный H1 в .pg-news-list__heading. */
body:is(#page-news.page-news--list,.vvmd-is-page-news-list) .topic,
body:is(#page-news.page-news--list,.vvmd-is-page-news-list) #pagetitle {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

#page-news.page-news--list {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 0;
	overflow-x: clip;
	background: #f6f6f6;
}

@media (max-width: 1024px) {

	body:is(#page-news.page-news--list,.vvmd-is-page-news-list) #navigation {
		padding: 0 16px;
	}
}
/* =====================================================================
   /catalog/ — Figma 6025:42650 плашки категорий: серая окантовка.
   Только APPEND. Scoped #page-catalog.page-catalog--root.
   CATALOG_FIGMA_PHOTO_STROKE_20260907
   ===================================================================== */
#page-catalog.page-catalog--root .pg-cat-figma__photo {
	border: 1px solid var(--figma-white-dark, #eeeeee);
	box-shadow: none;
}

#page-reviews .front-reviews--page .pg-rev-page-head {
	margin: 0 0 28px;
    /* Интервалы: общий блок VVMD_PAGE_HEADINGS ниже. */
}

#page-reviews .front-reviews--page .pg-rev-page-title {
	margin: 12px 0 0;
    /* Интервалы: общий блок VVMD_PAGE_HEADINGS ниже. */
	font-family: var(--figma-font-display, "Inter Tight", sans-serif);
	font-weight: 500;
	font-size: var(--figma-fs-h1, 64px);
	line-height: 70px;
	letter-spacing: -0.2px;
	color: var(--figma-black-100, #111);
}

body:is(#page-reviews,.vvmd-is-page-reviews) #navigation,
body:is(#page-reviews,.vvmd-is-page-reviews) .breadcrumbs,
body:is(#page-reviews,.vvmd-is-page-reviews) .breadcrumbs .breadcrumbs__item-name {
	color: #8c8c8c !important;
}

#page-reviews > .add_review,
#page-reviews .add_review {
	display: none !important;
}

#page-reviews .content_wrapper_block.front_review,
#page-reviews .maxwidth-theme.only-on-front,
#page-reviews .item-views.reviews {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
}

/* Chip над сеткой — как на главной */
#page-reviews .front-reviews--page .pg-rev-page-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--figma-grey-super-light, #efefef);
	color: var(--figma-grey-100, #858585);
	font-size: 14px;
	line-height: 1.25;
}

#page-reviews .front-reviews--page .pg-rev-page-chip img {
	width: 16px;
	height: 16px;
	display: block;
}

/* Сетка 4 колонки — те же .item / классы, что на главной */
#page-reviews .front-reviews--page .pg-rev-grid.content {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	background: none;
	box-sizing: border-box;
}

#page-reviews .front-reviews--page .item {
	height: auto;
	min-height: 0;
	min-width: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 0;
	margin: 0;
	padding: 0 0 14px;
	background-color: var(--figma-white-100, #fff);
	border-radius: 24px;
	border: 0;
	box-shadow: none;
	box-sizing: border-box;
	overflow: hidden;
}

#page-reviews .front-reviews--page .review-wrap {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 14px 14px 0;
	flex: 1 1 auto;
}

#page-reviews .front-reviews--page .avatar-wrap {
	font-size: 14px;
	line-height: 1.25;
	display: flex;
	gap: 12px;
	align-items: center;
	flex-basis: auto;
	text-align: left;
}

#page-reviews .front-reviews--page .avatar-wrap img {
	width: 42px;
	height: 42px;
	margin: 0;
	border-radius: 21px;
	object-fit: cover;
	flex: 0 0 42px;
}

#page-reviews .front-reviews--page .author-wrap {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

#page-reviews .front-reviews--page .avatar-wrap .name {
	color: var(--figma-black-100, #111);
	font-weight: 500;
	word-break: normal;
	overflow-wrap: anywhere;
}

#page-reviews .front-reviews--page .review {
	font-size: 16px;
	line-height: 1.25;
	color: var(--figma-black-warm, #2e2e29);
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	text-align: left;
	word-break: normal;
	overflow-wrap: anywhere;
}

#page-reviews .front-reviews--page .show-toggle {
	font-size: 14px;
	letter-spacing: 0.01em;
	line-height: 1.25;
	color: var(--figma-black-light, #5c5c5c);
	text-transform: uppercase;
	text-decoration: underline;
	align-self: flex-start;
	cursor: pointer;
}

#page-reviews .front-reviews--page .chip-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

#page-reviews .front-reviews--page .chip-yellow {
	font-size: 16px;
	line-height: 1.25;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	color: var(--figma-yellow-100, #ebac00);
	background-color: var(--figma-yellow-light, #fff6d9);
	border-radius: 14px;
}

#page-reviews .front-reviews--page .chip-yellow img {
	width: 14px;
	height: 14px;
	display: block;
}

#page-reviews .front-reviews--page .chip-grey {
	font-size: 16px;
	line-height: 1.25;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	color: var(--figma-grey-100, #858585);
	background-color: var(--figma-grey-super-light, #f3f3f3);
	border-radius: 14px;
}

#page-reviews .front-reviews--page .image-wrap img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: center;
	border-radius: 16px;
}

#page-reviews .front-reviews--page .pg-rev-more-wrap .bx-pagination,
#page-reviews .front-reviews--page .pg-rev-more-wrap .modern-page-navigation,
#page-reviews .front-reviews--page .pg-rev-more-wrap a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	min-height: 52px;
	padding: 12px 28px;
	border: 1px solid var(--figma-black-100, #111);
	border-radius: 12px;
	background: transparent;
	color: var(--figma-black-100, #111) !important;
	text-decoration: none !important;
	font-size: 16px;
}

/* CTA */
#page-reviews .pg-reviews-cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	margin: 48px 0 0;
	padding: 80px 40px;
	border-radius: 24px;
	background-color: var(--figma-black-warm, #2e2e29);
	background-image: url("/bitrix/templates/aspro_max/images/custom/front_reviews_cover.webp");
	background-size: cover;
	background-position: center;
	text-align: center;
	box-sizing: border-box;
}

#page-reviews .pg-reviews-cta__inner {
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin: 0 auto;
}

#page-reviews .pg-reviews-cta__title {
	margin: 0 0 12px;
	font-family: var(--figma-font-display, "Inter Tight", sans-serif);
	font-weight: 500;
	font-size: 40px;
	line-height: 1.2;
	color: var(--figma-gold, #dfb77a);
}

#page-reviews .pg-reviews-cta__text {
	margin: 0 0 28px;
	font-size: 18px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.85);
}

#page-reviews .pg-reviews-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 12px 28px;
	border: 0;
	border-radius: 12px;
	background: var(--figma-gradient-1, linear-gradient(124deg, #79431c 0%, #fdd996 100%));
	color: var(--figma-black-dark, #1a1b1d);
	cursor: pointer;
}

@media (max-width: 1279px) {
	#page-reviews .front-reviews--page .pg-rev-page-title {
		font-size: var(--figma-fs-h1-alt, 52px);
		line-height: 57px;
		letter-spacing: -1.04px;
	}
}

@media (max-width: 1024px) {
	#page-reviews .front-reviews--page .pg-rev-page-title {
		font-size: 32px;
		line-height: 1.15;
	}

	#page-reviews .pg-reviews-cta {
		padding: 56px 24px;
	}

	#page-reviews .pg-reviews-cta__title {
		font-size: 32px;
	}
}

@media (max-width: 743px) {

	#page-reviews .pg-reviews-cta {
		margin-top: 32px;
		padding: 40px 20px;
		border-radius: 16px;
	}

	#page-reviews .pg-reviews-cta__title {
		font-size: 28px;
	}
}

#page-catalog.page-catalog--section.page-catalog--figma-cat .image_wrapper_block img,
#page-catalog.page-catalog--section.page-catalog--figma-cat .section-gallery-wrapper img,
#page-catalog.page-catalog--section.page-catalog--figma-cat .catalog_item_wrapp:hover .image_wrapper_block img {
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: 90% !important;
	max-height: 90% !important;
	margin: 0 auto;
	object-fit: contain !important;
	object-position: center;
	opacity: 1 !important;
	filter: none !important;
	-webkit-filter: none !important;
	transform: none !important;
	scale: 1 !important;
	image-rendering: auto;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	transition: none !important;
}

#page-clients .pg-cl-sec--main {
	display: none !important;
}
/* =====================================================================
   /catalog/.../ID/ — страница товара Figma 6157:50868.
   Только APPEND. Scoped #page-catalog.page-catalog--product.
   PRODUCT_PAGE_FIGMA_20260907
   Не трогает root/section/clients/contacts.
   ===================================================================== */

#page-catalog.page-catalog--product {
	display: flex;
	flex-direction: column;
	gap: 48px;
	min-width: 0;
	overflow-x: clip;
}

#page-catalog.page-catalog--product .ordered-block,
#page-catalog.page-catalog--product .detailtext,
#page-catalog.page-catalog--product .content,
#page-catalog.page-catalog--product .tabs_section {
	max-width: 1840px;
}

/* --- Упаковка --- */
#page-catalog.page-catalog--product .pg-prod-pack {
	box-sizing: border-box;
	width: 100%;
	max-width: 1840px;
	margin: 0 auto;
	padding: 40px;
	border-radius: 24px;
	background: var(--figma-grey-super-light-2x, #f6f6f6);
}

#page-catalog.page-catalog--product .pg-prod-pack__title {
	margin: 0 0 28px;
	font-family: var(--figma-font-display, inherit);
	font-size: 32px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--figma-black, #111);
}

#page-catalog.page-catalog--product .pg-prod-pack__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
}

#page-catalog.page-catalog--product .pg-prod-pack__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	padding: 16px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 0 0 1px #e8e8e8;
	text-decoration: none;
	color: inherit;
	box-sizing: border-box;
}

#page-catalog.page-catalog--product .pg-prod-pack__photo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 4 / 3;
	margin: 0 0 12px;
	overflow: hidden;
	background: #fff;
}

#page-catalog.page-catalog--product .pg-prod-pack__photo img {
	display: block;
	width: auto;
	height: auto;
	max-width: 88%;
	max-height: 88%;
	object-fit: contain;
	filter: none;
	opacity: 1;
}

#page-catalog.page-catalog--product .pg-prod-pack__name {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-size: 14px;
	line-height: 1.3;
	font-weight: 400;
	color: var(--figma-black, #111);
}

/* --- Ранее смотрели --- */
#page-catalog.page-catalog--product .pg-prod-viewed {
	box-sizing: border-box;
	width: 100%;
	max-width: 1840px;
	margin: 0 auto;
}

#page-catalog.page-catalog--product .pg-prod-viewed__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 28px;
}

#page-catalog.page-catalog--product .pg-prod-viewed__title {
	margin: 0;
	font-family: var(--figma-font-display, inherit);
	font-size: 40px;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--figma-black, #111);
}

#page-catalog.page-catalog--product .pg-prod-viewed__nav {
	display: flex;
	align-items: center;
	gap: 8px;
}

#page-catalog.page-catalog--product .pg-prod-viewed__arrow {
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f3f3f3;
	cursor: pointer;
	position: relative;
}

#page-catalog.page-catalog--product .pg-prod-viewed__row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

#page-catalog.page-catalog--product .pg-prod-viewed__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

#page-catalog.page-catalog--product .pg-prod-viewed__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	width: 100%;
	text-decoration: none;
	color: inherit;
}

#page-catalog.page-catalog--product .pg-prod-viewed__photo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 220px;
	height: 220px;
	max-width: 100%;
	border-radius: 50%;
	overflow: hidden;
	background: #f6f6f6;
	box-shadow: 0 0 0 1px #e8e8e8;
}

#page-catalog.page-catalog--product .pg-prod-viewed__name {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-align: center;
	font-size: 14px;
	line-height: 1.3;
	color: var(--figma-black, #111);
}

#page-catalog.page-catalog--product .pg-prod-viewed__order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 140px;
	padding: 12px 20px;
	border-radius: 8px;
	background: #a17143;
	color: #fff;
	font-size: 14px;
	line-height: 1;
	font-weight: 500;
	text-decoration: none;
}

@media (max-width: 743px) {
	#page-catalog.page-catalog--product {
		gap: 32px;
	}

	#page-catalog.page-catalog--product .pg-prod-pack__title {
		font-size: 24px;
	}

	#page-catalog.page-catalog--product .pg-prod-viewed__title {
		font-size: 28px;
	}
}

/* =====================================================================
   VVMD_BREADCRUMBS_FINAL_20260910
   Общий вид крошек + выравнивание новостей и реквизитов по шапке.
   Полный custom.css: заменяет файл, не добавляется к нему целиком.
   Внешние размеры и вертикальные отступы других блоков сохранены.
   ===================================================================== */
:root {
  --vvmd-crumb-color: #8c8c8c;
  --vvmd-crumb-size: 14px;
  --vvmd-crumb-space: 32px;
  --vvmd-crumb-page-edge: 40px;
}
@media (max-width: 767px) {
  :root { --vvmd-crumb-space: 12px; }
}
@media (max-width: 743px) {
  :root { --vvmd-crumb-page-edge: 20px; }
}
@media (max-width: 374px) {
  :root { --vvmd-crumb-page-edge: 16px; }
}

/* important в слое перекрывает прежние правила вне слоёв.
   display контейнеров других страниц не меняем: сохраняем скрытие дублей. */
@layer vvmd_breadcrumbs {
  :is(.breadcrumbs, .vvmd-breadcrumbs, .co-hero__crumbs, .co-contact-head__crumbs) {
    gap: 0 !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    color: var(--vvmd-crumb-color) !important;
    font-family: "Inter Tight", sans-serif !important;
    font-size: var(--vvmd-crumb-size) !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
  }
  :is(.breadcrumbs, .vvmd-breadcrumbs, .co-hero__crumbs, .co-contact-head__crumbs) :is(a, span) {
    color: var(--vvmd-crumb-color) !important;
    font-family: "Inter Tight", sans-serif !important;
    font-size: var(--vvmd-crumb-size) !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none !important;
  }
  .breadcrumbs .breadcrumbs__item {
    margin: 0 !important;
    padding: 0 !important;
  }
  :is(.breadcrumbs .breadcrumbs__separator, .vvmd-breadcrumbs .vvmd-breadcrumbs__sep, .co-hero__crumbs .co-hero__crumbs-sep, .co-contact-head__crumbs .co-contact-head__crumbs-sep) {
    display: inline-flex !important;
    position: static !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 4px !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    width: 4px !important;
    height: 4px !important;
    min-width: 4px !important;
    margin: 0 var(--vvmd-crumb-space) !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    border: 0 !important;
    background: transparent !important;
    opacity: 1 !important;
    transform: none !important;
  }
  :is(.breadcrumbs .breadcrumbs__separator, .vvmd-breadcrumbs .vvmd-breadcrumbs__sep, .co-hero__crumbs .co-hero__crumbs-sep, .co-contact-head__crumbs .co-contact-head__crumbs-sep)::before {
    content: "" !important;
    display: block !important;
    position: static !important;
    flex: 0 0 4px !important;
    width: 4px !important;
    height: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--vvmd-crumb-color) !important;
    box-shadow: none !important;
    transform: none !important;
  }
  :is(.breadcrumbs .breadcrumbs__separator, .vvmd-breadcrumbs .vvmd-breadcrumbs__sep, .co-hero__crumbs .co-hero__crumbs-sep, .co-contact-head__crumbs .co-contact-head__crumbs-sep)::after { content: none !important; }

  /* Существующие единственные строки на новостях и реквизитах. */
  body:is(#page-news.page-news--list,.vvmd-is-page-news-list) #navigation .breadcrumbs,
  body:is(#page-requisites,.vvmd-is-page-requisites) #navigation .breadcrumbs {
    display: flex !important;
  }

  /* Новости: контейнер без бокового отступа у родителя. */
  body:is(#page-news.page-news--list,.vvmd-is-page-news-list) #navigation {
    padding-inline: var(--vvmd-crumb-page-edge) !important;
    box-sizing: border-box !important;
  }

  /* Реквизиты: боковой отступ родителя уже учтён.
     Поправка действует до 1279px; широкий десктоп сохраняется. */
  @media (max-width: 1279px) {
    body:is(#page-requisites,.vvmd-is-page-requisites) #navigation {
      --vvmd-rq-parent-edge: 32px;
      padding-inline: max(0px, calc(var(--vvmd-crumb-page-edge) - var(--vvmd-rq-parent-edge))) !important;
      box-sizing: border-box !important;
    }
  }
  @media (max-width: 1023px) {
    body:is(#page-requisites,.vvmd-is-page-requisites) #navigation { --vvmd-rq-parent-edge: 20px; }
  }
  @media (max-width: 743px) {
    body:is(#page-requisites,.vvmd-is-page-requisites) #navigation { --vvmd-rq-parent-edge: 16px; }
  }

  /* Раскрывающийся пункт крошек. Список открывается только с 992px: при загрузке уже ширины
     main.js ставит html.mobile, и тема прячет список при наведении (.mobile .breadcrumbs__item:hover),
     а на телефоне выключает его совсем. Там треугольник не нужен.
     Место под треугольник — отступ пункта: общее правило выше его обнуляет, и треугольник
     Aspro (absolute, right:3px) ложился на текст. Тема прячет .svg у пункта
     breadcrumbs__item--visible-mobile (это стрелка «назад»), а с ней и треугольник. */
  @media (max-width: 991px) {
    .breadcrumbs .breadcrumbs__item--with-dropdown .breadcrumbs__arrow-down {
      display: none !important;
    }
  }
  @media (min-width: 992px) {
    .breadcrumbs .breadcrumbs__item.breadcrumbs__item--with-dropdown {
      padding-right: 11px !important;
    }
    .breadcrumbs .breadcrumbs__item--with-dropdown .breadcrumbs__arrow-down {
      top: 50% !important;
      right: 0 !important;
      width: 5px !important;
      height: 3px !important;
      margin: -1px 0 0 !important;
      font-size: 0 !important;
      line-height: 0 !important;
    }
    .breadcrumbs .breadcrumbs__item--with-dropdown .breadcrumbs__arrow-down .svg {
      display: block !important;
      position: static !important;
    }
  }

  /* Крошки стоят над заголовком: список должен раскрываться поверх него. В сетке каталога
     (#content — grid) z-index работает и у static-элементов, и .topic (5) перекрывал #navigation (4). */
  .page-top > #navigation {
    z-index: 6 !important;
  }
}
/* END VVMD_BREADCRUMBS_FINAL_20260910 */

/* =====================================================================
   VVMD_REVIEWS_LAYOUT_20260910 — только /company/reviews/.
   Исправлены ширина, плашка и положение крошек.
   Форма сохранена: точный макет формы пока недоступен из-за лимита Figma.
   ===================================================================== */
body:is(#page-reviews,.vvmd-is-page-reviews) #content {
  max-width: none !important;
  width: 100% !important;
  padding-inline: var(--vvmd-crumb-page-edge, 40px) !important;
  box-sizing: border-box !important;
}

/* Родитель уже задаёт отступы по шапке. */
body:is(#page-reviews,.vvmd-is-page-reviews) #navigation {
  padding-inline: 0 !important;
  box-sizing: border-box !important;
}

/* Figma 6905:52029: рамка, прозрачный фон, тёмный текст. */
#page-reviews .front-reviews--page .pg-rev-page-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  min-height: 36px;
  max-width: 100%;
  padding: 4px 12px !important;
  margin: 0 !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  border-radius: 50px !important;
  background: transparent !important;
  color: #424446 !important;
  font-family: "Inter Tight", sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.14px !important;
  box-sizing: border-box;
}

/* =====================================================================
   VVMD_PAGE_HEADINGS — единые заголовки страниц, 12.09.2026.
   Замена прежнего блока «Общая типографика заголовков».
   Размеры: как в clients_page.css и contacts_page.css.
   Уже подключены: список новостей, список отзывов, реквизиты.
   Для новых страниц: .vvmd-page-head и .vvmd-page-title.
   «О компании», главная, контакты и клиенты используют свои правила.
   ===================================================================== */
:root {
    --vvmd-page-title-font: "Inter Tight", sans-serif;
    --vvmd-page-title-size: 64px;
    --vvmd-page-title-leading: 1.1;
    --vvmd-page-title-weight: 500;
    --vvmd-page-title-tracking: -0.2px;
    --vvmd-page-title-color: #292b2e;
    --vvmd-page-crumb-gap: 16px;
    --vvmd-page-head-space: 32px;
}

@media (max-width: 1023px) {
    :root {
        --vvmd-page-title-size: 36px;
        --vvmd-page-title-tracking: 0;
        --vvmd-page-head-space: 24px;
    }
}

@media (max-width: 743px) {
    :root {
        --vvmd-page-title-size: 32px;
        --vvmd-page-title-tracking: -0.02em;
        --vvmd-page-crumb-gap: 12px;
    }
}

/* Типографика только главных заголовков; заголовки карточек не затронуты. */
.vvmd-page-title,
#page-news.page-news--list .pg-news-list__heading,
#page-reviews .front-reviews--page .pg-rev-page-title,
body:is(#page-requisites,.vvmd-is-page-requisites) #pagetitle,
body:is(#page-payment,.vvmd-is-page-payment) #pagetitle {
    margin-top: 0 !important;
    padding: 0 !important;
    font-family: var(--vvmd-page-title-font) !important;
    font-size: var(--vvmd-page-title-size) !important;
    font-weight: var(--vvmd-page-title-weight) !important;
    line-height: var(--vvmd-page-title-leading) !important;
    letter-spacing: var(--vvmd-page-title-tracking) !important;
    color: var(--vvmd-page-title-color) !important;
    text-transform: none !important;
}

/* Новый общий блок: крошки, затем H1. Боковые поля задаёт страница. */
.vvmd-page-head {
    display: flow-root;
    margin: 0 0 var(--vvmd-page-head-space);
    padding: 0;
}
.vvmd-page-head > :is(.breadcrumbs, .vvmd-breadcrumbs) {
    margin: 0 0 var(--vvmd-page-crumb-gap) !important;
    padding-block: 0 !important;
}

/* Временно скрываем кнопку, сохраняя её в шаблоне */
#front-seo-custom .figma-black-button {
    display: none !important;
}

/* Пока кнопка скрыта, показываем текст полностью */
#front-seo-custom .text {
    max-height: none !important;
    overflow: visible;
}


/* VVMD_MOBILEHEADER_HEIGHT_AUTO */
#mobileheader {
  height: auto;
}

#mobileheader .burger {
  display: flex;
  align-items: center;
  width: auto;
  height: auto;
}


/* VVMD_INNER_FONT_AND_MOBILE_GAP */
/* Шрифт внутренних страниц нового каркаса. Каталог с фильтром не входит. */
body:is(#company-about-page,.vvmd-is-page-about),
body:is(#page-news,.vvmd-is-page-news),
body:is(#page-contacts,.vvmd-is-page-contacts),
body:is(#page-blog,.vvmd-is-page-blog),
body:is(#page-vacancy,.vvmd-is-page-vacancy),
body:is(#page-payment,.vvmd-is-page-payment),
body:is(#page-reviews,.vvmd-is-page-reviews),
body:is(.faq-section,.vvmd-is-faq-section),
body:is(#company-about-page,.vvmd-is-page-about) :is(h1, h2, h3, h4, h5, h6, p, a, button, input, textarea, .header-custom),
body:is(#page-news,.vvmd-is-page-news) :is(h1, h2, h3, h4, h5, h6, p, a, button, input, textarea, .header-custom),
body:is(#page-contacts,.vvmd-is-page-contacts) :is(h1, h2, h3, h4, h5, h6, p, a, button, input, textarea, .header-custom),
body:is(#page-blog,.vvmd-is-page-blog) :is(h1, h2, h3, h4, h5, h6, p, a, button, input, textarea, .header-custom),
body:is(#page-vacancy,.vvmd-is-page-vacancy) :is(h1, h2, h3, h4, h5, h6, p, a, button, input, textarea, .header-custom),
body:is(#page-payment,.vvmd-is-page-payment) :is(h1, h2, h3, h4, h5, h6, p, a, button, input, textarea, .header-custom),
body:is(#page-reviews,.vvmd-is-page-reviews) :is(h1, h2, h3, h4, h5, h6, p, a, button, input, textarea, .header-custom),
body:is(.faq-section,.vvmd-is-faq-section) :is(h1, h2, h3, h4, h5, h6, p, a, button, input, textarea, .header-custom) {
  font-family: "Inter Tight", sans-serif;
}

/* Staging: .middle { gap: 32px } только на главной, чтобы не раздвигать каталог. */
@media (max-width: 743px) {

  /* Закрытая старая панель Aspro не занимает экран. Открытие меню ставит inline display. */
  #mobileheader .leftside:not(.show) {
    display: none;
  }
}

/* Отзывы на главной */

#front-reviews-custom .content {
  padding: 0;
  background: none;
}

#front-reviews-custom .item {
  height: 494px;
  min-width: 285px;
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--figma-white-100);
  border-radius: 24px;
}

#front-reviews-custom .cover {
  line-height: 1;
  flex-basis: fit-content;
  justify-content: flex-start;
  gap: 16px;
  padding: 30px;
  color: var(--figma-white-100);
  background:none no-repeat center / cover;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#front-reviews-custom .cover:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/front_reviews_cover.webp");}

#front-reviews-custom .cover .first-row {
  font-size: 64px;
}

#front-reviews-custom .cover .second-row {
  font-size: 43px;
}

#front-reviews-custom .cover .third-row {
  font-size: 34px;
}

#front-reviews-custom .cover span {
  font-size: 14px;
  display: flex;
}

#front-reviews-custom .review-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 14px 0;
}

#front-reviews-custom .avatar-wrap {
  font-size: 14px;
  line-height: 1.25;
  display: flex;
  gap: 12px;
  flex-basis: auto;
}

#front-reviews-custom .avatar-wrap img {
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 21px;
}

#front-reviews-custom .author-wrap {
  display: flex;
  flex-direction: column;
}

#front-reviews-custom .avatar-wrap .name {
  color: var(--figma-black-100);
}

#front-reviews-custom .avatar-wrap .post {
  color: var(--figma-grey-light);
}

#front-reviews-custom .review {
  font-size: 16px;
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

#front-reviews-custom .chip-wrap {
  display: flex;
  gap: 8px;
}

#front-reviews-custom .chip-yellow {
  font-size: 16px;
  line-height: 1.25;
  display: flex;
  gap: 4px;
  padding: 4px 10px;
  color: var(--figma-yellow-100);
  background-color: var(--figma-yellow-light);
  border-radius: 14px;
}

#front-reviews-custom .chip-grey {
  font-size: 16px;
  line-height: 1.25;
  display: flex;
  gap: 4px;
  padding: 4px 10px;
  color: var(--figma-grey-100);
  background-color: var(--figma-grey-super-light);
  border-radius: 14px;
}

#front-reviews-custom .show-toggle {
  font-size: 14px;
  letter-spacing: 1%;
  line-height: 1.25;
  color: var(--figma-black-light);
  text-transform: uppercase;
  text-decoration: underline;
}

#front-reviews-custom .image-wrap img {
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
}

#front-showrooms-custom .showrooms .showroom {
  min-width: 440px;
  height: 184px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background-color: var(--figma-white-100);
  border-radius: 16px;
  cursor: pointer;
}

#front-showrooms-custom .gallery img {
  height: 690px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1279px){
  #front-showrooms-custom .gallery img {
    height: 566px;
  }
}

@media (max-width: 1023px){

  /* Mobile/tablet: компактная, но не низкая галерея шоурума. */
  #front-showrooms-custom .gallery,
  #front-showrooms-custom .gallery .owl-stage-outer,
  #front-showrooms-custom .gallery .owl-stage,
  #front-showrooms-custom .gallery .owl-item,
  #front-showrooms-custom .gallery .image-wrap,
  #front-showrooms-custom .gallery img {
    height: 380px;
    min-height: 380px;
    max-height: 380px;
  }
}

/* VVMD PERF-95 T17-A: адрес из шаблона новости/наград. */
.co-hero-news__img:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *),.co-founder__medals:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:var(--vvmd-bg-image,none)}

/* VVMD PERF-95 T17-A: фон логотипа/соцсетей из шаблона подвала. */
#footer-custom .vvmd-footer-logo:where(.vvmd-bg-ready,html:not(.vvmd-media-js) *),#footer-custom .vvmd-footer-social:where(.vvmd-bg-ready,html:not(.vvmd-media-js) *){background-image:var(--vvmd-bg-image,none)}
/* Картинки описаний с размерами из файла (include/vvmd_lcp/content_images.php): пропорции по атрибутам. */
img[data-vvmd-ci]{max-width:100%;height:auto}
img[data-vvmd-ci="full"]{width:100%}

/* UI-UX-AUDIT-01: стрелки дизайна у баннера главной. Вид — общий .front-news-slider .slider-nav
   (круг 48 px, шеврон темы, до 1023 px скрыты — там листают свайпом). Кнопки создаёт Owl в navContainer. */
#banner-custom .slider-wrap .vvmd-banner-nav { position: absolute; right: 24px; bottom: 16px; z-index: 1001; flex-grow: 0; }

/* UI-UX-AUDIT-01: тема (media.css) держала body{min-width:320px} — на экранах уже 320 px (складные телефоны 280 px)
   вся страница прокручивалась вбок. Вёрстка нового дизайна резиновая; used-CSS critical-mobile-*.css исправлены так же. */
body { min-width: 0; }
/* Шапка тоже держала min-width: 288px — вместе с полями 16 px это 304 px, и телефон расширял страницу. */
.header-custom { min-width: 0; }
/* Плашки над заголовками секций не переносили текст (nowrap) — на 280 px «Собственные технологии чеканки» шире экрана. */
@media (max-width: 374px) {
  .front-news-slider .header .chip { white-space: normal; max-width: 100%; }
}
/* Уже 320 px длинные слова в заголовках и в карточках преимуществ шире своих блоков — русские переносы (lang="ru"). */
@media (max-width: 319px) {
  h1, h2, h3, h4, [class*="title"] { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
  /* Карточка преимуществ на 280 px — 160 px; если словаря переносов нет, слово рвётся в любом месте, но не выходит за карточку. */
  #front-company-custom .company-feature-card .company-feature-copy,
  #front-company-custom .company-feature-card .company-feature-copy > span { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
}
