.mp24tc {
  --mp24tc-orange: var(--mp-orange, #ff8635);
  --mp24tc-orange-hover: var(--mp-orange-hover, #e16f1f);
  box-sizing: border-box;
  width: 100%;
  margin: 28px 0;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid #e2e3e5;
  background: #f7f7f7;
  color: #2d2f32;
}

.mp24tc *, .mp24tc *::before, .mp24tc *::after { box-sizing: border-box; }
.mp24tc__header h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; }
.mp24tc__header p { max-width: 820px; margin: 0 0 24px; color: #61656a; font-size: 16px; line-height: 1.6; }
.mp24tc__form label { display: block; margin: 0 0 8px; color: #26282b; font-weight: 700; }
.mp24tc__input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.mp24tc__input-row input {
  width: 100%;
  min-height: 52px;
  padding: 11px 14px;
  border: 1px solid #aeb2b7;
  background: #fff;
  color: #202225;
  font: inherit;
  box-shadow: none;
}
.mp24tc__input-row input:focus { border-color: #0b57d0; outline: 3px solid rgb(11 87 208 / 22%); outline-offset: 1px; }
.mp24tc__button {
  display: inline-flex !important;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px !important;
  border: 1px solid var(--mp24tc-orange) !important;
  background: var(--mp24tc-orange) !important;
  color: #fff !important;
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
}
.mp24tc__button:hover { border-color: var(--mp24tc-orange-hover) !important; background: var(--mp24tc-orange-hover) !important; color: #fff !important; }
.mp24tc__button:focus-visible { outline: 3px solid #0b57d0; outline-offset: 3px; }
.mp24tc__button:disabled { opacity: .58; cursor: wait; }
.mp24tc__button--secondary { border-color: #3f4246 !important; background: #fff !important; color: #242629 !important; }
.mp24tc__button--secondary:hover { border-color: #dfe1e4 !important; background: #e9eaec !important; color: #242629 !important; }
.mp24tc__honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.mp24tc__status { display: none; margin-top: 12px; padding: 11px 13px; line-height: 1.45; }
.mp24tc__status.is-visible { display: block; }
.mp24tc__status.is-info { background: #eef5ff; color: #16477f; }
.mp24tc__status.is-error { background: #fff0f0; color: #8d1e1e; }
.mp24tc__suggestions { margin-top: 18px; }
.mp24tc__suggestions h3 { margin: 0 0 10px; font-size: 17px; }
.mp24tc__suggestion-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mp24tc__suggestion {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #d4d6d9;
  background: #fff;
  color: #292b2e;
  text-align: left;
  cursor: pointer;
}
.mp24tc__suggestion:hover { border-color: var(--mp24tc-orange); background: #fff8f3; }
.mp24tc__suggestion:focus-visible { outline: 3px solid #0b57d0; outline-offset: 2px; }
.mp24tc__suggestion strong, .mp24tc__suggestion span { display: block; }
.mp24tc__suggestion strong { font-size: 15px; line-height: 1.35; }
.mp24tc__suggestion span { margin-top: 4px; color: #6a6e73; font-size: 13px; line-height: 1.35; }
.mp24tc__result { margin-top: 24px; padding: 24px 0 0; border-top: 2px solid #d7d9dc; background: transparent; }
.mp24tc__result-address { margin-bottom: 18px; }
.mp24tc__result-address span, .mp24tc__result-address strong { display: block; }
.mp24tc__result-address span, .mp24tc__facts span { color: #6a6e73; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.mp24tc__result-address strong { margin-top: 4px; font-size: 17px; line-height: 1.4; }
.mp24tc__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mp24tc__facts > div { padding: 16px; border-top: 3px solid #8d9094; background: #fff; }
.mp24tc__facts strong { display: block; margin-top: 6px; font-size: clamp(21px, 3vw, 29px); line-height: 1.2; }
.mp24tc__facts > .mp24tc__price { border-top-color: var(--mp24tc-orange); }
.mp24tc__basis { margin: 18px 0 5px; color: #555a60; line-height: 1.55; }
.mp24tc__flat { margin: 0 0 14px; color: #555a60; font-weight: 700; }
.mp24tc__estimate { margin: 0; padding-top: 14px; border-top: 1px solid #e2e3e5; color: #555a60; line-height: 1.55; }
.mp24tc__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.mp24tc__privacy { margin: 14px 0 0; color: #71757a; font-size: 13px; line-height: 1.45; }

.wp-block-image.mp24tc-service-hero {
  width: min(100%, 900px);
  margin-right: auto;
  margin-bottom: 32px;
  margin-left: auto;
}
.wp-block-image.mp24tc-service-hero img { display: block; width: 100%; height: auto; }

@media (max-width: 700px) {
  .mp24tc { margin: 20px 0; padding: 18px; }
  .mp24tc__input-row, .mp24tc__facts, .mp24tc__actions, .mp24tc__suggestion-list { grid-template-columns: 1fr; }
  .mp24tc__button { width: 100%; }
  .wp-block-image.mp24tc-service-hero { width: 100%; margin-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .mp24tc * { scroll-behavior: auto !important; transition: none !important; }
}
