@font-face {
    font-family: "SF Pro Display";
    src: url('./../fonts/sf-pro-display_regular.woff2');
}

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

*,
*::after,
*::before {
    box-sizing: inherit;
    border: none;
}

:root {
    --main: #caf6ae;
    --accent: #03151f;
    --secondary: #154e27;
    --item: #f6f6f6;
}

body {
    font-family: "SF Pro Display", sans-serif;
    font-size: 18px;
    color: #fff;
    font-weight: 400;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
}

button {
    cursor: pointer;
}

input,
textarea,
button,
select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

li {
    list-style-type: none;
}

.container {
    margin: 0 auto;
    padding: 0 15px;
    max-width: 1400px;
    width: 100%;
}

.section {
    padding: 70px 0;
}

.title-2 {
    margin-bottom: 80px;
    font-size: 50px;
    text-align: center;
}

.btn {
    margin-left: auto;
    margin-right: auto;
    padding: 20px 50px;
    border-radius: 20px;
    background-color: var(--accent);
    color: var(--main);

    transition: all .2s ease-in;
}

.btn:hover {
    background-color: var(--main);
    color: var(--accent);
}

.no-scroll {
    overflow-y: hidden;
}

.header {
    position: fixed;
    z-index: 100;
    background-color: var(--accent);
    max-height: 100px;
    width: 100%;
    opacity: .9;
}

.header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.header__logo {
    max-width: 90px;
    max-height: 90px;
}

.header__logo img {
    width: 100%;
}

.menu__list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.menu__list-item:hover,
.header__contacts-phone:hover,
.footer__copy-pol:hover {
    color: var(--main);
    transition: color .3s ease-in;
}

.menu__list-item,
.header__contacts-phone,
.footer__copy-pol {
    transition: color .3s ease-in;
}

.header__contacts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header__soc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.header__soc a {
    max-width: 35px;
    transition: all .3s ease;
}

.header__soc a:hover {
    transform: translateY(-2px) scale(1.08);
}

.header__soc a img {
    width: 100%;
}


/* hero */

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(./../images/bg.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left top;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__wrapper {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 50px;
    max-width: 900px;
}

.hero__title {
    font-weight: 700;
    font-size: 60px;
}

.hero_subtitle {
    margin-bottom: 30px;
    font-size: 20px;
}

.hero_btn:active {
    background-color: var(--main);
    color: var(--accent);
}

/* about */

.about__wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.about__img img {
    width: 100%;
}

.about__info {
    color: var(--accent);
    line-height: 1.2;
}

.about__info-title {
    margin-bottom: 20px;
    font-size: 36px;
    color: var(--accent);
}

.about__info-text h3 {
    margin-bottom: 15px;
    font-weight: 400;
}

.about__info-text h3 span {
    font-weight: 700;
}

.about__info-text p+p {
    margin-top: 10px;
}

.about__info-text p span {
    font-weight: 700;
}

.about__info-text_adv {
    display: flex;
    gap: 10px;
}

.about__info-text_adv img {
    max-width: 30px;
}

.about__info-text p {
    user-select: none;
}



/* advantages */

.advantages {
    background-color: var(--accent);
}

.advantages__list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.advantages__item {
    display: flex;
    justify-content: space-between;
    gap: 70px;
}

.advantages__item-info {
    display: flex;
    flex-direction: column;
    max-width: 600px;
}

.advantages__item span {
    display: block;
    margin-bottom: 30px;
    font-size: 60px;
    color: var(--main);
}

.advantages__item-title {
    margin-bottom: 20px;
    font-size: 35px;
}

.advantages__item-img {
    max-width: 500px;
    max-height: 300px;
    overflow: hidden;
    border-radius: 20px;
}

.advantages__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.advantages__item-img:hover img {
    transform: scale(1.1);
}

/* catalog */

.catalog__title {
    color: var(--accent);
}

.catalog__box {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 30px;
}

.catalog__item {
    display: flex;
    flex-direction: column;
    flex-basis: 400px;
    padding: 30px;
    color: var(--accent);
}

.catalog__item p+p {
    margin-top: 10px;
}

.catalog__item-img {
    margin-bottom: 20px;
    width: 370px;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
}

.catalog__item-img img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.catalog__item-img:hover img {
    transform: scale(1.1);
}

.catalog__item-title {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 30px;
}


/* order */

.order {
    background-color: var(--accent);
}

.order__info {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.order__item {
    flex-basis: 350px;
    text-align: center;
}

.order__item img {
    max-width: 200px;
    margin-bottom: 20px;
}

.order__item-title {
    margin-bottom: 15px;
    color: var(--main);
    font-size: 24px;
}

/* contacts */

.contacts {
    display: flex;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.contacts__title {
    color: var(--accent);
}

.contacts__wrapper {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 30px;
}

.contacts__info {
    width: 500px;
    border: solid 1px var(--accent);
    border-radius: 10px;
    padding: 40px;
}

.contacts__info-title {
    margin-bottom: 40px;
    font-size: 30px;
    color: var(--accent);
}

.form {
    display: grid;
    gap: 30px;
}

.label {
    display: block;
    font-weight: 700;
    font-size: 20px;
    color: var(--accent);
}

.input {
    color: var(--accent);
    width: 100%;
    display: block;
    padding: 5px 0 8px;
    border-bottom: 1px solid var(--accent);
}

.input::placeholder {
    color: var(--accent);
    font-weight: 200;
}

.form__group input:focus::placeholder {
    color: var(--secondary);
}

.form__group input:focus {
    outline: none;
}

.form__group-btn {
    margin-left: 0px;
    cursor: pointer;
}

.contacts__map iframe {
    max-height: 440px;
    max-width: 600px;
    border-radius: 10px;
}

/* footer */

.footer {
    padding: 50px 0;
    background-color: var(--accent);
}

.footer__wrapper {
    display: flex;
    justify-content: space-around;
}

.footer__copy {
    line-height: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__socials {
    display: flex;
    gap: 20px 30px;
    align-items: center;
}

.footer__socials li a {
    max-width: 50px;
}

.footer__socials li a img {
    width: 100%;
}

.footer__contacts {
    display: flex;
    gap: 20px 50px;

    font-size: 14px;
    line-height: 2;
}

.footer__contacts-col {
    font-size: 18px;
}

.footer__contacts-col a {
    transition: all .2s ease-in;
}

.footer__socials li a {
    transition: all .3s ease;
}

.footer__socials li a:hover {
    transform: translateY(-2px) scale(1.08);
}

/* agreement */

.agreement {
    padding-top: 150px;
    padding-bottom: 60px;
    color: var(--accent);
}

.agreement__wrapper {
    font-size: 20px;
}

.agreement__title {
    margin: 30px 0;
    font-size: 36px;
}

.agreement__wrapper p+p {
    margin-top: 14px;
}

.agreement__wrapper ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 14px 0;
    padding-left: 10px;
}

.agreement__wrapper ul>li {
    display: flex;
}

.agreement__wrapper ul>li::before {
    background: url(../images/circle.svg) no-repeat center;
    content: '';
    height: 8px;
    margin: 8px 12px 0 0;
    flex-shrink: 0;
    width: 8px;
}





.burger {
    display: none;
    width: 30px;
    height: auto;
    background-color: transparent;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
    -webkit-appearance: none;
    flex-shrink: 0;
    position: relative;
    z-index: 2000;
}

.burger span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--main);
    transition: transform .5s, opacity .5s, background-color .5s;
}

.burger.burger--open span:nth-child(1) {
    transform: translateY(8px) rotate(135deg);
    background-color: var(--main);
}

.burger.burger--open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-150%);
    background-color: var(--main);
}

