/* ==================================================================
   Бесплатный замер — вёрстка заказчика (soft-panels-measurement),
   перенесённая на сайт 18.09.2026. Оформление не менялось.

   Все классы с приставкой msp-measure, с темой не пересекаются.
   Картинок в этом файле нет — фон подключается в разметке блока.
   ================================================================== */

/* =====================================================================
   Free measurement / soft upholstered wall panels
   Scoped component: .msp-measure. No external libraries or font files.
   Master desktop reference: 2172 × 724 px.
   ===================================================================== */

.msp-measure {
  --msp-ink: #191a18;
  --msp-copy: #73706c;
  --msp-muted: #7d7871;
  --msp-bronze: #987650;
  --msp-orange: #f35a0b;
  --msp-cream: #f7f1e9;
  --msp-border: #dedde3;
  --msp-focus: #956638;
  --msp-error: #b63824;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(36px, 2.21vw, 48px) 0 clamp(38px, 2.21vw, 48px);
  background: var(--msp-cream);
  color: var(--msp-ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.msp-measure *,
.msp-measure *::before,
.msp-measure *::after { box-sizing: border-box; }
.msp-measure [hidden] { display: none !important; }
.msp-measure :where(button, input, select) { font: inherit; }
.msp-measure button,
.msp-measure input,
.msp-measure select,
.msp-measure a { -webkit-tap-highlight-color: transparent; }
.msp-measure__backdrop {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  pointer-events: none;
}
.msp-measure__backdrop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.msp-measure__container {
  width: min(73.666666%, 1600px);
  margin-inline: auto;
}
.msp-measure__header { max-width: 1020px; }
.msp-measure__eyebrow {
  display: flex;
  align-items: center;
  gap: clamp(13px, .737vw, 16px);
  margin: 0;
  color: var(--msp-bronze);
  font-size: clamp(11px, .69vw, 15px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.msp-measure__eyebrow > span {
  width: clamp(26px, 1.565vw, 34px);
  height: 2px;
  flex-shrink: 0;
  background: currentColor;
}
.msp-measure__title {
  margin: clamp(19px, 1.105vw, 24px) 0 0;
  font-size: clamp(42px, 3.407vw, 74px);
  font-weight: 700;
  letter-spacing: -.033em;
  line-height: 1;
  text-wrap: initial;
}
.msp-measure__title > span { display: block; }
.msp-measure__title em {
  color: #e9530e;
  font-style: normal;
}
.msp-measure__description {
  margin: clamp(12px, .553vw, 12px) 0 0;
  max-width: 1020px;
  color: var(--msp-copy);
  font-size: clamp(17px, 1.105vw, 24px);
  font-weight: 400;
  line-height: 1.29;
}
.msp-measure__description > span { display: block; }
.msp-measure__benefits {
  display: flex;
  align-items: stretch;
  gap: clamp(14px, 1.197vw, 26px);
  margin: clamp(18px, .829vw, 18px) 0 0;
  padding: 0;
  list-style: none;
}
.msp-measure__benefit {
  display: flex;
  align-items: center;
  gap: clamp(10px, .46vw, 10px);
  min-height: clamp(48px, 2.762vw, 60px);
  padding: 0 clamp(18px, 1.335vw, 29px) 0 clamp(9px, .46vw, 10px);
  border-radius: 16px;
  background: rgba(239, 222, 196, .43);
  font-size: clamp(14px, .921vw, 20px);
  line-height: 1.3;
  white-space: nowrap;
}
.msp-measure__benefit-icon {
  display: grid;
  place-items: center;
  flex: 0 0 clamp(48px, 2.762vw, 60px);
  width: clamp(48px, 2.762vw, 60px);
  height: clamp(48px, 2.762vw, 60px);
  border: 3px solid #fff;
  border-radius: 50%;
  color: #735327;
  background: #ffefca;
}
.msp-measure__icon {
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
.msp-measure__benefit-icon .msp-measure__icon {
  width: clamp(25px, 1.428vw, 31px);
  height: clamp(25px, 1.428vw, 31px);
}
.msp-measure__form {
  position: relative;
  width: 82.125%;
  margin: clamp(20px, 1.06vw, 23px) 0 0;
  padding: clamp(26px, 1.473vw, 32px) clamp(24px, 1.75vw, 38px) clamp(29px, 1.657vw, 36px);
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: clamp(18px, .921vw, 20px);
  background: linear-gradient(120deg, #fff 20%, #fff 61%, #fbf9f6 100%);
  box-shadow: 0 16px 42px rgba(146, 109, 65, .085);
}
.msp-measure__fields {
  display: grid;
  grid-template-columns: 1fr .96fr 1.08fr;
  align-items: start;
  gap: clamp(18px, 1.29vw, 28px);
}
.msp-measure__field-group { min-width: 0; }
.msp-measure__field {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  height: clamp(56px, 3.039vw, 66px);
  padding: 0 clamp(16px, 1.059vw, 23px);
  border: 1.5px solid var(--msp-border);
  border-radius: 13px;
  background: linear-gradient(110deg, #fff 0%, #faf9fc 100%);
  cursor: text;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.msp-measure__field:hover { border-color: #bfb6aa; }
.msp-measure__field:focus-within {
  border-color: var(--msp-focus);
  box-shadow: 0 0 0 3px rgba(152, 118, 80, .13);
  background: #fff;
}
.msp-measure__field:has([aria-invalid="true"]) { border-color: var(--msp-error); }
.msp-measure__field > .msp-measure__icon {
  width: clamp(21px, 1.151vw, 25px);
  height: clamp(21px, 1.151vw, 25px);
  margin-right: clamp(14px, 1.013vw, 22px);
  color: #8d6d4d;
  pointer-events: none;
}
.msp-measure__input,
.msp-measure__select {
  display: block;
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--msp-ink);
  font-size: clamp(16px, .967vw, 21px) !important;
  line-height: normal;
  box-shadow: none;
}
.msp-measure__input::placeholder { color: #929197; opacity: 1; }
.msp-measure__input:-webkit-autofill {
  -webkit-text-fill-color: var(--msp-ink);
  transition: background-color 99999s ease-in-out 0s;
}
.msp-measure__field--select { cursor: pointer; }
.msp-measure__select {
  position: absolute;
  inset: 0;
  padding: 0 clamp(42px, 2.348vw, 51px) 0 clamp(54px, 3.224vw, 70px);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.msp-measure__select option { background: #fff; color: #242424; }
.msp-measure__field > .msp-measure__select-chevron {
  width: 21px;
  height: 21px;
  margin: 0 0 0 auto;
  color: #171c1d;
}
.msp-measure__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, .737vw, 16px);
  width: 100%;
  min-width: 0;
  min-height: clamp(56px, 3.039vw, 66px);
  padding: 12px 14px;
  border: 1px solid #f25505;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(108deg, #f35a07 0%, #f75e0c 48%, #ef5509 100%);
  box-shadow: 0 11px 23px rgba(219, 106, 30, .14);
  font-size: clamp(16px, 1.013vw, 22px) !important;
  font-weight: 600 !important;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.msp-measure__submit .msp-measure__icon {
  width: clamp(23px, 1.336vw, 29px);
  height: clamp(23px, 1.336vw, 29px);
  transition: transform .18s ease;
}
@media (hover: hover) {
  .msp-measure__submit:hover:not(:disabled) {
    background: linear-gradient(108deg, #ed5100, #f56613);
    box-shadow: 0 13px 28px rgba(221, 97, 20, .26);
    transform: translateY(-1px);
  }
  .msp-measure__submit:hover:not(:disabled) .msp-measure__icon { transform: translateX(3px); }
}
.msp-measure__submit:active:not(:disabled) { transform: translateY(0); }
.msp-measure__submit:focus-visible {
  outline: 3px solid var(--msp-focus);
  outline-offset: 4px;
}
.msp-measure__submit:disabled { opacity: .72; cursor: not-allowed; }
.msp-measure__submit[aria-busy="true"] { cursor: wait; }
.msp-measure__consent-group { margin-top: clamp(13px, .645vw, 14px); }
.msp-measure__consent {
  display: flex;
  align-items: center;
  gap: clamp(10px, .599vw, 13px);
  min-height: 24px;
  color: #65615d;
  font-size: clamp(12px, .737vw, 16px);
  line-height: 1.45;
}
.msp-measure__consent label { cursor: pointer; }
.msp-measure__consent a {
  color: #da4c08;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.msp-measure__consent a:hover { color: #a83804; }
.msp-measure__consent a:focus-visible { outline: 2px solid var(--msp-focus); outline-offset: 3px; }
.msp-measure__checkbox {
  position: relative;
  display: block;
  flex: 0 0 23px;
  width: 23px;
  height: 24px;
  cursor: pointer;
}
.msp-measure__checkbox input {
  position: absolute;
  z-index: 2;
  inset: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.msp-measure__checkbox-view {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1.5px solid #c9beb0;
  border-radius: 5px;
  background: #fff;
  color: #fff;
  transition: background .15s ease, border-color .15s ease;
}
.msp-measure__checkbox-view .msp-measure__icon { width: 19px; height: 19px; opacity: 0; stroke-width: 2.7; }
.msp-measure__checkbox input:checked + .msp-measure__checkbox-view { border-color: var(--msp-orange); background: var(--msp-orange); }
.msp-measure__checkbox input:checked + .msp-measure__checkbox-view .msp-measure__icon { opacity: 1; }
.msp-measure__checkbox input:focus-visible + .msp-measure__checkbox-view { outline: 3px solid rgba(152,118,80,.45); outline-offset: 4px; }
.msp-measure__checkbox input[aria-invalid="true"] + .msp-measure__checkbox-view { border-color: var(--msp-error); }
.msp-measure__form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 1.382vw, 30px);
  margin-top: clamp(23px, 1.473vw, 32px);
}
.msp-measure__note {
  display: flex;
  align-items: center;
  gap: clamp(10px, .553vw, 12px);
  margin: 0;
  color: var(--msp-muted);
  font-size: clamp(11px, .737vw, 16px);
  line-height: 1.45;
}
.msp-measure__note > .msp-measure__icon {
  width: clamp(20px, 1.105vw, 24px);
  height: clamp(20px, 1.105vw, 24px);
  color: #77716a;
}
.msp-measure__note-line {
  flex-shrink: 0;
  width: clamp(24px, 1.474vw, 32px);
  height: 1.5px;
  margin-right: clamp(4px, .277vw, 6px);
  background: #c6c1bb;
}
.msp-measure__error {
  margin: 8px 0 0;
  color: var(--msp-error);
  font-size: 13px;
  line-height: 1.4;
}
.msp-measure__status {
  margin: 20px 0 0;
  padding: 13px 16px;
  border: 1px solid #dfcbb2;
  border-radius: 10px;
  background: #fff8ee;
  color: #714c20;
  font-size: 14px;
  line-height: 1.5;
}
.msp-measure__status[data-state="error"] { background: #fff3ef; border-color: #e8bbae; color: var(--msp-error); }
.msp-measure__status[data-state="success"] { background: #f4f8ef; border-color: #c9d7b8; color: #425a2d; }
.msp-measure__noscript { margin: 16px 0 0; font-size: 14px; color: var(--msp-error); }
.msp-measure__trap,
.msp-measure__sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Compact desktops: preserve usable control sizes without clipping the text. */
@media (max-width: 1599px) and (min-width: 1200px) {
  .msp-measure__container { width: 78%; }
  .msp-measure__header { max-width: 64%; }
  .msp-measure__description > span { display: inline; }
  .msp-measure__description > span:last-child { display: block; }
  .msp-measure__form { width: 89%; }
  .msp-measure__benefit { padding-right: 18px; }
  .msp-measure__fields { gap: 16px; }
  .msp-measure__field { padding-inline: 15px; }
  .msp-measure__field > .msp-measure__icon { margin-right: 12px; }
  .msp-measure__select { padding-left: 49px; padding-right: 35px; }
  .msp-measure__field > .msp-measure__select-chevron { margin-right: 0; width: 18px; }
  .msp-measure__submit { gap: 8px; }
}

/* Tablet landscape / narrow desktop. */
@media (max-width: 1199px) and (min-width: 768px) {
  .msp-measure { padding: 40px 0; }
  .msp-measure::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, #f7f1e9 0%, rgba(247,241,233,.97) 48%, rgba(247,241,233,.74) 68%, rgba(247,241,233,0) 100%);
  }
  .msp-measure__container { width: calc(100% - 64px); }
  .msp-measure__header { max-width: 82%; }
  .msp-measure__title { font-size: clamp(38px, 4.5vw, 52px); line-height: 1.04; }
  .msp-measure__description { font-size: 18px; line-height: 1.45; max-width: 750px; }
  .msp-measure__description > span { display: inline; }
  .msp-measure__description > span:last-child { display: block; }
  .msp-measure__benefits { gap: 12px; margin-top: 22px; }
  .msp-measure__benefit { gap: 8px; padding-right: 15px; font-size: 14px; }
  .msp-measure__benefit-icon { width: 46px; height: 46px; flex-basis: 46px; }
  .msp-measure__form { width: 100%; margin-top: 25px; padding: 24px; }
  .msp-measure__fields { gap: 14px; grid-template-columns: 1fr 1fr 1.1fr; }
  .msp-measure__field { padding-inline: 13px; }
  .msp-measure__field > .msp-measure__icon { width: 21px; height: 21px; margin-right: 10px; }
  .msp-measure__select { padding-left: 46px; padding-right: 33px; }
  .msp-measure__field > .msp-measure__select-chevron { width: 17px; height: 17px; margin: 0 0 0 auto; }
  .msp-measure__submit { font-size: 16px !important; gap: 7px; padding-inline: 8px; }
  .msp-measure__submit .msp-measure__icon { width: 22px; height: 22px; }
  .msp-measure__consent { font-size: 13px; }
  .msp-measure__note { font-size: 12px; }
  .msp-measure__note-line { display: none; }
  .msp-measure__form-footer { gap: 20px; margin-top: 22px; }
}
@media (max-width: 900px) and (min-width: 768px) {
  .msp-measure__container { width: calc(100% - 48px); }
  .msp-measure__header { max-width: 88%; }
  .msp-measure__fields { grid-template-columns: 1fr 1fr; }
  .msp-measure__submit { grid-column: 1 / -1; min-height: 56px; font-size: 18px !important; }
  .msp-measure__benefits { gap: 8px; }
  .msp-measure__benefit { white-space: normal; padding: 6px 12px 6px 7px; flex: 1; }
  .msp-measure__benefit-icon { width: 42px; height: 42px; flex-basis: 42px; }
}

/* Phone layout. The same real HTML content is reflowed; no screenshot layout. */
@media (max-width: 767px) {
  .msp-measure { display: flex; flex-direction: column; padding: 30px 20px 30px; }
  .msp-measure__container { display: contents; }
  .msp-measure__header { order: 1; width: 100%; max-width: none; }
  .msp-measure__eyebrow { gap: 9px; font-size: clamp(9px, 2.65vw, 12px); line-height: 1.4; letter-spacing: .125em; }
  .msp-measure__eyebrow > span { width: 20px; height: 1px; }
  .msp-measure__title { margin-top: 19px; font-size: clamp(27px, 7.9vw, 46px); line-height: 1.08; letter-spacing: -.035em; }
  .msp-measure__description { max-width: 600px; margin-top: 15px; font-size: 16px; line-height: 1.5; }
  .msp-measure__description > span { display: inline; }
  .msp-measure__description > span:last-child { display: block; margin-top: 5px; }
  .msp-measure__backdrop {
    position: relative;
    z-index: 0;
    inset: auto;
    order: 2;
    width: 100%;
    height: clamp(200px, 52vw, 290px);
    margin-top: 22px;
    overflow: hidden;
    border-radius: 18px;
    background: #dbcbbb;
  }
  .msp-measure__backdrop img { object-fit: cover; object-position: center bottom; }
  .msp-measure__benefits { order: 3; width: 100%; gap: 8px; margin: 16px 0 0; }
  .msp-measure__benefit {
    flex: 1 1 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 12px 6px 13px;
    border-radius: 13px;
    background: #f1e7d9;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
  }
  .msp-measure__benefit-icon { flex-basis: 43px; width: 43px; height: 43px; border-width: 2px; }
  .msp-measure__benefit-icon .msp-measure__icon { width: 24px; height: 24px; }
  .msp-measure__form { order: 4; width: 100%; margin-top: 18px; padding: 20px; border-radius: 18px; box-shadow: 0 12px 30px rgba(146,109,65,.07); }
  .msp-measure__fields { grid-template-columns: 1fr; gap: 12px; }
  .msp-measure__field { height: 56px; padding-inline: 16px; border-radius: 11px; }
  .msp-measure__field > .msp-measure__icon { width: 21px; height: 21px; margin-right: 14px; }
  .msp-measure__input, .msp-measure__select { font-size: 16px !important; }
  .msp-measure__select { padding-left: 53px; padding-right: 44px; }
  .msp-measure__field > .msp-measure__select-chevron { width: 20px; height: 20px; margin: 0 0 0 auto; }
  .msp-measure__submit { min-height: 57px; font-size: 17px !important; border-radius: 11px; gap: 12px; }
  .msp-measure__submit .msp-measure__icon { width: 25px; height: 25px; }
  .msp-measure__consent-group { margin-top: 17px; }
  .msp-measure__consent { align-items: flex-start; gap: 9px; font-size: 11px; line-height: 1.6; }
  .msp-measure__checkbox { margin-top: 2px; flex-basis: 20px; width: 20px; height: 21px; }
  .msp-measure__checkbox-view { width: 20px; height: 20px; border-radius: 4px; }
  .msp-measure__checkbox-view .msp-measure__icon { width: 16px; height: 16px; }
  .msp-measure__form-footer { flex-direction: column; align-items: flex-start; gap: 13px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #ece6dd; }
  .msp-measure__note { gap: 10px; font-size: 11px; line-height: 1.5; }
  .msp-measure__note > .msp-measure__icon { width: 20px; height: 20px; }
  .msp-measure__note-line { display: none; }
}
@media (min-width: 540px) and (max-width: 767px) {
  .msp-measure { padding-inline: 30px; }
  .msp-measure__benefit { flex-direction: row; justify-content: center; align-items: center; text-align: left; font-size: 13px; padding: 10px; }
  .msp-measure__fields { grid-template-columns: 1fr 1fr; }
  .msp-measure__submit { grid-column: 1 / -1; }
  .msp-measure__consent { font-size: 12px; }
}
@media (min-width: 540px) and (max-width: 639px) {
  .msp-measure__fields { grid-template-columns: 1fr; }
  .msp-measure__submit { grid-column: auto; }
}
@media (max-width: 359px) {
  .msp-measure { padding-inline: 16px; }
  .msp-measure__eyebrow { font-size: 9px; letter-spacing: .07em; }
  .msp-measure__title { font-size: 26px; }
  .msp-measure__description { font-size: 15px; }
  .msp-measure__form { padding: 17px; }
  .msp-measure__benefit { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .msp-measure *, .msp-measure *::before, .msp-measure *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .msp-measure__field, .msp-measure__submit, .msp-measure__checkbox-view { border: 1px solid ButtonText; }
  .msp-measure__checkbox input:checked + .msp-measure__checkbox-view .msp-measure__icon { color: Highlight; }
}

/* восстановление 11.2026: style.css задаёт всем <header> position:fixed —
   заголовок блока замера не должен его наследовать. */
.msp-measure header.msp-measure__header {
  position: static; top: auto; width: auto; z-index: auto;
  background: none; box-shadow: none; padding: 0;
}
