.hero-rework {
  --scene-height: clamp(446px, 36vw, 590px);
  padding: 34px 0 36px;
}
.hero-rework .life-grid {
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.23fr);
  gap: 36px;
}
.hero-rework .life-copy { padding: 13px 0 0; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 11px 16px; margin-bottom: 19px; }
.hero-rework .hero-meta .life-kicker { margin: 0; }
.map-rating {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}
.map-rating span { color: #aa5700; font-size: 15px; line-height: 1; }
.hero-rework h1 {
  margin-right: 0;
  font-size: clamp(52px, 5.3vw, 86px);
  letter-spacing: -.066em;
  line-height: 1.035;
}
.hero-promise {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  margin-top: 24px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 12px;
  font-size: clamp(20px, 1.85vw, 28px);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.hero-promise .icon { color: var(--primary); width: 30px; height: 30px; }
.hero-promise small {
  display: block;
  margin-top: 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: 0;
}
.hero-audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.hero-audience {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 66px;
  padding: 12px 13px;
  color: #fff;
  background: #ffffff12;
  border: 1px solid #a8b9fc91;
  border-radius: 11px;
  transition: background .2s;
}
.hero-audience:hover { background: #ffffff29; }
.hero-audience b, .hero-audience small { display: block; }
.hero-audience b { font-size: 17px; line-height: 1.3; }
.hero-audience small { font-size: 14px; color: #fff; margin-top: 3px; line-height: 1.3; }
.hero-audience .icon { width: 24px; height: 24px; color: #ffcd7b; }
.hero-rework .life-actions { margin-top: 20px; }
.hero-rework .life-actions > span { font-size: 13px; }
.hero-rework .life-actions .hero-calculate, .home-page .mobile-bar > .btn[href="#callback"] {
  background: #ffbd26;
  color: #122045;
  font-weight: 800;
  border: 1px solid #ffe18c;
}
.hero-rework .life-actions .hero-calculate {
  min-height: 61px;
  padding-inline: 28px;
  font-size: 19px;
  box-shadow: 0 4px 0 #bc6e00;
}
.hero-rework .life-actions .hero-calculate:hover,
.home-page .mobile-bar > .btn[href="#callback"]:hover { background: #ffd056; }
.hero-visual-grid { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr); gap: 12px; }
.hero-rework .memory-scene { height: var(--scene-height); border-radius: 16px 50px 16px 16px; }
.hero-rework .memory-scene > img { object-position: 61% 50%; }
.scene-state {
  display: none;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 9px;
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 750;
}
.memory-scene.is-before .scene-state { display: inline-block; }
.hero-crew {
  min-width: 0;
  height: var(--scene-height);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ink);
  box-shadow: 0 16px 45px #0c216f3d;
}
.hero-crew-photo { min-width: 0; min-height: 0; margin: 0; position: relative; overflow: hidden; }
.hero-crew-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 22%; }
.hero-crew-photo figcaption {
  position: absolute;
  inset: auto auto 9px 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  background: #122045d9;
  color: #fff;
}
.hero-crew-proof { padding: 19px 19px 20px; }
.hero-crew-proof strong { display: block; color: #ffb784; font-size: clamp(38px, 4.2vw, 68px); line-height: 1; letter-spacing: -.065em; }
.hero-crew-proof p { font-size: clamp(13px, 1.4vw, 19px); line-height: 1.3; color: #fff; margin: 8px 0 16px; }
.hero-crew-proof a { color: #dbe5ff; text-decoration: underline; text-underline-offset: 4px; font-size: 12px; }
.hero-rework .scene-toolbar { padding-top: 14px; }

@media (max-width: 1100px) {
  .hero-rework .life-grid { gap: 24px; }
  .hero-rework h1 { font-size: clamp(45px, 5.5vw, 64px); }
  .hero-audience { gap: 9px; padding-inline: 10px; }
  .hero-audience .icon { width: 19px; height: 19px; }
  .hero-audience small { font-size: 12px; }
  .hero-crew-proof { padding-inline: 13px; }
}
@media (max-width: 800px) {
  .hero-rework { --scene-height: 238px; padding: 22px 0 25px; }
  .hero-rework .life-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
  .hero-rework .life-copy { display: contents; }
  .hero-meta { order: 1; margin-bottom: 15px; }
  .hero-rework .life-kicker { font-size: 11px; }
  .hero-rework h1 { order: 2; font-size: clamp(40px, 10.5vw, 62px); }
  .hero-promise { order: 3; margin-top: 17px; padding: 10px 13px; font-size: 21px; }
  .hero-promise .icon { width: 23px; height: 23px; }
  .hero-promise br { display: none; }
  .hero-rework .life-stage { order: 4; margin-top: 14px; width: 100%; }
  .hero-audiences { order: 5; margin-top: 12px; }
  .hero-audience b { font-size: 15px; }
  .hero-audience small { font-size: 12px; }
  .hero-rework .life-actions { order: 6; margin-top: 16px; }
  .hero-rework .life-actions .hero-calculate { font-size: 17px; min-height: 54px; padding-inline: 15px; }
  .hero-rework .life-actions > span { font-size: 11px; }
  .hero-visual-grid { gap: 8px; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
  .hero-rework .memory-scene { border-radius: 12px 32px 12px 12px; }
  .hero-rework .memory-scene > img { object-position: 61% center; }
  .hero-crew { border-radius: 12px; }
  .hero-crew-photo img { object-position: 46% 22%; }
  .hero-crew-proof { padding: 12px 10px; }
  .hero-crew-proof strong { font-size: 33px; }
  .hero-crew-proof p { font-size: 11px; margin: 4px 0 0; }
  .hero-crew-proof a { display: none; }
  .hero-crew-photo figcaption { inset: auto auto 5px 5px; font-size: 9px; }
  .hero-rework .scene-toolbar { padding-top: 11px; }
}

.callback-section { padding: 54px 0 34px; scroll-margin-top: 30px; }
.callback-card { padding: clamp(22px, 4vw, 48px); border-radius: 18px; background: var(--soft); border: 1px solid var(--line); }
.callback-card h2 { font-size: clamp(29px, 3.25vw, 48px); }
.callback-intro { margin-top: 12px; }
.callback-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(11rem, .8fr); align-items: end; gap: 16px; margin-top: 25px; }
.callback-field { min-width: 0; }
.callback-field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 14px; font-weight: 800; }
.room-counter { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 3px; align-items: center; min-height: 54px; border-radius: 12px; border: 1px solid var(--line); background: white; }
.room-counter button { min-height: 44px; border: 0; background: transparent; color: var(--primary); border-radius: 8px; font-size: 23px; font-weight: 800; }
.room-counter button:hover:not(:disabled) { background: var(--soft); }
.room-counter button:disabled { color: var(--muted); }
.room-counter input { min-width: 0; width: 100%; min-height: 42px; text-align: center; color: var(--ink); border: 0; background: transparent; font-size: 18px; font-weight: 800; appearance: textfield; }
.room-counter input::-webkit-inner-spin-button, .room-counter input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.callback-phone { min-height: 54px; width: 100%; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); background: white; font: inherit; }
.callback-phone:disabled { opacity: 1; color: var(--muted); background: #fff9; }
.callback-call { min-height: 54px; white-space: nowrap; }
.callback-note { margin-top: 14px; font-size: 13px; }
.callback-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.callback-benefits article { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.callback-benefits .icon { color: var(--primary); margin-bottom: 11px; }
.callback-benefits h3 { margin-bottom: 8px; font-size: 20px; }
.callback-benefits p { margin: 0; font-size: 14px; line-height: 1.55; }
@media (max-width: 700px) {
  .callback-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .callback-fields .callback-call { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .callback-section { padding-top: 34px; }
  .callback-fields { gap: 13px 10px; }
  .room-counter { grid-template-columns: 35px minmax(0, 1fr) 35px; }
  .callback-field:has(.callback-phone), .callback-call { grid-column: 1 / -1; }
  .callback-benefits { grid-template-columns: 1fr; }
  .callback-benefits article { padding: 17px 18px; }
}
@media (max-width: 390px) {
  .hero-crew-proof strong { font-size: 29px; }
  .hero-crew-proof p { font-size: 10px; }
}

.hero-rework .hero-heading-secondary {
  display: inline-block;
  font-size: .83em;
  line-height: 1.06;
}
@media (min-width: 801px) {
  .hero-rework h1 { font-size: clamp(41px, 4.6vw, 78px); }
}

.services-home .catalog-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 24rem);
  align-items: end;
  gap: clamp(24px, 5vw, 60px);
}
.services-home .catalog-heading h2 {
  max-width: none;
  font-size: clamp(36px, 5vw, 68px);
  text-wrap: balance;
}
.catalog-heading h2 span { color: var(--primary); white-space: nowrap; }
@media (max-width: 760px) {
  .services-home .catalog-heading { grid-template-columns: 1fr; gap: 16px; }
  .services-home .catalog-heading h2 { text-wrap: wrap; }
}
