/* Общая геометрия первого экрана пяти страниц, включая главную. */
html { scrollbar-gutter: stable; scroll-padding-top: 112px; }
@media (max-width: 700px) { html { scroll-padding-top: 160px; } }
.home-standard .hero-grid { grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); align-items: start; gap: 48px; padding-block: 48px 40px; }
.home-standard .hero-copy { display: grid; grid-template-rows: 20px 188px 120px 52px; gap: 20px; }
.home-standard .hero .eyebrow { margin: 0; line-height: 20px; }
.home-standard .hero h1 { font-size: 56px; line-height: 1.12; margin: 0; height: 100%; }
.home-standard .hero-lead { margin: 0; font-size: 18px; line-height: 30px; height: 100%; }
.home-standard .hero .actions { align-self: start; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 450px; }
.home-standard .gallery { height: 440px; }
.home-standard .gallery figcaption { display: flex; align-items: end; min-height: 68px; bottom: 20px; }
.home-standard .gallery figcaption > span:first-child { min-width: 0; max-width: 310px; }
.home-standard [data-gallery-caption] { display: block; min-height: 48px; line-height: 24px; }
.home-standard .gallery-controls { flex-shrink: 0; margin: 0; }
.home-standard .gallery-controls button { width: 36px; height: 36px; }
.home-standard [data-gallery-count] { min-width: 25px; text-align: center; font-variant-numeric: tabular-nums; }
.home-standard .local-nav { column-gap: clamp(16px,4vw,30px); }
.hero-license { height: 100%; align-self: start; }
.hero-license__title { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #e1dcd2; line-height: 1.35; }
.hero-license__title svg { width: 27px; height: 27px; flex: 0 0 auto; }
.hero-license__title strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: .02em; }
.hero-license__title > span:last-child { margin-left: auto; padding-right: 8px; }
.hero-license p { margin: 10px 0 4px; color: #becdd7; font-size: 15px; line-height: 1.45; }
.hero-license small { display: block; font-size: 11px; line-height: 1.5; color: #95aab7; overflow-wrap: anywhere; }
.home-standard .gallery .gallery-outgoing { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; pointer-events: none; }
.home-standard .direction-nav { border-top: 0; }
.home-standard .direction-nav a { min-height: 72px; padding: 19px 20px; font-size: 18px; border-right: 0; border-bottom: 2px solid #ffffff12; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.home-standard .direction-nav a:first-child { border-left: 0; }
.home-standard .direction-nav a > span:last-child { margin-left: 0; }
.home-standard .direction-nav a[aria-current=page] { background: #ffffff03; border-bottom-color: var(--bright); }
.home-standard .direction-nav a:hover,.home-standard .direction-nav a:focus-visible { background: #ffffff0b; color: #fff; }
.home-standard-body .gt-header__nav { font-size: 16px; gap: 22px; }
.home-standard-body .gt-header__phone { font-size: 17px; }
.home-standard-body .gt-header__inner { gap: 22px; }
.home-standard-body .gt-header__cta { display: none; }
.gt-messengers { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.gt-header .gt-messenger { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; color: #637583; background: transparent; transition: color 180ms, background 180ms; }
.gt-header .gt-messenger:hover { color: #123347; background: #edf2f5; }
.gt-messenger svg { width: 20px; height: 20px; }
.gt-header .gt-messenger--max { position: relative; isolation: isolate; width: 50px; color: #354e60; font-size: 11px; font-weight: 750; letter-spacing: -.02em; }
.gt-messenger--max::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(160deg,#dfe5eb 15%,#718ebe 52%,#d58b8e 90%); mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); mask-composite: exclude; opacity: .5; animation: max-breathe 5s ease-in-out infinite; pointer-events: none; }
@keyframes max-breathe { 0%,100% { opacity: .35; } 50% { opacity: .8; } }
/* Нативный переход сохраняет старый кадр до готовности следующего документа. */
@view-transition { navigation: auto; }
.home-standard-body .gt-header { view-transition-name: site-header; }
.home-standard .direction-nav { view-transition-name: direction-navigation; }
::view-transition-group(*) { animation-duration: 0s; }
::view-transition-old(root) { animation: section-out 260ms ease both; mix-blend-mode: normal; }
::view-transition-new(root) { animation: section-in 260ms ease both; mix-blend-mode: normal; }
::view-transition-old(site-header),::view-transition-old(direction-navigation) { animation: section-out 220ms ease both; }
::view-transition-new(site-header),::view-transition-new(direction-navigation) { animation: section-in 220ms ease both; }
@keyframes section-out { to { opacity: 0; } }
@keyframes section-in { from { opacity: 0; filter: saturate(.75); } to { opacity: 1; filter: saturate(1); } }
@media (min-width: 701px) and (max-width: 1120px) {
  .home-standard .hero-grid { gap: 28px; }
  .home-standard .hero-copy { grid-template-rows: 20px 208px 150px 116px; gap: 18px; }
  .home-standard .hero h1 { font-size: 46px; }
  .home-standard .gallery { height: 548px; }
  .home-standard .gallery figcaption { display: block; }
  .home-standard .gallery-controls { margin-top: 10px; }
  .home-standard .hero .actions { grid-template-columns: 1fr; max-width: 340px; }
  .home-standard-body .gt-header__inner { justify-content: space-between; }
  .home-standard-body .gt-header__phone { display: inline-flex; font-size: 16px; }
}
@media (max-width: 700px) {
  .home-standard h2 { overflow-wrap: anywhere; }
  .home-standard .hero-grid { grid-template-columns: 1fr; gap: 26px; padding-block: 30px 26px; }
  .home-standard .hero-copy { grid-template-rows: 20px 4.48em 130px 116px; gap: 18px; font-size: clamp(30px,8.6vw,42px); }
  .home-standard .hero h1 { font-size: inherit; line-height: 1.12; }
  .home-standard .hero-lead { font-size: 16px; line-height: 26px; }
  .home-standard .hero .actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .home-standard .gallery { height: 315px; }
  .home-standard .gallery figcaption { display: flex; left: 16px; right: 16px; gap: 12px; }
  .home-standard .gallery-controls { gap: 5px; }
  .home-standard .gallery-controls button { width: 36px; height: 36px; }
  .home-standard .direction-nav a { min-height: 58px; padding: 13px 8px; font-size: 15px; gap: 8px; }
  .home-standard-body .gt-header__inner { flex-wrap: wrap; justify-content: space-between; padding: 15px 0 12px; gap: 14px; }
  .home-standard-body .gt-header__phone { display: inline-flex; font-size: 15px; order: 3; }
  .home-standard-body .gt-header__inner .gt-brand { flex-basis: 100%; padding-right: 90px; }
  .home-standard-body .gt-messengers { order: 4; gap: 8px; }
  .gt-header .gt-messenger { height: 36px; width: 36px; }
  .gt-header .gt-messenger--max { width: 46px; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .home-standard .hero-copy { grid-template-rows: 20px 208px 210px 116px; }
  .home-standard .gallery { height: 608px; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .gt-messenger--max::before { animation: none; opacity: .55; }
  .gt-header .gt-messenger { transition: none; }
  .home-standard .direction-nav a { transition: none; }
  ::view-transition-old(*),::view-transition-new(*) { animation: none; }
}
@media (max-width: 360px) {
  .home-standard .direction-nav small { display: none; }
  .home-standard .direction-nav a { font-size: 14px; }
  .home-standard .hero-copy { grid-template-rows: 20px 4.48em 182px 116px; }
  .home-standard-body .gt-header__phone { font-size: 14px; }
  .home-standard-body .gt-messengers { gap: 6px; }
  .gt-header .gt-messenger { width: 32px; height: 36px; }
  .gt-header .gt-messenger--max { width: 40px; }
}
