.container-new {
    display: flex;
    flex-direction: column;
    /* background-color: white; */
    max-width: 1200px;
    width: 100%;
    padding:0 15px;
    margin: 0 auto;
    /* margin-bottom: 96px; */
    box-sizing: border-box;
}

.ourServices {
    
    /* padding-bottom: 96px; */
}

.block__top {
    
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 58px;
}

.block__top-title {
    font-weight: 700;
    font-size: 32px;
    color: #374353;
    margin-bottom: 16px;
}

.block__top-text {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #374353;
}

.ourServices__bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 56px;
}

.ourServices__bottom-card {
    background-color: #FFFFFF;
    padding: 10px;
    width: 100%;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    
}


.ourServices__bottom-card-image{
    display: block;
    border-radius: 5px;
    width: 100%;
    aspect-ratio: 1 / 0.85;
    object-fit: cover;
    margin-bottom: 14px;
}

.ourServices__bottom-card-title{
    color: #374353;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 12px;
}
.ourServices__bottom-card-desc{
    margin-bottom: 24px;

}
.ourServices__bottom-card-desc-text{
    position: relative;
    color: #898989;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    padding-left: 21px;
    margin-bottom:4px;
    

}

.ourServices__bottom-card-desc-text::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 9px;
    height: 9px;
    background-color: #FF982E;
    border-radius: 50%;
}


.ourServices__bottom-card-price{
    margin-bottom: 14px;
    color: #374353;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.5;
    margin-top: auto;
}
.ourServices__bottom-card-btn{
    color: #FFFFFF;
    background-color: #FF982E;
    padding: 16px 32px;
    width: 100%;
    border-radius: 100px;
    border:0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    justify-items: flex-end;

}
.ourServices__bottom-card-btn:hover{
    cursor: pointer;
    background-color: #f88f26;
    

}


.seo__text{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap:60px;
}

@media(max-width:900px){
    .seo__text{
    display: grid;
    grid-template-columns: repeat(1,1fr);
    gap:60px;
}
}
.seo__text-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}
.seo__text-right-title{
margin-bottom: 16px;
font-weight: 700;
font-size: 32px;
color: #374353;
}
.seo__text-right-text{
font-weight: 400;
color: #374353;
font-size: 18px;
}
.seo__text-right{
    display: flex;
    flex-direction: column;
}
.seo__text-right-link{
    margin-top: auto;
    display: block;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    background-color: #FF982E;
    border-radius: 100px;
    padding: 16px 32px;
    text-decoration: none;
align-self: flex-start
}


.gray__inner {
    background-color: #F2F2F2;
    margin: 0;
    padding: 80px 15px;
}








.feedback {
    width: 100%;
    padding-top: 80px;
    padding-bottom:100px;
    overflow: hidden;
}



.feedback__viewport {
    width: 100%;
    overflow: hidden;
}

.feedback__track {
    display: flex;
    gap: 20px;
    cursor: grab;
    user-select: none;
    will-change: transform;
}



.feedback__card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 32px;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    gap:20px
}


.feedback__card-bottom{
    font-weight: 400;
    font-size: 18px;
    color: #374353;
    line-height: 1.5;
}
.feedback__card-top-left{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:20px;

}
.feedback__card-top-left-name{
    font-size: 24px;
    color: #000000;
    font-weight: 700;

}
.feedback__card-top-right{
    color: #898989;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
}
.feedback__card-top{
    display: flex;
    justify-content: space-between;
}

.feedback__card-top-left-avatar{
    width: 75px;
    height: 75px;
    display: flex;
justify-content: center;
align-items: center;
    font-size: 32px;
    color:#2151B1;
    background-color: #D7E0F3;
    border-radius: 38px;
    padding: 18px 17px;
}









.feedback__slide {
    flex: 0 0 590px;
    width: 590px;
    min-width: 590px;
    opacity: 0.4;
    transition: opacity 0.35s ease;
}

.feedback__slide.is-active {
    opacity: 1 !important;
}

@media (max-width: 1000px) {
    .feedback__slide {
        flex: 0 0 400px;
        width: 400px;
        min-width: 400px;
    }
}

@media (max-width: 600px) {
    .feedback__slide {
        flex: 0 0 300px;
        width: 300px;
        min-width: 300px;
    }
}
















.questions-title {
    font-weight: 700;
    font-size: 32px;
    color: #374353;
    margin-bottom: 40px;
}

.questions-text {
    font-weight: 400;
    font-size: 18px;
    color: #343434;
    line-height: 1.5;
}

.questions-top {
    /* margin-bottom: 40px; */
}

