/* Header styles synced with Figma node 1649:172 */

#page-lead-form,
#okna2-calc-lead-title {
  scroll-margin-top: 24px;
}

.newheader {
  background: #ffffff;
  height: 139px;
  font-family: "Montserrat", Arial, sans-serif;
  --nh-text: #1f2229;
  --nh-accent: #0f6997;
}

.newheader__container {
  width: 1170px;
  height: 139px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 159px 1fr;
  column-gap: 286px;
}

.newheader__logo {
  display: block;
  margin-top: 20px;
}

.newheader__logo img {
  display: block;
  width: 159px;
  height: 98px;
}

.newheader__burger {
  display: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}

.newheader__burger img {
  width: 26px;
  height: 26px;
  display: block;
}

.newheader-mobilemenu {
  display: none;
}

.newheader__right {
  width: 725px;
  min-width: 725px;
}

.newheader__top {
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
}

.newheader__address {
  width: 376px;
  color: var(--nh-text);
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
}

.newheader__contacts {
  margin-left: auto;
}

.newheader__phone {
  color: var(--nh-accent);
  text-decoration: none;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.newheader__worktime {
  margin-top: 7px;
  color: var(--nh-text);
  font-size: 13px;
  line-height: 1;
  font-weight: 400;
  text-align: right;
}

.newheader__socials {
  margin-left: 22px;
  margin-top: 3px;
  width: 61px;
  display: flex;
  justify-content: space-between;
}

.newheader__social {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.newheader__social img {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
}

.newheader__nav {
  margin-top: 21px;
  border-top: 1px solid rgba(31, 34, 41, 0.1);
  padding-top: 16px;
}

.newheader__menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.newheader__item {
  position: relative;
}

.newheader__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--nh-text);
  text-decoration: none;
  font-size: 15.8px;
  font-weight: 600;
  line-height: 1;
  transition: color 0.2s ease;
  text-transform: uppercase;
}

.newheader__link:hover {
  color: var(--nh-accent);
}

.newheader__arrow {
  width: 6px;
  height: 3px;
  margin-top: 1px;
  transition: transform 0.2s ease;
}

.newheader__item--dropdown.is-open .newheader__arrow {
  transform: rotate(180deg);
}

.newheader__submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 260px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 20;
}

.newheader__submenu li a {
  display: block;
  padding: 9px 14px;
  color: var(--nh-text);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.25;
}

.newheader__submenu li a:hover {
  background: #f2f8fe;
  color: var(--nh-accent);
}

.newheader__item--dropdown.is-open .newheader__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.newheader-spacer {
  display: block;
  height: 0;
  pointer-events: none;
}

.newheader.newheader--floating {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: auto;
  padding: 12px 0;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(31, 34, 41, 0.12);
  animation: newheader-float-in 0.28s ease;
}

@keyframes newheader-float-in {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.newheader.newheader--floating .newheader__container {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  column-gap: 28px;
}

.newheader.newheader--floating .newheader__logo {
  margin-top: 0;
  flex-shrink: 0;
}

.newheader.newheader--floating .newheader__logo img {
  width: 128px;
  height: auto;
}

.newheader.newheader--floating > .newheader__container > .newheader__right:not(:has(.newheader__nav)) {
  display: none;
}

.newheader.newheader--floating .newheader__top {
  display: none;
}

.newheader.newheader--floating .newheader__right {
  width: auto;
  min-width: 0;
  flex: 1 1 auto;
  display: block;
}

.newheader.newheader--floating .newheader__nav {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.newheader.newheader--floating .newheader__menu {
  justify-content: flex-end;
  gap: 46px;
}

html.newheader-floating-active #page-lead-form,
html.newheader-floating-active #okna2-calc-lead-title {
  scroll-margin-top: 104px;
}

@media (max-width: 1300px) {
  .newheader__container {
    width: calc(100% - 48px);
    min-width: 0;
    grid-template-columns: 159px 1fr;
    column-gap: 4vw;
  }

  .newheader__right {
    width: auto;
    min-width: 0;
  }

  .newheader__top {
    gap: 16px;
  }

  .newheader__address {
    width: auto;
    flex: 1 1 auto;
  }
}

@media (max-width: 980px) {
  .newheader {
    height: auto;
    padding: 12px 0;
  }

  .newheader.newheader--floating {
    padding: 10px 0;
  }

  .newheader.newheader--floating .newheader__logo img {
    width: 108px;
  }
  .newheader.newheader--floating .newheader__right {
    display: none;
  }
  .newheader.newheader--floating .newheader__right .newheader__nav {
    display: none;
  }

  .newheader.newheader--floating .newheader__burger {
    display: inline-flex;
  }
  

  .newheader__container {
    width: calc(100% - 32px);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .newheader__logo {
    margin: 0;
    width: 140px;
  }

  .newheader__logo img {
    width: 140px;
    height: auto;
  }

  .newheader__burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .newheader__right {
    display: none;
  }

  .newheader-mobilemenu {
    display: block;
  }
}

.service-block {
  background: #f4f5f7;
  padding: 80px 0 80px;
  font-family: "Montserrat", Arial, sans-serif;
}
.service-block.okna{
  background: #fff;
}

.service-block__inner {
  width: 1170px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
}

.service-block__label {
  margin: 0;
  position: relative;
  padding-left: 34px;
  color: #0F6997;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .65px;
}

.service-block__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 1px;
  background: #0F6997;
}

.service-block__title {
  margin: 29px 0 0;
  color: #000;
  font-size: 48px;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.service-block__grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px 21px;
}

.service-block__item {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #1b1e26;
  aspect-ratio: 374 / 265;
  cursor: pointer;
}

.service-block__item-link {
  display: none;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.service-block__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.65s ease;
}

.service-block__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 22px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(12, 17, 27, 0.08) 35%, rgba(8, 10, 15, 0.56) 100%);
}

.service-block__item-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease;
}

.service-block__item-text {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.25s ease;
}

.service-block__button {
  position: absolute;
  left: 50%;
  bottom: 52px;
  min-width: 190px;
  max-width: 224px;
  width: calc(100% - 44px);
  height: 45px;
  border-radius: 12px;
  background: linear-gradient(115deg, #5093A3 7.77%, #1F5D79 49.04%, #3C89A6 92.77%);
  color: #fff!important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  pointer-events: none;
  border: 1px solid rgba(41, 109, 137, 0.53);
  visibility: hidden;
}

.service-block__item:hover .service-block__button {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

.service-block__item:hover .service-block__item-title,
.service-block__item:hover .service-block__item-text {
  transform: translateY(-18px);
}

.service-block__item:hover img {
  transform: scale(1.1);
}

@media (max-width: 1199px) {
  .service-block {
    padding: 48px 0 70px;
  }

  .service-block__label {
    font-size: 23px;
    padding-left: 28px;
  }

  .service-block__label::before {
    width: 20px;
  }

  .service-block__title {
    font-size: 50px;
  }

  .service-block__grid {
    margin-top: 36px;
    gap: 14px;
  }

  .service-block__item-title {
    font-size: 30px;
  }

  .service-block__item-text {
    font-size: 23px;
  }

  .service-block__button {
    min-width: 160px;
    height: 44px;
    font-size: 22px;
    bottom: 14px;
  }
}

@media (max-width: 960px) {
  .service-block__title {
    font-size: 38px;
    line-height: 1.05;
  }

  .service-block__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-block__item-title {
    font-size: 26px;
  }

  .service-block__item-text {
    font-size: 19px;
  }
}

@media (max-width: 767px) {
  .service-block__item-link {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    background: transparent;
  }

  .service-block__item-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
  }

  .service-block__overlay {
    z-index: 1;
  }

  .service-block__button {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .service-block {
    padding: 38px 0 54px;
  }

  .service-block__inner {
    max-width: calc(100% - 20px);
  }

  .service-block__label {
    font-size: 18px;
    padding-left: 24px;
  }

  .service-block__label::before {
    width: 16px;
  }

  .service-block__title {
    margin-top: 12px;
    font-size: 31px;
    line-height: 1.1;
  }

  .service-block__grid {
    margin-top: 24px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-block__item {
    border-radius: 16px;
  }

  .service-block__overlay {
    padding: 14px 14px 12px;
  }

  .service-block__item-title {
    font-size: 22px;
  }

  .service-block__item-text {
    font-size: 16px;
  }

  .service-block__item:hover .service-block__item-title,
  .service-block__item:hover .service-block__item-text {
    transform: none;
  }
}

/* Блок «Специалисты» — свёрстано заново (.new_team-*) */
.new_team-section .new_team-uptitle,
#rec2083670031.new_team-section .new_team-uptitle {
  font-size: 12px;
  line-height: 0.8;
  font-family: var(--t-text-font, "Montserrat", Arial, sans-serif);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding-bottom: 8px;
}

.new_team-section .new_team-heading,
#rec2083670031.new_team-section .new_team-heading {
  font-family: var(--t-text-font, "Montserrat", Arial, sans-serif);
  margin: 0;
}

@media screen and (min-width: 900px) {
  .new_team-section .new_team-heading,
  #rec2083670031.new_team-section .new_team-heading {
    font-size: 58px;
    line-height: 1.05;
  }
}

