/* ===========================
   ВОДА52
   Автор: ChatGPT
=========================== */

:root {

    --blue: #0b5ed7;
    --blue-dark: #084298;
    --light: #f5f8fc;
    --white: #ffffff;
    --text: #1d2939;
    --gray: #667085;
    --border: #e4e7ec;

    --shadow:
        0 15px 40px rgba(0, 0, 0, .08);

    --radius: 18px;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {

    scroll-behavior: smooth;

}

body {

    font-family: "Inter", sans-serif;

    color: var(--text);

    background: var(--light);

    line-height: 1.6;

}

img {

    width: 100%;

    display: block;

}

a {

    text-decoration: none;

}

.container {

    width: min(1180px, 92%);

    margin: auto;

}

section {

    padding: 90px 0;

}

.section-title {

    text-align: center;

    margin-bottom: 60px;

}

.section-title h2 {

    font-size: 42px;

    margin-bottom: 15px;

}

.section-title p {

    color: var(--gray);

    max-width: 650px;

    margin: auto;

}
/* ===========================
HEADER
=========================== */

header {

    position: fixed;

    width: 100%;

    top: 0;

    left: 0;

    z-index: 999;

    background: rgba(255, 255, 255, .9);

    backdrop-filter: blur(12px);

    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);

}

header .container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    height: 85px;

}

.logo {

    font-size: 30px;

    font-weight: 800;

    color: var(--text);

}

.logo span {

    color: var(--blue);

}

nav {

    display: flex;

    gap: 35px;

}
.burger {
    display: block;
}

nav a {

    color: var(--text);

    transition: .3s;

}

nav a:hover {

    color: var(--blue);

}

.phone {

    background: var(--blue);

    color: white;

    padding: 14px 22px;

    border-radius: 999px;

    font-weight: 600;

    transition: .3s;

}

.phone:hover {

    background: var(--blue-dark);

}
/* ===========================
HERO
=========================== */

.hero {

    padding-top: 170px;

    background:

        linear-gradient(135deg,
            #eef6ff,
            #ffffff);

}

.hero-content {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;

}

.badge {

    display: inline-block;

    background: #dbeafe;

    color: var(--blue);

    padding: 10px 18px;

    border-radius: 999px;

    font-weight: 600;

    margin-bottom: 25px;

}

.hero h1 {

    font-size: 64px;

    line-height: 1.1;

    margin-bottom: 25px;

}

.hero p {

    font-size: 19px;

    color: var(--gray);

    margin-bottom: 35px;

}
.hero-buttons {

    display: flex;

    gap: 20px;

    margin-bottom: 45px;

}

.btn {

    background: var(--blue);

    color: white;

    padding: 18px 32px;

    border-radius: 999px;

    font-weight: 700;

    transition: .3s;

}

.btn:hover {

    transform: translateY(-3px);

    background: var(--blue-dark);

}

.btn-outline {

    border: 2px solid var(--blue);

    color: var(--blue);

    padding: 18px 32px;

    border-radius: 999px;

    font-weight: 700;

    transition: .3s;

}

.btn-outline:hover {

    background: var(--blue);

    color: white;

}

.hero-features {

    display: flex;

    gap: 45px;

}

.hero-features strong {

    display: block;

    font-size: 34px;

}

.hero-features span {

    color: var(--gray);

}

.hero-image img {

    border-radius: 30px;

    box-shadow: var(--shadow);

}
/* ===================================
   ПРЕИМУЩЕСТВА
=================================== */

.advantages {

    background: #fff;

}

.advantages-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

}

.card {

    background: white;

    border-radius: var(--radius);

    padding: 35px;

    box-shadow: var(--shadow);

    transition: .35s;

    border: 1px solid var(--border);

}

.card:hover {

    transform: translateY(-10px);

}

.icon {

    font-size: 42px;

    margin-bottom: 20px;

}

.card h3 {

    margin-bottom: 15px;

    font-size: 24px;

}

.card p {

    color: var(--gray);

}
/* ===================================
ЭТАПЫ
=================================== */

.steps {

    background: var(--light);

}

.steps-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

}

.step {

    background: white;

    padding: 35px;

    border-radius: var(--radius);

    text-align: center;

    box-shadow: var(--shadow);

}

.step span {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 70px;

    height: 70px;

    border-radius: 50%;

    background: var(--blue);

    color: white;

    font-size: 26px;

    font-weight: bold;

    margin-bottom: 25px;

}

.step h3 {

    margin-bottom: 15px;

}

.step p {

    color: var(--gray);

}
/* ===================================
ГАЛЕРЕЯ
=================================== */

.gallery {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

}

.gallery img {

    height: 280px;

    object-fit: cover;

    border-radius: 18px;

    cursor: pointer;

    transition: .35s;

    box-shadow: var(--shadow);

}

.gallery img:hover {

    transform: scale(1.04);

}
/* ===================================
ОТЗЫВЫ
=================================== */

.reviews {

    background: white;

}

.reviews-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

}