.questions {
    margin-bottom: 106px;
    margin-top: 106px;
    
}


.questions-cards {
    display: flex;
    gap: 20px;
}

.questions-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.questions-card {
    display: grid;
    grid-template-columns: 1fr 42px;
    align-items: center;
    padding: 16px;
    border-radius: 10px;
    background: #F1F9FB;
    cursor: pointer;
}

.questions-card p {
    margin: 0;
    color: #374353;
    font-size: 24px;
    font-weight: 600;
    line-height:1.5;
    margin-right: 20px;
}

.questions-answer {

    grid-column: 1 / 3;
    font-size: 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    line-height: 1.5;
    font-weight: 400;
    color: #374353;
}





.questions-btn {
    width: 41px;
    height: 41px;
    cursor: pointer;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.questions-btn circle {
    fill: #FF982E;
    transition: fill 0.3s ease;
}

.questions-btn-icon {
    transition: transform 0.3s ease;
    transform-origin: center;
    color: #FFFFFF;
}

.questions-card.active .questions-btn {
    transform: rotate(45deg);
}





.questions-card.active .questions-btn path {
    fill: #fff;
}

.questions-card.active .questions-answer {
    margin-top: 36px;
}

@media (max-width: 1020px) {
    .questions-cards {
        flex-direction: column;
    }

    .questions-card p {
        font-size: 22px;
    }
}

@media (max-width: 350px) {
    .questions-card p {
        font-size: 18px;
    }
}



.ourServices.container-new {
    background-color: transparent;
    
}
.feedback.container-new {
    background-color: #F1F9FB;
    
}
.feedback {
    
    background-color: #F1F9FB;
}


.ourServices__bottom-card,
.ourServices__bottom-card-title,
.ourServices__bottom-card-desc,
.ourServices__bottom-card-desc-text,
.ourServices__bottom-card-price {
    text-align: left;
}




@media (max-width: 900px) {
    .ourServices__bottom-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .ourServices__bottom-grid {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }
    .ourServices__bottom-card-image {
        aspect-ratio: 16 / 9;
    }
   
}

.ourServices.container-new {
    max-width: 1200px;
    padding-left: 0;
    padding-right: 0;
}







 .ourServices__bottom-card-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    color: #FFFFFF;
    background-color: #FF982E;
    padding: 16px 32px;
    border-radius: 100px;
    border: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.ourServices__bottom-card-btn:hover {
    color: #FFFFFF;
    background-color: #f88f26;
    text-decoration: none;
}







.service__desc {
    display: grid;
    grid-template-columns: minmax(0, 500fr) minmax(0, 640fr);
    gap: 60px;
    margin-bottom:192px;
}
.service__desc-title{
    margin-bottom:26px;
    font-size:32px;
    font-weight:700;
    line-height:1.5;
    color:#374353;
}
.service__desc-text{
    font-size:18px;
    font-weight:400;
    line-height:1.5;
    color:#374353;
}

.service__desc-media {
    position: relative;
    min-height: 100%;
}

.service__desc-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.service__desc-content {
    display: flex;
    flex-direction: column;
}

.service__desc-btn {
    
    box-sizing: border-box;
    color: #FFFFFF;
    background-color: #FF982E;
    padding: 16px 32px;
    border-radius: 100px;
    border: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    margin-top: auto;
    align-self: flex-start;
    
}
.service__desc-btn:hover {
    color: #FFFFFF;
    background-color: #f88f26;
    text-decoration: none;
}

@media (max-width: 768px) {
    .service__desc {
        grid-template-columns: 1fr;
    }

    .service__desc-media {
        min-height: 240px;
    }
}







.service__price {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background-color: #F1F9FB;
    padding: 64px 0;
}

.service__price-title {
    text-align: center;
    margin-bottom: 32px;
}
.service__price-item-title{
     font-size:20px;
    font-weight:400;
    line-height:1.5;
    color:#374353;
}
.service__price-item-value{
     font-size:20px;
    font-weight:600;
    line-height:1.5;
    color:#374353;
}

.service__price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

.service__price-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 18px 24px;
}

@media (max-width: 768px) {
    .service__price-grid {
        grid-template-columns: 1fr;
    }
}


.service__price-item-title,
.service__price-item span:first-child {
    
}

.service__price-item-value,
.service__price-item span:last-child {
    
}











.rooms {
    max-width: 1200px;
    width: 100%;
    margin: 80px auto;
    /* padding: 0 15px; */
    box-sizing: border-box;
}

.rooms__tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 3;
    margin-bottom: -30px;
}

