.figma-hero{
    position:relative;
    min-height:1035px;
    overflow:hidden;
    border-bottom:1px solid var(--line);
    background:#fff;
}
.figma-hero__inner{
    position:relative;
    z-index:2;
    min-height:inherit;
    display:flex;
    align-items:center;
}
.figma-hero__copy{
    position:relative;
    z-index:3;
    width:760px;
    padding-top:118px;
}
.figma-hero__title{
    margin:0;
    color:var(--ink);
    font-family:var(--font-h1,"Montserrat"),"Montserrat",sans-serif;
    font-size:56px;
}
.figma-hero__title>span:not(.figma-hero__title-line),
.figma-hero__title .figma-hero__city{color:var(--gold)}
.figma-hero__title .figma-hero__city{font-size:.76em;white-space:nowrap}
.figma-hero__lead{
    max-width:727px;
    margin:40px 0 0;
    color:var(--text);
    font-family:var(--font-p,"Montserrat"),"Montserrat",sans-serif;
    font-size:26px;
    font-weight:600;
    line-height:1.2;
    letter-spacing:.01em;
}
.figma-hero__actions{display:flex;gap:24px;margin-top:40px}
.figma-hero__copy>.figma-button{margin-top:60px}
.figma-hero__background{position:absolute;z-index:0;inset:0;display:block}
.figma-hero__background img{width:100%;height:100%;object-fit:cover}
.figma-hero--photo:after{
    content:"";
    position:absolute;
    z-index:1;
    inset:0;
    background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.96) 34%,rgba(255,255,255,0) 66%);
}
.figma-hero__promise{margin:20px 0 0;color:var(--text);font-size:20px;font-weight:600}
.figma-hero__promise strong{color:var(--gold);font-family:var(--font-h3,"Montserrat"),"Montserrat",sans-serif;font-size:28px}

