@import url(https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap);

.header, .section {
    background-color: var(--light)
}

.close, button:hover {
    cursor: pointer
}

.modal.active, .modal__thank.active, .overlay.active, .wrapper__modal.active {
    display: block;
    opacity: 1
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

:root {
    --primary: #00BFB3;
    --primary-dark: #007E76;
    --primary-light: #4dccc2;
    --secondary: #FF6347;
    --secondary-dark: #e05a40;
    --dark: #333333;
    --light: #ffffff;
    --gray: #f5f5f5;
    --border-radius: 0.625rem;
    --box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease
}

body {
    background-color: var(--primary);
    font-family: Montserrat, Arial, sans-serif
}

ul {
    list-style: none
}

a {
    text-decoration: none
}

button {
    border: none
}

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

.grid {
    display: grid;
    grid-template-columns:1fr 1fr 1fr;
    justify-items: center
}

.wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

[class*=container] {
    max-width: 980px;
    margin: 0 auto
}

[class*=subtitle] {
    color: var(--dark);
    font-size: 28px;
    text-align: center;
    margin-bottom: 36px
}

.section {
    padding-bottom: 80px
}

.header {
    border-radius: 20px 20px 0 0;
    padding: 18px 0
}

.btn, .plate, .project__card, .swiper {
    border-radius: 18px
}

.header__container, .project__content {
    justify-content: space-between
}

.header__logo {
    justify-content: flex-start
}

.header__img {
    max-width: 50px;
    max-height: 50px;
    margin-right: 10px
}

.header__text {
    text-transform: uppercase;
    color: var(--primary-dark);
    font-size: 18px;
    font-weight: 600
}

.nav__item:not(:last-child) {
    margin-right: 16px
}

.nav__link {
    color: var(--dark);
    font-size: 14px;
    font-weight: 500
}

.btn, .hero__text, .hero__title {
    color: var(--light)
}

.btn {
    background-color: var(--primary);
    font-size: 16px;
    padding: 8px 12px
}

.nav {
    margin-right: 18px
}

.hero {
    position: relative;
    background: url("images/runners.webp") center top/cover no-repeat;
    padding: 100px 50px;
    z-index: 1
}

.hero__content {
    max-width: 580px
}

.hero__title {
    font-size: 38px;
    margin-bottom: 36px
}

.hero__text {
    font-size: 20px;
    margin-bottom: 48px;
    line-height: 125%
}

.hero__btn {
    font-size: 18px;
    padding: 14px 18px
}

.plate {
    position: absolute;
    left: 50%;
    bottom: -60px;
    transform: translateX(-50%);
    background-color: var(--light);
    max-width: 880px;
    padding: 20px 0;
    width: 100%;
    justify-content: space-around;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .12)
}

.plate_img {
    max-height: 70px
}

.project {
    padding-top: 130px
}

.project__card {
    max-width: 300px;
    padding: 20px 0;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .2)
}

.project__card__img {
    max-width: 50px;
    margin-bottom: 12px
}

.project__card__text {
    font-size: 16px;
    text-align: center;
    max-width: 270px;
    color: var(--dark)
}

.effect__card {
    flex-direction: column;
    justify-content: start;
    padding: 0 20px
}

.effect__content {
    justify-content: space-between;
    margin-bottom: 80px
}

.business__img, .swiper-slide__content {
    margin-bottom: 20px
}

.effect__title {
    font-size: 36px;
    color: var(--primary);
    font-weight: 600
}

.effect__text {
    font-size: 16px;
    text-align: center;
    color: var(--dark)
}

.wrapper__swiper {
    position: relative;
    justify-content: center
}

.swiper {
    width: 600px;
    height: 300px;
    margin-right: 100px !important;
    margin-left: 100px !important
}

.swiper-next, .swiper-prev {
    width: 75px;
    height: 75px;
    border-radius: 100%;
    background-color: var(--primary);
    cursor: pointer
}

.swiper-slide {
    background: var(--primary);
    border-radius: 18px;
    padding: 20px
}

.swiper-pagination-bullet-active {
    background: var(--primary-dark) !important
}

.swiper-pagination {
    bottom: -30px !important
}

.swiper-slide__img {
    margin-right: 15px
}

.swiper__title {
    font-size: 20px;
    color: var(--gray)
}

.swiper-slide__text {
    font-size: 14px;
    line-height: 150%;
    color: var(--light)
}

.partners__content {
    gap: 80px;
    align-items: center
}

.partners__img {
    max-width: 120px
}

.business__card {
    flex-direction: column;
    max-width: 280px
}

.business__img {
    max-width: 50px
}

.business__title {
    font-size: 20px;
    color: var(--primary);
    text-align: center;
    margin-bottom: 12px
}

.business__text {
    font-size: 16px;
    color: var(--dark);
    text-align: center;
    line-height: 120%
}

.advantages__content {
    justify-content: space-around
}

.advantages__item:not(:last-child), .contacts__item:not(:last-child), .requisites {
    margin-bottom: 24px
}

