:root{
    --index: calc(1vw + 1vh);
}

.container{
    padding: 0 2vw;
}

/* ===== Amenities title ===== */
.amenities-text h1{
    font-weight: 500;
}

.amenities-text_h2{
    font-weight: 400;
    font-size: 28px;
    line-height: 120%;
    color: #0a2463;
}

.amenities-text p{
    font-weight: 400;
}

/* ===== Ame blocks (старый layout) ===== */
.ame-blocks{
    display: flex;
    justify-content: space-between;
}

.ame-blocks--right{
    display: flex;
    flex-direction: row-reverse;
}

.text-block{
    margin-top: 44px;
    width: 48%;
}

.text-block__icon{
    margin-bottom: 14px;
    transition: all 0.2s;
}

.text-block__icon:hover{
    filter: contrast(130%) brightness(60%);
    transform: scale(1.13);
}

.text-block__h2{
    margin-bottom: 14px;
}

.problem{
    width: 100%;
    background-color: #fef2f2;
    border-left: 3.74px solid #fb2c36;
    margin-bottom: 14px;
    padding: 18px 14px;
}

.problem p{
    font-weight: 400;
    font-size: 13px;
    line-height: 143%;
    color: #9f0712;
}

.reshenie{
    width: 100%;
    background: #f0fdf4;
    border-left: 3.74px solid #00c950;
    padding: 18px 14px;
    margin-bottom: 23px;
}

.reshenie p{
    font-weight: 400;
    font-size: 13px;
    line-height: 143%;
    color: #016630;
}

.plus{
    margin-bottom: 23px;
}

.plus h3{
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #0a2463;
    margin-bottom: 11px;
}

.plus_box__item{
    display: flex;
    margin-bottom: 8px;
}

.plus_box__item p{
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #364153;
    margin-left: 7px;
}

.picture-block{
    width: 48%;
}

