/* hero */

.hero {
    margin-bottom: 50px;
}

.hero__swiper {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    right: 0;
    width: 100vw;
}

.hero-swiper__wrapper {
    display: flex;
    height: 780px;
}

.hero__slide {
    flex-basis: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__content {
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 70px 50px;
    max-width: 1095px;
    margin: 120px auto 0;
}

.title {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 96px;
    line-height: 116%;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

.button--hero {
    font-size: 28px;
    padding: 32px 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dots {
    position: absolute;
    left: 50% !important;
    width: fit-content !important;
    transform: translateX(-50%);
    display: flex;
    bottom: 25px !important;
    align-items: center;
    gap: 9px;
}

.dot svg {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    fill: #d9d9d9;
    opacity: 0.7;
}

.dot--active svg {
    display: flex;
    align-items: center;
    width: 12px;
    height: 12px;
    fill: #fff;
    opacity: 1;
}

/* about */

.about__content {
    display: flex;
    gap: 112px;
}

.section-title--about {
    margin-bottom: 0;
}

.about__image {
    position: relative;
    width: 358px;
    height: 446px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: 3px 4px 7px 0 rgba(0, 0, 0, 0.2);
    margin-right: 27px;
    margin-bottom: 29px;
}

.about__image::after {
    content: '';
    position: absolute;
    top: 29px;
    left: 27px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold);
    z-index: 2;
}

.about__right {
    display: flex;
    flex-direction: column;
    gap: 43px;
}

.text__container {
    display: flex;
    gap: 40px;
}

.text__container p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 180%;
    text-align: justify;
}

.button--about {
    padding: 20px 57px;
    max-width: 291px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 55px;
}

.stats__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stats__item span {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 48px;
    line-height: 110%;
    color: var(--gold);
}

.stats__item p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
}

/* services */

.services__content {
    position: relative;
    padding: 53px 65px 0px 65px;
    background-size: 100% 80%;
    background-position: top;
    background-repeat: no-repeat;
}

.services__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 66px;
}

.section-title--services {
    color: #fff;
    margin-bottom: 0;
}

.button--services {
    padding: 20px 102px;
    font-size: 22px;
}

.services__swiper {
    z-index: 3;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--gold);
    background-color: #fff;
    box-shadow: 3px 4px 7px 0 rgba(0, 0, 0, 0.2);
}

.services-swiper__wrapper {
    display: flex;
}

.services__slide {
    width: 100%;
    position: relative;
    display: flex;
    padding: 90px 51px 72px;
}