.burger.burger--open span:nth-child(3) {
    transform: translateY(-6px) rotate(-135deg);
    background-color: var(--main);
}



.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 900;
    background-color: rgba(0, 0, 0, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    /* overflow-y: auto; */
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s ease, visibility .3s ease;
}

.modal__box {
    position: relative;
    max-width: 500px;
    text-align: center;
    border-radius: 10px;
    padding: 50px;
    z-index: 10;
    margin: 30px 15px;
    background-color: var(--accent);
    box-shadow: 0px 0px 17px -7px rgba(34, 60, 80, .2);
    transform: scale(0);
    transition: transform .4s ease;
    font-size: 30px;
    color: var(--main);
}

.modal.modal--open {
    visibility: visible;
    opacity: 1;
}

.modal.modal--open .modal__box {
    transform: scale(1);
}

.modal__btn {
    position: absolute;
    top: 8px;
    right: 8px;
    border: none;
    background-color: transparent;
    padding: 5px;
}













@media (max-width: 1200px) {
    .contacts__wrapper {
        flex-direction: column;
    }

    .contacts__info {
        width: 700px;
    }

    .contacts__map iframe {
        max-width: 700px;
    }

    .footer__contacts {
        flex-direction: column;
    }
}

@media (max-width: 1030px) {
    .burger {
        position: relative;
        z-index: 101;
        order: 1;
        display: flex;
    }

    .menu__list {
        flex-direction: column;
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        right: 0;
        background-color: #000;
        padding: 50px;
        transform: translateY(-115%);
        transition: transform .5s ease;
        z-index: 50;
    }

    .menu__list.menu__list--open {
        transform: translateY(0%);
        height: 100vh;
        justify-content: flex-start;
        gap: 30px;
        font-size: 25px;
        z-index: 50;
    }

    .about__wrapper {
        display: flex;
    }

    .about__img {
        display: none;
    }

    .advantages__item {
        gap: 50px;
    }

    .advantages__item-info {
        max-width: 500px;
    }
}

