
body{margin:0;font-family:Arial;background:linear-gradient(-45deg,#0f172a,#1e3a8a,#2563eb,#38bdf8);background-size:400% 400%;animation:bg 12s ease infinite;color:white}
@keyframes bg{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}
.title{
    text-align:center;
    margin-top:30px;
    margin-bottom:30px;

    font-size:60px;
    font-weight:bold;
}
.authors{
    position:fixed;

    left:20px;
    bottom:20px;

    background:rgba(255,255,255,0.12);
    backdrop-filter:blur(10px);

    padding:15px 20px;

    border-radius:12px;

    font-size:14px;

    text-align:left;

    max-width:300px;
}

.authors p{
    margin:5px 0;
}
@media screen and (max-width:768px){

    .authors{
        position:static;

        margin:40px auto 20px auto;

        width:90%;

        max-width:500px;

        text-align:center;
    }
}
.info-box{
    width:90%;
    max-width:1400px;

    margin:0 auto 50px auto;

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(10px);

    border-radius:20px;

    padding:30px;

    text-align:center;

    font-size:22px;
}
.layout{
    display:block;
    width:100%;
}
.menu,.card{background:rgba(255,255,255,.15);backdrop-filter:blur(10px);border-radius:15px}


.menu{padding:25px;width:350px}

.menu{
    display:flex;
    justify-content:center;
    gap:20px;

    padding:20px;
    width:100%;
    background:none;
}
.btn2{
    display:flex;

    justify-content:center;
    align-items:center;

    min-width:310px;
    height:95px;

    text-decoration:none;
    background:#38bdf8;
    color:white;
    margin-top:10px;
    border:none;
    border-radius:10px;
    font-size:20px;
    font-weight:bold;
    cursor:pointer;

    transition:.3s;
}
.btn{
    display:flex;

    justify-content:center;
    align-items:center;

    min-width:300px;
    height:60px;

    text-decoration:none;
    background:#38bdf8;
    color:white;
margin-top:10px;
    border:none;
    border-radius:10px;
    font-size:20px;
    font-weight:bold;
    cursor:pointer;

    transition:.3s;
}
.btn:hover,.card:hover{transform:scale(1.05)}


    .reviews{
    display:flex;

    justify-content:center;

    gap:30px;

    margin-top:50px;

    flex-wrap:wrap;
}


.card{
    width:320px;
    height:220px;

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(10px);

    border-radius:20px;

    padding:20px;

    text-align:center;
}
.dropdown{
    display:flex;
    flex-direction:column;
    align-items:center;
}
.paragraph {
    text-indent: 30px;
}
.dropdown-content{
    max-height:0;
    overflow:hidden;

    opacity:0;

    width:300px;

    transition:
        max-height 0.5s ease,
        opacity 0.3s ease;

    background:rgba(255,255,255,.15);
    backdrop-filter:blur(10px);

    border-radius:10px;

    margin-top:5px;
}

.dropdown-content a{
    display:block;
    padding:12px;
    text-decoration:none;
    color:white;
    text-align:center;
}

.dropdown-content a:hover{
    background:rgba(255,255,255,.2);
}

/* Открытие списка */
.dropdown:hover .dropdown-content{
    max-height:500px;
    opacity:1;
}
.page{max-width:1000px;margin:50px auto;background:rgba(255,255,255,.15);padding:30px;border-radius:20px}
.modal{position:fixed;inset:0;background:rgba(0,0,0,.7);display:flex;justify-content:center;align-items:center}
.modal-content{background:white;color:black;padding:30px;border-radius:15px;text-align:center}
/* ==========================
   Планшеты
   ========================== */
@media screen and (max-width: 1024px){

    .layout{
        gap:20px;
        padding:20px;
    }

    .menu{
        width:300px;
    }

    .card{
        width:250px;
    }
}

/* ==========================
   Планшеты и большие телефоны
   ========================== */
@media screen and (max-width: 768px){

    .title{
        margin-top:100px;
        font-size:40px;
    }

    .layout{
        flex-direction:column;
        align-items:center;
    }

    .menu{
        width:90%;
        max-width:500px;
    }

    .reviews{
        width:90%;
    }

    .card{
        width:100%;
        box-sizing:border-box;
    }

    .dropdown-content{
        left:0;
        top:100%;
        width:100%;
    }
}

/* ==========================
   Большинство телефонов
   ========================== */
@media screen and (max-width: 480px){

    .title{
        font-size:32px;
        margin-top:80px;
    }

    .menu{
        width:95%;
        padding:15px;
    }

    .btn{
        font-size:14px;
        padding:12px;
    }

    .page{
        margin:20px 10px;
        padding:20px;
    }

    .modal-content{
        width:85%;
        padding:20px;
    }
}

/* ==========================
   Очень маленькие телефоны
   ========================== */
@media screen and (max-width: 320px){

    .title{
        font-size:26px;
    }

    .btn{
        font-size:12px;
        padding:10px;
    }

    .menu{
        width:98%;
        padding:10px;
    }
}
/* =====================================
   Телефоны и небольшие планшеты
   ===================================== */
@media screen and (max-width: 768px){

    /* Заголовок */
    .title{
        font-size:40px;
        margin-top:20px;
    }

    /* Текстовый блок */
    .info-box{
        width:90%;
        padding:20px;
        font-size:16px;
    }

    /* Меню становится вертикальным */
    .menu{
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:15px;
    }

    /* Кнопки на всю ширину */
    .btn{
        width:90%;
        max-width:400px;
        min-width:unset;
    }

    /* Выпадающий список */
    .dropdown{
        width:100%;
        display:flex;
        flex-direction:column;
        align-items:center;
    }

    .dropdown-content{
        width:90%;
    }

    /* Отзывы тоже в столбец */
    .reviews{
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:20px;
        margin-top:40px;
    }

    .card{
        width:90%;
        max-width:400px;
        height:auto;
        min-height:150px;
    }
}
@media screen and (max-width: 480px){

    .title{
        font-size:32px;
    }

    .btn{
        font-size:16px;
        height:60px;
    }

    .info-box{
        font-size:14px;
    }

    .card{
        padding:15px;
    }
}
/* Контейнер для 6 кнопок */
.buttons-grid{
    display:grid;

    grid-template-columns:repeat(3, 1fr);

    gap:20px;

    margin-top:40px;
}

/* Кнопка возврата */
.back-block{
    margin-top:50px;

    display:flex;

    justify-content:center;
}

.back-btn{
    width:900px;
}

/* Адаптация под телефон */
@media screen and (max-width:768px){

    .buttons-grid{
        grid-template-columns:1fr;
    }

    .back-btn{
        width:100%;
    }
}
.services-table{
    width:100%;
    border-collapse:collapse;
    margin-top:30px;
}

.services-table th{
    text-align:left;
    padding:15px;
    font-size:18px;
    border-bottom:2px solid rgba(255,255,255,.3);
}

.services-table td{
    padding:15px;
    border-bottom:1px solid rgba(255,255,255,.15);
}

.services-table tr{
    transition:0.3s;
}

.services-table tr:hover{
    background:rgba(255,255,255,.08);
}
.main-image{
    display:block;

    width:100%;

    max-width:800px;

    height:auto;

    margin:30px auto;

    border-radius:15px;
}