.agents-hero.hv5 { --p: 1; background: var(--paper); transition: background-color .8s cubic-bezier(.4, 0, .2, 1); }
.agents-hero.hv5.is-temno { background: var(--depth); }
.hv5-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hv4-put { position: relative; }
.hv4-fon-sloj { position: absolute; inset: 0; z-index: 0; }
.hv4-fon { position: sticky; top: var(--nav-h, 76px); height: calc(100vh - var(--nav-h, 76px)); overflow: hidden;
  background-color: var(--paper); transition: background-color .8s cubic-bezier(.4, 0, .2, 1); }
.hv5.is-temno .hv4-fon { background-color: var(--depth); }
.hv5-plasty { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 230px), transparent calc(100% - 70px));
  mask-image: linear-gradient(to bottom, #000 calc(100% - 230px), transparent calc(100% - 70px));
  clip-path: inset(var(--ct, 0px) var(--cr, 0px) var(--cb, 0px) var(--cl, 0px) round 28px); transition: opacity .9s ease; }
.hv5.is-temno .hv5-plasty { opacity: 1; }
.hv5-plasty.is-raskryt { clip-path: inset(0 0 0 0 round 0px); transition: opacity .9s ease, clip-path 1.5s cubic-bezier(.22, .7, .18, 1); }
.hv4-tekst { position: relative; z-index: 1; transition: opacity .35s ease; }
.hv5.is-zhivoj .hv4-tekst { position: sticky; top: var(--nav-h, 76px); }
.hv5.bez-lipkosti .hv4-tekst { position: relative; top: auto; }
.hv5-gas { opacity: var(--vid, 1); }
.hv5-niz.is-skryt { visibility: hidden; }
.hv5.is-temno .hv4-tekst { opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.hv5.is-temno .hv5-niz { visibility: hidden; transition: visibility 0s linear .3s; }
.hv5-niz { display: flex; flex-direction: column; align-items: center; }
.agents-hero.hv5 .hv3-verh { padding-top: clamp(32px, 6vh, 76px); }
.agents-hero.hv5 .hv3-h1 { max-width: none; width: 100%; }
.agents-hero.hv5 .hv4-okno { z-index: 2; margin-top: clamp(44px, 4.6vw, 64px); }
.agents-hero.hv5 .hv5-str-m { margin-top: .16em; }
.hv5-mazok .hv5-m { display: inline-block; transition: opacity .42s ease, transform .42s cubic-bezier(.2, .75, .2, 1); }
.hv5-mazok .hv5-m.is-ushel { position: absolute; left: .26em; top: 0; opacity: 0; transform: translateY(-.34em); }
.hv5-mazok .hv5-m.is-zhdet { opacity: 0; transform: translateY(.34em); transition: none; }
@media (min-width: 761px) and (max-height: 860px) {
  .agents-hero.hv5 .hv3-verh { padding-top: clamp(24px, 4.4vh, 40px); }
  .agents-hero.hv5 .hv3-h1 { font-size: min(clamp(36px, 4.1vw, 62px), 6.6vh); }
  .agents-hero.hv5 .hv3-pod { margin-top: 18px; font-size: 18px; }
  .agents-hero.hv5 .hv3-knopki { margin-top: 26px; }
  .agents-hero.hv5 .hv3-meta { margin-top: 14px; }
  .agents-hero.hv5 .hv4-okno { margin-top: 40px; }
}
@media (min-width: 761px) and (max-height: 760px) {
  .agents-hero.hv5 .hv3-verh { padding-top: 18px; }
  .agents-hero.hv5 .hv3-h1 { font-size: min(clamp(34px, 4.1vw, 62px), 6.4vh); }
  .agents-hero.hv5 .hv3-pod { margin-top: 12px; font-size: 17px; }
  .agents-hero.hv5 .hv3-knopki { margin-top: 18px; }
  .agents-hero.hv5 .hv3-meta { display: none; }
  .agents-hero.hv5 .hv4-okno { margin-top: 28px; }
  .agents-hero.hv5 .hv4-klienty-in { min-height: 56px; }
}
.agents-hero.hv5 .avat-demo__toolbar.hv5-birka { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; min-height: 52px;
  padding: 10px 22px; }
.hv5-birka-t { font: 400 15px/1.35 var(--body); color: var(--ink); }
.hv5-birka-t b { font-weight: 500; }
.hv5 .agents-real .ad-deal-hint { display: none; }
.hv5-birka-p { font: 400 14px/1.35 var(--body); color: var(--muted); text-align: right; }
.hv5-birka-adres { flex: none; font: 400 13px/1.35 var(--body); color: var(--muted); white-space: nowrap; }
main .hv5-birka-adres a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hv5-birka-pr { display: flex; align-items: center; gap: 8px 16px; min-width: 0; }
.hv5 .hv4-okno .aa-feed { overflow-y: hidden; overscroll-behavior: auto; }
.hv5 .hv4-okno.is-v-rabote .aa-feed { overflow-y: auto; }
.hv5 .hv4-okno .hv5-prokr { overscroll-behavior: auto; }
.hv5 .hv4-okno:not(.is-v-rabote) .hv5-prokr { overflow-y: hidden; }
.hv5-most { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--line); }
main .hv5-most p { margin: 0; font: 500 15px/1.4 var(--body); color: var(--ink); }
.hv5-most .hv5-most-k { min-height: 44px; padding: 0 18px; font-size: 15px; }
.hv5 .au-calc { height: auto; }
.hv5 .au-res { margin-top: 0; }
.hv5 .au-panel .hv5-most { margin-top: auto; }
.hv5 .au-panel { display: flex; flex-direction: column; }
.hv5-scena-telo { padding: clamp(16px, 2.2vw, 32px) clamp(16px, 2.6vw, 40px) clamp(18px, 2vw, 28px); border-radius: 0 0 inherit inherit;
  background: radial-gradient(90% 80% at 72% 30%, #1E2E37 0%, var(--depth) 60%); color: var(--depth-text, #EEF2F3); }
.hv5-scena-telo .hv5-most { border-top-color: rgba(213, 231, 238, .16); }
main .hv5-scena-telo .hv5-most p { color: var(--depth-text, #EEF2F3); }
main .fv2-dop { margin: 16px 0 0; font: 400 15px/1.5 var(--body); color: var(--muted); text-align: left; hyphens: manual; }
main .fv2-dop a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hv4-klienty { position: sticky; bottom: 0; z-index: 3; margin-top: clamp(48px, 5vw, 72px);
  background: var(--paper); box-shadow: 0 -1px 0 var(--line); transition: background-color .8s cubic-bezier(.4, 0, .2, 1), box-shadow .8s ease; }
.hv5.is-temno .hv4-klienty { background: var(--depth); box-shadow: 0 -1px 0 transparent; }
.hv5.bez-lipkosti .hv4-klienty { position: relative; bottom: auto; }
.hv4-klienty-in { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); min-height: 76px; padding-right: 92px; }
main .hv4-klienty .hv4-klienty-zag { flex: none; margin: 0; font: 500 13px/1.3 var(--body); letter-spacing: .02em; color: var(--muted); white-space: nowrap; transition: color .8s ease; }
main .hv5.is-temno .hv4-klienty .hv4-klienty-zag { color: rgba(213, 231, 238, .62); }
.hv4-klienty-okno { flex: 1 1 auto; min-width: 0; }
main .hv4-klienty-ryad { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0; padding: 0; list-style: none; }
main .hv4-klienty-ryad li { flex: none; display: flex; margin: 0; padding: 0; }
main .hv4-klienty-ryad li::before { content: none; }
main .hv4-klienty-ryad a, main .hv4-klienty-ryad span { display: flex; align-items: center; justify-content: center; min-height: 44px; }
main .hv4-klienty-ryad img { display: block; width: var(--w); height: var(--h); max-width: none; opacity: .6; transition: opacity .2s ease, filter .8s ease; }
main .hv5.is-temno .hv4-klienty-ryad img { filter: brightness(0) invert(1); opacity: .66; }
main .hv4-klienty-ryad a, main .hv4-klienty-ryad span { position: relative; }
main .hv4-klienty-ryad .hv5-k-tem { position: relative; z-index: 1; }
main .hv4-klienty-ryad .hv5-k-cvet { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  opacity: 0; filter: none; pointer-events: none; }
main .hv5.is-temno .hv4-klienty-ryad .hv5-k-cvet { opacity: 0; filter: none; }
main .hv5 .hv4-klienty-ryad li:hover .hv5-k-cvet, main .hv5 .hv4-klienty-ryad a:focus-visible .hv5-k-cvet { opacity: 1; }
main .hv5 .hv4-klienty-ryad li:hover .hv5-k-tem, main .hv5 .hv4-klienty-ryad a:focus-visible .hv5-k-tem { opacity: 0; }
main .hv4-klienty-ryad a::before, main .hv4-klienty-ryad span::before { content: ""; position: absolute; inset: 0 -12px; z-index: 0;
  border-radius: 8px; background: var(--paper); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
main .hv5.is-temno .hv4-klienty-ryad li:hover > ::before, main .hv5.is-temno .hv4-klienty-ryad a:focus-visible::before { opacity: 1; }
@media (max-width: 1400px) { main .hv4-klienty-ryad li:nth-child(n+10) { display: none; } }
@media (max-width: 1320px) { main .hv4-klienty-ryad li:nth-child(n+9) { display: none; } }
@media (max-width: 1080px) { main .hv4-klienty-ryad li:nth-child(n+7) { display: none; } }
@media (max-width: 900px) { main .hv4-klienty-ryad li:nth-child(n+5) { display: none; } }
@media (min-width: 761px) { html:has(.hv5) { scroll-padding-bottom: 96px; } }
.hv5.is-temno .hv4-klienty :focus-visible, .hv5 .hero-proof-band :focus-visible { outline: 2px solid #D5E7EE; outline-offset: 3px; }
.hv5-styk { position: absolute; left: 0; right: 0; top: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 6%, rgba(212, 171, 115, .75) 50%, transparent 94%);
  opacity: 0; transform: scaleX(.4); transition: opacity .8s ease .3s, transform 1.2s cubic-bezier(.2, .7, .2, 1) .3s; }
.hv5.is-temno .hv5-styk { opacity: 1; transform: none; }
.agents-hero.hv5 .hero-proof-band::before { display: none; }
html.hv5-bez-vata .aa-launch { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility 0s linear .25s; }
html.hv5-bez-vata .aa-launch *, html.hv5-bez-vata .aa-launch *::after { animation-play-state: paused !important; }
@media (min-width: 761px) { .agents-hero.hv5 .hero-proof-band .hero-proof { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); } }
.agents-hero.hv5 .hero-proof-band .hero-proof { padding-block: clamp(22px, 2vw, 32px) clamp(30px, 2.6vw, 40px); }
.agents-hero.hv5 .hero-proof-band .proof-item, .agents-hero.hv5 .hero-proof-band .proof-item:first-child { gap: 10px; justify-content: flex-start; }
.agents-hero.hv5 .hero-proof-band .proof-item .proof-num,
.agents-hero.hv5 .hero-proof-band .proof-item:first-child .proof-num { font-size: min(clamp(34px, 2.9vw, 50px), 17cqw); }
.agents-hero.hv5 .hero-proof-band .proof-label { max-width: 270px; font-size: 14px; }
.agents-hero.hv5 .hero-proof-band .hv5-tri .proof-label { max-width: 330px; }
main .hv5 .hero-proof-band .proof-label a { color: inherit; text-decoration: underline; text-decoration-color: rgba(212, 171, 115, .6); text-underline-offset: 3px; }
main .hv5 .hero-proof-band .proof-label a:hover { color: var(--depth-text, #EEF2F3); text-decoration-color: #D4AB73; }
.agents-hero.hv5 .hv4-klienty-in { min-height: 72px; }
@supports (animation-timeline: scroll()) {
  .hv5 .hv4-tekst > .hv3-verh { animation: hv5-tekst linear both; animation-timeline: scroll(root); animation-range: 0px 60vh; }
  .agents-hero.hv5 .agents-hero-demo { animation: hv5-naklon linear both; animation-timeline: scroll(root); animation-range: 0px 50vh; }
}
@keyframes hv5-tekst { to { transform: translateY(-36px) scale(.97); } }
@keyframes hv5-naklon { from { transform: rotateX(var(--naklon, 11deg)) scale(.95); } to { transform: none; } }
@media (max-width: 760px) {
  .agents-hero.hv5 { --naklon: 5deg; }
  .hv5-plasty { display: none; }
  .agents-hero.hv5 .hv3-verh { padding-top: 20px; }
  .agents-hero.hv5 .hv3-h1 { font-size: clamp(27px, 7.4vw, 32px); }
  .agents-hero.hv5 .hv3-pod { margin-top: 14px; font-size: 16px; }
  .agents-hero.hv5 .hv3-knopki { margin-top: 22px; gap: 4px; }
  .agents-hero.hv5 .hv3-knopki .hv2-vtoraja { min-height: 44px; padding: 0; background: none; text-decoration: underline; text-underline-offset: 4px; }
  .agents-hero.hv5 .hv3-meta { display: none; }
  .agents-hero.hv5 .hv4-okno { margin-top: 26px; }
  .agents-hero.hv5 .avat-demo__toolbar.hv5-birka { min-height: 44px; padding: 8px 14px; }
  .hv5-birka-t { font-size: 14px; }
  .hv5-birka-p { display: none; }
  .agents-hero.hv5 .avat-demo__toolbar.hv5-birka { flex-wrap: wrap; }
  .hv5-birka-adres { font-size: 12px; }
  .hv5-scena-telo { padding: 12px 12px 16px; }
  .hv4-klienty { position: relative; bottom: auto; margin-top: 32px; }
  .hv4-klienty-in { display: block; min-height: 0; padding: 18px 16px 14px; }
  main .hv4-klienty .hv4-klienty-zag { margin-bottom: 6px; text-align: center; }
  main .hv4-klienty-ryad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 14px; justify-items: center; }
  main .hv4-klienty-ryad li { display: flex; min-width: 0; max-width: 100%; }
  main .hv4-klienty-ryad li:nth-child(-n+6) { display: flex; }
  main .hv4-klienty-ryad li:nth-child(n+7) { display: none; }
  main .hv4-klienty-ryad img { width: auto; height: calc(var(--h) * .82); max-width: 100%; object-fit: contain; }
  .avat-demo .au-field input { font-size: 16px; }
  .agents-hero.hv5 .hero-proof-band .hero-proof.hv5-tri { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 8px 20px; }
  .agents-hero.hv5 .hv5-tri .proof-divider { display: none; }
  .agents-hero.hv5 .hero-proof-band .hv5-tri .proof-item, .agents-hero.hv5 .hero-proof-band .hv5-tri .proof-item:first-child {
    flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; padding: 14px 0; text-align: left; border: 0;
    border-bottom: 1px solid rgba(213, 231, 238, .1); }
  .agents-hero.hv5 .hero-proof-band .hv5-tri .proof-item:last-child { border-bottom: 0; }
  .agents-hero.hv5 .hero-proof-band .hv5-tri .proof-item .proof-num,
  .agents-hero.hv5 .hero-proof-band .hv5-tri .proof-item:first-child .proof-num { flex: none; width: 6.2em; font-size: 24px; }
  .agents-hero.hv5 .hero-proof-band .hv5-tri .proof-label { margin: 0; max-width: none; text-align: left; }
  .hv5-most .hv5-most-k { width: 100%; justify-content: center; }
}
.hv5-vse { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
main .hv5-vse .hv5-vse-zag { margin: 0 0 clamp(16px, 2vw, 24px); font: 500 13px/1.3 var(--body); letter-spacing: .02em; color: var(--muted); }
main .hv5-vse-setka { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
main .hv5-vse-setka li { display: flex; min-width: 0; margin: 0; padding: 0; }
main .hv5-vse-setka li::before { content: none; }
main .hv5-vse-setka a, main .hv5-vse-setka span { position: relative; flex: 1; display: flex; align-items: center; justify-content: center;
  min-width: 0; min-height: 96px; padding: 12px; border-radius: 10px; transition: background-color .2s ease; }
main .hv5-vse-setka img { display: block; width: var(--w); height: var(--h); max-width: 100%; object-fit: contain; transition: opacity .2s ease; }
main .hv5-vse-setka .hv5-k-tem { opacity: .62; }
main .hv5-vse-setka .hv5-k-cvet { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0; pointer-events: none; }
main .hv5-vse-setka li:hover a, main .hv5-vse-setka li:hover span, main .hv5-vse-setka a:focus-visible { background: #fff; }
main .hv5-vse-setka li:hover .hv5-k-cvet, main .hv5-vse-setka a:focus-visible .hv5-k-cvet { opacity: 1; }
main .hv5-vse-setka li:hover .hv5-k-tem, main .hv5-vse-setka a:focus-visible .hv5-k-tem { opacity: 0; }
@media (max-width: 1023px) { main .hv5-vse-setka { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  main .hv5-vse-setka { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  main .hv5-vse-setka a, main .hv5-vse-setka span { min-height: 72px; padding: 8px; }
  main .hv5-vse-setka img { width: auto; height: calc(var(--h) * .72); }
}
@media (prefers-reduced-motion: reduce) {
  .agents-hero.hv5, .hv4-fon, .hv5-plasty, .hv5-plasty.is-raskryt, .hv4-klienty, .hv5-styk, .hv5-mazok .hv5-m { transition: none; }
  .hv5 .hv4-tekst > .hv3-verh, .agents-hero.hv5 .agents-hero-demo { animation: none; }
}

/* звезда у рейтинга на Яндекс.Картах на первом экране (27.11: без числа отзывов) */
.hero-rating .hv5-zv{margin-right:4px;color:#A07436;font-size:1.1em;line-height:1}