.rooms__tab {
    border: 0;
    border-radius: 100px;
    padding: 16px 40px;
    background: #BAC6DE;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 18px;
    
}

.rooms__tab.is-active {
    background: #2151B1;
    color: #FFFFFF;
    opacity:1;
}

.rooms__stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1200 / 750;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
}

.rooms__panel {
    display: none;
    position: absolute;
    inset: 0;
}

.rooms__panel.is-active {
    display: block;
}

.rooms__panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: center 10%;
}

.rooms__pin {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.rooms__pin--left {
    flex-direction: row-reverse;
}

.rooms__dot {
    position: relative;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #FF982E;
    box-shadow: 0 0 0 5px rgba(255, 152, 46, 0.35);
}

.rooms__hint {
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    color:#374353;
    max-width: 220px;
    font-size: 14px;
    line-height: 1.2;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.rooms__arrow {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-right: -15px;
}

.rooms__arrow svg,
.rooms__arrow svg path {
    fill: #FFFFFF !important;
}

.rooms__hint {
    position: relative;
    z-index: 1;
}

.rooms__hint::after {
    display: none;
}

@media (max-width: 900px) {
    

    .rooms__dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 650px) {
    .rooms__tabs {
        margin-bottom: 10px;
        gap: 6px;
    }

    .rooms__tab {
        padding: 8px 12px;
        font-size: 13px;
    }

    .rooms__stage {
        border-radius: 16px;
    }

   

    .rooms__dot {
        width: 8px;
        height: 8px;
    }

    .rooms__pin {
        gap: 4px;
    }
    .rooms__arrow {
        margin-right: -8px;
    }

    .rooms__arrow svg {
        width: 18px;
        height: 14px;
    }
}

@media (max-width: 400px) {
    .rooms__hint {
        max-width: 92px;
        font-size: 9px;
        padding: 3px 5px;
    }
}

@media (max-width: 650px) {
    .rooms__hint {
        max-width: 120px !important;
        padding: 6px !important;
        font-size: 8px !important;
    }

    .rooms__dot {
        width: 8px !important;
        height: 8px !important;
        box-shadow: 0 0 0 4px rgba(255, 152, 46, 0.35) !important;
    }
}


.rooms__tab {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.rooms__tab-icon {
    
    height: 27px;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}








































































.steps {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    background-color: #F1F9FB;
    padding: 80px 15px;
    box-sizing: border-box;
}

.steps__top-head,
.steps__grid {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.steps__grid {
    margin-top: 40px;
}

.steps__heading {
    font-size: 32px;
    margin-bottom:16px;
    font-weight: 700;
    color: #374353;
}

.steps__grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    
}

.steps__card {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.steps__card--tall {
    grid-row: span 2;
}

/* .steps__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
} */
.steps__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* margin-bottom: 10px; */
    position: relative;
}
.steps__icon {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #F1F9FB;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
}

.steps__icon svg path {
    fill: #2151B1;
}

/* .steps__num {
    font-size: 125px;
    font-weight: 600;
    color: #F1F9FB;
    line-height: 0.75;
    position: absolute;
    right: -10px;
    z-index: 1;
} */

.steps__num {
    position: static;
    font-size: 125px;
    font-weight: 600;
    color: #F1F9FB;
    line-height: 1;
    margin: 0;
}

.steps__title {
    font-size: 24px;
    font-weight: 600;
    color: #374353;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.steps__text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #374353;
    position: relative;
    z-index: 1;
    margin:0;
}

.steps__btn {
    display: inline-block;
    background: #FF982E;
    color: #fff;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    margin-top: auto;
    align-self: flex-end;
    z-index: 5;
}

.steps__btn:hover {
    background: #f88f26;
    color: #fff;
    text-decoration: none;
}

.steps__img {
    position: absolute;
    right: -40px;
    bottom: -20px;
    width: 280px;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 1100px) {
    .steps__grid {
        grid-template-columns: 1fr 1fr;
    }

    .steps__card--tall {
        grid-row: auto;
        order: 5;
    }

    .steps__card:nth-child(1) { order: 1; }
    .steps__card:nth-child(2) { order: 2; }
    .steps__card:nth-child(4) { order: 3; }
    .steps__card:nth-child(5) { order: 4; }
}

@media (max-width: 800px) {
    .steps__grid {
        grid-template-columns: 1fr;
    }

    .steps__img {
        display: none;
    }

    .steps__num {
        font-size: 80px;
    }
}



.steps__top-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    /* margin-bottom:40px; */
}

.steps__lead {
    
    font-size: 18px;
    line-height: 1.5;
    color: #374353;
    font-weight:400;
    margin:0;
}



.steps__icon {
    background: #F1F9FB;
}


@media(max-width:500px){
    .steps__btn {
    margin-top:10px;
    align-self: center;
    
}
}
@media(max-width:700px){
    .feedback__card-top{
        flex-direction:column;
        align-items:end;
        
    }
    .feedback__card-top-right{
        /* margin-left:20px;
        margin-top:10px; */
        margin-right:20px;
        margin-top:10px;
        font-size:16px;
    }
}










.rooms__stage {
    overflow: visible;
    aspect-ratio: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
}

.rooms__panel {
    display: none;
    position: static;
}

.rooms__panel.is-active {
    display: block;
}

.rooms__media {
    position: relative;
    width: 100%;
    aspect-ratio: 1200 / 750;
    border-radius: 24px;
    overflow: hidden;
}

.rooms__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: center 10%;
}

.rooms__list {
    display: none;
}

@media (max-width: 900px) {
    .rooms__pin {
        display: none;
    }

    .rooms__list {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin: 20px 0 0;
        padding: 0;
        list-style: none;
    }

    .rooms__list-item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    text-align: left;
}

.rooms__dot {
    flex-shrink: 0;
    margin-top: 5px;
}

.rooms__list-text {
    display: block;
    text-align: left;
    flex: 1;
}

    .rooms__list-text {
        font-size: 16px;
        line-height: 1.4;
        color: #374353;
    }
}























