/* SC-SB UI-002: photographic hero, isolated to homepage. 2026-10-29. */
.sb-home .sb-hero--photo { padding-top:28px; }
.sb-home .sb-hero--photo .sb-hero__grid {
  position:relative; isolation:isolate; display:block; min-height:510px;
  overflow:hidden; border-radius:14px;
  background:#092e57; box-shadow:0 15px 36px rgba(10,40,78,.16);
}
.sb-home .sb-hero--photo .sb-hero__media {
  position:absolute; z-index:0; inset:0 0 0 auto; width:60%; height:100%;
  overflow:hidden; pointer-events:none;
}
.sb-home .sb-hero--photo .sb-hero__media img {
  display:block; width:100%; height:100%; object-fit:cover; object-position:center center;
}
.sb-home .sb-hero--photo .sb-hero__grid::after {
  content:''; position:absolute; z-index:1; inset:0; pointer-events:none;
  background:linear-gradient(90deg,#08284a 0%,#0b3155 32%,rgba(11,49,85,.93) 40%,rgba(11,49,85,.62) 58%,rgba(11,49,85,.07) 84%,transparent 100%);
}
.sb-home .sb-hero--photo .sb-hero__content {
  position:relative; z-index:2; box-sizing:border-box; min-height:510px;
  display:flex; flex-direction:column; justify-content:center; align-items:flex-start;
  width:min(770px,70%); padding:54px 46px 52px;
}
.sb-home .sb-hero--photo .sb-eyebrow { color:#b7dcff; font-size:11px; letter-spacing:.11em; margin-bottom:18px; }
.sb-home .sb-hero--photo h1 { color:#fff; max-width:720px; font-size:clamp(31px,3vw,43px); line-height:1.12; margin-bottom:22px; text-wrap:balance; }
.sb-home .sb-hero--photo .sb-hero__lead { color:#edf5ff; max-width:600px; font-size:16px; line-height:1.65; margin-bottom:24px!important; }
.sb-home .sb-hero--photo .sb-hero__actions { gap:12px; }
.sb-home .sb-hero--photo .sb-hero__actions .sb-btn { min-height:50px; padding:0 20px; border-radius:8px; font-size:13px; }
.sb-home .sb-hero--photo .sb-hero__actions .sb-btn i { margin-right:6px; }
.sb-home .sb-hero--photo .sb-hero__actions .sb-btn--ghost { border-color:rgba(255,255,255,.75); background:rgba(0,17,37,.12); }
.sb-home .sb-hero--photo .sb-hero__actions .sb-btn--ghost i { margin-left:6px; margin-right:0; }
.sb-home .sb-hero--photo .sb-hero__micro { margin-top:32px; gap:14px; color:#e2efff; line-height:1.4; }
.sb-home .sb-hero--photo .sb-hero__micro i { color:#a9d3ff; }
@media(max-width:1050px) {
  .sb-home .sb-hero--photo .sb-hero__content { width:min(750px,78%); padding:48px 36px; }
  .sb-home .sb-hero--photo .sb-hero__grid::after { background:linear-gradient(90deg,#08284a 0%,rgba(8,40,74,.97) 35%,rgba(8,40,74,.74) 65%,rgba(8,40,74,.12) 100%); }
}
@media(max-width:767px) {
  .sb-home .sb-hero--photo { padding-top:16px; }
  .sb-home .sb-hero--photo .sb-hero__grid { min-height:auto; }
  .sb-home .sb-hero--photo .sb-hero__media { inset:0; width:100%; opacity:.35; }
  .sb-home .sb-hero--photo .sb-hero__media img { object-position:68% center; }
  .sb-home .sb-hero--photo .sb-hero__grid::after { background:linear-gradient(90deg,rgba(8,35,65,.98),rgba(8,35,65,.91)); }
  .sb-home .sb-hero--photo .sb-hero__content { width:100%; min-height:0; padding:35px 23px 36px; }
  .sb-home .sb-hero--photo h1 { font-size:clamp(28px,7vw,37px); }
  .sb-home .sb-hero--photo .sb-hero__lead { font-size:15px; }
  .sb-home .sb-hero--photo .sb-hero__actions { flex-direction:column; width:100%; }
  .sb-home .sb-hero--photo .sb-hero__actions .sb-btn { width:100%; }
  .sb-home .sb-hero--photo .sb-hero__micro { margin-top:23px; gap:8px; flex-direction:column; font-size:12px; }
}
@media(prefers-reduced-motion:reduce) {
 .sb-home .sb-hero--photo .sb-btn:hover { transform:none; }
}


/* SC-SB UI-006: FULL-VIEWPORT HERO. Homepage only; local development. */
/* Break the 1180px sb-shell container ONLY for the photographic hero. */
.sb-home > .sb-hero.sb-hero--photo { padding-top:0 !important; }
.sb-home .sb-hero--photo > .sb-hero__grid.sb-shell {
  box-sizing:border-box;
  width:100vw;
  max-width:none;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  padding:0;
  border-radius:0;
  box-shadow:none;
}
@media(min-width:1051px) {
  .sb-home .sb-hero--photo > .sb-hero__grid.sb-shell { min-height:clamp(520px,44vw,630px); }
  .sb-home .sb-hero--photo .sb-hero__content {
    min-height:clamp(520px,44vw,630px);
    width:min(790px,64%);
    padding-left:clamp(36px,4vw,72px);
    padding-right:32px;
  }
  .sb-home .sb-hero--photo .sb-hero__media {
    width:62%;
  }
  .sb-home .sb-hero--photo .sb-hero__media img {
    object-position:50% 15%;
  }
  .sb-home .sb-hero--photo .sb-hero__grid::after {
    background:linear-gradient(90deg,
      #08284a 0%,#0b3155 27%,rgba(11,49,85,.94) 38%,
      rgba(11,49,85,.65) 54%,rgba(11,49,85,.10) 82%,transparent 100%);
  }
}
@media(min-width:768px) and (max-width:1050px) {
  .sb-home .sb-hero--photo .sb-hero__content { width:min(780px,84%); }
}
@media(max-width:767px) {
  .sb-home .sb-hero--photo > .sb-hero__grid.sb-shell {
    min-height:auto;
  }
  .sb-home .sb-hero--photo .sb-hero__content {
    padding-left:clamp(20px,5vw,32px);
    padding-right:clamp(20px,5vw,32px);
  }
}
/* END SC-SB UI-006 */


/* SC-SB UI-007: HERO TYPOGRAPHY MATCH 2026-10-31. Local only. */
/* Keep original SEO text and Rubik family; adjust only photo hero typography. */
@media (min-width:1200px) {
  .sb-home .sb-hero--photo .sb-hero__content {
    width:min(860px,67%);
    padding-left:clamp(40px,4vw,70px);
    padding-right:32px;
  }
  .sb-home .sb-hero--photo .sb-eyebrow {
    font-size:13px;
    line-height:1.35;
    letter-spacing:.11em;
    font-weight:750;
    margin-bottom:18px;
  }
  .sb-home .sb-hero--photo h1 {
    font-family:'Rubik','Tahoma',sans-serif;
    font-size:clamp(52px,4vw,56px);
    line-height:1.12;
    letter-spacing:-.035em;
    font-weight:800;
    max-width:790px;
    margin-bottom:22px;
    text-wrap:wrap;
  }
  .sb-home .sb-hero--photo .sb-hero__lead {
    font-size:20px;
    line-height:1.48;
    max-width:650px;
    margin-bottom:26px!important;
  }
  .sb-home .sb-hero--photo .sb-hero__actions {gap:16px;}
  .sb-home .sb-hero--photo .sb-hero__actions .sb-btn {
    font-size:15px;
    font-weight:700;
    min-height:56px;
    padding:0 23px;
    border-radius:7px;
  }
  .sb-home .sb-hero--photo .sb-hero__micro {
    font-size:13px;
    line-height:1.45;
    margin-top:28px;
  }
}
@media (min-width:768px) and (max-width:1199px) {
  .sb-home .sb-hero--photo .sb-hero__content {
    width:min(800px,83%);
    padding-left:clamp(28px,4vw,48px);
    padding-right:24px;
  }
  .sb-home .sb-hero--photo .sb-hero__grid,
  .sb-home .sb-hero--photo .sb-hero__content { min-height:560px; }
  .sb-home .sb-hero--photo .sb-eyebrow {font-size:12px;}
  .sb-home .sb-hero--photo h1 {
    font-size:clamp(38px,4.1vw,49px);
    line-height:1.12;
    letter-spacing:-.03em;
    max-width:720px;
    text-wrap:wrap;
  }
  .sb-home .sb-hero--photo .sb-hero__lead {font-size:18px;line-height:1.5;max-width:620px;}
  .sb-home .sb-hero--photo .sb-hero__actions .sb-btn {font-size:14px;min-height:52px;padding:0 20px;}
  
}

/* UI-009: заголовок в две строки */
@media (min-width: 1200px) {
  .sb-home .sb-hero--photo #sb-main-heading {
    font-size: clamp(44px, 3.65vw, 52px);
    max-width: none;
    text-wrap: initial;
    line-height: 1.12;
  }

  .sb-home .sb-hero--photo #sb-main-heading > span {
    display: block;
    white-space: nowrap;
  }
}

/* UI-007 intentionally leaves mobile text scaling from UI-002 unchanged. */
/* END SC-SB UI-007 */