.page__content {
    width: 34%;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.page__title {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 28px;
    line-height: 71%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.page__subtitle {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 180%;
    opacity: 0.6;
}

.page__text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 22px;
    line-height: 171%;
    text-align: justify;
    height: 250px;
    overflow: auto;
    padding-right: 10px;
}

.page__text::-webkit-scrollbar {
    width: 5px; /* Ширина всего элемента навигации */
}

.page__text::-webkit-scrollbar-track {
    background: #fff; /* Цвет дорожки */
}

.page__text::-webkit-scrollbar-thumb {
    background-color: var(--gold);; /* Цвет бегунка */
    border-radius: 20px; /* Округление бегунка */
    border: 3px solid var(--gold); /* Оформление границ бегунка */
}

.page__img {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 60%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* create-event */

.section-title--create-event {
    text-align: center;
}

.create-event__row {
    display: flex;
    gap: 70px;
    margin-bottom: 50px;
}

.create-event-text__container {
    justify-content: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.create-event__subtitle {
    margin-left: 54px;
    font-size: 36px;
    margin-bottom: 16px;
    text-transform: uppercase;
    font-family: var(--second-family);
}

.create-event__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.create-event__item {
    display: flex;
    gap: 20px;
    font-family: var(--font-family);
}

.create-event__item-num {
    min-width: 34px;
    text-align: right;
    font-weight: 600;
    font-size: 48px;
    color: var(--gold);
}

.create-event__item-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.create-event__item-title {
    font-size: 20px;
    font-weight: 500;
}

.create-event__item-desc {
    font-size: 18px;
}

.create-event__button-container {
    display: flex;
    justify-content: center;
}

.button--create-event {
    padding: 26px 70px;
    font-size: 28px;
    line-height: unset;
}

.row__item--order-2 {
    order: 2;
}

.row__item--order-1 {
    order: 1;
}

/* phone */

.section-title--phone {
    text-align: center;
}

.phones-checkbox__container {
    width: 35px;
    height: 33px;
    background-repeat: no-repeat;
    background-size: cover;
}

.phones-img__container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.phones-img__container img {
    width: 448px;
    height: 335px;
    object-fit: cover;
}

/* partners */
.section-title--partners {
    text-align: center;
}

.partners__swiper {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    right: 0;
    overflow: hidden;
}

.partners-swiper__wrapper {
    position: relative;
    left: -160px;
    width: 100%;
    /* gap: 90px; */
    margin-bottom: 40px;
}

.partners__slide {
    /* width: 247px !important; */
    display: flex !important;
    flex-direction: column;
    gap: 16px;
    transition: opacity var(--transition);
}

.partners__slide--inactive {
    opacity: 0.5;
}

.partners__slide__img {
    background-color: #d9d9d9;
    width: 100%;
    height: 136px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.partners__slide__title {
    font-family: var(--second-family);
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #151515;
}

.partners__slide__text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 170%;
    color: #151515;
    opacity: 0.6;
}

/* news */

.news__top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 51px;
}

.section-title--news {
    margin-bottom: 0;
}

.button--news {
    padding: 18px 66px;
}

.news__swiper-overlay {
    position: relative;
}

.news__swiper {
    overflow: hidden;
}

.news__slide {
    /* width: 392px !important; */
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: var(--font-family);
    color: var(--text-color-gray);
}

.news-card__img {
    width: 100%;
    height: 380px;
    box-shadow: 1px 2px 8px 0 rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.news-card__img-wrapper {
    position: relative;
}

.news-card__img-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0);
    transition: background var(--transition);
}

.news-card__img-wrapper::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100px;
    height: 100px;
    opacity: 0;
    z-index: 3;
    transform: translate(-50%, -50%);
    background-image: url('../img/newsImgLink.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: opacity var(--transition);
}

.news-card__img-wrapper:hover::after {
    background: rgba(0, 0, 0, 0.4);
}

.news-card__img-wrapper:hover::before {
    opacity: 1;
}

.news-card__date {
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    opacity: 0.5;
}

.news-card__title {
    font-weight: 500;
    font-size: 26px;
    line-height: 129%;
}

.news-card__desc {
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0.01em;
}

.news-card__bottom {
    display: flex;
    align-items: center;
    gap: 22px;
}

.news-card__bottom img {
    border-radius: 100%;
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.news-card__name {
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0.03em;
    text-transform: capitalize;
    opacity: 0.5;
}

.arrow-buttons--news {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 108%;
    justify-content: space-between;
}

/* leave-contacts */

.leave-contacts {
    margin-bottom: 50px;
}

.leave-contacts__inner {
    padding: 110px 0 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    right: 0;
    width: 100vw;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.leave-contacts__content {
    max-width: 1012px;
    margin: 0 auto;
}

.leave-contacts__title {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 48px;
    line-height: 125%;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

.leave-contacts__form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.input {
    outline: 1px solid var(--gold);
    padding: 16px 30px;
    background: rgba(0, 0, 0, 0.4);
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    transition: outline var(--transition);
}

.input:hover {
    outline: 2px solid var(--gold);
}

.input:focus {
    outline: 2px solid var(--gold);
}

.input::placeholder {
    color: #fff;
}

.input--message {
    grid-column: 1 / 3;
}

.button--leave-contacts {
    padding: 20px 95px;
    font-size: 24px;
    line-height: 83%;
}

@media (max-width: 1440px) {
    .news__swiper-overlay {
        margin-bottom: 50px;
    }

    .arrow-buttons--news {
        margin-top: 50px;
        transform: translateX(-50%);
        top: 100%;
        width: 100px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    /* hero */
    .title {
        font-size: 32px;
    }

    .hero-swiper__wrapper {
        height: 475px;
    }

    .hero__content {
        padding: 130px 15px;
        margin: 0;
        width: 100%;
        height: 100%;
    }

    .dots {
        bottom: 31px !important;
    }

    .button--hero {
        font-size: 22px;
        padding: 5px 40px;
        width: 330px;
        height: 60px;
    }

    /* about */
    .about__left {
        padding-right: 23px;
    }

    .about__image {
        width: 100%;
        height: 382px;
        margin-right: 23px;
        margin-bottom: 24px;
    }

    .about__image::after {
        left: 23px;
        top: 24px;
    }

    .about__content {
        flex-direction: column;
        gap: 35px;
    }

    .about__right {
        gap: 30px;
    }

    .text__container {
        flex-direction: column;
        gap: 15px;
    }

    .text__container p {
        font-size: 17px;
        line-height: 180%;
    }

    .button--about {
        max-width: none;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats__item span {
        font-size: 36px;
    }

    .stats__item p {
        font-size: 15px;
    }

    /* services */
    .section-title--services {
        margin-bottom: 0;
    }

    .button--services {
        margin-top: 30px;
        position: absolute;
        bottom: 50px;
    }

    .services__top {
        flex-direction: column;
        justify-content: center;
        margin-bottom: 31px;
    }

    .services__content {
        position: relative;
        left: -30px;
        width: 100vw;
        height: 772px;
        padding: 55px 29px;
        background-size: cover;
    }

    .button--services {
        font-size: 22px;
    }

    .services__slide {
        padding: 237px 28px 60px;
        display: flex;
        flex-direction: column-reverse;
    }

    .page__img {
        height: 212px;
        width: 100%;
    }

    .page__content {
        width: 100%;
        gap: 14px;
    }

    .page__title {
        font-size: 24px;
    }

    .page__subtitle {
        font-size: 18px;
    }

    .page__text {
        font-size: 16px;
        height: 150px;
    }

    .services__swiper .arrow-buttons {
        bottom: 15px;
        right: 0;
        left: 0;
        margin: auto;
    }

    /* create-event */
    .create-event__row {
        flex-direction: column;
    }

    .phones__row {
        flex-direction: column-reverse;
    }

    .row__item--order-2 {
        order: unset;
    }

    .row__item--order-1 {
        order: unset;
    }

    /* partners */
    .partners__swiper {
        width: 100vw;
    }

    /* .partners__slide {
      width: 133px !important;
    } */
    .partners__slide__img {
        height: 72px;
    }

    .partners__slide__title {
        font-weight: 400;
        font-size: 18px;
    }

    .partners__slide__text {
        font-size: 14px;
    }

    /* news */
    .section-title--news {
        margin-bottom: 0;
    }

    .news__swiper-overlay {
        margin-bottom: 70px;
    }

    .button--news {
        font-size: 18px;
        padding: 12px 40px;
        width: 172px;
        margin-bottom: 25px;
        height: 45px;
        position: absolute;
        bottom: 0;
        right: 0;
    }

    .news__top {
        flex-direction: column;
        margin-bottom: 30px;
    }

    .section-title--news {
        text-align: center;
    }

    .news-card__date {
        display: none;
    }

    .news-card__img-wrapper {
        width: 100%;
        height: 315px;
    }

    .news-card__img {
        height: 100%;
    }

    .news__slide {
        width: 100%;
        gap: 12px;
    }

    .news-card__title {
        font-size: 24px;
    }

    .news-card__desc {
        font-size: 16px;
    }

    .news-card__bottom {
        display: none;
    }

    .arrow-buttons--news {
        margin-top: 30px;
        position: absolute;
        transform: none;
        top: 100%;
        left: 0;
        bottom: 0;
        height: 40px;
        width: 130px;
        z-index: 30;
        justify-content: space-between;
    }

    /* leave-contacts */
    .leave-contacts {
        margin-bottom: 25px;
    }

    .leave-contacts__inner {
        padding: 63px 30px;
    }

    .leave-contacts__title {
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 30px;
    }

    .leave-contacts__form {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .leave-contacts__form input,
    .leave-contacts__form textarea {
        width: 100%;
    }

    .button--leave-contacts {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .create-event__row {
        gap: 30px;
    }

    .create-event__item {
        gap: 10px;
    }

    .create-event-text__container {
        justify-content: unset;
    }

    .create-event__subtitle {
        margin-left: 34px;
        font-weight: 400;
        font-size: 24px;
    }

    .create-event__item-num {
        font-size: 32px;
        min-width: 26px;
    }

    .create-event__item-title {
        font-size: 18px;
    }

    .create-event__item-desc {
        font-size: 14px;
    }

    .button--create-event {
        font-size: 22px;
        padding: 20px 40px;
    }

    .services__content {
        left: -15px;
    }
}

.leave-contacts__form .-wrap,
.-wrap input {
    max-width: 317px;
}

span[data-name='message'] {
    grid-column: 1/3;
    height: 100%;
}

span[data-name='message'] input {
    height: 100%;
    max-width: 664px !important;
    width: 664px;
}

.author-bio-section {
    display: none;
}

@media (max-width: 576px) {
    .phones-img__container img {
        width: 100%;
        height: 280px;
    }
}

@media (max-width: 1200px) {
    .leave-contacts__form .-wrap,
    .-wrap input {
        max-width: 100%;
    }

    span[data-name='message'] input {
        height: 100%;
        max-width: unset !important;
        width: 100%;
    }
}
