* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

a,
button {
    cursor: pointer;
    background: transparent;
    color: inherit;
    border: none;
    transition: all 0.2s ease;
}

:root {
    scroll-behavior: smooth;
}

body {
    font-family: "Playfair Display", serif;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin-inline: auto;
    padding-inline: 15px;
}

/* #region header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-block: 18px;
    display: block;
    transition: all 0.2s ease;
    z-index: 10;
}

.header__inner {
    display: flex;
    align-items: center;
}

.header__logo {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.header-white {
    background-color: #fff;
}

.header-white .header__logo {
    color: #2b914c;
}

/* #endregion header */

/* #region home */
.home {
    position: relative;
    background: #000;
    overflow: hidden;
    padding-block: 200px 120px;
}

.home__bg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    height: auto;
    width: 100%;
    z-index: 0;
}

.home__inner {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 80px;
    align-items: flex-start;
    color: #fff;
    justify-content: center;
}

.home__content {
    background-color: #2b914c7d;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    max-width: 45%;
    backdrop-filter: blur(10px);
}

.home__title {
    position: relative;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.3;
    padding-bottom: 5px;
}

.home__title:before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 200px;
    background-color: #fff;
}

.home__link {
    position: relative;
    display: flex;
    height: 40px;
    justify-content: center;
    align-items: center;
    line-height: 1;
    text-align: center;
    width: max-content;
    padding: 0 15px;
    padding-right: 60px;
    border: 1px solid #fff;
    font-size: 16px;
    overflow: hidden;
}

.home__link::before {
    content: "";
    display: block;
    position: absolute;
    transform: translateX(-100%);
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    top: 0;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.home__link:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    height: 19px;
    width: 18px;
    background-image: url(../images/arrow-right.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.home__link:hover::before {
    transform: translateX(0);
}

.home__text {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 20px;
}

/* #endregion home */

/* #region form */
.form {
    background-color: #fff;
    max-width: 360px;
    width: 100%;
    border-radius: 17px;
}

.form__header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    border-radius: 15px 15px 0 0;
    background-color: #2b914c;
}

.form__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
}

.form input {
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 10px;
    font-size: 16px;
    color: #111;
    padding: 8px 12px;
    height: 40px;

    border: 1px solid #ccc;
}

.form button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #2b914c;
    height: 45px;
    padding: 10px;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    border: 1px solid #2b914c;
    text-transform: uppercase;
    font-weight: 500;
}

.form button:hover {
    color: #2b914c;
    background-color: #fff;
}

.form button:active {
    transform: scale(0.99);
}

/* #endregion form */

/* #region stat */
.stat {
    padding-block: 75px;
    background-color: #fff;
}

.stat__title {
    font-size: 24px;
    margin-bottom: 75px;
    line-height: 1.4;
    text-align: center;
    font-weight: 400;
    margin-inline: auto;
    max-width: 740px;
}

.stat__blocks {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat__item {
    border-right: 1px solid #000;
}

.stat__item:last-child {
    border-right: none;
}

.stat__item {
    flex-basis: 25%;
    padding: 10px 30px;
    text-align: center;
    color: #2b914c;
}

.stat__label {
    font-weight: 500;
    font-size: 27px;
    margin-bottom: 5px;
}

.stat__text {
    font-size: 16px;
}

/* #endregion stat */

/* #region person */
.person {
    background-color: #2b914c;
    padding-block: 50px;
}

.person__inner {
    display: flex;
    align-items: center;
    gap: 80px;
}

.person__img {
    min-width: 390px;
    position: relative;
    width: 40%;
    text-align: center;
    color: #fff;
}

.person__caption {
    color: #fff;
    position: absolute;
    display: block;
    bottom: 10px;
    width: max-content;
    right: 0;
    padding: 10px;
    background-color: #ffffff5f;
}

.person__name {
    font-size: 20px;
    margin-bottom: 3px;
    line-height: 1.3;
    font-weight: 700;
}

.person__subtitle {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
}

.person__content {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 60%;
    background-color: #fff;
    color: #111;
    padding: 50px;
}

.person__text {
    font-size: 18px;
    line-height: 1.3;
}

.person__link {
    font-weight: 600;
    max-width: 100%;
    font-size: 18px;
    line-height: 1.5;
    margin-inline: auto;
    color: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
    background-color: #2b914c;
}

/* #endregion person */

/* #region services */
.services {
    background-color: #f2f5f8;
    padding-block: 100px;
}

.services__title {
    color: #2b914c;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 50px;
}

.services__blocks {
    margin-inline: auto;
    display: flex;

    justify-content: center;
    gap: 20px;
}

.services__item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    background-color: #2b914c;
    color: #fff;
    border-radius: 15px;
    padding: 30px 25px;
}

.services__label {
    padding-left: 50px;
    position: relative;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.52px;
    line-height: 1.2;
}

.services__label:before {
    content: "";
    position: absolute;
    display: block;
    width: 42px;
    height: 32px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    top: 0;
    left: 0;
}

