* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #141414;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    margin-top: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #141414;
    font-size: 15px;
}

section {
    margin-bottom: 80px;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
}

.hero-section .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.heading-primary {
    font-weight: 800;
    font-size: 60px;
    text-transform: uppercase;
    color: #0A00CD;
    margin-bottom: 185px;
    line-height: 72px;
}

.text {
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    text-align: justify;
}

.hero-section .text {
    max-width: 183px;
}

.hero-section {
    position: relative;
}

.hero-left {
    position: relative;
    z-index: 3;
}

.hero-img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.hero-right {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    align-items: flex-end;
}

.btn-primary {
    text-decoration: none;
    display: inline-block;
    background: #0A00CD;
    border-radius: 2px;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    padding: 20px 40px;
    color: #FFFFFF;
}

.about-section .container {
    display: flex;
    gap: 30px;
}

.heading-secondary {
    font-weight: 800;
    font-size: 56px;
    line-height: 70px;
    text-transform: uppercase;
    color: #0A00CD;
    margin-bottom: 30px;
}

.text-left {
    max-width: 290px;
    margin-bottom: 54px;
}

.text-right {
    max-width: 285px;
    margin-left: auto;
}

.about-info {
    width: 100%;
}

.about-section {
    position: relative;
}

.about-img-2 {
    position: absolute;
    left: 0;
    bottom: 0;
}

.numbers-section {
    position: relative;
}

.numbers-img {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.numbers-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 940px;
}

.numbers-item {
    border: 1px solid #0A00CD;
    padding: 20px;
    height: 190px;
}

.heading-tertiary {
    font-weight: 800;
    font-size: 46px;
    line-height: 52px;
    letter-spacing: 0%;
    color: #0A00CD;
}

.products-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.products-item {
    border: 1px solid #0A00CD;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-weight: 800;
    font-size: 22px;
    margin-top: 10px;
    color: #0A00CD;
}

.products-item .text {
    text-align: left;
}

.product-price {
    font-weight: 800;
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #0A00CD;
}

.products-item .btn-primary {
    display: block;
    text-align: center;
}

.contact-img-1 {
    display: block;
    margin-left: auto;
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.contact-heading {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.contact-heading .heading-secondary {
    margin-bottom: 0px;
    max-width: 462px;
}

.contact-heading .text {
    max-width: 285px;
    text-align: left;
}

.contact-text {
    font-weight: 700;
    font-size: 14px;
    color: #0A00CD;
    max-width: 244px;
    line-height: 17px;
}

.footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer .contact-text {
    max-width: unset;
}

.footer-text {
    color: #14141499;
    font-size: 15px;
}

.popup {
    position: fixed;
    bottom: 0;
    left: 0;
    max-width: 1200px;
    background: #FFFFFF;
    z-index: 999;
    border-radius: 24px;
    padding: 20px;
    border: 3px solid #0A00CD;
    width: 100%;
}

.popup-btns {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.btn-primary {
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-secondary {
    background: #FFFFFF;
    border: 1px solid #0A00CD;
    color: #0A00CD;
}

.popup {
    transition: opacity 0.3s ease;
}

.popup.hidden {
    display: none;
}

.main-title {
    font-weight: 800;
    font-size: 56px;
    margin-bottom: 20px;
    color: #0A00CD;
}

.main-section p {
    font-size: 14px;
    line-height: 17px;
}

.good-content {
    display: flex;
    gap: 30px;
    padding: 20px;
    border: 1px solid #0A00CD;
}

.list {
    list-style: disc;
    padding-left: 20px;
}

.good-info {
    max-width: 390px;
}

.good-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.good-text .btn-primary {
    display: block;
    text-align: center;
    width: 100%;
}

@media(max-width: 1200px) {
    .container {
        padding: 0px 15px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .heading-primary {
        font-size: 40px;
        line-height: 48px;
        margin-bottom: 30px;
    }
    
    .hero-section .container {
        grid-template-columns: 1fr;
    }

    .hero-img {
        position: static;
        transform: none;
        max-width: 70%;
    }

    .hero-right .btn-primary {
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .hero-right {
        justify-content: flex-start;
        margin-top: 30px;
        padding-bottom: 90px;
        position: relative;
    }

    .hero-vertical {
        max-width: 50px;
    }

    .about-section .container {
        flex-direction: column;
        align-items: center;
    }

    .text-right {
        max-width: 330px;
    }

    .heading-secondary {
        font-size: 40px;
        line-height: 48px;
        margin-bottom: 20px;
    }

    .about-img-2 {
        position: static;
        margin-bottom: 30px;
        margin-left: -20px;
    }

    .numbers-list {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .numbers-empty {
        display: none;
    }

    .numbers-item {
        height: 140px;
    }

    .numbers-img {
        position: static;
        margin-top: 30px;
        transform: none;
        margin-left: auto;
        display: block;
        max-width: 188px;
    }

    .products-list {
        grid-template-columns: repeat(1, 1fr);
    }

    .contact-info {
        flex-direction: column;
        gap: 50px;
        align-items: flex-start;
    }

    .contact-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer .nav-links {
        flex-direction: column;
        gap: 30px;
    }

    .popup {
        max-width: 330px;
    }

    .good-content {
        flex-direction: column;
    }
}