.works {
    width: 100%;
    background: transparent;
    padding: 80px 15px;
    box-sizing: border-box;
}

.works__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.works__top {
    /* max-width: 900px; */
}

.works__bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.works__card {
    background: #F1F9FB;
    border-radius: 20px;
    padding: 20px;
}

.works__compare {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}

.works__compare img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.works__compare-after {
    position: absolute;
    inset: 0;
}

.works__compare-before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 50%;
    overflow: hidden;
}

.works__compare-before img {
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

.works__compare-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    z-index: 3;
}

.works__compare-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}

.works__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.works__done-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.works__done-list li {
    position: relative;
    padding-left: 18px;
}

.works__done-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF982E;
}

@media (max-width: 800px) {
    .works__bottom {
        grid-template-columns: 1fr;
    }
}





.works__compare-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.works__compare-btn::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 2000px;
    background: #fff;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.works__compare-btn svg {
    width: 23px;
    height: 10px;
}

.works__compare-btn svg path {
    fill: #FF982E !important;
}



.works__title{
    margin-bottom:20px;
    font-size:32px;
    font-weight:700;
    line-height:1.5;
    color:#374353;
}
.works__text{
    font-size:18px;
    font-weight:400;
    line-height:1.5;
    color:#374353;
     margin-bottom:40px;
}

.works__card-title{
    margin-bottom:20px;
    font-size:24px;
    font-weight:600;
    line-height:1.5;
    color:#374353;
}

.works__done-title{
     font-size:20px;
    font-weight:600;
    line-height:1.5;
    color:#374353;
    margin-bottom:16px;

}

.works__done-list li{
    font-size:18px;
    font-weight:400;
    line-height:1.5;
    color:#898989;
}


.works__done-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.works__meta{
    font-size:18px;
    font-weight:600;
    line-height:1.5;
    color:#2151B1;
    margin-bottom:20px;
    gap:60px;
}

.works__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.works__meta-item svg {
    flex-shrink: 0;
}

.works__meta-item svg path {
    fill: #2151B1;
}
















/* МОДАЛКА */
/* МОДАЛКА */
.reviews-actions {
  margin-top: 60px;
  text-align: center;
}
.btn-leave-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 50px;
  background-color: #FF982E;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-leave-review:hover {
  background: #ff9429;
}

/* ===== Модалка ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.modal-overlay .modal {
  display: none;
  visibility: hidden;
}
.modal-overlay.is-open .modal {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.modal {
  position: relative !important;
  width: 610px !important;
  max-width: calc(100% - 32px) !important;
  min-width: 0 !important;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 40px !important;
  transform: translateY(20px);
  transition: transform 0.25s ease;
  box-sizing: border-box !important;
}

/* Крестик — снаружи на десктопе */
.modal-close {
  position: absolute;
  top: 0;
  right: -50px;
  width: 50px;
  height: 50px;
  border: none;
  background: transparent;
  font-size: 40px;
  line-height: 1;
  color: #D5D5D5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  z-index: 10;
  padding: 0;
}
.modal-close:hover {
  color: #333;
  background: transparent;
  transform: none;
}