.picture-block img{
    margin-top: 122px;
    width: 100%;
    box-shadow: 0 7px 9px -6px rgba(0, 0, 0, 0.1), 0 19px 23px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.picture-block img:hover{
    transform: scale(1.03);
}

.picture-block--right img{
    margin-left: 0;
}

/* ===== Service section (новый layout) ===== */
.service-section {
    margin: 60px 0;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.service-row--reverse {
    flex-direction: row-reverse;
}

.service-info {
    flex: 1;
}

.service-info--right {
    text-align: right;
}

.service-icon {
    width: 60px;
    margin-bottom: 20px;
}

.service-description {
    margin: 20px 0;
    padding: 25px;
    border: 2px solid #00c2d2;
    border-radius: 12px;
    background: #fafafa;
    line-height: 1.8;
    white-space: pre-line;
    text-align: left;
}

.service-description__text {
    font-size: 16px;
    color: #333;
}

.service-price-wrap {
    margin: 20px 0;
}

.service-price-wrap--right {
    display: flex;
    justify-content: flex-end;
}

.service-price {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 8px 20px;
    border: 2px solid #00c2d2;
    border-radius: 12px;
}

.service-price--request {
    border-style: dashed;
    background: rgba(0, 194, 210, 0.05);
    align-items: center;
}

.service-price__value {
    font-size: 22px;
    font-weight: 700;
    color: #0a2463;
}

.service-price__currency {
    font-size: 14px;
    font-weight: 600;
    color: #00c2d2;
}

.service-price__unit {
    font-size: 12px;
    color: #888;
    margin-left: 3px;
}

.service-price__request-label {
    font-size: 14px;
    font-weight: 500;
    color: #00c2d2;
}

.service-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #007aff;
    color: white;
    padding: 18px 48px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.service-order-btn:hover {
    background: #005ecb;
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.45);
}

.service-order-btn p {
    margin: 0;
}

.service-order-btn img {
    width: 24px;
    filter: brightness(0) invert(1);
}

.service-image-wrap {
    flex: 1;
}

.service-image {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
}

/* ===== Price list ===== */
.price-container {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.prices-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.price-item {
    background: #f0f4f8;
    padding: 6px 14px;
    border-radius: 20px;
    display: flex;
    gap: 8px;
    font-size: 14px;
}

.price-name {
    font-weight: 600;
    color: #0a2463;
}

.price-amount {
    color: #00c2d2;
    font-weight: 700;
}

.price-placeholder {
    color: #888;
    font-style: italic;
    text-align: center;
    padding: 10px;
}

/* ===== Button order ===== */
a.button-order,
.button-order {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #007aff;
    color: #fff;
    padding: 18px 48px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
    width: auto;
    height: auto;
    cursor: pointer;
}

.button-order:hover {
    background: #005ecb;
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.45);
}

.button-order p,
.button-order span {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    display: inline;
}

.button-order img {
    width: 24px;
    margin-left: 0;
    filter: brightness(0) invert(1);
}

/* ===== Footer ===== */
footer{
    background: #0a2463;
    border-top: 1px solid #364153;
    padding-top: 30px;
    padding-bottom: 5%;
}

.footer-top{
    display: flex;
    justify-content: space-between;
    padding-top: 41px;
}

.logobox{
    display: flex;
    margin-bottom: 14px;
}

.logobox img{
    width: 41px;
    height: 41px;
    margin-right: 10px;
}

.logobox h4{
    font-weight: 400;
    font-size: 13px;
    line-height: 150%;
    color: #ffffff;
}

.logobox p{
    font-weight: 400;
    font-size: 12px;
    line-height: 143%;
    color: #d1d5dc;
}

.fotter-top__item{
    width: 200px;
}

.fotter-top__item h3{
    font-weight: 400;
    font-size: 13px;
    line-height: 150%;
    color: #fff;
    margin-bottom: 13px;
}

.fotter-top__item p, .fotter-top__item a{
    font-weight: 400;
    font-size: 12px;
    line-height: 143%;
    color: #d1d5dcc9;
    margin-bottom: 7px;
    display: block;
    transition: color 0.3s;
    width: fit-content;
}

.fotter-top__item a:hover{
    color: #00c2d2;
}

.contact-box{
    display: flex;
}

.contact-box img {
    margin-right: 7px;
    padding-bottom: 4px;
}

.div-decore{
    height: 1px;
    max-width: 1120px;
    background-color: #364153;
    margin: 28px auto;
}

.footer-bottom h2{
    font-weight: 400;
    font-size: 15px;
    line-height: 156%;
    text-align: center;
    color: #fff;
}

.partners-box{
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.partners-box img{
    transition: transform 0.3s;
    height: calc(var(--index) * 1.5);
}

.partners-box img.partner-logo--konica-minolta,
.partners-box img.partner-logo--datamobile {
    height: auto !important;
}

.partners-box img:hover{
    transform: scale(1.15);
}

.footer-bottom p{
    font-weight: 400;
    font-size: 12px;
    line-height: 143%;
    text-align: center;
    color: #99a1af;
    margin-top: 20px;
}

/* ===== Media queries ===== */
@media (max-width: 768px) {
    .container{
        padding: 0 4vw;
    }

    .ame-blocks{
        display: block;
    }

    .text-block{
        width: 100%;
    }

    .picture-block{
        display: flex;
        justify-content: center;
        margin-top: 5vh;
        width: 100%;
    }

    .picture-block img{
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
    }

    .service-row,
    .service-row--reverse {
        flex-direction: column;
    }

    .service-info--right {
        text-align: left;
    }

    .service-price-wrap--right {
        justify-content: flex-start;
    }

    .service-image {
        max-width: 100%;
    }
}

@media (max-width: 600px){
    footer{
        padding-top: 20px;
    }

    .footer-top{
        flex-direction: column;
        gap: 20px;
        padding-top: 28px;
    }

    .fotter-top__item{
        width: 100%;
    }

    .footer-bottom p{
        margin-top: 14px;
    }
}

@media (max-width: 620px){
    .footer-bottom{
        display: none;
    }
}