.new_team-section .new_team-lead,
#rec2083670031.new_team-section .new_team-lead {
  font-size: 14px;
  padding-top: 8px;
  margin: 0;
}

.new_team-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 15px 0;
  box-sizing: border-box;
}

.new_team-grid {
  display: grid;
  grid-template-columns: repeat(3, 363px);
  column-gap: 41px;
  row-gap: 47px;
  justify-content: center;
}

.new_team-card {
  width: 363px;
  margin: 0;
  padding: 0;
  border: 1px solid #e1e4ea;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-sizing: border-box;
}

.new_team-card__media {
  width: 363px;
  height: 364px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.new_team-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.new_team-card__body {
  width: 363px;
  height: 120px;
  box-sizing: border-box;
  padding: 18px 20px 14px;
  border-radius: 0 0 20px 20px;
  background: #ffffff;
}

.new_team-card__name {
  font-family: var(--t-text-font, "Montserrat", Arial, sans-serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: #1f2229;
}

.new_team-card__role {
  margin-top: 6px;
  font-family: var(--t-text-font, "Montserrat", Arial, sans-serif);
  font-size: 12px;
  line-height: 1.35;
  color: #1797a6;
}

.new_team-card__text {
  margin: 6px 0 0;
  font-family: var(--t-text-font, "Montserrat", Arial, sans-serif);
  font-size: 11px;
  line-height: 1.45;
  color: #8a8f98;
}

@media screen and (max-width: 1279px) {
  .new_team-grid {
    grid-template-columns: repeat(2, minmax(0, 363px));
    column-gap: 32px;
    row-gap: 40px;
  }
}

@media screen and (max-width: 799px) {
  .new_team-grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
    margin-left: auto;
    margin-right: auto;
  }
  #rec990001 a.t-menusub__link-item{
    text-align: center;
  }

  .new_team-card,
  .new_team-card__media,
  .new_team-card__body {
    width: 100%;
    /* max-width: 363px; */
  }

  .new_team-card__media {
    height: auto;
    aspect-ratio: 363 / 364;
  }
}

/* Footer + lead block — Figma: frame #121318 1674:176, контент по сетке 1920 (отступ контента ~377 → inner 1170px + 2px) */
.newfooter {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  clear: both;
  min-height: 773px;
  background: #121318;
  font-family: "Montserrat", Arial, sans-serif;
  color: #ffffff;
}

.newfooter *,
.newfooter *::before,
.newfooter *::after {
  box-sizing: border-box;
}

.newfooter__inner {
  width: 1170px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  padding: 78px 2px 32px;
}

.newfooter__top {
  display: grid;
  grid-template-columns: 630px 541px;
  column-gap: 0;
  align-items: start;
}

.newfooter__left {
  padding-bottom: 41px;
}

.newfooter__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.newfooter__kicker-line {
  display: block;
  width: 24px;
  height: 1px;
  background: #0f6997;
  flex-shrink: 0;
}
.price-label {
  color: #000;
  font-size: 13px;
  font-weight: 400;
}

.price-value {
  color: #20698A;
  font-size: 17px;
  font-weight: 600;
}
.newfooter__kicker-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .65px;
  text-transform: uppercase;
  color: #0f6997;
}

.newfooter__title {
  margin: 16px 0 0;
  max-width: 560px;
  font-size: 48px;
  font-weight: 800;
  line-height: 55px;
  color: #ffffff;
}

.newfooter__lead {
  margin: 5px 0 0;
  max-width: 420px;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: .7px;
  color: #ffffff;
}

.newfooter__messengers {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 11px;
}

.newfooter__msg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
  width: 150px;
  height: 45px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.newfooter__msg:hover {
  opacity: 0.92;
}

.newfooter__msg--tg {
  background: #2676d6;
}

.newfooter__msg--max {
  background-image: linear-gradient(0.38turn, rgba(45, 157, 251, 1) 0%, rgba(139, 62, 220, 1) 100%);
}

.newfooter__msg-icon {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.newfooter__hint {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  color: #9a9a9a;
  padding-left: 59px;
}

.newfooter__divider {
  grid-column: 1 / -1;
  margin-top: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  width: 100%;
  max-width: 1170px;
}

.newfooter__right {
  padding-top: 0;
}

.newfooter__form {
  display: flex;
  flex-direction: column;
  width: 541px;
  max-width: 100%;
}

.newfooter__form .smtp-form-message,
.t-form .smtp-form-message {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.4;
}

.newfooter__form,
.t-form,
form[role="form"] {
  position: relative;
}

form.js-form-message-active {
  min-height: 100px;
}

.newfooter__form .js-form-message,
.t-form .js-form-message,
form[role="form"] > .js-form-message {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 12;
  width: min(calc(100% - 24px), 380px);
  margin: 0;
  padding: 12px 16px;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: #fff;
}

.t-quiz__quiz-wrapper,
.t-quiz__main {
  position: relative;
}

.site-forms-message-overlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.94);
  pointer-events: none;
}

.t-quiz.js-form-message-active .site-forms-message-overlay {
  display: flex;
}

.site-forms-message-overlay .js-form-message {
  position: static;
  left: auto;
  top: auto;
  transform: none;
  width: auto;
  max-width: min(100%, 360px);
  margin: 0;
  padding: 18px 22px;
  background: #ffffff;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  pointer-events: auto;
}

.js-form-message.is-success {
  color: #2e7d32;
}

.js-form-message.is-error {
  color: #c62828;
  pointer-events: auto;
}

.newfooter__field + .newfooter__field {
  margin-top: 22px;
}

.newfooter__label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #9a9a9a;
}

.newfooter__input {
  display: block;
  width: 100%;
  height: 51px;
  padding: 0 26px;
  border: 1px solid #636363;
  border-radius: 8px;
  background: transparent;
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  outline: none;
}

.newfooter__input-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 51px;
  padding: 0 14px 0 12px;
  border: 1px solid #636363;
  border-radius: 8px;
  background: transparent;
}

.newfooter__input-phone .newfooter__flag {
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  object-fit: cover;
}

.newfooter__input--inset {
  flex: 1;
  width: auto;
  min-width: 0;
  height: 100%;
  padding: 0 0 0 4px;
  border: none;
  border-radius: 0;
}

.newfooter__input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.newfooter__submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 38px;
}

.newfooter__submit {
  margin: 0;
  width: auto;
  flex: 0 1 240px;
  min-width: 180px;
  max-width: 100%;
  height: 50px;
  padding: 0 22px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background-image: linear-gradient(0.437turn, rgba(87, 155, 170, 1) 0%, rgba(52, 122, 154, 1) 46%, rgba(62, 141, 170, 1) 100%);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.newfooter__consent {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 220px;
  min-width: min(280px, 100%);
  margin-bottom: 20px;
}
.newfooter__submit-row{
  .newfooter__consent{
    margin-bottom: 0;
  }
}

.newfooter__checkbox {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border-radius: 4px;
  border: 1px solid #9a9a9a;
  background: transparent;
  accent-color: #579baa;
  cursor: pointer;
}

.newfooter__consent-label {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #9a9a9a;
  cursor: pointer;
  font-family: "Montserrat", Arial, sans-serif;
}

#allrecords .newfooter__consent-link {
  color: #9A9A9A;
}
.newfooter__consent-link {
  color: #9A9A9A;
}

.newfooter__consent-link:hover {
  text-decoration: underline;
}

/* Согласие на ПД в Tilda-квизе и в модалке «Хочу так же» — компактно, как подписи t-descr_xxs у полей */
#allrecords .t-quiz__contact-form__footer .newfooter__consent,
#allrecords .bo-modal__consent,
#allrecords #rec2162845891 .newfooter__consent {
  flex: 1 1 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: 6px;
  margin-bottom: 0;
  gap: 8px;
  align-items: flex-start;
}
#allrecords .bo-modal__consent{
  margin-bottom: 20px;
}

#allrecords .t-quiz__contact-form__footer .newfooter__checkbox,
#allrecords .bo-modal__consent .newfooter__checkbox,
#allrecords #rec2162845891 .newfooter__checkbox {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  border-radius: 4px;
  border: 1px solid #c8c8c8;
  background: #ffffff;
  accent-color: #2ea7d0;
}

#allrecords .t-quiz__contact-form__footer .newfooter__consent-label,
#allrecords .bo-modal__consent .newfooter__consent-label,
#allrecords #rec2162845891 .newfooter__consent-label {
  font-size: 11px;
  line-height: 1.35;
  font-weight: 400;
  color: #777777;
}

#allrecords .t-quiz__contact-form__footer .newfooter__consent-link,
#allrecords .bo-modal__consent .newfooter__consent-link,
#allrecords #rec2162845891 .newfooter__consent-link {
  color: #5a95a8;
  text-decoration: none;
}

#allrecords .t-quiz__contact-form__footer .newfooter__consent-link:hover,
#allrecords .bo-modal__consent .newfooter__consent-link:hover,
#allrecords #rec2162845891 .newfooter__consent-link:hover {
  color: #2ea7d0;
  text-decoration: underline;
}

#allrecords .newfooter__msg-text {
  color: #fff;
}

.newfooter__submit:hover {
  opacity: 0.95;
}

