.bd-one-storey {
  --bd-green: #009227;
  --bd-green-dark: #057324;
  --bd-ink: #20251f;
  --bd-muted: #5d665e;
  --bd-soft: #f3f7f2;
  --bd-line: #dfe8df;
  color: var(--bd-ink);
  font-family: Arial, sans-serif;
}

.bd-one-storey h1,
.bd-one-storey h2,
.bd-one-storey h3,
.bd-one-storey h4 {
  font-family: Verdana, Arial, sans-serif;
  text-shadow: none;
}

.bd-one-storey p,
.bd-one-storey li,
.bd-one-storey a,
.bd-one-storey span,
.bd-one-storey strong,
.bd-one-storey small,
.bd-one-storey label,
.bd-one-storey summary,
.bd-one-storey button {
  text-shadow: none;
}

.bd-one-storey .sub-title {
  color: var(--bd-ink);
  text-shadow: none;
}

.bd-one-storey a:focus-visible,
.bd-one-storey button:focus-visible,
.bd-one-storey select:focus-visible,
.bd-one-storey summary:focus-visible,
.bd-one-storey [tabindex]:focus-visible {
  outline: 3px solid #ffb000;
  outline-offset: 3px;
}

.bd-one-storey__breadcrumbs {
  padding-bottom: 0;
}

.bd-one-storey__hero {
  padding: 44px 0 38px;
  background: #f3f7f2;
  border-bottom: 1px solid var(--bd-line);
}

.bd-one-storey__hero-grid,
.bd-one-storey__split {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .7fr);
  gap: 44px;
  align-items: center;
}

.bd-one-storey__eyebrow {
  margin: 0 0 10px;
  color: var(--bd-green-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.bd-one-storey__lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--bd-muted);
  font-size: 19px;
  line-height: 1.58;
}

.bd-one-storey p {
  text-wrap: pretty;
}

.bd-one-storey__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 25px;
}

.bd-one-storey__primary {
  display: inline-block;
  border: 0;
  background: var(--bd-green);
  color: #fff;
  text-decoration: none;
}

.bd-one-storey__primary:hover {
  background: var(--bd-green-dark);
  color: #fff;
}

.bd-one-storey__text-link {
  color: var(--bd-green-dark);
  font-weight: 700;
  text-underline-offset: 4px;
}

.bd-one-storey__summary {
  display: grid;
  gap: 5px;
  padding: 28px;
  border: 1px solid var(--bd-line);
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
}

.bd-one-storey__summary strong {
  margin-top: 10px;
  color: var(--bd-green-dark);
  font-size: 26px;
  line-height: 1.18;
}

.bd-one-storey__summary strong:first-child {
  margin-top: 0;
}

.bd-one-storey__summary span {
  color: var(--bd-muted);
  font-size: 14px;
}

.bd-one-storey__facts,
.bd-one-storey__guidance,
.bd-one-storey__planning,
.bd-one-storey__comparison,
.bd-one-storey__cost,
.bd-one-storey__faq,
.bd-one-storey__continuation {
  padding: 52px 0;
}

.bd-one-storey__fact-grid,
.bd-one-storey__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.bd-one-storey__steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bd-one-storey__fact,
.bd-one-storey__steps article {
  padding: 24px;
  border: 1px solid var(--bd-line);
  border-radius: 4px;
  background: #fff;
}

.bd-one-storey__fact span,
.bd-one-storey__fact small {
  display: block;
  color: var(--bd-muted);
}

.bd-one-storey__fact strong {
  display: block;
  margin: 8px 0;
  color: var(--bd-green-dark);
  font-size: 23px;
  line-height: 1.25;
}

.bd-one-storey__price-range {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  margin-top: 20px;
  color: var(--bd-muted);
}

.bd-one-storey__price-range strong {
  color: var(--bd-ink);
  font-size: 18px;
}

.bd-one-storey__fact small {
  line-height: 1.45;
}

.bd-one-storey__popular {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: 20px;
  color: var(--bd-muted);
}

.bd-one-storey__popular > span:first-child,
.bd-one-storey__price-range > span:first-child {
  font-weight: 700;
}

