@import url("https://fonts.cdnfonts.com/css/satoshi");

* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: "Satoshi", sans-serif;
    background: #f5f7fa;
    color: #06144a;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */

.header {
    height: 95px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.nav {
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    width: 190px;
    display: block;
}

nav {
    display: flex;
    gap: 40px;
}

nav a {
    color: #000;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.2s;
}

nav a:hover {
    opacity: 0.7;
}

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    font-size: 34px;
    cursor: pointer;
    color: #06144a;
}

/* HERO */

.hero {
    padding: 125px 0 70px;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    width: 44%;
}

.hero-text h1 {
    max-width: 440px;
    margin: 0 0 22px;
    font-size: 39px;
    line-height: 1.15;
    font-weight: 900;
}

.hero-text p {
    margin: 0 0 32px;
    font-size: 17px;
    font-weight: 700;
    color: #0b3b76;
}

.btn {
    display: inline-block;
    background: #f97316;
    color: #fff;
    padding: 17px 26px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 800;
    transition: 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.hero-image {
    width: 48%;
}

.hero-image img {
    width: 100%;
    display: block;
}

/* STEPS */

.steps {
    padding-bottom: 60px;
}

.steps-box {
    background: #202020;
    color: #fff;
    padding: 34px 65px 52px;
    text-align: center;
    box-shadow: 0 35px 35px rgba(0, 0, 0, 0.06);
}

.steps-box h2 {
    margin: 0 0 48px;
    font-size: 31px;
    font-weight: 900;
    position: relative;
}

.steps-box h2::after {
    content: "";
    display: block;
    width: 125px;
    height: 1px;
    background: #aaa;
    margin: 12px auto 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 55px;
}

.step img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    margin-bottom: 25px;
}

.step h3 {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 900;
}

.step p {
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 800;
}

/* FOOTER */

.footer {
    margin-top: auto;
    background: #fff;
    padding: 42px 0;
    flex-shrink: 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer img {
    width: 62px;
    display: block;
}

.footer p {
    margin: 0;
    font-size: 16px;
    font-weight: 900;
    color: #111;
}

/* TABLET */

@media (max-width: 992px) {
    .hero {
        padding: 80px 0 50px;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-text,
    .hero-image {
        width: 100%;
    }

    .hero-text h1 {
        max-width: 100%;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE */

@media (max-width: 768px) {
    .header {
        height: auto;
    }

    .nav {
        height: auto;
        padding: 20px 0;
        position: relative;
    }

    .logo img {
        width: 150px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        border-radius: 8px;
        overflow: hidden;
        z-index: 1000;
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 18px;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    nav a:last-child {
        border-bottom: none;
    }

    .hero {
        padding: 50px 0 35px;
    }

    .hero-text h1 {
        font-size: 30px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .steps-box {
        padding: 30px 20px 40px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps-box h2 {
        font-size: 28px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
