@font-face {
    font-family: "Finlandica";
    src: url("../assets/fonts/Finlandica.ttf");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Finlandica";
    src: url("../assets/fonts/arialbd.ttf");
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Perminov";
    src: url("../assets/fonts/Perminov.otf");
    font-display: swap;
}
@font-face {
    font-family: "Arialbd";
    src: url("../assets/fonts/arialbd.ttf");
    font-display: swap;
}

:root{
    --blue:#2d3c97;
    --light:#dff0f4;
    --cyan:#78c0d7;
    --container:1200px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:auto;
}

body{
    font-family:Finlandica,Arial,sans-serif;
    color:var(--blue);
    overflow-x:hidden;
    background-color:#dff0f4;
}

img{
    display:block;
    width:100%;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

.page{
    width:100%;
    max-width:1200px;
    margin:auto;
    position:relative;
    overflow:hidden;
}

.container{
    width:92%;
    max-width:1080px;
    margin:auto;
    position:relative;
}

/**************** HERO ****************/

.hero{
    position:relative;
    height:520px;
    overflow:hidden;
}

.hero__bg{
    position:absolute;
    inset:0;
    width:100%;
    height:120%;
    object-fit:cover;
    object-position:center center;
}

.hero__overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
    rgba(0,0,0,.25),
    rgba(0,0,0,.10),
    rgba(0,0,0,.35));
}

.nav{
    position:relative;
    z-index:20;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-top:25px;
    gap:20px;
}

.nav__burger{
    display:none;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    width:44px;
    height:44px;
    padding:8px;
    border:none;
    border-radius:8px;
    background:rgba(255,255,255,.15);
    cursor:pointer;
}

.nav__burger span{
    display:block;
    width:100%;
    height:3px;
    background:#fff;
    border-radius:2px;
    transition:transform .25s, opacity .25s;
}

.nav__burger--open span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
}

.nav__burger--open span:nth-child(2){
    opacity:0;
}

.nav__burger--open span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
}

.nav__menu{
    display:flex;
    gap:38px;
}

.nav li{
    color:white;
    font-size:23px;
    font-weight:400;
}

.nav li:hover{
    opacity:.8;
}

.phone{
    color:white;
    font-size:23px;
    font-weight:700;
}

.hero__content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-rows: 1fr auto;
    grid-template-columns: 1fr 1fr;
    height: 430px;
    align-items: end;
}

.hero h1 {
    font-family: "Perminov", Arial, Helvetica, sans-serif;
    grid-row: 1 / 2;
    grid-column: 1 / 3;
    color: white;
    font-size: 95px;
    line-height: 80px;
    text-align: right;
    font-weight: 400;
    text-shadow: 0 3px 10px rgba(0,0,0,.4);
    align-self: center;
    margin-right: 0;
    padding-right: 0;
    margin-bottom: 100px;
    white-space: nowrap;
}

.hero p {
    font-family: "Arialbd" ;
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    color: white;
    font-size: 45px;
    max-width: 420px;
    line-height: 50px;
    text-align: left;
    padding: 0; 
    margin: 0; 
    margin: 0;
    white-space: nowrap;
}

/*************** MAIN CONTENT WRAPPER ***************/

