/* Root /web/: website presentation within the same photographic landing system. */
.site-scope .web-hero { padding-top: 24px; padding-bottom: 48px; }
.web-hero__stage {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 20px;
  overflow: hidden;
  padding: 16px;
  border-radius: 32px;
  background: var(--table, #ecebe6);
}
.web-hero__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
}
.site-scope .web-hero__copy .eyebrow { display: block; margin: 0 0 16px; color: var(--ink, #111); }
.site-scope .web-hero__title {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -.033em;
  line-height: 1.229;
}
.web-hero__title span { display: block; }
.site-scope .web-hero__copy .lede { margin: 18px 0 0; max-width: 34em; font-size: 16px; }
.web-hero__actions { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 20px; }
.web-hero__actions .btn { min-height: 52px; max-width: 100%; white-space: normal; text-align: center; }
.site-scope .web-hero__actions .btn-primary { background: var(--brand-ink, #0062cc); }
.site-scope .web-hero__secondary { max-width: 100%; color: var(--brand-ink, #0062cc); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.web-hero__photo { display: block; min-width: 0; margin: 0 -16px -16px; }
.web-hero__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.web-hero ~ #start, .web-hero ~ #start #fm-form { scroll-margin-top: 120px; }
@media (min-width: 760px) {
  .web-hero__stage { padding: 24px; border-radius: 48px; gap: 24px; }
  .web-hero__copy { padding: 32px; border-radius: 32px; }
  .site-scope .web-hero__title { font-size: 38px; }
  .web-hero__photo { margin: 0 -24px -24px; }
}
@media (min-width: 1200px) {
  .site-scope .web-hero { padding-top: 32px; padding-bottom: 64px; }
  /* Высота одна на все три раздела, карточка — во всю высоту сцены:
     первые экраны стоят рядом в меню и должны читаться одним блоком. */
  .web-hero__stage { display: flex; align-items: stretch; min-height: 520px; padding: 32px; border-radius: 64px; }
  .web-hero__copy { display: flex; flex-direction: column; justify-content: center; width: 50%; max-width: 621px; }
  .site-scope .web-hero__title { font-size: clamp(38px, 4vw, 48px); }
  .web-hero__photo { position: absolute; inset: 0; margin: 0; z-index: 0; pointer-events: none; }
  .web-hero__photo img { width: 100%; height: 100%; aspect-ratio: auto; object-position: right center; }
}

/* Планшет (760–1199 px): текст и фото рядом. В одну колонку первый экран
   вырастал до тысячи пикселей — кнопка уезжала под сгиб, а снимок во всю
   ширину повторял то, что уже сказано словами. На ≥1200 фото снова становится
   фоном карточки, как было. */
@media (min-width: 760px) and (max-width: 1199.98px) {
  .web-hero__stage { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: stretch; min-height: 520px; }
  .web-hero__photo { margin: 0; align-self: stretch; }
  .web-hero__photo img { height: 100%; aspect-ratio: auto; min-height: 320px; border-radius: 24px; object-fit: cover; }
}