.advantages__item {
    background-size: contain !important;
    padding-left: 70px
}

.advantages__item.open {
    background: url("images/advantages2.webp") center left no-repeat
}

.advantages__item.opportunities {
    background: url("images/advantages4.webp") center left no-repeat
}

.advantages__item.start {
    background: url("images/advantages.webp") center left no-repeat
}

.advantages__item.law {
    background: url("images/advantages3.webp") center left no-repeat
}

.advantages__title {
    margin-bottom: 12px;
    font-size: 18px;
    color: var(--primary)
}

.advantages__text {
    font-size: 16px;
    color: var(--dark);
    max-width: 540px
}

.advantages__block {
    flex-direction: column
}

.advantages__block__text {
    font-size: 16px;
    font-weight: 500;
    color: var(--dark)
}

.contacts__link {
	text-decoration: underline;
}
.contacts__link:hover, .contacts__title {
    color: var(--primary)
}

.advantages__block__img {
    max-width: 220px
}

.map {
    margin-bottom: 40px
}

.contacts__title {
    font-size: 20px;
    margin-bottom: 8px
}

.contacts__content, .modal__thank .header__logo {
    margin-bottom: 24px
}

.contacts__content {
    align-items: self-start;
    justify-content: space-around
}

.contacts__text {
    font-size: 16px;
    transition: color .2s ease-in-out;
    color: var(--dark)
}

.footer {
    background-color: var(--light);
    border-radius: 0 0 20px 20px;
    padding: 18px 0
}

.footer__text {
    font-size: 18px;
    color: var(--dark);
    text-align: center
}

.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 110%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, .4);
    z-index: 90;
    opacity: 0;
    transition: opacity .3s ease-in-out
}

.modal, .modal__thank, .wrapper__modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--light);
    opacity: 0;
    z-index: 100;
    border-radius: 18px
}

.wrapper__modal {
    transition: .3s ease-in-out;
    max-width: 420px;
    padding: 18px
}

.model__form__partners {
    overflow: hidden;
    max-height: 90vh
}

.model__block, .wrapper__btn {
    flex: 0 0 50px
}

.form__content {
    flex: 1 1 auto;
    overflow-y: auto
}

.form__content .modal__input {
    width: 98%;
    margin-left: 3px
}

.modal, .modal__thank {
    transition: .3s ease-in-out;
    padding: 20px;
    overflow-y: auto
}

.modal__input {
    padding: 8px 12px;
    outline: 1px solid var(--dark);
    border-radius: 14px;
    font-size: 14px;
    width: 100%;
    color: var(--dark);
    margin-bottom: 14px;
    transition: outline .3s ease-in-out;
    border: none
}

.modal__input:active, .modal__input:focus {
    outline: 1px solid var(--primary)
}

.textarea {
    resize: none
}

.wrapper__select {
    position: relative;
    width: 100%
}

.select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none
}

.wrapper__select::before {
    content: "";
    position: absolute;
    right: 20px;
    top: 25%;
    transform: translateY(-25%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-bottom: 3px solid var(--dark);
    border-right: 3px solid var(--dark);
    border-radius: 3px;
    transition: .3s ease-in-out
}

.wrapper__select:has(select:focus)::before {
    transform: rotate(225deg)
}

.model__btn {
    padding: 10px 14px;
    border-radius: 16px;
    margin-top: 12px;
    color: var(--light);
    background-color: var(--primary);
    font-size: 16px
}

.model__block {
    width: 100%;
    justify-content: space-between
}

.close {
    position: relative;
    width: 10px;
    height: 10px
}

.close::after, .close::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    top: -10px;
    transform: translateY(-25%)
}

.close::after {
    transform: rotate(45deg)
}

.close::before {
    transform: rotate(-45deg)
}

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

.modal__title {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 10px
}

.modal__thank .modal__subtitle {
    max-width: 330px;
    text-align: center
}

.modal__thank .close {
    top: -55px;
    right: -320px
}

.modal__thank {
    z-index: 105;
    max-width: 370px;
    width: 100%;
    overflow: hidden
}

.modal__thank__block {
    justify-content: flex-end
}