.newfooter__submit:disabled,
.bo-submit:disabled,
.bo-quiz-lead-btn:disabled,
.cc-btn-submit:disabled,
.t-btnflex_type_submit:disabled,
button.t-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

@media screen and (max-width: 520px) {
  .newfooter__submit {
    flex: 1 1 100%;
    max-width: none;
  }

  .newfooter__consent {
    flex: 1 1 100%;
    min-width: 0;
  }
}

.newfooter__bottom {
  display: flex;
  flex-direction: column;
  margin-top: 47px;
}

.newfooter__bottom-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 32px;
  align-items: start;
}

.newfooter__bottom-col {
  min-width: 0;
}

.newfooter__logolink {
  display: block;
  margin-left: 4px;
  width: 114px;
  line-height: 0;
}

.newfooter__logo {
  display: block;
  width: 114px;
  height: 70px;
  object-fit: contain;
}

.newfooter__bottom-label {
  margin: 20px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  color: #9a9a9a;
}

.newfooter__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.newfooter__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #1e2026;
  line-height: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.newfooter__social:hover {
  opacity: 0.92;
  background: #252830;
}

.newfooter__social img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.newfooter__email {
  display: inline-block;
  margin-top: 18px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  color: #ff8562;
  text-decoration: none;
}

.newfooter__email:hover {
  text-decoration: underline;
}

.newfooter__privacy {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 400;
  color: #008cff;
  text-decoration: none;
}

.newfooter__privacy:hover {
  text-decoration: underline;
}

.newfooter__bottom-heading {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: #a8a6a6;
}

.newfooter__bottom-col--addr .newfooter__bottom-heading {
  margin-bottom: 12px;
}

.newfooter__bottom-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.newfooter__bottom-list li + li {
  margin-top: 8px;
}

.newfooter__bottom-list a {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: #ffffff;
  text-decoration: none;
}

.newfooter__bottom-list a:hover {
  opacity: 0.85;
}

.newfooter__addr-text {
  margin: 0 0 22px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
}

.newfooter__contact-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.newfooter__contact-rows > li + li {
  margin-top: 14px;
}

.newfooter__contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.newfooter__contact-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #1e2026;
}

.newfooter__phone-big {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #28a8e2;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.newfooter__phone-big:hover {
  opacity: 0.9;
}

.newfooter__contact-muted {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  color: #9a9a9a;
}

.newfooter__requisites {
  max-width: 720px;
  margin-top: -70px;
}

.newfooter__requisites-title {
  font-size: 13px;
  font-weight: 400;
  line-height: 19px;
  color: #a8a6a6;
}

.newfooter__requisites-text {
  margin: 0;
  margin-top: 1px;
  font-size: 13px;
  font-weight: 400;
  line-height: 19px;
  color: #a8a6a6;
}

.newfooter__requisites-text p {
  margin: 0;
}

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

@media screen and (max-width: 1220px) {
  .newfooter__top {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .newfooter__bottom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }

  .newfooter__left {
    padding-bottom: 0;
  }

  .newfooter__divider {
    margin-top: 24px;
  }

  .newfooter__form {
    width: 100%;
  }

  .newfooter__right {
    padding-top: 0;
  }

  .newfooter__requisites {
    margin-top: 36px;
    max-width: none;
  }
}

@media screen and (max-width: 640px) {
  .newfooter__bottom-grid {
    grid-template-columns: 1fr;
  }
}
#allrecords ul.newfooter__bottom-list{
  padding-left: 0!important;
  color: #fff!important;
  li a{
    color: #fff!important;
  }
}
#allrecords a.newfooter__privacy {
  color: rgb(0, 140, 255);
}
#allrecords ul.newfooter__contact-rows{
  padding-left: 0;
}



.cookie-notification {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  box-sizing: border-box;
  background: #fff;
  border-radius: 6.4px;
  padding: 25.6px 32px 24px 35.2px;
  z-index: 1000;
  width: auto;
  max-width: 100%;
  height: auto;
  overflow-x: hidden;
  resize: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  display: none;
  align-items: center;
  box-shadow:
    0 0 .46875rem 0 rgba(0, 0, 0, 0.06),
    0 0 2.01875rem 0 rgba(0, 0, 0, 0.16);
}

.cookie-notification.visible {
  opacity: 1;
  pointer-events: auto;
  display: flex !important;
}
.cookie-notification.visible.hidden {
  display: none !important;
}

.cookie-notification__content {
  display: flex;
  align-items: flex-start;
  gap: 30.4px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 1171px;
  margin: 0 auto;
}

.cookie-notification__text {
  color: #000;
  font-size: 15px;
  font-weight: 300;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  font-family: "Montserrat", Arial, sans-serif;
  a {
    text-decoration: underline;
    color: #000;
    font-family: "Montserrat", Arial, sans-serif;
  }
}

.cookie-notification__link {
  text-decoration: underline;
}
.cookie-notification__button {
  box-sizing: border-box;
  flex: 0 0 auto;
  background: linear-gradient(115deg, #5093A3 7.77%, #1F5D79 49.04%, #3C89A6 92.77%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  width: 224px;
  max-width: 100%;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.39, 0.575, 0.565, 1);
  border: 1px solid rgba(41, 109, 137, 0.53);
  font-family: "Montserrat", Arial, sans-serif;
}
.cookie-notification__button#refuseCookies{
  background: transparent;
  color: #1F2229;
}
.cookie-notification__button:hover {
  cursor: pointer;
  background-color: var(--green-hover);
  text-decoration: none;
  color: white;
}