.review {

    background: #fff;

    border-radius: 20px;

    padding: 35px;

    box-shadow: var(--shadow);

}

.review p:first-child {

    font-size: 22px;

    margin-bottom: 15px;

}

.review h4 {

    margin-top: 20px;

    color: var(--blue);

}
/* ===================================
ФОРМА
=================================== */

.form-box {

    background: white;

    padding: 60px;

    border-radius: 25px;

    box-shadow: var(--shadow);

    max-width: 850px;

    margin: auto;

}

.form-box h2 {

    font-size: 40px;

    margin-bottom: 10px;

}

.form-box p {

    color: var(--gray);

    margin-bottom: 35px;

}

form {

    display: flex;

    flex-direction: column;

    gap: 20px;

}

input,
textarea {

    padding: 18px;

    border-radius: 12px;

    border: 1px solid #dcdcdc;

    font-size: 17px;

    font-family: inherit;

}

input:focus,
textarea:focus {

    outline: none;

    border-color: var(--blue);

}

button {

    background: var(--blue);

    color: white;

    border: none;

    padding: 18px;

    border-radius: 12px;

    cursor: pointer;

    font-size: 18px;

    font-weight: 700;

    transition: .3s;

}

button:hover {

    background: var(--blue-dark);

}
/* ===================================
FOOTER
=================================== */

footer {

    background: #0d1b2a;

    color: white;

    padding-top: 70px;

}

.footer-content {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 50px;

}

footer h3 {

    font-size: 32px;

    margin-bottom: 20px;

}

footer h4 {

    margin-bottom: 15px;

}

footer p {

    opacity: .85;

    margin-bottom: 10px;

}

.copyright {

    text-align: center;

    margin-top: 60px;

    border-top: 1px solid rgba(255, 255, 255, .15);

    padding: 25px;

    opacity: .7;

}
/* ==========================================
   АНИМАЦИИ
========================================== */

.card,
.step,
.review,
.gallery img,
.form-box {

    transition: all .35s ease;

}

.card:hover,
.step:hover,
.review:hover {

    transform: translateY(-8px);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, .12);

}

.gallery img:hover {

    transform: scale(1.05);

}
::selection {

    background: #0b5ed7;

    color: white;

}
::-webkit-scrollbar {

    width: 10px;

}

::-webkit-scrollbar-track {

    background: #eef2f6;

}

::-webkit-scrollbar-thumb {

    background: #0b5ed7;

    border-radius: 20px;

}
@media (max-width:1100px) {

    .hero-content {

        grid-template-columns: 1fr;

        text-align: center;

    }

    .hero-buttons {

        justify-content: center;

    }

    .hero-features {

        justify-content: center;

    }

    .advantages-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .steps-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .reviews-grid {

        grid-template-columns: 1fr;

    }

    .footer-content {

        grid-template-columns: 1fr;

        text-align: center;

    }

}
@media (max-width:768px) {

    nav {

        display: none;

    }

    .phone {

        display: none;

    }

    section {

        padding: 70px 0;

    }

    .hero {

        padding-top: 130px;

    }

    .hero h1 {

        font-size: 42px;

    }

    .section-title h2 {

        font-size: 34px;

    }

    .hero-buttons {

        flex-direction: column;

    }

    .hero-features {

        flex-direction: column;

        gap: 25px;

    }

    .advantages-grid {

        grid-template-columns: 1fr;

    }

    .steps-grid {

        grid-template-columns: 1fr;

    }

    .gallery {

        grid-template-columns: 1fr;

    }

    .form-box {

        padding: 35px;

    }

    .gallery img {

        height: 240px;

    }

}
@media (max-width:480px) {

    .hero h1 {

        font-size: 34px;

    }

    .btn,
    .btn-outline {

        padding: 16px;

        font-size: 16px;

    }

    .section-title h2 {

        font-size: 28px;

    }

    .logo {

        font-size: 24px;

    }

}
/* ===============================
АНИМАЦИИ
=============================== */

.hidden {

    opacity: 0;

    transform: translateY(40px);

}

.show {

    opacity: 1;

    transform: translateY(0);

    transition: all .8s ease;

}

/* ===============================
КНОПКА ВВЕРХ
=============================== */

.top-button {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 55px;

    height: 55px;

    border: none;

    border-radius: 50%;

    background: #0b5ed7;

    color: white;

    font-size: 24px;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transition: .3s;

    box-shadow: 0 15px 30px rgba(0, 0, 0, .25);

}

.top-button.visible {

    opacity: 1;

    visibility: visible;

}

.top-button:hover {

    transform: translateY(-5px);

}

.burger {
    display: none;
    font-size: 32px;
    cursor: pointer;
    user-select: none;
}

/* мобильная версия */
@media (max-width:768px) {

    nav,
    .phone {
        display: none;
    }

    .burger {
        display: block;
    }

}
.mobile-menu {
    position: fixed;
    top: 85px;
    left: 0;
    width: 100%;
    background: white;
    display: none;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu a {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    color: black;
}