.bd-one-storey__chip {
  padding: 7px 11px;
  border: 1px solid #cfe0d0;
  border-radius: 999px;
  background: var(--bd-soft);
  color: var(--bd-ink);
  font-size: 14px;
}

.bd-one-storey__price-note {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--bd-muted);
  font-size: 14px;
  line-height: 1.55;
}

.bd-one-storey__catalog {
  padding-top: 52px;
}

.bd-one-storey__catalog-head {
  display: flex;
  gap: 28px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.bd-one-storey__catalog-head p {
  margin: 8px 0 0;
  color: var(--bd-muted);
}

.bd-one-storey__sort {
  display: grid;
  grid-template-columns: auto auto;
  gap: 7px 10px;
  align-items: end;
}

.bd-one-storey__sort label {
  grid-column: 1 / -1;
  font-size: 14px;
  font-weight: 700;
}

.bd-one-storey__sort select,
.bd-one-storey__sort button {
  min-height: 44px;
}

.bd-one-storey__sort select {
  max-width: 250px;
  padding: 8px 34px 8px 11px;
  border: 1px solid #b8c7b9;
  background: #fff;
}

.bd-one-storey__sort button {
  border: 0;
  cursor: pointer;
}

.bd-one-storey__catalog .wm-category-projects-block__item {
  align-items: stretch;
}

.bd-one-storey__catalog .wm-category-projects-item {
  min-width: 0;
}

.bd-one-storey__catalog .wm-main-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--bd-line);
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
}

.bd-one-storey__catalog .wm-main-item__image {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 3 / 2;
  background: #f3f5f2;
}

.bd-one-storey__catalog .wm-main-item__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bd-one-storey__catalog .wm-main-item__info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  flex: 1 1 auto;
  padding: 13px 14px 14px;
}

.bd-one-storey__catalog .wm-main-item__name,
.bd-one-storey__catalog .wm-main-item__size {
  width: auto;
  min-width: 0;
  margin: 0;
  line-height: 1.4;
}

.bd-one-storey__catalog .wm-main-item__name span {
  display: block;
  overflow-wrap: anywhere;
}

.bd-one-storey__catalog .wm-main-item__size {
  white-space: nowrap;
}

.bd-one-storey__catalog .wm-main-item__price {
  grid-column: 1 / -1;
  margin-top: 4px;
  line-height: 1.35;
}

.bd-one-storey__catalog .navigation_paginate {
  margin-top: 28px;
}

.bd-one-storey__guidance,
.bd-one-storey__comparison,
.bd-one-storey__faq {
  background: var(--bd-soft);
}

.bd-one-storey__guidance p,
.bd-one-storey__planning p,
.bd-one-storey__comparison p,
.bd-one-storey__cost p,
.bd-one-storey__faq p {
  color: var(--bd-muted);
  line-height: 1.65;
}

.bd-one-storey__split .sub-title {
  text-align: left;
}

.bd-one-storey__checklist {
  margin: 0;
  padding: 24px 26px 24px 48px;
  border-left: 4px solid var(--bd-green);
  background: #fff;
  box-shadow: none;
}

