/* Главная RU/EN: сначала пример отчёта, прайс и заявка. */
html { scroll-padding-top: 72px; }
.home-review :is(section, details)[id] { scroll-margin-top: 0; }
.home-review #contacts .socials {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(2px, 1.4vw, 12px); margin: 20px auto 0;
}
.home-review #contacts .si {
  flex: 0 0 auto; width: clamp(34px, 10vw, 46px); height: clamp(36px, 10vw, 46px); border-radius: 50%;
}
.home-review #contacts .si svg { width: 55%; height: 55%; }
.home-review .si-maps { color: #f8cf68; background: #19293a; border: 1px solid #b8a06b; }
.home-review > section:not(.hero) { padding: 46px 0; }
.home-review .pagination { display: flex; justify-content: space-between; align-items: center; color: var(--muted); margin: 10px 0 15px; }
.home-review #report .strip-wrap { margin: 0; }
.home-review .rep-strip { margin: 0; width: 100%; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; }
.home-review .rep-strip img { max-width: 100%; object-fit: contain; }
.home-review #report .dl-row { margin-top: 14px; }
.home-review #prices .prices { display: block; margin-inline: auto; max-width: 800px; }
.home-review #request .intake-form { margin-inline: auto; }
.home-review #details .wrap > details { border-bottom: 1px solid #415067; }
.home-review #details .wrap > details > summary { padding: 17px 0; cursor: pointer; font-weight: 600; }
.home-review #details summary h2 { display: inline; font: inherit; }
.home-review .detail-body { padding-bottom: 20px; }
.home-review .detail-body section { padding: 12px 0; }
@media (max-width: 760px) {
  .home-review .hero.hero-short { min-height: min(660px, calc(100svh - 132px)); }
  .home-review .hero.hero-short .wrap { box-sizing: border-box; padding: 42px 16px 35px; }
  .home-review .hero-short .cta { margin-bottom: 0; }
  .home-review > section:not(.hero) { padding: 32px 0; }
  .home-review .rep-strip img { width: min(69vw, 300px); }
  .home-review #report .dl-row { display: grid; gap: 7px; }
  .home-review #report .dl-row .btn { min-height: 42px; padding: 10px 14px; }
  .home-review #report .dl-row .btn-line { border: 0; text-decoration: underline; }
}
@media (min-width: 761px) {
  .home-review #contacts .socials { justify-content: flex-start; margin-left: 0; }
  .home-review .rep-strip img { width: clamp(225px, 23vw, 310px); }
}

.home-review .hero .consent { text-align: left; max-width: min(100%, 620px); margin: 16px auto 0; left: auto; right: auto; }
.home-review .hero .consent .btn { white-space: normal; }
@media (max-width: 380px) {
  .home-review .hero-short h1 { font-size: clamp(32px, 9.5vw, 36px); }
}

@media (min-width: 761px) {
  .home-review .hero.hero-short { padding-block: 24px; min-height: min(710px, calc(100svh - 72px)); }
  .home-review .hero.hero-short .wrap { padding-block: 24px; }
  .home-review .hero-short h1 { max-width: 990px; font-size: clamp(48px, 4.8vw, 68px); margin-bottom: 10px; }
  .home-review .hero-short .lead { margin: 10px auto 12px; }
}

/* Один проход света по фотографии при открытии мобильной главной. */
@media screen and (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .home-review .hero-bg::after {
    content: "";
    position: absolute;
    inset: -16% -35%;
    pointer-events: none;
    background: linear-gradient(112deg, transparent 35%, rgba(98, 197, 224, .25) 46%,
      rgba(255, 215, 147, .30) 51%, transparent 62%);
    animation: inspection-light 4.6s ease-in-out both;
  }
}
@keyframes inspection-light {
  0% { opacity: 0; transform: translateX(-56%); }
  24%, 72% { opacity: 1; }
  100% { opacity: 0; transform: translateX(56%); }
}