/* Главный экран домашней страницы. */
.figma-hero--home{
    height:1205px;
    min-height:1205px;
    border-bottom:0;
    isolation:isolate;
}
.figma-home-hero-composite{
    position:absolute;
    z-index:0;
    inset:0;
    display:block;
    pointer-events:none;
}
.figma-home-hero-composite img{width:100%;height:100%;object-fit:cover;object-position:center top}
.figma-hero--home .figma-hero__inner{height:1205px;min-height:1205px;align-items:initial}
.figma-hero--home .figma-hero__copy{
    position:absolute;
    z-index:5;
    top:252px;
    left:0;
    width:760px;
    padding:0;
}
.figma-hero__message{width:760px}
.figma-hero__eyebrow{
    margin:0 0 18px;
    color:var(--gold-dark);
    font-family:var(--font-p,"Montserrat"),"Montserrat",sans-serif;
    font-size:14px;
    font-weight:700;
    line-height:1.2;
    letter-spacing:.18em;
    text-transform:uppercase;
}
.figma-hero--home .figma-hero__title{
    width:800px;
    height:auto;
    margin:0;
    color:#252525;
    font-family:var(--font-h1,"Montserrat"),"Montserrat",sans-serif;
    font-size:56px;
    font-weight:700;
    line-height:1.06;
    letter-spacing:-.025em;
}
.figma-hero__title-line{display:block;color:#252525;white-space:nowrap}
.figma-hero__title-line em{color:var(--gold);font-size:1em;font-style:normal;vertical-align:baseline}
.figma-hero--home .figma-hero__lead{
    width:680px;
    max-width:680px;
    height:auto;
    margin:28px 0 0;
    color:#575653;
    font-family:var(--font-p,"Montserrat"),"Montserrat",sans-serif;
    font-size:21px;
    font-weight:500;
    line-height:1.42;
    letter-spacing:0;
}
.figma-hero--home .figma-hero__lead strong{color:var(--gold-dark);font-weight:700}

.figma-hero-question{
    width:680px;
    margin-top:28px;
    padding:18px;
    border:1px solid rgba(177,151,107,.42);
    background:rgba(255,255,255,.72);
    box-shadow:0 18px 55px rgba(22,20,18,.06);
    backdrop-filter:blur(18px);
}
.figma-hero-question textarea,
.figma-hero-question input[type="tel"]{
    width:100%;
    border:1px solid #d8d5cf;
    border-radius:0;
    outline:0;
    background:rgba(255,255,255,.92);
    color:var(--ink);
    font-family:var(--font-p,"Montserrat"),"Montserrat",sans-serif;
    transition:border-color .2s,box-shadow .2s;
}
.figma-hero-question textarea{
    min-height:88px;
    padding:16px 18px;
    resize:vertical;
    font-size:16px;
    line-height:1.45;
}
.figma-hero-question textarea::placeholder,
.figma-hero-question input::placeholder{color:#87837e;opacity:1}
.figma-hero-question textarea:focus,
.figma-hero-question input[type="tel"]:focus{
    border-color:var(--gold);
    box-shadow:0 0 0 3px rgba(177,151,107,.12);
}
.figma-hero-question__trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}
.figma-hero-question__details{
    display:grid;
    grid-template-columns:minmax(240px,310px) 1fr;
    align-items:end;
    gap:16px;
    margin-top:14px;
    animation:hero-question-reveal .22s ease both;
}
.figma-hero-question__details[hidden]{display:none}
.figma-hero-question__details>label>span{display:block;margin-bottom:7px;color:var(--text);font-size:12px;font-weight:600}
.figma-hero-question input[type="tel"]{height:48px;padding:0 14px;font-size:15px}
.figma-hero-question__consent{display:flex;align-items:flex-start;gap:9px;padding-bottom:4px;color:var(--text);font-size:11px;line-height:1.35}
.figma-hero-question__consent input{width:16px;height:16px;flex:0 0 16px;margin:0;accent-color:var(--gold-dark)}
.figma-hero-question__consent span{margin:0!important}
.figma-hero-question__consent a{color:var(--gold-dark);text-decoration:underline;text-underline-offset:2px}
.figma-hero-question__actions{display:flex;gap:10px;margin-top:14px}
.figma-hero-question__actions .figma-button{
    width:auto;
    min-height:48px;
    padding:12px 20px;
    font-size:14px;
    line-height:1.2;
    letter-spacing:0;
    white-space:nowrap;
}
.figma-hero-question__actions .figma-button:first-child{min-width:150px}
@keyframes hero-question-reveal{
    from{opacity:0;transform:translateY(-5px)}
    to{opacity:1;transform:none}
}

.figma-home-hero-mobile-visual{display:none}
.figma-home-hero-guides{
    position:absolute;
    z-index:2;
    top:0;
    bottom:75px;
    left:50%;
    margin:0;
    transform:translateX(-50%);
    pointer-events:none;
}
.figma-home-hero-guide{position:absolute;display:block;pointer-events:none}
.figma-home-hero-guide--left,
.figma-home-hero-guide--right{
    top:0;
    bottom:0;
    width:1px;
    background:linear-gradient(180deg,rgba(219,219,219,.2),#dbdbdb 15%,#dbdbdb 85%,rgba(219,219,219,.2));
}
.figma-home-hero-guide--left{left:0}
.figma-home-hero-guide--right{right:0}
.figma-home-hero-guide--bottom{
    right:0;
    bottom:0;
    left:0;
    height:1px;
    background:linear-gradient(90deg,rgba(219,219,219,0),#dbdbdb 12%,#dbdbdb 88%,rgba(219,219,219,0));
}

.figma-contact-rail{
    position:fixed;
    z-index:46;
    top:50%;
    left:5px;
    transform:translateY(-50%);
}
.figma-contact-rail__phone{display:none}
.figma-contact-rail__toggle{display:none}
.figma-contact-rail__items{display:flex;flex-direction:column;gap:9px}
.figma-contact-rail__item{
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    flex:0 0 42px;
    background:#252525;
    color:#fff;
    filter:drop-shadow(0 7px 14px rgba(22,20,18,.13));
    transition:background .2s,transform .2s;
}
.figma-contact-rail__item svg{width:20px;height:20px;fill:currentColor}
.figma-contact-rail__item{background:var(--rail-color,#b1976b)}
.figma-contact-rail__item:not(.is-disabled):hover{background:#252525;transform:translateX(3px)}
.figma-contact-rail__item.is-disabled{cursor:default}

.figma-socials{display:flex;flex-wrap:wrap;gap:12px;margin-top:40px}
.figma-socials__item{
    display:flex;
    width:54px;
    height:54px;
    align-items:center;
    justify-content:center;
    border:1px solid var(--line);
    border-radius:50%;
    background:rgba(255,255,255,.84);
    font-size:11px;
    font-weight:700;
    transition:.2s;
}
.figma-socials__item:hover{border-color:var(--gold);transform:translateY(-2px)}
.figma-socials__item.is-disabled{opacity:.45}
.figma-socials__item img{width:22px;height:22px;object-fit:contain}
.figma-socials--compact{margin-top:40px}
.figma-socials--compact .figma-socials__item{width:54px;height:54px}

@media(max-width:1599px) and (min-width:1201px){
    .figma-hero--home .figma-hero__copy{top:250px;width:670px}
    .figma-hero__message{width:670px}
    .figma-hero--home .figma-hero__title{width:720px;font-size:54px}
    .figma-hero--home .figma-hero__lead{width:600px;max-width:600px;font-size:19px}
    .figma-hero-question{width:610px}
}

@media(max-width:1200px) and (min-width:761px){
    .figma-hero__copy{width:62%}
    .figma-hero--home{height:1040px;min-height:1040px}
    .figma-hero--home .figma-hero__inner{height:1040px;min-height:1040px}
    .figma-hero--home .figma-hero__copy{top:245px;width:590px}
    .figma-hero__message{width:590px}
    .figma-hero--home .figma-hero__title{width:650px;font-size:48px}
    .figma-hero--home .figma-hero__lead{width:560px;max-width:560px;margin-top:24px;font-size:18px}
    .figma-hero-question{width:570px;margin-top:24px}
    .figma-hero-question__details{grid-template-columns:260px 1fr}
    .figma-hero-question__actions .figma-button{padding-inline:16px;font-size:13px}
    .figma-home-hero-guides{display:none}
    .figma-contact-rail{left:10px}
    .figma-contact-rail__items{gap:7px}
    .figma-contact-rail__item,
    .figma-contact-rail__item img{width:36px;height:36px}
    .figma-contact-rail__item{flex-basis:36px}
}

@media(max-width:760px){
    .figma-hero,
    .figma-hero--home{min-height:0;padding-top:100px;overflow:visible}
    .figma-hero__inner{width:100%;min-height:0;display:flex;flex-direction:column;align-items:stretch}
    .figma-hero__copy{width:100%;padding:16px 16px 24px;background:#fff}
    .figma-hero__title{font-size:32px;line-height:1}
    .figma-hero__title .figma-hero__city{font-size:.92em}
    .figma-hero__lead{margin-top:16px;font-size:16px;line-height:1.2}
    .figma-hero__copy>.figma-button{margin-top:24px}
    .figma-hero__actions{display:grid;gap:8px;margin-top:24px}
    .figma-hero__background{position:relative;z-index:0;width:100%;height:300px;flex:0 0 300px}
    .figma-hero__background img{width:100%;height:300px;object-fit:cover}
    .figma-hero--photo:after{display:none}
    .figma-hero__promise{margin-top:16px;font-size:16px}
    .figma-hero__promise strong{font-size:20px}

    .figma-hero--home{height:auto;padding-top:100px;overflow:hidden;border-bottom:1px solid #dbdbdb}
    .figma-home-hero-composite--desktop,
    .figma-home-hero-guides{display:none}
    .figma-hero--home .figma-hero__inner{
        width:100%;
        height:auto;
        min-height:0;
        display:flex;
        flex-direction:column-reverse;
        align-items:stretch;
    }
    .figma-hero--home .figma-hero__copy{
        position:relative;
        top:auto;
        left:auto;
        width:100%;
        height:auto;
        flex:0 0 auto;
        display:block;
        padding:22px 16px 28px;
        background:#fff;
    }
    .figma-home-hero-mobile-visual{position:relative;display:block;width:100%;height:400px;flex:0 0 400px;overflow:hidden}
    .figma-home-hero-mobile-visual>img{width:100%;height:400px;object-fit:cover;object-position:center top}
    .figma-person-card{
        position:absolute;
        z-index:2;
        right:16px;
        bottom:16px;
        left:16px;
        width:auto;
        min-height:99px;
        padding:16px;
        border:1px solid #dbdbdb;
        background:linear-gradient(90deg,rgba(255,255,255,.84),rgba(255,255,255,.2));
        backdrop-filter:blur(8px);
    }
    .figma-person-card strong,.figma-person-card span{display:block}
    .figma-person-card strong{color:#252525;font-family:var(--font-h6,"Montserrat"),"Montserrat",sans-serif;font-size:16px;font-weight:700;line-height:1.05}
    .figma-person-card span{margin-top:8px;color:#252525;font-family:var(--font-p,"Montserrat"),"Montserrat",sans-serif;font-size:12px;font-weight:500;line-height:1.35;opacity:.8}
    .figma-hero__message{width:100%;height:auto}
    .figma-hero__eyebrow{margin-bottom:12px;font-size:11px}
    .figma-hero--home .figma-hero__title{width:100%;height:auto;font-size:32px;line-height:1.08;letter-spacing:-.02em}
    .figma-hero__title-line{height:auto;white-space:normal}
    .figma-hero--home .figma-hero__lead{width:100%;height:auto;margin-top:16px;font-size:15px;line-height:1.4}
    .figma-hero-question{width:100%;margin-top:20px;padding:12px}
    .figma-hero-question textarea{min-height:82px;padding:14px;font-size:15px}
    .figma-hero-question__details{grid-template-columns:1fr;gap:12px;margin-top:12px}
    .figma-hero-question__actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:12px}
    .figma-hero-question__actions .figma-button{width:100%;min-height:48px;padding:12px 14px;font-size:13px;white-space:normal}
    .figma-contact-rail{
        top:auto;
        bottom:30px;
        left:8px;
        display:flex;
        flex-direction:column-reverse;
        align-items:flex-start;
        gap:6px;
        transform:none;
    }
    .figma-contact-rail__phone{position:relative;z-index:2;width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.5);border-radius:50%;background:var(--gold);color:#fff;box-shadow:0 12px 30px rgba(22,20,18,.22)}
    .figma-contact-rail__phone svg{width:19px;height:19px;fill:currentColor}
    .figma-contact-rail__toggle{position:relative;z-index:2;width:42px;height:42px;display:grid;place-items:center;padding:0;border:1px solid rgba(255,255,255,.5);border-radius:50%;background:#252525;color:#fff;box-shadow:0 12px 30px rgba(22,20,18,.22);cursor:pointer}
    .figma-contact-rail__toggle svg{width:20px;height:20px;fill:none}
    .figma-contact-rail__toggle span{position:absolute;display:none;font-size:25px;font-weight:300;line-height:1}
    .figma-contact-rail.is-open .figma-contact-rail__toggle svg{display:none}
    .figma-contact-rail.is-open .figma-contact-rail__toggle span{display:block}
    .figma-contact-rail__items{position:absolute;bottom:96px;left:0;gap:6px;padding:5px;border:1px solid rgba(219,219,219,.8);background:rgba(255,255,255,.9);box-shadow:0 12px 30px rgba(22,20,18,.12);backdrop-filter:blur(16px);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px);transition:.2s ease}
    .figma-contact-rail.is-open .figma-contact-rail__items{opacity:1;visibility:visible;pointer-events:auto;transform:none}
    .figma-contact-rail__item,
    .figma-contact-rail__item img{width:30px;height:30px}
    .figma-contact-rail__item{flex-basis:30px;filter:none}
    .figma-contact-rail__item.is-phone,
    .figma-contact-rail__item.is-email{display:none}
    .figma-socials{flex-wrap:nowrap;gap:8px;margin-top:24px;overflow:hidden}
    .figma-socials__item,
    .figma-socials--compact .figma-socials__item{width:44px;height:44px;flex:0 0 44px}
    .figma-socials__item img{width:18px;height:18px}
}

@media(prefers-reduced-motion:reduce){
    .figma-hero-question__details{animation:none}
}
@media(min-width:1280px){
    .figma-hero-question{
    max-width: 500px;
    }
}
/* Hero v4: утверждённая компактная композиция первого экрана. */
@media(min-width:1201px){
    .figma-hero--home,
    .figma-hero--home .figma-hero__inner{
        height:900px;
        min-height:900px;
    }
    .figma-hero--home::after{
        content:"";
        position:absolute;
        z-index:1;
        inset:0;
        pointer-events:none;
        background:
            linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 38%,rgba(255,255,255,.58) 64%,rgba(255,255,255,.14) 100%),
            linear-gradient(0deg,#fff 0%,rgba(255,255,255,.88) 18%,rgba(255,255,255,0) 48%);
    }
    .figma-home-hero-guides{bottom:24px}
    .figma-hero--home .figma-hero__copy{
        top:auto;
        bottom:75px;
        left:20px;
        width:760px;
    }
    .figma-hero__message{width:760px}
    .figma-hero-question{margin-top:26px}
    .figma-hero-question textarea{min-height:112px}
}

@media(max-width:1599px) and (min-width:1201px){
    .figma-hero--home .figma-hero__copy{bottom:62px;left:20px;width:670px}
    .figma-hero__message{width:670px}
}

@media(max-width:1200px) and (min-width:761px){
    .figma-hero--home,
    .figma-hero--home .figma-hero__inner{height:880px;min-height:880px}
    .figma-hero--home .figma-hero__copy{top:auto;bottom:66px;left:20px}
    .figma-hero-question textarea{min-height:104px}
}

@media(max-width:760px){
    .figma-hero-question textarea{min-height:96px}
    .figma-hero-question__consent{align-items:center;gap:8px;padding-bottom:0;font-size:11px;line-height:1.25}
    .figma-hero-question__consent span,
    .figma-hero-question__consent a{font-size:11px;line-height:1.25}
}

.figma-hero-question__consent{
    align-items:center;
    gap:8px;
    padding-bottom:0;
    font-size:11px;
    line-height:1.25;
}
.figma-hero-question__consent span,
.figma-hero-question__consent a{font-size:11px;line-height:1.25}
.figma-hero-question__consent input{margin:0}

@media(prefers-reduced-motion:reduce){
    .figma-home-review-rotator .figma-home-review-card{transition:none}
}

/* Hero v5: контентная композиция без абсолютного позиционирования блоков. */
.figma-hero--home{
    height:900px;
    min-height:900px;
    isolation:isolate;
    background:#fff;
}
.figma-home-hero-background{
    position:absolute;
    z-index:0;
    inset:0;
    display:block;
    opacity:.5;
    pointer-events:none;
}
.figma-home-hero-background img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
}
.figma-hero--home .figma-hero__layout{
    position:relative;
    z-index:2;
    display:flex;
    width:min(var(--container-max),calc(100% - 64px));
    height:calc(100% - 24px);
    margin-inline:auto;
    padding-inline:25px;
    border-right:1px solid #dbdbdb;
    border-bottom:1px solid #dbdbdb;
    border-left:1px solid #dbdbdb;
    gap:40px;
}
.figma-hero--home .figma-hero__copy{
    position:static;
    z-index:auto;
    display:flex;
    width:auto;
    max-width:700px;
    flex:0 1 700px;
    flex-direction:column;
    margin-top:auto;
    margin-bottom:48px;
    padding:0;
}
.figma-hero__message{width:auto}
.figma-hero--home h1.figma-hero__seo-title{
    max-width:680px;
    margin:0 0 14px;
    color:var(--gold-dark);
    font-family:var(--font-p,"Montserrat"),"Montserrat",sans-serif;
    font-size:13px!important;
    font-weight:750;
    line-height:1.3;
    letter-spacing:.14em;
    text-transform:uppercase;
}
.figma-hero--home .figma-hero__offer{
    max-width:700px;
    margin:0;
    color:#252525;
    font-family:var(--font-h1,"Montserrat"),"Montserrat",sans-serif;
    font-size:clamp(46px,3.15vw,58px);
    font-weight:700;
    line-height:1.04;
    letter-spacing:-.035em;
}
.figma-hero--home .figma-hero__title{width:auto;max-width:700px}
.figma-hero--home .figma-hero__lead{width:auto;max-width:680px}
.figma-hero--home .figma-hero__lead span,
.figma-hero--home .figma-hero__lead strong{display:block}
.figma-hero--home .figma-hero__lead strong{margin-top:6px}
.figma-hero-question{width:100%;max-width:680px;margin-top:26px}
.figma-hero-question textarea{min-height:112px}
.figma-hero-question__details{
    display:flex;
    grid-template-columns:none;
    flex-direction:column;
    align-items:stretch;
    gap:12px;
    margin-top:14px;
}
.figma-hero-question__details>label:first-child{max-width:310px}
.figma-hero-question__consent{width:100%;min-height:18px}

.figma-hero__right{
    display:flex;
    min-width:0;
    flex:1 1 0;
    flex-direction:column;
    align-items:flex-end;
    padding-bottom:48px;
}
.figma-home-hero-person{
    display:flex;
    width:100%;
    min-height:0;
    flex:1 1 auto;
    flex-direction:column;
    justify-content:flex-end;
    overflow:hidden;
}
.figma-home-hero-person__visual{
    display:flex;
    width:100%;
    min-height:0;
    flex:1 1 auto;
    align-items:flex-end;
    justify-content:end;
    overflow:hidden;
}
.figma-home-hero-person img{
    width:auto;
    max-width:410px;
    height:min(570px,100%);
    object-fit:contain;
    object-position:center bottom;
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 73%,rgba(0,0,0,.78) 84%,transparent 100%);
    mask-image:linear-gradient(to bottom,#000 0%,#000 73%,rgba(0,0,0,.78) 84%,transparent 100%);
}
.figma-home-hero-person__caption{
    width:min(410px,100%);
    flex:0 0 auto;
    align-self:flex-end;
    margin:-10px 0 0;
    padding:0 0 8px 14px;
    text-align:center;
    color:#575653;
    font-family:var(--font-p,"Montserrat"),"Montserrat",sans-serif;
    font-size:11px;
    font-weight:500;
    line-height:1.35;
}
.figma-home-hero-person__caption strong,
.figma-home-hero-person__caption span{display:block}
.figma-home-hero-person__caption strong{color:#252525;font-size:15px;font-weight:700}
.figma-home-hero-person__caption span{margin-top:2px}
/* Hero: единая карточка рейтинга и площадки. */
.figma-home-review-rails{display:block;width:auto;flex:0 0 auto;pointer-events:auto}
.figma-home-review-rail--front{
    display:flex;
    width:574px;
    height:156px;
    overflow:hidden;
    border:1px solid rgba(219,219,219,.94);
    background:#fff;
    box-shadow:0 20px 48px rgba(22,20,18,.13);
}
.figma-home-review-rail--back,.figma-home-review-fade{display:none}
.figma-home-rating-summary{
    display:flex;
    width:218px;
    min-width:218px;
    height:156px;
    min-height:156px;
    flex:0 0 218px;
    flex-direction:column;
    justify-content:center;
    padding:17px 18px;
    border:0;
    background:linear-gradient(135deg,#252525 0%,#171716 73%,#25231f 100%);
    box-shadow:none;
}
.figma-home-rating-summary__eyebrow{
    margin-bottom:11px;
    color:rgba(255,255,255,.62);
    font-size:9px;
    font-weight:600;
    letter-spacing:.14em;
    text-transform:uppercase;
}
.figma-home-rating-summary__score strong{display:block;color:#d1b37d;font-size:48px;font-weight:700;line-height:.92;letter-spacing:-.06em}
.figma-home-rating-summary__score span{display:block;padding-top:10px;color:#fff;font-size:11px;font-weight:600;line-height:1.32}
.figma-home-rating-summary__score b{color:#d1b37d;font-weight:700}
.figma-home-review-rotator{position:relative;width:356px;height:156px;flex:0 0 356px}
.figma-home-review-rotator .figma-home-review-card{
    position:absolute;
    inset:0;
    display:flex;
    width:356px;
    height:156px;
    min-height:156px;
    flex-direction:column;
    padding:16px 26px;
    border:0;
    background:#fff;
    color:#252525;
    opacity:0;
    pointer-events:none;
    text-decoration:none;
    transition:opacity .55s ease;
}
.figma-home-review-rotator .figma-home-review-card.is-active{opacity:1;pointer-events:auto}
.figma-home-rating-source__label{color:#b1976b;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.figma-home-rating-source__logo{width:auto;max-width:196px;height:34px;margin-top:7px;object-fit:contain;object-position:left center}
.figma-home-rating-source__meta{
    display:grid;
    grid-template-columns:auto 1fr auto;
    grid-template-rows:28px 16px;
    align-items:center;
    column-gap:10px;
    row-gap:4px;
    margin-top:auto;
    padding-top:8px;
    border-top:1px solid #e2ded7;
}
.figma-home-rating-source__meta>strong{grid-column:1;color:#252525;font-size:32px;font-weight:700;line-height:1;letter-spacing:-.03em}
.figma-home-rating-source__meta>img{grid-column:2;width:110px;height:18px;object-fit:contain}
.figma-home-rating-source__action{grid-column:1 / 3;grid-row:2;color:#99958f;font-size:11px;font-weight:500;white-space:nowrap}
.figma-home-rating-source__count{grid-column:3;grid-row:2;justify-self:end;color:#b1976b;font-size:10px;font-weight:700;letter-spacing:.1em;white-space:nowrap}
.figma-home-rating-source__count b{margin-left:3px;font-size:14px;vertical-align:-1px}

/* Главная: все площадки отзывов видны одновременно. */
.figma-hero--home .figma-home-review-rails{width:min(100%,563px)}
.figma-home-review-showcase{
    display:grid;
    width:100%;
    min-height:184px;
    grid-template-columns:174px minmax(0,1fr);
    overflow:hidden;
    border:1px solid rgba(219,219,219,.94);
    background:#fff;
    box-shadow:0 20px 48px rgba(22,20,18,.13);
}
.figma-hero--home .figma-home-review-showcase .figma-home-rating-summary{
    width:auto;
    min-width:0;
    height:auto;
    min-height:184px;
    padding:19px 17px;
}
.figma-home-rating-source-grid{
    display:grid;
    min-width:0;
    grid-template-columns:repeat(3,minmax(0,1fr));
}
.figma-home-rating-source-tile{
    position:relative;
    display:flex;
    min-width:0;
    min-height:92px;
    flex-direction:column;
    justify-content:space-between;
    gap:9px;
    padding:14px 14px 11px;
    border-top:1px solid #e2ded7;
    border-left:1px solid #e2ded7;
    background:#fff;
    color:#252525;
    text-decoration:none;
    transition:background .2s,color .2s;
}
.figma-home-rating-source-tile:nth-child(-n+3){border-top:0}
.figma-home-rating-source-tile:hover{background:#252525;color:#fff}
.figma-home-rating-source-tile .figma-home-rating-source__logo{
    width:auto;
    max-width:calc(100% - 17px);
    height:25px;
    margin:0;
    object-fit:contain;
    object-position:left center;
}
.figma-home-rating-source-tile__score{display:flex;align-items:center;gap:5px;font-size:14px;line-height:1}
.figma-home-rating-source-tile__score strong{font-size:17px;font-weight:750;letter-spacing:-.025em}
.figma-home-rating-source-tile__score>span{color:#b1976b;font-size:14px}
.figma-home-rating-source-tile__arrow{
    position:absolute;
    top:9px;
    right:10px;
    color:#b1976b;
    font-size:14px;
    line-height:1;
}

/* Ноутбуки: фиксированная ширина колонок не даёт блоку отзывов налезть на форму. */
@media(max-width:1599px) and (min-width:1241px){
    .figma-hero--home .figma-hero__layout{gap:24px}
    .figma-hero--home .figma-hero__copy{max-width:540px;flex:0 0 540px}
    .figma-hero--home .figma-hero__title{font-size:54px}
    .figma-home-review-rail--front{width:528px}
    .figma-home-rating-summary{width:202px;min-width:202px;flex-basis:202px}
    .figma-home-review-rotator,.figma-home-review-rotator .figma-home-review-card{width:326px}
    .figma-home-review-rotator .figma-home-review-card{padding-inline:20px}
    .figma-home-rating-source__action{font-size:10px}
    .figma-hero--home .figma-home-review-showcase{min-height:174px;grid-template-columns:154px minmax(0,1fr)}
    .figma-hero--home .figma-home-review-showcase .figma-home-rating-summary{min-height:174px;padding-inline:15px}
    .figma-home-rating-source-tile{min-height:87px;padding:12px 11px 10px}
    .figma-home-rating-source-tile .figma-home-rating-source__logo{height:23px}
}

/* Компактные ноутбуки и планшеты: колонки становятся последовательными, без наложений. */
@media(max-width:1240px) and (min-width:761px){
    .figma-hero--home{height:auto;min-height:0;padding-top:160px}
    .figma-home-hero-background{height:100%;opacity:.4}
    .figma-hero--home .figma-hero__layout{
        height:auto;
        min-height:0;
        flex-direction:column;
        gap:28px;
        padding:40px 20px;
        border-bottom:1px solid #dbdbdb;
    }
    .figma-hero--home .figma-hero__copy{max-width:640px;flex:auto;margin:0}
    .figma-hero__right{width:100%;padding:0;align-items:flex-end}
    .figma-home-hero-person{display:none}
    .figma-hero--home .figma-home-review-rails{width:min(100%,563px)}
}

@media(max-width:760px){
    .figma-hero--home{height:auto;min-height:0;padding-top:100px;overflow:hidden}
    .figma-home-hero-background{display:none}
    .figma-hero--home .figma-hero__layout{
        display:flex;
        width:calc(100% - 32px);
        height:auto;
        min-height:0;
        flex-direction:column;
        gap:0;
        padding:24px 0 32px;
        border:0;
    }
    .figma-hero--home .figma-hero__copy{display:flex;width:100%;max-width:none;flex:auto;margin:0;padding:0}
    .figma-hero--home h1.figma-hero__seo-title{margin-bottom:10px;font-size:11px!important;letter-spacing:.11em}
    .figma-hero--home .figma-hero__offer{font-size:clamp(30px,6.5vw,39px);line-height:1.06}
    .figma-hero--home .figma-hero__lead strong{margin-top:5px}
    .figma-home-hero-person{display:none}
    .figma-hero__right{display:block;width:100%;padding:0}
    .figma-home-review-rails{width:100%;margin-top:20px}
    .figma-home-review-showcase{min-height:0;grid-template-columns:1fr}
    .figma-hero--home .figma-home-review-showcase .figma-home-rating-summary{
        display:grid;
        min-height:96px;
        grid-template-columns:minmax(0,1fr) auto;
        align-items:center;
        gap:16px;
        padding:14px 16px;
    }
    .figma-home-review-showcase .figma-home-rating-summary__eyebrow{margin:0;font-size:9px}
    .figma-home-review-showcase .figma-home-rating-summary__score{display:flex;align-items:flex-end;gap:11px}
    .figma-home-review-showcase .figma-home-rating-summary__score strong{font-size:39px}
    .figma-home-review-showcase .figma-home-rating-summary__score span{max-width:104px;padding:0;font-size:9px}
    .figma-home-rating-source-grid{grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #e2ded7}
    .figma-home-rating-source-tile{min-height:78px;padding:11px 12px 9px}
    .figma-home-rating-source-tile:nth-child(-n+3){border-top:1px solid #e2ded7}
    .figma-home-rating-source-tile:nth-child(-n+2){border-top:0}
    .figma-home-rating-source-tile:nth-child(odd){border-left:0}
    .figma-home-rating-source-tile .figma-home-rating-source__logo{height:22px}
    .figma-home-rating-source-tile__score strong{font-size:16px}
    .figma-home-review-rail--front{width:100%;height:156px;flex-direction:row}
    .figma-home-rating-summary{width:auto;min-width:0;height:156px;min-height:156px;flex:0 0 39%;padding:14px 12px}
    .figma-home-rating-summary__eyebrow{margin-bottom:7px}
    .figma-home-rating-summary__score strong{font-size:40px}
    .figma-home-rating-summary__score span{padding-top:7px;font-size:10px}
    .figma-home-review-rotator{width:auto;height:156px;flex:1 1 61%;min-width:0}
    .figma-home-review-rotator .figma-home-review-card{width:100%;height:156px;min-height:156px;padding:12px 14px}
    .figma-home-rating-source__label{font-size:9px}
    .figma-home-rating-source__logo{height:28px;margin-top:5px}
    .figma-home-rating-source__meta{grid-template-rows:24px 15px;column-gap:7px;row-gap:3px;padding-top:7px}
    .figma-home-rating-source__meta>strong{font-size:28px}
    .figma-home-rating-source__meta>img{width:78px;height:auto}
    .figma-home-rating-source__action{font-size:9px}
    .figma-home-rating-source__count{font-size:9px}
    .figma-hero-question__details>label:first-child{max-width:none}
}