.bd-one-storey__guidance a,
.bd-one-storey__planning a,
.bd-one-storey__comparison a,
.bd-one-storey__cost a,
.bd-one-storey__continuation a,
.bd-one-storey__guidance a:hover,
.bd-one-storey__planning a:hover,
.bd-one-storey__comparison a:hover,
.bd-one-storey__cost a:hover,
.bd-one-storey__continuation a:hover,
.bd-one-storey__guidance a:focus,
.bd-one-storey__planning a:focus,
.bd-one-storey__comparison a:focus,
.bd-one-storey__cost a:focus,
.bd-one-storey__continuation a:focus,
.bd-one-storey__guidance a:active,
.bd-one-storey__planning a:active,
.bd-one-storey__comparison a:active,
.bd-one-storey__cost a:active,
.bd-one-storey__continuation a:active,
.bd-one-storey__guidance a:visited,
.bd-one-storey__planning a:visited,
.bd-one-storey__comparison a:visited,
.bd-one-storey__cost a:visited,
.bd-one-storey__continuation a:visited {
  color: var(--bd-green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bd-one-storey__checklist li + li {
  margin-top: 13px;
}

.bd-one-storey__steps article > span {
  color: var(--bd-green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

.bd-one-storey__steps h3 {
  margin: 12px 0 8px;
  font-size: 20px;
}

.bd-one-storey__table-wrap {
  overflow-x: auto;
  margin-top: 24px;
  border: 1px solid var(--bd-line);
  background: #fff;
}

.bd-one-storey__table-wrap table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.bd-one-storey__table-wrap th,
.bd-one-storey__table-wrap td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--bd-line);
  text-align: left;
  vertical-align: top;
}

.bd-one-storey__table-wrap thead th {
  background: #e8f2e8;
}

.bd-one-storey__related {
  display: grid;
  gap: 12px;
}

.bd-one-storey__related a {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--bd-line);
  background: #fff;
  color: var(--bd-ink);
  text-decoration: none;
}

.bd-one-storey__related a:hover {
  border-color: var(--bd-green);
}

.bd-one-storey__related span {
  color: var(--bd-muted);
  font-size: 14px;
}

.bd-one-storey__faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.bd-one-storey__faq details {
  border: 1px solid var(--bd-line);
  background: #fff;
}

.bd-one-storey__faq summary {
  padding: 17px 20px;
  cursor: pointer;
  font-weight: 700;
}

.bd-one-storey__faq details p {
  margin: 0;
  padding: 0 20px 18px;
}

.bd-one-storey__consultation .wm-question {
  margin-top: 0;
}

.bd-one-storey__consultation .wm-question-info__title,
.bd-one-storey__consultation .wm-question-info__sub-title,
.bd-one-storey__consultation .wm-question-info-form__dispatch,
.bd-one-storey__consultation .wm-question-photo__phone {
  color: #fff;
  text-shadow: none;
}

.bd-one-storey__consultation .wm-question-info__title,
.bd-one-storey__consultation .wm-question-info__sub-title {
  font-weight: 700;
}

.bd-one-storey__consultation .wm-question-photo__phone a,
.bd-one-storey__consultation .wm-question-photo__phone a:hover,
.bd-one-storey__consultation .wm-question-photo__phone a:focus,
.bd-one-storey__consultation .wm-question-photo__phone a:focus-visible,
.bd-one-storey__consultation .wm-question-photo__phone a:active,
.bd-one-storey__consultation .wm-question-photo__phone a:visited {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-shadow: none;
}

.bd-one-storey__consultation .wm-question-photo__phone a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.bd-one-storey__consultation .wpcf7 .bd-form,
.bd-one-storey__consultation .wpcf7 .bd-form__intro,
.bd-one-storey__consultation .wpcf7 .bd-form__field,
.bd-one-storey__consultation .wpcf7 .bd-form__label {
  color: #263129;
}

.bd-one-storey__consultation .wpcf7 .bd-form input[type="text"],
.bd-one-storey__consultation .wpcf7 .bd-form input[type="tel"],
.bd-one-storey__consultation .wpcf7 .bd-form input[type="email"],
.bd-one-storey__consultation .wpcf7 .bd-form input[type="number"],
.bd-one-storey__consultation .wpcf7 .bd-form select,
.bd-one-storey__consultation .wpcf7 .bd-form textarea {
  border-color: #6f7f74;
  color: #202723;
}

.bd-one-storey__consultation .wpcf7 .bd-form input::placeholder,
.bd-one-storey__consultation .wpcf7 .bd-form textarea::placeholder {
  color: #667168;
  opacity: 1;
}

.bd-one-storey__consultation .wpcf7 .bd-form input:focus,
.bd-one-storey__consultation .wpcf7 .bd-form select:focus,
.bd-one-storey__consultation .wpcf7 .bd-form textarea:focus {
  border-color: #08712f;
  outline: 3px solid #08712f;
  outline-offset: 1px;
  box-shadow: none;
}

.bd-one-storey__consultation .wpcf7 .bd-form .wm-pdn-consent,
.bd-one-storey__consultation .wpcf7 .bd-form .wm-pdn-consent label,
.bd-one-storey__consultation .wpcf7 .bd-form .wm-pdn-consent .wpcf7-list-item-label {
  color: #4f5b53;
}

.bd-one-storey__consultation .wpcf7 .bd-form .wm-pdn-consent a,
.bd-one-storey__consultation .wpcf7 .bd-form .wm-pdn-consent a:hover,
.bd-one-storey__consultation .wpcf7 .bd-form .wm-pdn-consent a:focus,
.bd-one-storey__consultation .wpcf7 .bd-form .wm-pdn-consent a:focus-visible,
.bd-one-storey__consultation .wpcf7 .bd-form .wm-pdn-consent a:active,
.bd-one-storey__consultation .wpcf7 .bd-form .wm-pdn-consent a:visited {
  color: #08712f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bd-one-storey__consultation .wpcf7 .bd-form .wpcf7-not-valid {
  border-color: #b3261e !important;
  background: #fff8f7;
}

.bd-one-storey__consultation .wpcf7 form .wpcf7-not-valid-tip {
  color: #a8201a;
}

.bd-one-storey__consultation .wpcf7 .bd-form input[type="submit"].bd-form__submit {
  border-color: #08712f;
  background: #08712f;
  color: #fff;
}

.bd-one-storey__consultation .wpcf7 .bd-form input[type="submit"].bd-form__submit:hover,
.bd-one-storey__consultation .wpcf7 .bd-form input[type="submit"].bd-form__submit:focus,
.bd-one-storey__consultation .wpcf7 .bd-form input[type="submit"].bd-form__submit:focus-visible {
  border-color: #075d2b;
  background: #075d2b;
  color: #fff;
}

.bd-one-storey__consultation .wpcf7 .bd-form input[type="submit"].bd-form__submit:active {
  border-color: #064d20;
  background: #064d20;
  color: #fff;
}

.bd-one-storey__consultation .wpcf7 form.is-submitting .bd-form input[type="submit"].bd-form__submit,
.bd-one-storey__consultation .wpcf7 .bd-form input[type="submit"].bd-form__submit:disabled {
  border-color: #4e6f59;
  background: #4e6f59;
  color: #fff;
  opacity: 1;
}

@media (max-width: 900px) {
  .bd-one-storey__hero-grid,
  .bd-one-storey__split {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .bd-one-storey__fact-grid,
  .bd-one-storey__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bd-one-storey__catalog-head {
    display: block;
  }

  .bd-one-storey__sort {
    max-width: 520px;
    margin-top: 20px;
  }
}

@media (max-width: 560px) {
  #callnowbutton {
    display: none !important;
  }

  .bd-one-storey__hero {
    padding: 30px 0;
  }

  .bd-one-storey__lead {
    font-size: 17px;
  }

  .bd-one-storey__facts,
  .bd-one-storey__guidance,
  .bd-one-storey__planning,
  .bd-one-storey__comparison,
  .bd-one-storey__cost,
  .bd-one-storey__faq,
  .bd-one-storey__continuation {
    padding: 38px 0;
  }

  .bd-one-storey__summary,
  .bd-one-storey__fact,
  .bd-one-storey__steps article {
    padding: 19px;
  }

  .bd-one-storey__fact-grid,
  .bd-one-storey__steps {
    grid-template-columns: 1fr;
  }

  .bd-one-storey__fact-grid {
    gap: 12px;
  }

  .bd-one-storey__catalog .wm-main-item__info {
    padding: 12px;
  }

  .bd-one-storey__sort {
    grid-template-columns: 1fr;
  }

  .bd-one-storey__sort label {
    grid-column: auto;
  }

  .bd-one-storey__sort select,
  .bd-one-storey__sort button {
    width: 100%;
    max-width: none;
  }

  .bd-one-storey__table-wrap {
    overflow-x: visible;
  }

  .bd-one-storey__table-wrap table {
    max-width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .bd-one-storey__table-wrap thead {
    display: none;
  }

  .bd-one-storey__table-wrap tbody,
  .bd-one-storey__table-wrap tr,
  .bd-one-storey__table-wrap th,
  .bd-one-storey__table-wrap td {
    display: block;
  }

  .bd-one-storey__table-wrap tbody tr + tr {
    border-top: 1px solid var(--bd-line);
  }

  .bd-one-storey__table-wrap tbody th,
  .bd-one-storey__table-wrap tbody td {
    box-sizing: border-box;
    width: 100%;
    padding: 12px 16px;
    border-bottom: 0;
    overflow-wrap: anywhere;
  }

  .bd-one-storey__table-wrap tbody th {
    background: #e8f2e8;
    font-size: 17px;
  }

  .bd-one-storey__table-wrap tbody td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--bd-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
  }

  .bd-one-storey__table-wrap tbody td:nth-child(2)::before {
    content: "Организация пространства";
  }

  .bd-one-storey__table-wrap tbody td:nth-child(3)::before {
    content: "Что сравнить в проекте";
  }
}

@media (max-width: 320px) {
  .wm-mobile-header:not(.is-menu-open) .wm-mobile-menu__panel {
    display: none;
  }

  .wm-mobile-header.is-menu-open .wm-mobile-menu__panel {
    display: flex;
    transform: none;
  }

  html body .wm-header__bot .wm-bot {
    grid-template-columns: minmax(0, 1fr);
  }

  html body .wm-header__bot .wm-block-category,
  html body .wm-header__bot .wm-bot__block-category {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .bd-one-storey__hero-grid,
  .bd-one-storey__split,
  .bd-one-storey__fact-grid,
  .bd-one-storey__steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .bd-one-storey__hero .main-title {
    overflow-wrap: anywhere;
  }

  .bd-one-storey .sub-title,
  .bd-one-storey h3,
  .bd-one-storey p,
  .bd-one-storey li,
  .bd-one-storey a {
    overflow-wrap: anywhere;
  }

  .bd-one-storey__summary {
    padding: 10px;
  }

  .bd-one-storey__summary strong {
    font-size: 18px;
    word-break: break-word;
  }

  .bd-one-storey__fact,
  .bd-one-storey__steps article,
  .bd-one-storey__related a,
  .bd-one-storey__checklist,
  .bd-one-storey__faq details,
  .bd-one-storey__catalog .wm-main-item {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
  }

  .bd-one-storey__catalog .wm-main-item__info {
    grid-template-columns: 1fr;
  }

  .bd-one-storey__catalog .wm-main-item__size,
  .bd-one-storey__catalog .wm-main-item__price {
    grid-column: 1;
    text-align: left;
    white-space: normal;
  }

  html.wm-cookie-notice-visible .wm-cookie-notice {
    max-height: calc(100vh - 12px);
    overflow-y: auto;
    box-sizing: border-box;
    left: 6px;
    right: 6px;
    bottom: 6px;
    padding: 10px;
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  html.wm-cookie-notice-visible .wm-cookie-notice__button {
    min-width: 0;
    padding: 10px;
    white-space: normal;
  }

  .wm-footer-block,
  .wm-question-block,
  .wm-footer-right {
    display: block;
  }

  .wm-footer-block__left,
  .wm-footer-block__right,
  .wm-footer-right,
  .wm-footer-right__column,
  .wm-question-block__photo,
  .wm-question-block__info {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 0 1 auto;
  }

  .wm-footer-right__column {
    margin-right: 0;
    margin-left: 0;
  }

  .wm-question-block__photo img {
    max-width: 100%;
    height: auto;
  }

  .bd-one-storey__consultation *,
  .wm-footer * {
    box-sizing: border-box;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .bd-one-storey__consultation input,
  .bd-one-storey__consultation select,
  .bd-one-storey__consultation textarea {
    max-width: 100%;
  }
}

@media (max-width: 220px) {
  .wm-mobile-header__phone {
    display: none !important;
  }

  .wm-mobile-header__logo {
    min-width: 0;
  }

  .wm-mobile-header__logo img {
    width: auto;
    max-width: calc(100vw - 80px) !important;
    height: auto;
  }
}