@media (max-width: 1200px) {
  .cookie-notification {
    padding: 20px 24px;
  }

  .cookie-notification__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
  }

  .cookie-notification__text {
    grid-column: 1 / -1;
    font-size: 14px;
    line-height: 1.5;
  }

  .cookie-notification__button {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .cookie-notification__content {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cookie-notification__text {
    font-size: 13px;
    line-height: 1.45;
  }

  .cookie-notification__button {
    height: 42px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .cookie-notification {
    padding: 16px;
    border-radius: 0;
  }
}

/* okna2: hero promo (макет, ширина 1172px) */

.okna-page {
  box-sizing: border-box;
  max-width: 1172px;
  margin: 0 auto;
  padding: 24px 16px 0;
  padding-left: 0;
  padding-right: 0;
  font-family: "Montserrat", Arial, sans-serif;
}

/* company2: полноширинный hero «О компании» */
.hero-company {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-height: calc(100vh - 139px);
  min-height: calc(100svh - 139px);
  height: calc(100vh - 139px);
  height: calc(100svh - 139px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0 clamp(16px, 5vw, 80px) 10% clamp(16px, 5vw, 80px);
  font-family: "Montserrat", Arial, sans-serif;
  background-color: #2a3540;
  background-image: url("/local/templates/oblako/assets/images/company-11.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero-company__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  max-width: 670px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-align: center;
  margin: 0 auto;
}

.hero-company__badge {
  margin: 0 0 22px;
  padding: 10px 34px;
  border-radius: 7px;
  background: #1B3036;
  color: #008CAE;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid #243F47;
}

.hero-company__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(32px, 5.2vw, 59px);
  font-weight: 800;
  line-height: 1.12;
}

.hero-company__subtitle {
  margin: 21px 0 0;
  max-width: 680px;
  color: #ffffff;
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .hero-company {
    padding: 0 clamp(16px, 4vw, 48px) clamp(80px, 18vw, 160px) clamp(20px, 8vw, 120px);
    background-position: 55% center;
  }
}

@media (max-width: 980px) {
  .hero-company {
    height: auto;
    min-height: min(540px, calc(100svh - 72px));
    padding: 0 16px 64px;
    background-position: 62% 35%;
  }

  .hero-company__inner {
    max-width: 100%;
    align-self: stretch;
  }

  .hero-company__badge {
    margin-bottom: 16px;
    padding: 8px 18px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .hero-company__subtitle {
    margin-top: 14px;
    max-width: 100%;
    font-weight: 500;
  }
}

@media (max-width: 768px) {
  .hero-company {
    min-height: min(480px, calc(100svh - 64px));
    padding: 0 16px 52px;
    background-position: 100% 30%;
  }

  .hero-company__badge {
    margin-bottom: 14px;
  }

  .hero-company__title {
    font-size: clamp(30px, 8.5vw, 40px);
  }

  .hero-company__subtitle {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.45;
  }
}
@media (max-width: 650px) {
  .hero-company {
    background-position: 85% 30%;
  }
}
@media (max-width: 560px) {
  .hero-company {
    background-position: 81% 30%;
  }
}
@media (max-width: 480px) {
  .hero-company {
    background-position: 75% 30%;
  }
}
@media (max-width: 480px) {
  .hero-company {
    min-height: min(420px, 82svh);
    padding: 0 14px 40px;
    background-position: 75% 28%;
  }

  .hero-company__badge {
    margin-bottom: 12px;
    padding: 7px 14px;
    font-size: 9px;
    line-height: 1.3;
  }

  .hero-company__title {
    font-size: 28px;
    line-height: 1.15;
  }

  .hero-company__subtitle {
    margin-top: 10px;
    font-size: 14px;
  }
}

.okna2-hero-banner {
  position: relative;
  box-sizing: border-box;
  width: 1172px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  background-color: #4a5560;

  background-repeat: no-repeat;
  background-position: 62% center;
  background-size: cover;
  aspect-ratio: 1172 / 535;
  min-height: 320px;
}
.okna2-hero-banner.oknapg{
  background-image: url("/local/templates/oblako/assets/images/okna-1.jpg");
}
.okna2-hero-banner.designpg{
  background-image: url("/local/templates/oblako/assets/images/okna-13.jpg");
}
.okna2-hero-banner.remont{
  background-image: url("/local/templates/oblako/assets/images/okna-34.jpg");
}
.okna2-hero-banner.comercian{
  background-image: url("/local/templates/oblako/assets/images/okna-35.jpg");
}
.okna2-hero-banner.vacant{
  background-image: url("/local/templates/oblako/assets/images/vacant.jpg");
  .okna2-hero-banner__inner{
    align-items: flex-end;
  }
}

/* vacancy2: блок «Вакансии» */
.vacatn-text_block {
  box-sizing: border-box;
  padding-top: 63px;
  padding-bottom: 0;
  font-family: "Montserrat", Arial, sans-serif;
}

.vacatn-text_block__inner {
  width: 1172px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
}

.vacatn-text_block__card {
  box-sizing: border-box;
  padding: 48px 170px 92px 60px;
  border-radius: 25px;
  background: #F5F7FA;
}

.vacatn-text_block__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.vacatn-text_block__label-line {
  display: block;
  width: 24px;
  height: 1px;
  flex-shrink: 0;
  background: #0F6997;
}

.vacatn-text_block__label-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  color: #0F6997;
}

.vacatn-text_block__content {
  margin-top: 40px;
}

.vacatn-text_block__text {
  margin: 0;
  max-width: 920px;
  color: #1f2229;
  font-size: 22px;
  font-weight: 400;
  line-height: 30px;
}

.vacatn-text_block__text + .vacatn-text_block__text {
  margin-top: 28px;
}

.vacatn-text_block__text--accent {
  font-weight: 600;
}

@media (max-width: 768px) {
  .vacatn-text_block {
    padding: 28px 0 40px;
  }

  .vacatn-text_block__card {
    padding: 36px 24px;
    border-radius: 20px;
  }

  .vacatn-text_block__content {
    margin-top: 28px;
  }

  .vacatn-text_block__text {
    font-size: 15px;
    line-height: 1.5;
  }

  .vacatn-text_block__text + .vacatn-text_block__text {
    margin-top: 20px;
  }
}
/* .okna2-hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(31, 34, 41, 0.72) 0%,
    rgba(31, 34, 41, 0.38) 38%,
    rgba(31, 34, 41, 0.12) 58%,
    rgba(31, 34, 41, 0) 78%
  );
  pointer-events: none;
} */

.okna2-hero-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 100%;
  padding: 40px 48px 40px 72px;
  box-sizing: border-box;
}

.okna2-hero-banner__content {
  /* max-width: 540px; */
}

.okna2-hero-banner__title {
  margin: 0;
  color: #ffffff;
  font-size: 58px;
  line-height: 1.12;
  font-weight: 800;
}

.okna2-hero-banner__subtitle {
  margin: 22px 0 0;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
}

.okna2-hero-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
  width: 300px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  background: linear-gradient(92deg, #5195A5 0.23%, #215E7A 50.59%, #3C8AA7 100%);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.okna2-hero-banner__cta:hover {
  filter: brightness(1.06);
  color: #ffffff;
  text-decoration: none;
}

.okna2-hero-banner__cta:active {
  transform: translateY(1px);
}

@media (max-width: 768px) {
  .okna2-hero-banner__inner {
    padding: 32px 24px 32px 28px;
    height: auto;
    max-height: 100%;
  }

  .okna2-hero-banner__title {
    font-size: 26px;
  }
  .okna2-hero-banner__cta{
    max-width: 240px;
  }

  .okna2-hero-banner__subtitle {
    font-size: 14px;
  }

  .okna2-hero-banner__cta {
    margin-top: 28px;
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
  }
}

/* okna2: блок преимуществ (4 колонки, 1172px) */

.okna2-comfort-features {
  box-sizing: border-box;
  width: 1172px;
  max-width: 100%;
  margin: 0 auto;
  padding: 80px 0 0;
  font-family: "Montserrat", Arial, sans-serif;
}
.okna2-comfort-features.company-features{
  padding-top: 0;
}

/* company2: блок «Мы верим» / обращение основателя */
.we-belive {
  box-sizing: border-box;
  padding: 0 0 88px;
  font-family: "Montserrat", Arial, sans-serif;
}

.we-belive__inner {
  box-sizing: border-box;
  max-width: 1172px;
  margin: 0 auto;
}

.we-belive__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.we-belive__kicker-line {
  display: block;
  width: 24px;
  height: 1px;
  background: #0f6997;
  flex-shrink: 0;
}

.we-belive__kicker-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  color: #0f6997;
}

.we-belive__title {
  margin: 20px 0 0;
  max-width: 920px;
  color: #1f2229;
  font-size: clamp(24px, 2.65vw, 31px);
  font-weight: 800;
  line-height: 1.25;
}

.we-belive__body {
  display: grid;
  grid-template-columns: minmax(0, 547px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}

.we-belive__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
  object-fit: cover;
}

.we-belive__lead {
  margin: 0;
  color: #1F2229;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.55;
}

.we-belive__text {
  margin-top: 24px;
  color: #1f2229;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 48px;
}

.we-belive__text p {
  margin: 0;
}

.we-belive__text p + p {
  margin-top: 16px;
}

.we-belive__author {
  position: relative;
  margin-top: 50px;
  min-height: 105px;
}

.we-belive__author-info {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.we-belive__author-name {
  margin: 0;
  color: #1f2229;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.2;
}

.we-belive__author-role {
  margin: 8px 0 0;
  max-width: none;
  color: #1f2229;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}
.wrtilda{
  display: flex;
  flex-direction: column;
}

.we-belive__signature {
  position: absolute;
  right: -40px;
  bottom: 70px;
  z-index: 2;
  display: block;
  width: 220px;
  max-width: 58%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .we-belive__body {
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .we-belive {
    padding: 56px 0 64px;
  }

  .we-belive__inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .we-belive__body {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 32px;
  }

  .we-belive__photo {
    max-width: 100%;
  }

  .we-belive__author {
    margin-top: 32px;
    min-height: 88px;
  }

  .we-belive__signature {
    left: 32%;
    width: 180px;
    max-width: 62%;
    bottom: -6px;
  }
}

@media (max-width: 480px) {
  .we-belive {
    padding: 40px 0 48px;
  }

  .we-belive__inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .we-belive__title {
    margin-top: 16px;
  }

  .we-belive__author {
    min-height: 72px;
  }

  .we-belive__signature {
    width: 160px;
    right: 0;
    bottom: 0;
    transform: none;
    position: unset;
    margin: 0 auto;
  }
}

/* company2: блок «Наши партнеры» (как t595 на /company) */
.ourclients-company {
  box-sizing: border-box;
  padding: 30px 0 75px;
  font-family: "Montserrat", Arial, sans-serif;
  background: #fff;
}

.ourclients-company__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.ourclients-company__header {
  max-width: 1200px;
  margin: 0 auto;
}

.ourclients-company__grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.ourclients-company__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25%;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
  border-right: var(--border-size, 1px) solid var(--border-color, #eee);
  border-bottom: var(--border-size, 1px) solid var(--border-color, #eee);
}

.ourclients-company__item--pos-4,
.ourclients-company__item--pos-8,
.ourclients-company__item--pos-12 {
  border-right: none;
}

.ourclients-company__item--pos-9,
.ourclients-company__item--pos-10,
.ourclients-company__item--pos-11,
.ourclients-company__item--pos-12 {
  border-bottom: none;
}

.ourclients-company__cell {
  width: 100%;
}

.ourclients-company__logo {
  display: block;
  width: 100%;
  max-width: 160px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.ourclients-company__item:hover .ourclients-company__logo,
.ourclients-company__item:focus-within .ourclients-company__logo {
  filter: grayscale(0%);
  opacity: 1;
}

@media screen and (max-width: 1200px) {
  .ourclients-company__item {
    padding: 10px;
  }
}

@media screen and (max-width: 960px) {
  .ourclients-company__item {
    width: 33.333%;
  }

  .ourclients-company__item--pos-4,
  .ourclients-company__item--pos-8,
  .ourclients-company__item--pos-12 {
    border-right: var(--border-size, 1px) solid var(--border-color, #eee);
  }

  .ourclients-company__item--pos-3,
  .ourclients-company__item--pos-6,
  .ourclients-company__item--pos-9,
  .ourclients-company__item--pos-12 {
    border-right: none;
  }

  .ourclients-company__item--pos-1,
  .ourclients-company__item--pos-2,
  .ourclients-company__item--pos-3,
  .ourclients-company__item--pos-4,
  .ourclients-company__item--pos-5,
  .ourclients-company__item--pos-6,
  .ourclients-company__item--pos-7,
  .ourclients-company__item--pos-8,
  .ourclients-company__item--pos-9 {
    border-bottom: var(--border-size, 1px) solid var(--border-color, #eee);
  }

  .ourclients-company__item--pos-10,
  .ourclients-company__item--pos-11,
  .ourclients-company__item--pos-12 {
    border-bottom: none;
  }
}

@media screen and (max-width: 640px) {
  .ourclients-company {
    padding-top: 75px;
    padding-bottom: 75px;
  }
}

@media screen and (max-width: 440px) {
  .ourclients-company__item {
    width: 50%;
  }

  .ourclients-company__item--pos-3,
  .ourclients-company__item--pos-6,
  .ourclients-company__item--pos-9,
  .ourclients-company__item--pos-12 {
    border-right: var(--border-size, 1px) solid var(--border-color, #eee);
  }

  .ourclients-company__item--pos-2,
  .ourclients-company__item--pos-4,
  .ourclients-company__item--pos-6,
  .ourclients-company__item--pos-8,
  .ourclients-company__item--pos-10,
  .ourclients-company__item--pos-12 {
    border-right: none;
  }

  .ourclients-company__item--pos-1,
  .ourclients-company__item--pos-2,
  .ourclients-company__item--pos-3,
  .ourclients-company__item--pos-4,
  .ourclients-company__item--pos-5,
  .ourclients-company__item--pos-6,
  .ourclients-company__item--pos-7,
  .ourclients-company__item--pos-8,
  .ourclients-company__item--pos-9,
  .ourclients-company__item--pos-10 {
    border-bottom: var(--border-size, 1px) solid var(--border-color, #eee);
  }

  .ourclients-company__item--pos-11,
  .ourclients-company__item--pos-12 {
    border-bottom: none;
  }
}

@media screen and (max-width: 480px) {
  .ourclients-company {
    padding-top: 45px;
    padding-bottom: 15px;
  }

}

/* company2: блок «Специалисты» */
.company-team {
  box-sizing: border-box;
  padding: 72px 0 48px;
  font-family: "Montserrat", Arial, sans-serif;
  background: #fff;
}

.company-team .bo-wrap {
  max-width: 1172px;
  margin: 0 auto;
  padding: 0 16px;
}

.company-team .bo-sec-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  color: #0f6997;
}

.company-team .bo-sec-label::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--bo-accent, #2787f5);
  flex-shrink: 0;
}

.company-team .bo-sec-title,
.ourclients-company .bo-sec-title {
  margin: 0 0 14px;
  color: #1f2229;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.company-team .bo-sec-sub {
  max-width: 760px;
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--bo-muted, #5c6370);
}

.company-team .new_team-container {
  padding-top: 32px;
}

@media (max-width: 480px) {
  .company-team {
    padding: 48px 0 32px;
  }

  .company-team .bo-sec-title,
  .ourclients-company .bo-sec-title {
    font-size: 30px;
  }
}

.okna2-comfort-features__title {
  margin: 0;
  max-width: 920px;
  color: #1F2229;
  font-size: 48px;
  line-height: 1.22;
  font-weight: 800;
}
.okna2-comfort-features__subtitle{
  color: #1F2229;
  font-size: 14px;
  font-weight: 400;
  margin-top: 10px;
}

.okna2-comfort-features__grid {
  --okna2-comfort-img: 282px;
  --okna2-comfort-overlap: calc(var(--okna2-comfort-img) * 0.1);
  list-style: none;
  margin: 56px 0 0;
  padding: 0 0 80px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 0;
  align-items: start;
}

.okna2-comfort-features__block {
  display: contents;
}

.okna2-comfort-features__cell {
  margin: 0;
  padding: 0;
}

.okna2-comfort-features__cell--text {
  align-self: start;
  padding-right: 8px;
  margin-top: 34px;
}
.company .okna2-comfort-features__cell--text{
  margin-top: 62px;
  padding-left: 13px;
}
.company .okna2-comfort-features__block:nth-child(3) .okna2-comfort-features__cell--text{
  margin-top: 82px;
}
.company .okna2-comfort-features__block:nth-child(4) .okna2-comfort-features__cell--text{
  margin-top: 82px;
}
@media (max-width: 768px){
  .company .okna2-comfort-features__block:nth-child(3) .okna2-comfort-features__cell--text{
    margin-top: 0;
  }
  .company .okna2-comfort-features__block:nth-child(4) .okna2-comfort-features__cell--text{
    margin-top: 0;
  }
}

.okna2-comfort-features__cell--media {
  align-self: start;
}

.okna2-comfort-features__block:nth-child(1) .okna2-comfort-features__cell--text {
  grid-column: 1;
  grid-row: 1;
}

.okna2-comfort-features__block:nth-child(1) .okna2-comfort-features__cell--media {
  grid-column: 2;
  grid-row: 1;
}

.okna2-comfort-features__block:nth-child(2) .okna2-comfort-features__cell--text {
  grid-column: 3;
  grid-row: 1;
}

.okna2-comfort-features__block:nth-child(2) .okna2-comfort-features__cell--media {
  grid-column: 4;
  grid-row: 1;
}

.okna2-comfort-features__block:nth-child(3) .okna2-comfort-features__cell--text {
  grid-column: 2;
  grid-row: 2;
  margin-top: calc(var(--okna2-comfort-overlap) * -1);
  position: relative;
  z-index: 1;
  /* align-self: center; */
  margin-top: 34px;
}

.okna2-comfort-features__block:nth-child(3) .okna2-comfort-features__cell--media {
  grid-column: 1;
  grid-row: 2;
  margin-top: calc(var(--okna2-comfort-overlap) * -1);
  position: relative;
  z-index: 2;
}

.okna2-comfort-features__block:nth-child(4) .okna2-comfort-features__cell--text {
  grid-column: 4;
  grid-row: 2;
  margin-top: calc(var(--okna2-comfort-overlap) * -1);
  position: relative;
  z-index: 1;
  /* align-self: center; */
  margin-top: 34px;
}

.okna2-comfort-features__block:nth-child(4) .okna2-comfort-features__cell--media {
  grid-column: 3;
  grid-row: 2;
  margin-top: calc(var(--okna2-comfort-overlap) * -1);
  position: relative;
  z-index: 2;
}

.okna2-comfort-features__img {
  display: block;
  width: 100%;
  max-width: var(--okna2-comfort-img);
  height: auto;
}

.okna2-comfort-features__item-title {
  margin: 0;
  color: #000;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}

.okna2-comfort-features__item-text {
  margin: 16px 0 0;
  color: #4D4D4D;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 400;
}

@media (max-width: 1024px) {
  .okna2-comfort-features__grid {
    --okna2-comfort-img: 220px;
    column-gap: 16px;
  }

}

@media (max-width: 768px) {
  .okna2-comfort-features__grid {
    --okna2-comfort-img: 300px;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .okna2-comfort-features__block {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .okna2-comfort-features__block--img-right {
    flex-direction: row;
  }

  .okna2-comfort-features__block--img-left {
    flex-direction: row-reverse;
  }

  .okna2-comfort-features__block .okna2-comfort-features__cell--text,
  .okna2-comfort-features__block .okna2-comfort-features__cell--media {
    grid-column: auto;
    grid-row: auto;
    margin-top: 0;
    position: static;
    z-index: auto;
    align-self: stretch;
    padding-right: 0;
  }

  .okna2-comfort-features__block .okna2-comfort-features__cell--text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .okna2-comfort-features__block .okna2-comfort-features__cell--media {
    flex-shrink: 0;
    width: 40%;
  }

  .okna2-comfort-features__img {
    margin: 0;
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .okna2-comfort-features {
    padding-top: 40px;
  }

  .okna2-comfort-features__title {
    font-size: 28px;
    line-height: 1.25;
  }

  .okna2-comfort-features__grid {
    margin-top: 32px;
    padding-bottom: 0;
    gap: 50px;
    --okna2-comfort-img: 120px;
  }
  .okna2-comfort-features{
    padding-right: 14px;
    padding-left: 14px;
  }
  .okna2-work-gallery__tabs.treebtns{
    flex-wrap: wrap;
  }
  .okna2-comfort-features__item-text {
    margin-top: 10px;
  }

  .okna2-calc-lead__messengers.newfooter__messengers {
    gap: 16px 10px;
  }

  .okna2-comfort-features__block--img-left{
    display: flex;
    flex-direction: column;
  }
  .okna2-comfort-features__block--img-right {
    display: flex;
    flex-direction: column;
  }
  .okna2-comfort-features__block .okna2-comfort-features__cell--media {
    width: 100%;
  }
  .okna2-comfort-features__block {
    gap: 24px;
  }
}

/* okna2: галерея работ (полноширинный фон #F5F7FA, Swiper) */

.okna2-work-gallery {
  width: 100%;
  margin: 0;
  padding: 80px 0 80px;
  box-sizing: border-box;
  background: #f5f7fa;
  font-family: "Montserrat", Arial, sans-serif;
}

.okna2-work-gallery__inner {
  width: 1172px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.okna2-work-gallery__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.okna2-work-gallery__kicker-line {
  display: block;
  width: 24px;
  height: 1px;
  background: #0f6997;
  flex-shrink: 0;
}

.okna2-work-gallery__kicker-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  color: #0f6997;
}

.okna2-work-gallery__title {
  margin: 16px 0 0;
  color: #1F2229;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 800;
}

.okna2-work-gallery__tabs {
  display: flex;
  /* grid-template-columns: repeat(3, minmax(0, 1fr)); */
  gap: 10px;
  width: 100%;
  margin-top: 28px;
  box-sizing: border-box;
}

.okna2-work-gallery__tab {
  margin: 0;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 17.3px 12px;
  border: 1px solid #fff;
  border-radius: 9px;
  background: #ffffff;
  color: #222831;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}


.okna2-work-gallery__tab:hover {
  border-color: rgba(15, 105, 151, 0.35);
}
.blog-section-filter .okna2-work-gallery__tab {
  border-color: rgba(15, 105, 151, 0.35);
}

.okna2-work-gallery__tab--active {
  background: #0F6997;
  border-color: #0F6997;
  color: #ffffff;
}

.okna2-work-gallery__tab--active:hover {
  border-color: #0f6997;
}

.t915 h1.okna2-work-gallery__title {
  margin: 0 auto;
  color: #1f2229;
  font-family: var(--t-text-font, "Montserrat", Arial, sans-serif);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
}

.blog-section-filter.okna2-work-gallery__tabs {
  justify-content: center;
  margin: 20px 0 30px;
  font-family: var(--t-text-font, "Montserrat", Arial, sans-serif);
}

.blog-section-filter.okna2-work-gallery__tabs .okna2-work-gallery__tab {
  font-family: var(--t-text-font, "Montserrat", Arial, sans-serif);
}

.okna2-work-gallery__tab.onlyone{
  background: transparent;
  color: #0F6997;
  border: 1px solid transparent;
}
.onlyone.okna2-work-gallery__tab--active:hover {
  border-color: transparent;
}

.okna2-work-gallery__panels {
  margin-top: 19px;
}

.okna2-work-gallery__panel[hidden] {
  display: none !important;
}

.okna2-work-gallery-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 1172 / 640;
  box-sizing: border-box;
  --swiper-navigation-size: 0;
}

.okna2-work-gallery-slider .swiper-wrapper {
  height: 100%;
}

.okna2-work-gallery-slider .swiper-slide {
  height: 100%;
}

.okna2-work-gallery-slider__slide {
  display: flex;
  height: 100%;
}

.okna2-work-gallery-slider__zoom {
  display: flex;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  cursor: zoom-in;
  outline: none;
}

.okna2-work-gallery-slider__zoom:focus-visible {
  outline: 2px solid #0f6997;
  outline-offset: 3px;
}

.okna2-work-gallery-slider__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.okna2-work-gallery-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  line-height: 0;
}

.okna2-work-gallery-slider__nav--prev {
  left: -22px;
}

.okna2-work-gallery-slider__nav--next {
  right: -22px;
  filter: drop-shadow(0 2px 10px rgba(31, 34, 41, 0.18));
}

.okna2-work-gallery-slider__nav-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 14px rgba(31, 34, 41, 0.18);
}

.okna2-work-gallery-slider__nav-icon--prev {
  display: block;
  width: 70px;
  height: 70px;
}

.okna2-work-gallery-slider__nav-icon--next {
  display: block;
  width: 70px;
  height: 70px;
}

.okna2-work-gallery-slider__nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 768px) {
  .okna2-work-gallery {
    padding: 40px 0 48px;
  }

  .okna2-work-gallery__title,
  .t915 h1.okna2-work-gallery__title {
    font-size: 28px;
  }

  .okna2-work-gallery__tab {
    padding: 12px 8px;
    font-size: 12px;
    line-height: 1.3;
  }

  .okna2-work-gallery-slider {
    aspect-ratio: 16 / 11;
  }

  .okna2-work-gallery-slider__nav--prev {
    left: 12px;
  }

  .okna2-work-gallery-slider__nav--next {
    right: 12px;
  }

  .okna2-work-gallery-slider__nav {
    width: 48px;
    height: 48px;
  }

  .okna2-work-gallery-slider__nav-icon--next {
    width: 48px;
    height: 48px;
  }
  .okna2-work-gallery-slider__nav-icon--prev {
    width: 48px;
    height: 48px;
  }
}

/* okna2: блок «Как работаем» (2 фото + 3 шага) */

.okna2-how-we-work {
  width: 100%;
  margin: 0;
  padding: 64px 0 58px;
  box-sizing: border-box;
  background: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
}

.okna2-how-we-work__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 52px;
  row-gap: 40px;
  width: 1172px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.okna2-how-we-work__head {
  grid-column: 1 / -1;
  min-width: 0;
}

.okna2-how-we-work__media {
  display: grid;
  grid-template-columns: 404px 254px;
  gap: 16px;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.okna2-how-we-work__img {
  display: block;
  object-fit: cover;
  border-radius: 20px;
}

.okna2-how-we-work__img:first-child {
  width: 404px;
  height: 497px;
  aspect-ratio: 126 / 155;
}

.okna2-how-we-work__img:last-child {
  width: 254px;
  height: 497px;
  aspect-ratio: 23 / 45;
}

.okna2-how-we-work__content {
  min-width: 0;
}

.okna2-how-we-work__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.okna2-how-we-work__kicker-line {
  display: block;
  width: 24px;
  height: 1px;
  background: #0f6997;
  flex-shrink: 0;
}

.okna2-how-we-work__kicker-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  color: #0f6997;
}

.okna2-how-we-work__title {
  margin: 16px 0 0;
  color: #1f2229;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 800;
}

.okna2-how-we-work__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-top: 20px;
}
.okna2-how-we-work__steps.design{
  padding-top: 0;
  .okna2-how-we-work__step{
    padding: 0 0 12px;
  }
  .okna2-how-we-work__cta{
    margin-top: 24px;
  }
}
.okna2-how-we-work__step {
  margin: 0;
  padding: 0 0 28px;
}

.okna2-how-we-work__step:last-of-type {
  padding-bottom: 0;
}

.okna2-how-we-work__step-title {
  margin: 0;
  color: #1F2229;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 600;
}

.okna2-how-we-work__step-text {
  margin: 10px 0 0;
  color: #1f2229;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  max-width: 419px;
}

.okna2-how-we-work__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
  padding: 15.4px 78.2px;
  border-radius: 12px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  background: linear-gradient(92deg, #5195a5 0.23%, #215e7a 50.59%, #3c8aa7 100%);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.okna2-how-we-work__cta:hover {
  filter: brightness(1.06);
  color: #ffffff;
  text-decoration: none;
}

.okna2-how-we-work__cta:active {
  transform: translateY(1px);
}

/* commercial2: как готовим помещение (сетка шагов) */

.howwemake {
  width: 100%;
  margin: 0;
  padding: 56px 0 64px;
  box-sizing: border-box;
  background: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
}

.howwemake__inner {
  width: 1172px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.howwemake__head {
  max-width: 760px;
}

.howwemake__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.howwemake__kicker-line {
  display: block;
  width: 24px;
  height: 1px;
  background: #0f6997;
  flex-shrink: 0;
}

.howwemake__kicker-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  color: #0f6997;
}

.howwemake__title {
  margin: 16px 0 0;
  color: #1f2229;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 800;
}

.howwemake__grid {
  list-style: none;
  margin: 36px 0 0;
  padding: 0 0 0 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 59px;
}

.howwemake__card {
  position: relative;
  margin: 0;
  padding: 22px 24px 22px 42px;
  box-sizing: border-box;
  border-radius: 18px;
  background: #f4f6f8;
  min-height: 0;
  overflow: visible;
}

.howwemake__num {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 69px;
  height: 69px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 6px solid #ffffff;
  background: #0087CD;
  color: #ffffff;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

.howwemake__card-body {
  min-width: 0;
}

.howwemake__card-title {
  margin: 0;
  color: #1f2229;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.howwemake__card-text {
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
}

@media (max-width: 900px) {
  .howwemake__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .okna2-how-we-work__inner {
    grid-template-columns: 1fr;
  }

  .okna2-how-we-work__head {
    grid-column: 1;
  }

  .okna2-how-we-work__media {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.6287128713fr);
    grid-template-rows: 1fr;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 674 / 497;
    align-items: stretch;
  }

  .okna2-how-we-work__img:first-child,
  .okna2-how-we-work__img:last-child {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: unset;
  }
}

@media (max-width: 768px) {
  .howwemake {
    padding: 40px 0 48px;
  }

  .howwemake__title {
    font-size: 28px;
  }

  .howwemake__card {
    padding: 18px 16px 18px 36px;
  }

  .howwemake__num {
    width: 46px;
    height: 46px;
    font-size: 14px;
  }

  .howwemake__card-title {
    font-size: 16px;
  }

  .howwemake__card-text {
    font-size: 14px;
  }

  .okna2-how-we-work {
    padding: 18px 0 56px;
  }

  .okna2-how-we-work__title {
    font-size: 30px;
  }

  .okna2-how-we-work__step {
    padding-bottom: 22px;
  }

  .okna2-how-we-work__cta {
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
  }
}

/* okna2: отзывы (как #bo-reviews-v2 на главной + слайдер с overflow visible) */

.okna2-reviews {
  --bo-bg: #ffffff;
  --bo-text: #111318;
  --bo-muted: #6b7280;
  --bo-line: rgba(0, 0, 0, 0.08);
  --bo-accent: #589ccd;
  --bo-accent-soft: rgba(0, 115, 255, 0.08);
  --bo-star: #ffb800;
  --bo-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --bo-radius: 24px;
  --bo-radius-sm: 16px;
  --bo-max: 1170px;
  box-sizing: border-box;
  padding: 80px 20px;
  background: var(--bo-bg);
  color: var(--bo-text);
  font-family: Montserrat, Arial, sans-serif;
  overflow-x: visible;
}

.okna2-reviews,
.okna2-reviews * {
  box-sizing: border-box;
}
.okna2-reviews{
  padding-right: 0;
  padding-top: 0;
}

.okna2-reviews .bo-wrap {
  max-width: var(--bo-max);
  margin: 0 auto;
}

.okna2-reviews .bo-sec-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  color: #0F6997;
}

.okna2-reviews .bo-sec-label::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--bo-accent);
  flex-shrink: 0;
}

.okna2-reviews .bo-sec-title {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.okna2-reviews .bo-sec-sub {
  max-width: 760px;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--bo-muted);
}

.okna2-reviews .bo-rating-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.okna2-reviews .bo-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--bo-line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  line-height: 1.2;
  color: var(--bo-text);
}

.okna2-reviews .bo-rating-stars {
  color: var(--bo-star);
  letter-spacing: 2px;
  font-size: 14px;
  white-space: nowrap;
}

.okna2-reviews__slider-shell {
  width: 100vw;
  max-width: 100vw;
  margin-top: 42px;
  margin-left: calc(50% - 50vw);
  padding-left: calc(20px + max(0px, (100vw - 40px - 1200px) / 2));
  padding-right: 0;
  box-sizing: border-box;
  overflow: hidden;
  padding-top: 8px;
  padding-bottom: 12px;
  touch-action: pan-y pinch-zoom;
}

.okna2-reviews .okna2-reviews-slider.swiper {
  overflow: hidden;
  width: 100%;
  touch-action: pan-y pinch-zoom;
}

.okna2-reviews .okna2-reviews-slider .swiper-slide {
  width: 580px;
  max-width: min(580px, calc(100vw - 48px));
  height: auto;
  box-sizing: border-box;
}

.okna2-reviews .okna2-reviews-slider .swiper-slide .bo-review-card {
  height: 100%;
}

.okna2-reviews .bo-review-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px;
  border: 1px solid var(--bo-line);
  border-radius: var(--bo-radius);
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.okna2-reviews .bo-review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bo-shadow);
  border-color: rgba(0, 115, 255, 0.18);
}

.okna2-reviews .bo-review-stars {
  margin-bottom: 14px;
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--bo-star);
}

.okna2-reviews .bo-review-text {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.72;
  color: #3f4652;
  flex: 1 1 auto;
}

.okna2-reviews .bo-review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.okna2-reviews .bo-review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #e5eff1;
  border: 1px solid #0f6997;
  color: #0f6997;
  font-size: 15px;
  font-weight: 800;
}