@media (max-width: 940px) {
    .catalog__item {
        max-width: 300px;
        padding: 0;
    }

    .catalog__item-img {
        width: auto;
        height: 200px;
    }

    .catalog__item-title,
    .order__item-title {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .catalog__item p,
    .order__item p {
        font-size: 18px;
    }

    .catalog__item p+p {
        margin-top: 6px;
    }

    .order__info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .footer__wrapper {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        align-items: center;
    }

    .footer__contacts,
    .footer__copy {
        gap: 30px;
    }

    .footer__socials {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header__logo {
        max-width: 70px;
        max-height: 70px;
    }

    .hero__title {
        font-size: 44px;
    }

    .hero__wrapper {
        gap: 30px;
        padding: 0 40px;
    }

    .about__info-title {
        font-size: 30px;
    }

    .about__info-text {
        font-size: 16px;
    }

    .section {
        padding: 50px 0;
    }

    .title-2 {
        font-size: 40px;
        margin-bottom: 50px;
    }

    .advantages__item span {
        margin-bottom: 10px;
        font-size: 40px;
    }

    .advantages__item-title {
        margin-bottom: 10px;
        font-size: 28px;
    }

    .advantages__item-text {
        font-size: 16px;
    }

    .advantages__item {
        gap: 40px;
    }

    .advantages__item-info {
        max-width: 350px;
    }

    .catalog__box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .catalog__item {
        max-width: 470px;
    }

    .catalog__item-title,
    .order__item-title,
    .contacts__info-title {
        font-size: 28px;
    }

    .agreement {
        padding-top: 70px;
    }

    .agreement__wrapper {
        font-size: 16px;
    }

    .agreement__title {
        margin: 20px 0;
        font-size: 26px;
    }

    .agreement__wrapper ul {
        padding-left: 4px;
    }

    .catalog__item p,
    .order__item p {
        font-size: 16px;
    }

    .catalog__item p+p {
        margin-top: 6px;
    }

    .catalog__item-img {
        height: auto;
    }

    .contacts__info {
        width: 580px;
    }

    .contacts__map iframe {
        max-width: 580px;
    }

    .menu__list-item:hover {
        color: inherit;
    }

    .btn:hover {
        background-color: var(--accent);
        color: var(--main);
    }

    .advantages__item-img:hover img,
    .catalog__item-img:hover img,
    .footer__socials li a:hover,
    .header__soc a:hover {
        transform: none;
    }

    .header__contacts-phone:hover,
    .footer__copy-pol:hover {
        color: inherit;
    }

}

@media (max-width: 640px) {
    .advantages__list {
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .advantages__item {
        flex-direction: column;
        gap: 20px;
    }

    .advantages__item-img {
        align-self: center;
        max-width: 300px;
    }

    .title-2 {
        margin-bottom: 50px;
    }

    .section,
    .footer {
        padding: 30px 0;
    }

    .advantages__item .advantages__item-info {
        order: -1;
    }

    .contacts__info {
        padding: 30px;
        width: 480px;
    }

    .contacts__map iframe {
        max-width: 480px;
        max-height: 400px;
    }

    .footer__contacts-col {
        font-size: 16px;
    }

    .footer__socials li a {
        max-width: 40px;
    }

    .footer__contacts,
    .footer__copy,
    .footer__wrapper {
        gap: 20px;
    }
}


@media (max-width: 540px) {
    .header__wrapper {
        gap: 10px;
    }

    .header__contacts {
        font-size: 14px;
    }

    .header__soc a {
        max-width: 30px;
        max-height: 30px;
    }

    .header__logo {
        max-width: 50px;
        max-height: 50px;
    }

    .hero__title {
        font-size: 30px;
    }

    .hero__wrapper {
        gap: 20px;
    }

    .hero_subtitle {
        font-size: 16px;
    }

    .btn {
        padding: 10px 30px;
        font-size: 14px;
        border-radius: 10px;
    }

    .about__info-title {
        font-size: 26px;
    }

    .about__info-text {
        font-size: 14px;
    }

    .about__info-text_adv img {
        max-width: 20px;
    }

    .section {
        padding: 40px 0;
    }

    .hero__wrapper {
        padding: 0;
    }

    .advantages__item span {
        margin-bottom: 10px;
        font-size: 28px;
    }

    .advantages__item-title {
        margin-bottom: 10px;
        font-size: 24px;
    }

    .advantages__item-text {
        font-size: 14px;
    }

    .advantages__item {
        gap: 30px;
    }

    .advantages__item-info {
        max-width: 350px;
    }

    .title-2 {
        font-size: 30px;
        margin-bottom: 40px;
    }

    .catalog__item-title,
    .order__item-title,
    .contacts__info-title {
        font-size: 24px;
    }

    .catalog__item p,
    .order__item p {
        font-size: 14px;
    }

    .catalog__item p+p {
        margin-top: 6px;
    }

    .contacts__info {
        width: 360px;
    }

    .contacts__map iframe {
        max-width: 360px;
        max-height: 300px;
    }

    .contacts__info-title {
        margin-bottom: 20px;
    }

    .form {
        font-size: 16px;
    }

    .modal__box {
        font-size: 24px;
    }
}

@media (max-width: 400px) {
    .contacts__info {
        width: 320px;
    }

    .contacts__map iframe {
        max-width: 320px;
        max-height: 300px;
    }

    .modal__box {
        font-size: 20px;
        padding: 30px;
    }
}

@media (max-width: 380px) {
    .header__soc a {
        max-width: 25px;
        max-height: 25px;
    }
}