.modal-title {
  margin-bottom: 16px;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  color: #374353;
}
.modal-subtitle {
  margin-bottom: 38px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  color: #374353;
}

/* Звёзды */
.rating-stars {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 38px;
  position: relative;
}
.rating-stars .star {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 0;
  transition: transform 0.15s;
}
.rating-stars .star svg {
  width: 47px;
  height: 47px;
  display: block;
}
.rating-stars .star path {
  fill: #D9D9D9;
  transition: fill 0.15s;
}
.rating-stars .star:hover path,
.rating-stars .star.hovered path,
.rating-stars .star.active path {
  fill: #FF982E;
}
.rating-stars .star:hover {
  transform: scale(1.08);
}

/* Форма */
.review-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.review-form {
  text-align: center;
}
.review-form .form-group {
  margin-bottom: 12px;
  text-align: left;
  position: relative;
}
.review-form input,
.review-form textarea {
  width: 100%;
  padding: 20px;
  border: 1px solid #e5e7eb;
  font-size: 15px;
  color: #374353;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.review-form input {
  border-radius: 100px;
}
.review-form textarea {
  border-radius: 20px;
  resize: vertical;
  min-height: 110px;
}
.review-form input::placeholder,
.review-form textarea::placeholder {
  color: #9ca3af;
}
.review-form input:focus,
.review-form textarea:focus {
  outline: none;
  border-color: #FF982E;
}
.review-form input.error,
.review-form textarea.error {
  border-color: #ef4444;
}

/* Ошибки */
.error-msg {
  position: absolute;
  left: 0;
  top: 100%;
  font-size: 14px;
  color: #ef4444;
  line-height: 1.2;
  margin-top: 2px;
  white-space: nowrap;
  pointer-events: none;
}
.form-row .form-group:last-child .error-msg {
  right: 0;
  left: auto;
  text-align: right;
}

/* Кнопка */
.btn-submit-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 50px;
  background-color: #FF982E;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s;
  width: auto;
  margin: 26px auto 0;
}
.btn-submit-review:hover {
  background: #ff9429;
}
.btn-submit-review:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Согласие */
.consent-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #BDBDBD;
  cursor: pointer;
  justify-content: center;
}
.consent-label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.consent-checkbox {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  border: 1.5px solid #BDBDBD;
  border-radius: 3px;
  background: #fff;
  position: relative;
  box-sizing: border-box;
}
.consent-label input:checked + .consent-checkbox::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 7px;
  height: 7px;
  background: #BDBDBD;
  border-radius: 1px;
}
.consent-text {
  color: #BDBDBD;
}
#consentError {
  position: static;
  text-align: center;
  margin-top: 6px;
  display: block;
}
#ratingError {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 6px;
  text-align: center;
  color: #ef4444;
  font-size: 14px;
  line-height: 1.2;
  pointer-events: none;
  white-space: nowrap;
}

/* ===== ≤ 700px — крестик внутри + компактнее ===== */
@media (max-width: 700px) {
  .modal {
    width: 100% !important;
    max-width: calc(100% - 24px) !important;
    padding: 28px 20px 24px !important;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 28px;
    color: #999;
  }

  .modal-title {
    font-size: 26px;
    margin-bottom: 12px;
  }

  .modal-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .rating-stars {
    gap: 10px;
    margin-bottom: 24px;
  }

  .rating-stars .star svg {
    width: 38px;
    height: 38px;
  }

  .review-form input,
  .review-form textarea {
    padding: 16px;
  }

  .btn-submit-review {
    padding: 14px 40px;
    font-size: 16px;
    margin-top: 18px;
  }
}

/* ===== ≤ 480px — ещё компактнее ===== */
@media (max-width: 480px) {
  .modal-overlay {
    align-items: flex-start;
    padding: 16px 0;
    overflow-y: auto;
  }

  .modal {
    margin: 16px auto;
    padding: 24px 16px 20px !important;
    border-radius: 16px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 24px;
  }

  .modal-title {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .modal-subtitle {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .rating-stars {
    gap: 8px;
    margin-bottom: 18px;
  }

  .rating-stars .star svg {
    width: 32px;
    height: 32px;
  }

  .review-form .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .review-form input,
  .review-form textarea {
    padding: 14px 16px;
  }

  .review-form textarea {
    min-height: 90px;
  }

  .btn-submit-review {
    padding: 14px 32px;
    font-size: 15px;
    margin-top: 14px;
  }

  .consent-label {
    font-size: 13px;
    margin-top: 12px;
  }
}