.okna2-reviews .bo-review-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--bo-text);
}

.okna2-reviews .bo-review-meta {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--bo-muted);
}

.okna2-reviews .bo-reviews-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.okna2-reviews .bo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.okna2-reviews .bo-btn-secondary {
  background: #fff;
  color: var(--bo-text) !important;
  border: 1px solid var(--bo-line);
}

.okna2-reviews .bo-btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 115, 255, 0.2);
}

@media (max-width: 980px) {
  .okna2-reviews {
    padding: 80px 18px;
  }

  .okna2-reviews__slider-shell {
    padding-left: calc(18px + max(0px, (100vw - 36px - 1200px) / 2));
  }
}

@media (max-width: 640px) {
  .okna2-hero-banner{
    min-height: 380px;
  }
  .okna2-reviews {
    padding: 24px 14px;
  }

  .okna2-reviews .bo-sec-title {
    font-size: 30px;
  }

  .okna2-reviews .bo-sec-sub {
    font-size: 15px;
  }

  .okna2-reviews .bo-review-card {
    padding: 22px;
    border-radius: 20px;
  }

  .okna2-reviews .bo-rating-row {
    gap: 10px;
  }

  .okna2-reviews .bo-rating-pill {
    width: 100%;
    justify-content: flex-start;
  }

  .okna2-reviews__slider-shell {
    padding-left: calc(14px + max(0px, (100vw - 28px - 1200px) / 2));
  }

  .okna2-reviews .bo-btn {
    width: 100%;
  }
}

