/* Shared type and alignment for the approved visual direction. */
:root { --site-content-width: 1240px; --site-side-gap: 40px; --site-mobile-gap: 20px; }

@media (min-width: 901px) {
  body.reference-study #constructor.container { width: min(var(--site-content-width), calc(100% - 2 * var(--site-side-gap))) !important; max-width: var(--site-content-width) !important; }
  body.reference-study #contacts .contact-copy { padding-left: 0 !important; }
  body.reference-study #contacts .lead-form { padding-left: 0 !important; }
}

body.reference-study main > section:is(#catalog,#cost,#constructor,#process,#materials,#decor,#works,#custom,#questions):not(#__alignment_specificity) h2,
body.reference-study #values .prototype-values-title,
body.reference-study #contacts .contact-copy h2,
body.reference-study #questions h2 {
  font-size: 44px !important;
  line-height: 1.1 !important;
  font-weight: 400 !important;
  letter-spacing: -.035em !important;
}
body.reference-study #values .prototype-values-title { margin-bottom: 48px !important; }
body.reference-study #values .adv-explanation { font-size: 18px !important; line-height: 1.45 !important; }
body.reference-study #contacts .lead-form > .button.button-white {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  background: #e2e9dc !important;
  color: #20372c !important;
  font-weight: 500;
}
body.reference-study #contacts .lead-form > .button.button-white:hover { background: #f2f5ee !important; }
body.reference-study #contacts .lead-form > .button.button-white:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 900px) {
  body.reference-study #constructor.container { width: calc(100% - 48px) !important; max-width: var(--site-content-width) !important; }
  body.reference-study #custom.container { width: calc(100% - 48px) !important; max-width: var(--site-content-width) !important; }
  body.reference-study #contacts .contact-copy { padding-left: 0 !important; padding-right: 0 !important; }
  body.reference-study #contacts .lead-form { padding-left: 0 !important; padding-right: 0 !important; }
  body.reference-study #constructor .shape-option img { width: 60px !important; height: 60px !important; flex: 0 0 60px !important; }
  body.reference-study #constructor .shape-option span { min-width: 0; flex: 1 1 auto; overflow-wrap: anywhere; }
}
@media (max-width: 700px) {
  body.reference-study #constructor.container { width: calc(100% - 2 * var(--site-mobile-gap)) !important; }
  body.reference-study #custom.container { width: calc(100% - 2 * var(--site-mobile-gap)) !important; }
  body.reference-study main > section:is(#catalog,#cost,#constructor,#process,#materials,#decor,#works,#custom,#questions):not(#__alignment_specificity) h2,
  body.reference-study #values .prototype-values-title,
  body.reference-study #contacts .contact-copy h2,
  body.reference-study #questions h2 {
    font-size: 30px !important;
    line-height: 1.15 !important;
  }
  body.reference-study #values .adv-explanation { font-size: 17px !important; line-height: 1.45 !important; }
}
@media (max-width: 360px) {
  body.reference-study #constructor .shape-options { grid-template-columns: minmax(0, 1fr) !important; }
  body.reference-study #constructor .shape-option span { min-width: 0; overflow-wrap: anywhere; }
}