.services__item:first-child .services__label:before {
    background-image: url(../images/step1.svg);
}

.services__item:nth-child(2) .services__label:before {
    background-image: url(../images/step2.svg);
}

.services__item:last-child .services__label:before {
    background-image: url(../images/step3.svg);
}

.services__text {
    margin-top: auto;
}

.services__link {
    position: relative;
    display: block;
    border: 1px solid #fff;
    color: #fff;
    width: max-content;
    font-weight: 700;
    font-size: 16px;
    padding: 10px 60px 10px 15px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 30px;
}

.services__link::before {
    content: "";
    display: block;
    position: absolute;
    transform: translateX(-100%);
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    top: 0;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.services__link:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    height: 19px;
    width: 18px;
    background-image: url(../images/arrow-right.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.services__link:hover::before {
    transform: translateX(0);
}

/* #endregion services */

/* #region contact */
.contact {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/bg.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-block: 60px 120px;
}

.contact__form {
    margin-inline: auto;
}

.contact__title {
    margin-bottom: 30px;
    text-align: center;
    font-size: 32px;
    font-weight: 400;
    max-width: 800px;
    margin-inline: auto;
    color: #fff;
}

/* #endregion contact */

/* #region footer */

.footer {
    background-color: #2b914c;
    padding-block: 20px;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer__logo {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.footer__nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 15px;
}

.footer__nav a {
    color: #fff;
    font-size: 12px;
}

.footer__nav a:hover {
    text-decoration: underline;
}

.footer__copyright {
    padding-top: 10px;
    font-size: 12px;
    color: #fff;
    margin-left: auto;
    width: max-content;
}

/* #endregion footer */

@media (max-width: 1304px) {
    .home__bg {
        min-width: 170%;
    }
}

@media (max-width: 1062px) {
    .person__inner {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .person__content {
        width: 100%;
        max-width: 644px;
        margin-inline: auto;
        border-radius: 10px;
    }

    .person__img {
        min-width: initial;
        width: max-content;
    }

    .person__img img {
        height: 100%;
        max-height: 500px;
        width: 100%;
        object-fit: contain;
    }
}

@media (max-width: 960px) {
    .services__blocks {
        flex-direction: column;
        gap: 30px;
    }

    .services__item {
        max-width: 500px;
        width: 100%;
        margin-inline: auto;
    }
}

@media (max-width: 922px) {
    .home__inner {
        flex-direction: column;
        align-items: center;
        gap: 35px;
    }

    .home__link {
        display: none;
    }

    .home__content {
        max-width: 600px;
        width: 100%;
        margin-inline: auto;
    }

    .home {
        padding-block: 100px 60px;
    }

    .home__bg {
        min-width: 260%;
    }

    .stat__blocks {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .stat__item {
        flex-basis: 50%;
        border: none;
        text-align: initial;
    }
}

@media (max-width: 590px) {
    .home__title {
        font-size: 32px;
    }

    .home__text {
        font-size: 22px;
    }

    .form {
        max-width: 320px;
        width: 100%;
    }

    .form__header {
        height: 55px;
        font-size: 19px;
    }

    .header__logo {
        font-size: 25px;
    }

    .form__inner {
        padding: 30px 20px;
    }

    .person__content {
        gap: 25px;

        padding: 40px 25px;
    }

    .home__bg {
        min-width: 450%;
    }

    .stat__blocks {
        flex-direction: column;
        align-items: initial;
        gap: 20px;
    }

    .stat__item:last-child {
        border: 1px solid #2b914c;
    }

    .stat__item {
        flex-basis: initial;
        max-width: 300px;
        width: 100%;
        margin-inline: auto;
        text-align: center;
        padding: 20px;
        border: 1px solid #2b914c;
    }

    .stat__title {
        font-size: 22px;
        margin-bottom: 40px;
    }

    .footer__inner {
        flex-direction: column;
        align-items: initial;
    }

    .footer__nav {
        justify-content: initial;
    }

    .footer__copyright {
        margin-inline: 0 auto;
    }
}

@media (max-width: 460px) {
    .person__img {
        width: 100%;
    }

    .person__caption {
        background-color: #0000005f;
    }

    .person__content {
        padding: 24px 16px;
    }

    .person__link {
        line-height: 1.3;
        padding: 10px 7px;
    }

    .services__label {
        padding-left: 35px;
        font-size: 21px;
    }

    .services__label:before {
        width: 25px;
        height: 29px;
    }

    .services__item {
        padding: 25px 20px;
    }

    .services__link:after {
        right: 14px;
    }

    .services__link {
        padding-right: 46px;
    }

    .contact__title {
        font-size: 26px;
    }

    .contact {
        padding-block: 40px;
    }
}

@media (max-width: 360px) {
    .home__bg {
        min-width: 550%;
    }
}

@media (max-width: 310px) {
    .home__bg {
        min-width: 3000%;
    }
}

.iti {
    color: #000 !important;
    width: 100% !important;
}