/* okna2: блок «Расчёт» — фон #F5F7FA на всю ширину; иконки мессенджеров как в newfooter__messengers */

.okna2-calc-lead {
  font-family: Montserrat, Arial, sans-serif;
  max-width: calc(100% - 48px);
  margin: 0 auto;
}
@media (max-width: 640px) {
  .okna2-calc-lead {
    max-width: calc(100% - 20px);
  }
  .newfooter__inner{
    max-width: calc(100% - 20px);
  }
  .new_team-grid{
    margin-right: 0;
    margin-left: 0;
  }
}

.okna2-calc-lead,
.okna2-calc-lead * {
  box-sizing: border-box;
}

.okna2-calc-lead__band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #f5f7fa;
  padding: 80px 0 80px;
}
.okna2-calc-lead__description{
  margin-top: 70px;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
  color: #1F2229;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
}
.okna2-calc-lead__description .small-top {
  vertical-align: super;
  font-size: 11px;
}
.newfooter__submit-secription {
  margin-top: 14px;
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 14px;
  text-align: center;
  margin-bottom: 34px;
}

.newfooter__submit-secription .small-top {
  vertical-align: super;
  font-size: 9px;
}
.okna2-calc-lead__inner {
  width: 1170px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 586px);
  column-gap: 48px;
  row-gap: 32px;
  align-items: start;
  padding: 0;
}
.okna2-calc-lead__inner.remont{
  column-gap: 10px;
  .okna2-calc-lead__title{
    line-height: 48px; /* 100% */
    letter-spacing: -2.88px;
    max-width: 100%;
  }
}
.okna2-calc-lead__left {
  min-width: 0;
}