.main-content-wrapper {
    background-color: #dff0f4;
    background-image: url("../assets/images/lol.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.contact {
    position: relative;
    z-index: 5;
}

/*************** ADVANTAGES ***************/

.advantages {
    padding-top: 5px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    background: transparent !important;
    overflow: hidden;
}

.advantages .container {
    position: relative;
}

.advantages h2 {
    font-family: "Perminov", Arial, Helvetica, sans-serif;
    text-align: left;
    font-size: 74px;
    margin-bottom: 5px;
    font-weight: 400;
    color: #312F88;
    line-height: 1;
}

/*************** КАРУСЕЛЬ ***************/

.carousel-wrapper {
    position: relative;
}

.carousel-wrapper,
.carousel-fullwidth,
.carousel,
.carousel__window,
.carousel__track,
.item {
    user-select: none;
}

.carousel-fullwidth {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
}

.carousel {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 25px;
}

.carousel__window {
    flex: 1;
    overflow: hidden;
}

.carousel__track {
    display: flex;
    gap: 20px;
    transition: transform .35s ease;
}

.item {
    flex: 0 0 calc((100% - 40px) / 3);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.item img {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
}

.prev,
.next {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
    position: relative;
    z-index: 20;
}

.prev::before {
    content: "❮";
    color: #78bfd8;
    font-size: 34px;
}

.next::before {
    content: "❯";
    color: #78bfd8;
    font-size: 34px;
}

/**************** PRICE ****************/

.price {
    padding-top: 5px;
    padding-bottom: 60px;
    background: transparent !important;
    position: relative;
}

.price .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.price__left {
    width: 100%;
    max-width: 420px;
    margin-top: 140px;
}
.zaebalo{
    margin-top: 100px;
}

.price_top {
    display: inline-block;
    gap: 15px;
    margin-top: -10px;
}

.from {
    font-family: "Perminov";
    font-size: 70px;
    font-weight: 400;
    line-height: 1;
    margin-right: 20px;
    color: #38386D;
}

.number {
    font-family: "Perminov";
    font-size: 92px;
    font-weight: 400;
    line-height: 1;
    margin: 10px 0;
    color: #38386D;
}

.meter {
    font-family: "Perminov";
    font-size: 65px;
    font-weight: 400;
    line-height: 1.2;
    color: #38386D;
    white-space: nowrap;
    margin-top: -10px;
}

.MM{
    display:flex;
    text-align:right;
    font-size:30px;
    margin-top:10px;
    margin-left: 325px;
}
.MM img {
    width: 40px;
    height: auto;
    display: block;
    flex-shrink: 0;
}

.price__card {
    width: 100%;
    max-width: 460px;
    min-height: auto;
    margin-bottom: -130px;
    margin-left: -40px;
    padding: 25px 0 0;
    background: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.price__card h3 {
    font-family: "Arialbd";
    font-size: 30px;
    color: #25859B;
    margin-bottom: 20px;
    margin-left: 0;
}

.price__card ul {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-left: 38px;
}

.price__card li {
    position: relative;
    padding-left: 28px;
    font-size: 25px;
    color: #25859B;
    line-height: 1.3;
    white-space: nowrap;
}

.price__card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 22px;
    height: 22px;
    background: url("../assets/капля.png") center/contain no-repeat;
    background-color: transparent;
    border-radius: 0;
    transform: none;
}

/**************** SERVICES ****************/

.services-wrapper {
    margin-top: 140px;
}

.services {
    padding-top: 32px;
    padding-bottom: 38px;
}

.services .container {
    width: 92%;
    max-width: 1128px;
    margin: 0 auto;
}

.services h2 {
    font-family: "Perminov";
    font-size: 74px;
    line-height: 1;
    color: #37348C;
    text-align: center;
    margin-bottom: 8px;
}

/* ====== SERVICE CARDS ====== */
.cards {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
}

.flip-card {
    width: 300px;
    max-width: 100%;
    height: 400px;
    flex-shrink: 0;
    border-radius: 26px;
    overflow: hidden;
    background: transparent;
}

.flip-card-inner {
    width: 100%;
    height: 100%;
}

.flip-card-front,
.flip-card-back {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
}

.flip-card-front {
    display: block;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flip-card-back {
    display: none;
    background: linear-gradient(135deg, #2d3c97, #1a2566);
    color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 25px;
    text-align: center;
}

.flip-card.is-open .flip-card-front {
    display: none;
}

.flip-card.is-open .flip-card-back {
    display: flex;
}

@media (hover: hover) and (pointer: fine) {
    .flip-card {
        position: relative;
    }

    .flip-card-back {
        display: flex;
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: opacity .25s ease;
        pointer-events: none;
    }

    .flip-card:hover .flip-card-back {
        opacity: 1;
        pointer-events: auto;
    }
}

.flip-card-back h3 {
    font-family: "Arialbd";
    font-size: 22px;
    margin-bottom: 12px;
    color: #78c0d7;
}

.flip-card-back p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 18px;
    opacity: 0.95;
}

.flip-card-back ul {
    text-align: left;
    width: 100%;
}

.flip-card-back ul li {
    font-size: 14px;
    padding: 4px 0;
    opacity: 0.9;
    line-height: 1.4;
}

.flip-card-back ul li:last-child {
    margin-bottom: 0;
}

/* ====== END FLIP CARDS ====== */

/**************** STAGES ****************/

.steps{
    padding:20px 0 25px;
    background:transparent !important;
}

.steps h2{
    font-family:"Perminov";
    font-size:60px;
    color:#37348C;
    text-align:right;
    margin-top:140px;
    margin-right: 20px;
}

.scheme{
    width:1000px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 140px 1fr;
    row-gap:30px;
    align-items:center;
}

.scheme img{
    width:260px;
}

.scheme img:nth-child(1){
    width:316px;
    height:388px;
    justify-self:start;
    margin-top:-40px;
    margin-left:85px;
    transform: translateY(-90px);
}

.scheme img:nth-child(3){
    transform:translate(80px,130px) scale(1.2);
}

.scheme img:nth-child(5){
    grid-column:1;
    transform: translate(10px, -150px) scale(1.3);
    justify-self:start;
}

.scheme img:nth-child(7){
    grid-column:3;
    justify-self:end;
    transform:translate(-80px,200px) scale(1.35);
}

.arrow{
    width:120px !important;
    justify-self:center;
    opacity:.85;
}

.arrow:nth-child(2){
    transform:rotate(-2deg) translate(40px, 20px) scale(2);
}

.arrow:nth-child(4){
    transform:translate(250px, 80px) scale(2);
}

.arrow:nth-child(6){
    transform:rotate(-10deg) translate(-10px, 70px) scale(2);
}

/**************** CONTACT ****************/

.contact{
    position:relative;
    padding:30px 0 40px;
    background:transparent !important;
}

.contact__box{
    margin-top: 200px;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    background:#ffffff;
    border-radius:40px;
    padding:55px 60px;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
    position:relative;
    z-index:2;
}

.contact__left{
    width:100%;
    max-width:430px;
}

.contact__left h2{
    font-size:44px;
    line-height:1.2;
    color:#283593;
    margin-bottom:35px;
}

.contact__left ul{
    display:flex;
    flex-direction:column;
    gap:16px;
    margin-bottom:35px;
}

.contact__left li{
    position:relative;
    padding-left:26px;
    font-size:20px;
    line-height:1.5;
}

.contact__left li::before{
    content:"";
    width:10px;
    height:10px;
    border-radius:50%;
    background:#71bfd7;
    position:absolute;
    left:0;
    top:11px;
}

.contact__left a{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    height:62px;
    width:285px;
    border-radius:60px;
    border:3px solid #283593;
    color:#283593;
    font-size:24px;
    font-weight:700;
    transition:.3s;
}

.contact__left a:hover{
    background:#283593;
    color:white;
}

.contact form{
    width:100%;
    max-width:420px;
    display:flex;
    flex-direction:column;
    gap:22px;
    position:relative;
    z-index:3;
}

.contact input[type=text],
.contact input[type=tel]{
    width:100%;
    height:60px;
    border-radius:14px;
    border:2px solid #d8e8ef;
    padding:0 18px;
    font-size:18px;
    outline:none;
    transition:.25s;
}

.contact input:focus{
    border-color:#283593;
}

.contact label{
    display:flex;
    align-items:flex-start;
    gap:10px;
    font-size:13px;
    line-height:1.4;
}

.contact label input{
    margin-top:3px;
}

.contact button{
    height:62px;
    border:none;
    border-radius:14px;
    background:#283593;
    color:white;
    font-size:20px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.contact button:hover{
    background:#1f2c75;
}

.contact button:disabled{
    opacity:.7;
    cursor:not-allowed;
}

/**************** FOOTER ****************/

footer {
    padding: 30px 0;
    width: 100%;
   
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__logo {
    font-family: "Perminov", Arial, sans-serif;
    font-size: 28px;
    color: #fff;
    font-weight: 400;
}

.footer__unp {
    font-family: "Finlandica", Arial, sans-serif;
    font-size: 13px;
    color: #fff;
    margin-left: 5px;
}

.footer__worktime {
    font-family: "Finlandica", Arial, sans-serif;
    font-size: 28px;
    color: #fff;
}

/**************** FLOATING ORDER ****************/

.floating-order{
    position:fixed;
    right:35px;
    bottom:35px;
    z-index:9999;
}

.floating-order__content{
    position:relative;
    width:275px;
    height:125px;
    background:#fff;
    border:5px solid #37348C;
    border-radius:28px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    box-sizing:border-box;
    overflow:visible;
}

.floating-order__content::after{
    content:"%";
    position:absolute;
    top:-22px;
    right:-18px;
    width:44px;
    height:44px;
    border-radius:50%;
    background:#F03B34;
    color:#fff;
    font-size:34px;
    font-weight:900;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 6px 10px rgba(0,0,0,.2);
}

.floating-order__text{
    font-family:"Arial",sans-serif;
    font-weight:900;
    font-size:26px;
    line-height:0.9;
    text-align:center;
    color:#37348C;
    margin-bottom:12px;
}

.floating-order__btn{
    width:210px;
    height:28px;
    border-radius:18px;
    background:#37348C;
    color:#fff;
    text-decoration:none;
    display:flex;
    justify-content:center;
    align-items:center;
    font-weight:700;
    font-size:17px;
}
.floating-order__close {
    position: absolute;
    top: -15px;
    right: 240px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #F03B34;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 10;
    line-height: 1;
}

.floating-order__close:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.floating-order__close:active {
    transform: scale(0.9);
}
.floating-order--hidden {
    display: none !important;
}

.phone__brand {
    display: none;
}
/**************** RESPONSIVE ****************/

/* Ноутбук 1024px */
@media(max-width:1024px){
    .main-content-wrapper {
        background-image: none !important;
        background-color: #dff0f4;
    }
    .container {
        width: 94%;
        max-width: 94%;
    }

    .hero h1 {
        font-size: 56px;
        line-height: 1.05;
        white-space: normal;
        margin-bottom: 60px;
    }

    .hero p {
        font-size: 28px;
        line-height: 1.2;
        white-space: normal;
        max-width: 100%;
    }

    .advantages h2 {
        font-size: 48px;
    }

    .services h2 {
        font-size: 48px;
    }

    .steps h2 {
        font-size: 40px;
        margin-top: 80px;
        text-align: center;
        margin-right: 0;
    }

    .price .container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .price__left {
        margin-top: 40px;
        text-align: center;
        max-width: 100%;
    }

    .zaebalo {
        margin-top: 0;
    }

    .price__card {
        margin-left: 0;
        margin-bottom: 0;
        max-width: 100%;
    }

    .MM {
        margin-left: 0;
        text-align: center;
        
    }

    .services-wrapper {
        margin-top: 60px;
    }

    .contact__box {
        flex-direction: column;
        gap: 30px;
        margin-top: 60px;
        padding: 35px 30px;
    }

    .contact__left {
        max-width: 100%;
    }

    .contact form {
        max-width: 100%;
    }

    .carousel-fullwidth {
        padding: 0 15px;
    }

    .item {
        flex: 0 0 calc((100% - 20px) / 2);
    }

    .item img {
        max-width: 220px;
    }

    .scheme {
        width: 100%;
        max-width: 700px;
        grid-template-columns: 1fr 100px 1fr;
        row-gap: 20px;
    }

    .scheme img {
        width: 180px;
    }

    .scheme img:nth-child(1) {
        width: 220px;
        height: 270px;
        margin-left: 40px;
        margin-top: 0;
        transform: translateY(-50px);
    }

    .scheme img:nth-child(3) {
        transform: translate(40px, 80px) scale(1.1);
    }

    .scheme img:nth-child(5) {
        transform: translate(10px, -100px) scale(1.1);
        justify-self: start;
    }

    .scheme img:nth-child(7) {
        transform: translate(-40px, 120px) scale(1.15);
    }

    .arrow {
        width: 80px !important;
    }

    .arrow:nth-child(2) {
        transform: rotate(-2deg) translate(20px, 10px) scale(1.5);
    }

    .arrow:nth-child(4) {
        transform: translate(150px, 50px) scale(1.5);
    }

    .arrow:nth-child(6) {
        transform: rotate(-10deg) translate(-5px, 40px) scale(1.5);
    }

    .flip-card {
        width: 260px;
        height: 350px;
    }

    .footer__logo {
        font-size: 24px;
    }

    .footer__worktime {
        font-size: 24px;
    }
}

/* Планшет 768px */
@media(max-width:768px){
    .nav {
        flex-wrap: wrap;
        position: relative;
    }

    .nav__burger {
        display: flex;
        order: 2;
    }

    .phone {
        order: 3;
        font-size: 20px !important; 
    }
     .phone__brand {
        display: inline;
        font-size: 20px;
        margin-right: 15px;
     }

    .nav__menu {
        display: none;
        flex-direction: column;
        gap: 12px;
        padding: 16px;
        background: rgba(45, 60, 151, 0.95);
        border-radius: 16px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 100;
        width: 100%;
        margin-top: 10px;
        order: 4;
    }

    .nav__menu--open {
        display: flex !important;
    }

    .nav li {
        font-size: 18px;
        color: white;
        text-align: center;
        padding: 8px 0;
    }

    .nav li:hover {
        opacity: 0.8;
    }

    .hero {
        height: auto;
        min-height: 480px;
    }

    .hero__content {
        height: auto;
        min-height: 380px;
        display: grid; /* было flex, меняем на grid */
        grid-template-rows: 1fr auto;
        grid-template-columns: 1fr 1fr;
        align-items: end;
        gap: 0;
        padding-bottom: 30px;

    }

    .hero h1 {
         grid-row: 1 / 2;
        grid-column: 1 / 3;
        align-self: center;
        text-align: right; /* было center, меняем на right */
        font-size: 38px;
        line-height: 1.05;
        margin-bottom: 100px; /* возвращаем отступ как на ПК */
        padding: 0;
        white-space: nowrap; /* запрещаем перенос */
    }
     .hero .hero__content h1 {
        font-size: 40px;
    }

    .hero p {
          grid-row: 2 / 3;
        grid-column: 1 / 2;
        width: 100%;
        text-align: left; /* было center, меняем на left */
        font-size: 20px;
        line-height: 1.3;
        padding: 0;
        max-width: 420px;
        white-space: nowrap; /* запрещаем перенос */
    }
    

    .advantages h2 {
        font-size: 36px;
        text-align: center;
        margin-top: 20px; 
    }

    .services h2 {
        font-size: 36px;
    }

    .steps h2 {
        font-size: 32px;
        margin-top: 30px;
        text-align: center;
    }

    .price .container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .price__left {
        margin-top: 40px;
        text-align: center;
        max-width: 100%;
    }

    .zaebalo {
        margin-top: 0;
    }

    .price__card {
        margin-left: 0;
        margin-bottom: 0;
        max-width: 100%;
    }

    .from {
        font-size: 42px;
    }

    .number {
        font-size: 56px;
    }

    .meter {
        font-size: 32px;
        white-space: normal;
    }

    .MM {
        margin-left: 0;
        text-align: center;
        justify-content: center;
    }

    .price__card li {
        font-size: 18px;
        white-space: normal;
    }

     .flip-card-front img {
        content: url("../assets/ра3-04.png");
    }
    
    .flip-card:nth-child(2) .flip-card-front img {
        content: url("../assets/ра2-04.png");
    }
    
    .flip-card:nth-child(3) .flip-card-front img {
        content: url("../assets/ра1-04.png");
    }

    .flip-card {
        width: 100%;
        max-width: 320px;
        height: 320px;
    }

    .services-wrapper {
        margin-top: 40px;
    }

    .contact__box {
        flex-direction: column;
        gap: 30px;
        margin-top: 60px;
        padding: 35px 30px;
    }

    .contact__left {
        max-width: 100%;
    }

    .contact form {
        max-width: 100%;
    }

    .contact__left h2 {
        font-size: 30px;
    }

    .contact__left a {
        width: 100%;
        font-size: 20px;
    }

    .floating-order {
        right: 15px;
        left: 15px;
        bottom: 15px;
    }

    .floating-order__content {
        width: 100%;
        height: auto;
        padding: 15px;
    }

    .floating-order__text {
        font-size: 18px;
    }

    .floating-order__btn {
        width: 100%;
        height: auto;
        padding: 10px 20px;
        font-size: 15px;
    }

    .carousel-fullwidth {
        padding: 0 10px;
    }
     .carousel-wrapper {
        margin-top: 20px; /* добавляем отступ сверху */
    }
  .floating-order__close{
    right: 340px;
  }

   
    .prev,
    .next {
        width: 38px;
        height: 38px;
    }

    .prev::before,
    .next::before {
        font-size: 22px;
    }

    .item {
        flex: 0 0 calc((100% - 10px) / 2);
    }

    .item img {
        max-width: 180px;
    }

    .scheme {
        max-width: 500px;
        grid-template-columns: 1fr 70px 1fr;
        gap: 15px;
    }

    .scheme img {
        width: 140px;
    }

    .scheme img:nth-child(1) {
        width: 115px !important;
        height:140px !important;
        transform: translateY(10px);
        content: url("../assets/Mobile/пж3-04.png");
         
    }

    .scheme img:nth-child(3) {
        transform: translate(20px, 60px);
        width: 115px !important; 
        height: 140px !important;
        content: url("../assets/Mobile/пж2-04.png");
    }

    .scheme img:nth-child(5) {
        transform: translate(5px, -20px) !important;
        width: 130px !important;
        height: 160px !important;
        content: url("../assets/Mobile/пж4-04.png");
    }

    .scheme img:nth-child(7) {
        transform: translate(-25px, 60px) !important ;
        width: 130px !important;
        height: 160px !important;
        content: url("../assets/Mobile/пж1-04.png");
    }

    .arrow {
        width: 60px !important;
    }

    .arrow:nth-child(2) {
        transform: rotate(-2deg) translate(10px, 40px) scale(1.2);
    }

    .arrow:nth-child(4) {
        transform: translate(100px, 30px) scale(1.2);
    }

    .arrow:nth-child(6) {
        transform: rotate(-10deg) translate(-5px, 20px) scale(1) !important;
    }

    .footer__content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer__logo {
        font-size: 22px;
    }

    .footer__unp {
        font-size: 13px;
    }

    .footer__worktime {
        font-size: 18px;
    }
}

/* Большое мобильное устройство 425px */
@media(max-width:425px){
    .container {
        width: 96%;
        max-width: 96%;
    }

    .hero {
        min-height: 400px;
    }

    .MM {
        display: block !important;
        text-align: center;
        margin-left: 0;
    }
    
    .MM img {
        display: inline-block;
        vertical-align: middle;
        margin-right: 8px;
        width: 30px;
    }
    
    .MM span {
        display: inline-block;
        vertical-align: middle;
    }

    .price_top {
        margin-bottom: 10px;
    }

    .services-wrapper {
        margin-top: -50px;
    }

    .zaebalo {
        margin-top: -20px;
    }

    .hero__content {
        min-height: 320px;
        gap: 16px;
        padding-bottom: 20px;
    }

    .hero h1 {
        font-size: 30px;
        padding: 0 5px;
    }

    .hero p {
        font-size: 17px;
        padding: 0 5px;
    }

    .nav li {
        font-size: 16px;
    }

    .phone {
        font-size: 16px;
    }

    .advantages h2 {
        font-size: 28px;
    }

    .services h2 {
        font-size: 28px;
    }

    .steps h2 {
        font-size: 26px;
        margin-top: -10px;
    }

    .from {
        font-size: 34px;
        margin-right: 10px;
    }

    .number {
        font-size: 44px;
    }

    .meter {
        font-size: 26px;
    }

    .price__card h3 {
        font-size: 24px;
    }

    .price__card li {
        font-size: 16px;
    }

    .flip-card {
        max-width: 100%;
        height: 280px;
    }

    .flip-card-back {
        padding: 20px 18px;
    }

    .flip-card-back h3 {
        font-size: 18px;
    }

    .flip-card-back p {
        font-size: 14px;
    }

    .flip-card-back ul li {
        font-size: 12px;
    }

    .contact__box {
        margin-top: 40px;
        padding: 25px 20px;
        border-radius: 24px;
    }

    .contact__left h2 {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .contact__left li {
        font-size: 16px;
    }

    .contact input[type=text],
    .contact input[type=tel] {
        height: 48px;
        font-size: 15px;
        padding: 0 14px;
    }

    .contact button {
        height: 48px;
        font-size: 16px;
    }

    .contact label {
        font-size: 12px;
    }

    .carousel-fullwidth {
        padding: 0 5px;
    }

    .prev,
    .next {
        width: 32px;
        height: 32px;
    }

    .prev::before,
    .next::before {
        font-size: 18px;
    }

    .item {
        flex: 0 0 100%;
    }

    .item img {
        max-width: 160px;
    }

    .scheme {
        max-width: 100%;
        grid-template-columns: 1fr 50px 1fr;
        gap: 10px;
    }

    .scheme img {
        width: 100px;
    }

    .scheme img:nth-child(1) {
        width: 120px;
        height: 150px;
        margin-left: 10px;
        transform: translateY(5px);
    }

    .scheme img:nth-child(3) {
        transform: translate(10px, 80px) scale(1.1);
    }

    .scheme img:nth-child(5) {
        transform: translate(19px, -10px) scale(1.1);
    }

    .scheme img:nth-child(7) {
        transform: translate(-40px, 60px) scale(1.1);
    }

    .arrow {
        width: 100px !important;
    }

    .arrow:nth-child(2) {
        transform: rotate(-2deg) translate(-5px, 40px) scale(1);
    }

    .arrow:nth-child(4) {
        transform: translate(100px, 50px) scale(1);
    }

    .arrow:nth-child(6) {
        transform: rotate(-10deg) translate(-10px, 20px) scale(1);
    }

    .footer__logo {
        font-size: 18px;
    }

    .footer__unp {
        font-size: 11px;
    }

    .footer__worktime {
        font-size: 16px;
    }

    .floating-order {
        right: 10px;
        left: 10px;
        bottom: 10px;
    }

    .floating-order__content {
        padding: 12px;
        border-radius: 20px;
        border-width: 3px;
    }

    .floating-order__text {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .floating-order__btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    .floating-order__content::after {
        width: 32px;
        height: 32px;
        font-size: 24px;
        top: -16px;
        right: -14px;
    }
}

/* Среднее мобильное устройство 375px */
@media(max-width:375px){
    .hero h1 {
        font-size: 26px;
    }

    .hero p {
        font-size: 15px;
    }

    .advantages h2 {
        font-size: 24px;
    }

    .services h2 {
        font-size: 24px;
    }

    .steps h2 {
        font-size: 22px;
        margin-top: 30px;
    }

    .from {
        font-size: 28px;
    }

    .number {
        font-size: 38px;
    }

    .meter {
        font-size: 22px;
    }

    .MM {
        font-size: 18px;
        display: block !important;
        text-align: center;
        margin-left: 0;
    }
    
    .MM img {
        display: inline-block;
        vertical-align: middle;
        margin-right: 6px;
        width: 24px;
    }
    
    .MM span {
        display: inline-block;
        vertical-align: middle;
    }

    .price__card li {
        font-size: 14px;
    }

    .flip-card {
        height: 250px;
    }

    .contact__left h2 {
        font-size: 22px;
    }

    .contact__left li {
        font-size: 14px;
    }

    .contact input[type=text],
    .contact input[type=tel] {
        height: 44px;
        font-size: 14px;
    }

    .contact button {
        height: 44px;
        font-size: 15px;
    }

    .scheme img {
        width: 80px;
    }

    .scheme img:nth-child(1) {
        width: 100px;
        height: 125px;
    }

    .arrow {
        width: 35px !important;
    }

    .footer__logo {
        font-size: 16px;
    }

    .footer__unp {
        font-size: 10px;
    }

    .footer__worktime {
        font-size: 14px;
    }
}

/* Небольшое мобильное устройство 320px */
@media(max-width:320px){
    .hero h1 {
        font-size: 22px;
    }

    .hero p {
        font-size: 13px;
    }

    .advantages h2 {
        font-size: 20px;
    }

    .services h2 {
        font-size: 20px;
    }

    .steps h2 {
        font-size: 18px;
        margin-top: 20px;
    }

    .from {
        font-size: 24px;
    }

    .number {
        font-size: 32px;
    }

    .meter {
        font-size: 18px;
    }

    .price__card h3 {
        font-size: 18px;
    }

    .price__card li {
        font-size: 13px;
        padding-left: 22px;
    }

    .price__card li::before {
        width: 12px;
        height: 16px;
        top: 3px;
    }

    .flip-card {
        height: 220px;
        border-radius: 18px;
    }

    .flip-card-front,
    .flip-card-back {
        border-radius: 18px;
    }

    .flip-card-back {
        padding: 15px 12px;
    }

    .flip-card-back h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .flip-card-back p {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .flip-card-back ul li {
        font-size: 11px;
        padding: 2px 0;
    }

    .contact__box {
        padding: 18px 15px;
        border-radius: 18px;
    }

    .contact__left h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .contact__left li {
        font-size: 13px;
        padding-left: 20px;
    }

    .contact__left li::before {
        width: 8px;
        height: 8px;
        top: 8px;
    }

    .contact__left a {
        height: 48px;
        font-size: 16px;
        width: 100%;
    }

    .contact input[type=text],
    .contact input[type=tel] {
        height: 40px;
        font-size: 13px;
        border-radius: 10px;
        padding: 0 12px;
    }

    .contact label {
        font-size: 11px;
        gap: 8px;
    }

    .contact label input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }

    .contact button {
        height: 40px;
        font-size: 14px;
        border-radius: 10px;
    }

    .contact form {
        gap: 14px;
    }

    .prev,
    .next {
        width: 28px;
        height: 28px;
    }

    .prev::before,
    .next::before {
        font-size: 14px;
    }

    .scheme img {
        width: 70px;
    }

    .scheme img:nth-child(1) {
        width: 120px;
        height: 150px;
        margin-left: 5px;
    }

    .arrow {
        width: 30px !important;
    }

    .footer__logo {
        font-size: 14px;
    }

    .footer__unp {
        font-size: 9px;
    }

    .footer__worktime {
        font-size: 12px;
    }

    .floating-order__text {
        font-size: 14px;
    }

    .floating-order__btn {
        font-size: 12px;
        padding: 6px 12px;
    }

    .floating-order__content::after {
        width: 28px;
        height: 28px;
        font-size: 20px;
        top: -14px;
        right: -12px;
    }
}