@media (max-width: 1023px) {
    .wrapper__select::before {
        top: 40%
    }

    .hero {
        background: url("images/runnersMobile.webp") center top/cover no-repeat
    }

    .header__container {
        position: relative;
        z-index: 5
    }

    .nav {
        margin-right: 0
    }

    .modal__input {
        width: 370px
    }

    .modal__title {
        max-width: 370px
    }

    .form__content .modal__input {
        width: 380px !important;
        margin: 8px 1px
    }

    .nav__wrapper {
        width: 100%;
        position: absolute;
        left: 50%;
        top: -200%;
        opacity: 0;
        flex-direction: column;
        transform: translateX(-50%);
        z-index: 10;
        background-color: var(--light);
        transition: top .3s ease-in-out, opacity .3s ease-in-out;
        padding: 20px 0
    }

    .nav__list {
        flex-direction: column;
        margin-bottom: 24px
    }

    .nav__item:not(:last-child) {
        margin-bottom: 16px;
        margin-right: 0
    }

    .burger {
        position: relative;
        height: 30px;
        width: 40px;
        transition: .3s ease-in-out;
        z-index: 15
    }

    .nav__wrapper.active {
        top: 0;
        opacity: 1
    }

    .burger span, .burger::after, .burger::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 4px;
        background-color: var(--primary);
        transition: .3s ease-in-out
    }

    .close::after, .close::before {
        top: 25%
    }

    .burger::after {
        top: 0
    }

    .burger::before {
        bottom: 0
    }

    .burger span {
        top: 50%;
        transform: translateY(-50%)
    }

    .burger.active span {
        opacity: 0
    }

    .grid {
        grid-template-columns:1fr
    }

    .advantages__content, .plate {
        flex-direction: column
    }

    .contacts__content {
        flex-direction: column-reverse
    }

    .wrapper {
        max-width: 430px
    }

    .plate, [class*=container] {
        max-width: 410px
    }

    .section {
        padding-bottom: 20px
    }

    .effect__content, [class*=subtitle] {
        margin-bottom: 20px
    }

    .effect {
        padding-bottom: 40px
    }

    .advantages__list, .business__card, .contacts__list, .effect__card, .project__card {
        margin-bottom: 24px
    }

    .plate {
        flex-direction: row
    }

    .swiper {
        width: 320px;
        margin-right: 10px !important;
        margin-left: 10px !important
    }

    .swiper-next, .swiper-next svg, .swiper-prev, .swiper-prev svg {
        width: 40px;
        height: 40px
    }

    .advantages__text {
        max-width: 285px
    }

    .advantages__item:not(:last-child), .contacts__item:not(:last-child), .requisites {
        margin-bottom: 18px
    }

    .advantages__item {
        background-size: 16% !important;
        padding-left: 60px
    }

    .map {
        width: 410px;
        height: 310px
    }

    .partners__content {
        grid-template-columns:1fr 1fr
    }

    .hero__title {
        font-size: 24px;
        max-width: 360px;
        margin-bottom: 24px
    }

    .hero__text {
        font-size: 14px;
        max-width: 360px;
        margin-bottom: 36px
    }

    .hero {
        padding: 50px 0 100px 20px
    }

    .hero__btn {
        font-size: 16px;
        padding: 6px 12px
    }

    .contacts__content {
        margin-bottom: 0
    }

    .burger.active::after {
        top: 42%;
        transform: translateY(-50%) rotate(-40deg)
    }

    .burger.active::before {
        bottom: 42%;
        transform: translateY(-50%) rotate(40deg)
    }
}

@media (max-width: 450px) {
    .modal__thank {
        max-width: 320px
    }

    .modal__thank .close {
        right: -275px
    }

    .modal__title {
        font-size: 14px;
        margin-bottom: 8px
    }

    .modal__input {
        font-size: 14px;
        margin-bottom: 10px;
        width: 300px
    }

    .modal__subtitle {
        font-size: 20px
    }

    .wrapper {
        max-width: 365px
    }

    .form__content .modal__input {
        width: 290px !important;
        margin: 8px 1px
    }

    .modal {
        padding: 12px
    }

    .modal__title {
        max-width: 300px
    }

    .plate, [class*=container] {
        max-width: 355px
    }

    .map {
        width: 355px
    }

    .swiper {
        width: 260px
    }

    .header__text {
        font-size: 18px
    }

    .plate_img {
        max-height: 50px
    }
}

@media (max-width: 375px) {
    .modal__thank, .plate, [class*=container] {
        max-width: 290px
    }

    .modal__thank .close {
        right: -245px
    }

    .modal__subtitle {
        font-size: 20px !important
    }

    .form__content .modal__input {
        width: 260px !important;
        margin: 8px 1px
    }

    .advantages__title, .contacts__title, .modal__thank .header__text, .swiper__title {
        font-size: 16px
    }

    .modal__thank .header__img {
        max-width: 40px;
        max-height: 40px
    }

    .modal__input {
        width: 260px
    }

    .modal__title {
        max-width: 260px
    }

    .wrapper {
        max-width: 310px
    }

    .hero__title {
        font-size: 18px;
        max-width: 280px
    }

    .swiper-slide__text {
        font-size: 12px
    }

    .swiper-slide {
        padding: 12px
    }

    .map {
        width: 290px
    }

    .swiper {
        width: 240px;
        margin-right: 3px !important;
        margin-left: 3px !important
    }

    .swiper-next, .swiper-next svg, .swiper-prev, .swiper-prev svg {
        width: 30px;
        height: 30px
    }

    [class*=subtitle] {
        margin-bottom: 16px;
        font-size: 24px
    }

    .business__title {
        font-size: 18px
    }

    .advantages__text, .business__text, .contacts__text, .effect__text, .project__card__text {
        font-size: 14px
    }

    .partners__img {
        max-width: 100px
    }
}