.okna2-calc-lead__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.okna2-calc-lead__kicker-line {
  display: block;
  width: 24px;
  height: 1px;
  background: #0f6997;
  flex-shrink: 0;
}

.okna2-calc-lead__kicker-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  color: #0f6997;
}

.okna2-calc-lead__title {
  margin: 16px 0 0;
  max-width: 560px;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.12;
  color: #1F2229;
}


.okna2-calc-lead__lead {
  margin: 16px 0 0;
  max-width: 520px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: #1F2229;
}

.okna2-calc-lead__messengers.newfooter__messengers {
  margin-top: 14px;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.okna2-calc-lead__messengers .newfooter__msg {
  background: transparent;
  border: 1px solid #44C4FD;
  color: #1F2229;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(31, 34, 41, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.okna2-calc-lead__messengers .newfooter__msg:hover {
  opacity: 1;
  border-color: rgba(15, 105, 151, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(31, 34, 41, 0.08);
}

.okna2-calc-lead__messengers .newfooter__msg--tg,
.okna2-calc-lead__messengers .newfooter__msg--max {
  background: transparent;
  background-image: none;
}

#allrecords .okna2-calc-lead .newfooter__msg-text {
  color: #1f2229;
}

.okna2-calc-lead__hint.newfooter__hint {
  margin-top: 6px;
  color: #1F2229;
  font-size: 12px;
  line-height: 1.45;
  padding-left: 59px;
}

.okna2-calc-lead__right {
  padding-top: 4px;
  margin: auto 0;
  min-width: 0;
}

.okna2-calc-lead .newfooter__form {
  width: 586px;
  max-width: 100%;
}

.okna2-calc-lead .newfooter__label {
  color: #1F2229;
  font-weight: 600;
  font-size: 13px;
}

.okna2-calc-lead .newfooter__input {
  background: transparent;
  border: none;
  color: #1f2229;
}

.okna2-calc-lead #okna2-calc-lead-name {
  border: 1px solid #8a8d92;
  background: transparent;
}

.okna2-calc-lead .newfooter__input::placeholder {
  color: rgba(31, 34, 41, 0.45);
}

.okna2-calc-lead .newfooter__input-phone {
  background: transparent;
  border: 1px solid #8A8D92;
}

.okna2-calc-lead .newfooter__consent-label {
  color: #8A8D91;
}

.okna2-calc-lead .newfooter__consent-link {
  color: #8A8D91;
}

.okna2-calc-lead .newfooter__checkbox {
  border-color: rgba(31, 34, 41, 0.28);
}

@media screen and (max-width: 1220px) {
  .okna2-calc-lead__inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 36px;
  }

  .okna2-calc-lead__left,
  .okna2-calc-lead__right {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .okna2-calc-lead__title,
  .okna2-calc-lead__lead {
    max-width: none;
  }

  .okna2-calc-lead__right {
    padding-top: 0;
  }

  .okna2-calc-lead .newfooter__form {
    width: 100%;
  }
}

@media screen and (max-width: 1024px) {
  .okna2-calc-lead__band {
    padding: 64px 0 72px;
  }

  .okna2-calc-lead__title {
    font-size: 40px;
  }
}

@media screen and (max-width: 768px) {
  .okna2-calc-lead__band {
    padding: 56px 0 64px;
  }

  .okna2-calc-lead__title {
    font-size: 34px;
    line-height: 1.15;
  }

  .okna2-calc-lead__lead {
    font-size: 15px;
  }

  .okna2-calc-lead__description {
    margin-top: 48px;
  }
}

@media (max-width: 640px) {
  .okna2-calc-lead__band {
    padding: 48px 0 56px;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .okna2-calc-lead__inner {
    row-gap: 28px;
  }

  .okna2-calc-lead__left,
  .okna2-calc-lead__right {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .okna2-calc-lead .newfooter__submit-row {
    flex-direction: column;
    align-items: stretch;
    margin-top: 24px;
    gap: 14px;
  }

  .okna2-calc-lead .newfooter__submit {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
  }

  .okna2-calc-lead .newfooter__consent {
    flex: 1 1 auto;
    min-width: 0;
    align-items: flex-start;
  }

  .okna2-calc-lead .newfooter__input-phone {
    min-width: 0;
  }

  .okna2-calc-lead__description {
    margin-top: 32px;
    padding: 0 12px;
    font-size: 14px;
  }

  .okna2-calc-lead__messengers .newfooter__msg {
    flex: 1 1 calc(50% - 12px);
    min-width: 0;
  }

  .okna2-calc-lead__title {
    font-size: clamp(26px, 6.4vw, 30px);
    line-height: 1.12;
  }

  .okna2-how-we-work__cta {
    padding-left: 0;
    padding-right: 0;
  }

  .okna2-how-we-work {
    margin-bottom: 20px;
    padding-bottom: 0;
  }

  .newfooter__title {
    font-size: 30px;
    line-height: 1;
  }

  .newfooter__messengers {
    gap: 10px;
  }
}

@media (max-width: 410px) {
  .okna2-calc-lead__inner {
    padding-left: 12px;
    padding-right: 12px;
  }
  .newfooter__msg{
    width: 100%;
  }
  .okna2-hero-banner__cta{
    padding-left: 0;
    padding-right: 0;
  }

  .okna2-calc-lead .newfooter__form,
  .okna2-calc-lead .newfooter__field {
    min-width: 0;
    max-width: 100%;
  }

  .okna2-calc-lead .newfooter__input,
  .okna2-calc-lead .newfooter__input-phone {
    max-width: 100%;
    min-width: 0;
  }

  .okna2-calc-lead .newfooter__submit {
    min-width: 0;
  }

  .okna2-calc-lead .newfooter__consent-label {
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .okna2-work-gallery__tabs{
    display: flex;
    flex-direction: column;
  }

  .newfooter__right,
  .newfooter__form,
  .newfooter__field {
    min-width: 0;
    max-width: 100%;
  }

  .newfooter__input,
  .newfooter__input-phone {
    max-width: 100%;
    min-width: 0;
  }

  .newfooter__submit {
    min-width: 0;
  }

  .newfooter__consent-label {
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

/* designer2: блок «Дизайн интерьера» (2 тарифа) */

.designer-inter {
  width: 100%;
  margin: 0;
  padding: 80px 0 80px;
  box-sizing: border-box;
  background: #F5F7FA;
  font-family: "Montserrat", Arial, sans-serif;
}

.designer-inter__inner {
  width: 1172px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.designer-inter__title {
  margin: 0 0 48px;
  max-width: 920px;
  color: #1f2229;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.designer-inter__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: stretch;
}

.designer-inter__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(31, 34, 41, 0.07);
}

.designer-inter__card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 40px 30px 23px;
  box-sizing: border-box;
}

.designer-inter__card-title {
  margin: 0;
  color: #000;
  font-size: 22px;
  font-weight: 700;
}

.designer-inter__list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  margin-bottom: 23px;
}

.designer-inter__list li {
  position: relative;
  margin: 0 0 4px;
  padding-left: 16px;
  color: #4D4D4D;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 400;
}

.designer-inter__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b8bec6;
  transform: translateY(-50%);
}

.designer-inter__list li:last-child {
  margin-bottom: 0;
}

.designer-inter__price {
  margin-top: auto;
  color: #000;
  font-size: 22px;
  font-weight: 600;
}

.designer-inter__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 23px;
  width: 234px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  background: linear-gradient(92deg, #5195A5 0.23%, #215E7A 50.59%, #3C8AA7 100%);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.designer-inter__cta:hover {
  filter: brightness(1.06);
  color: #ffffff;
  text-decoration: none;
}

.designer-inter__cta:active {
  transform: translateY(1px);
}

.designer-inter__img {
  display: block;
  width: 100%;
  height: 242px;
  margin-top: auto;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .designer-inter {
    padding: 48px 0 56px;
  }

  .designer-inter__title {
    margin-bottom: 32px;
    font-size: 28px;
  }

  .designer-inter__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .designer-inter__card-body {
    padding: 32px 28px 28px;
  }

  .designer-inter__card-title {
    font-size: 20px;
  }

  .designer-inter__price {
    font-size: 24px;
  }

  .designer-inter__img {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .designer-inter__title {
    font-size: 24px;
  }

  .designer-inter__card-body {
    padding: 28px 22px 24px;
  }

  .designer-inter__list li {
    font-size: 14px;
  }

  .designer-inter__cta {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* Текстовые страницы (политики, юридические документы) */

.textpage-oblako {
  box-sizing: border-box;
  padding: 48px 16px 88px;
  background: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
  color: #1f2229;
}

.textpage-oblako,
.textpage-oblako * {
  box-sizing: border-box;
}

.textpage-oblako__inner {
  max-width: 1170px;
  margin: 0 auto;
}

.textpage-oblako h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4.2vw, 38px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1f2229;
}

.textpage-oblako h2 {
  margin: 40px 0 14px;
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.35;
  font-weight: 700;
  color: #1f2229;
}

.textpage-oblako h2:first-of-type {
  margin-top: 28px;
}

.textpage-oblako p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  color: #3a4049;
}

.textpage-oblako ul {
  margin: 0 0 18px;
  padding: 0 0 0 22px;
}

.textpage-oblako li {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: #3a4049;
}

.textpage-oblako li:last-child {
  margin-bottom: 0;
}

.textpage-oblako a {
  color: #215e7a;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.textpage-oblako a:hover {
  color: #0f6997;
}

.textpage-oblako__meta {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(31, 34, 41, 0.12);
  font-size: 15px;
  line-height: 1.5;
  color: #6b7280;
}

@media (max-width: 600px) {
  .textpage-oblako {
    padding: 32px 14px 64px;
  }

  .textpage-oblako h2 {
    margin-top: 32px;
  }

  .textpage-oblako h2:first-of-type {
    margin-top: 20px;
  }

  .textpage-oblako p,
  .textpage-oblako li {
    font-size: 15px;
  }
}

/* remont2: блок «Наши работы» — карточки проектов + Fancybox */

.realprojects {
  width: 100%;
  margin: 0;
  padding: 80px 0 80px;
  box-sizing: border-box;
  background: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
}

.realprojects__inner {
  width: 1172px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.realprojects__kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background-image: linear-gradient(0.437turn, rgb(87, 155, 170) 0%, rgb(31, 92, 120) 46%, rgb(62, 141, 170) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.realprojects__title {
  margin: 12px 0 0;
  color: #000000;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.05;
}

.realprojects__descr {
  margin: 12px 0 0;
  color: #666666;
  font-size: 14px;
  line-height: 1.55;
}
#allrecords ul.realprojects__grid{
  padding: 0;
  margin: 40px 0px 0px;
}
.realprojects__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.realprojects-card {
  margin: 0;
  min-width: 0;
}

.realprojects-card__article {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 27px;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.realprojects-card__media {
  position: relative;
  aspect-ratio: 360 / 268;
  overflow: hidden;
}

.realprojects-card__gallery-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.realprojects-card__gallery-link--hidden {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.realprojects-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.realprojects-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 6px 22px;
  border-radius: 10px;
  background: #1F1F1F;
  color: #589CCD;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.realprojects-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 20px 22px 22px;
  box-sizing: border-box;
}

.realprojects-card__title {
  margin: 0;
  color: #000000;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.realprojects-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
#allrecords ul.realprojects-card__meta{
  padding-left: 0;
  margin-top: 12px;
}

.realprojects-card__tag {
  margin: 0;
  padding: 5px 10px;
  border-radius: 6px;
  background: #f5f5f5;
  color: #666666;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
}

.realprojects-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid #e8e8e8;
}

.realprojects-card__price-label {
  color: #666666;
  font-size: 14px;
  font-weight: 400;
  text-transform: lowercase;
}

.realprojects-card__price-value {
  color: #2d82b7;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}
#allrecords a.realprojects-card__btn{
  color: #fff;
}

.realprojects-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: 20px;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(92deg, #5195A5 0.23%, #215E7A 50.59%, #3C8AA7 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.realprojects-card__btn:hover {
  filter: brightness(1.06);
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .realprojects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .realprojects__title {
    font-size: 36px;
  }
}

@media (max-width: 640px) {
  .realprojects {
    padding: 48px 0 56px;
  }

  .realprojects__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
  }

  .realprojects__title {
    font-size: 28px;
  }

  .realprojects-card__body {
    padding: 16px 18px 18px;
  }
  .okna2-hero-banner{
    border-radius: 0;
  }
}
