:root {
    --color-text-dark: #313131;
    --color-text-light: #fff;
    --color-accent: #F54932;
    --color-accent-dark: #3057A2;

    --color-btn-dark: #1F1F1F;
    --color-btn-hover: #FBCE51;

    --border-radius-lg: 66px;
    --border-table: 1px solid #D0D0D0;
}

@font-face {
    font-family: "Montserrat";
    src: url(../fonts/Montserrat-Medium.woff2) format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Merriweather";
    src: url(../fonts/Merriweather-Regular.woff2) format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Merriweather";
    src: url(../fonts/Merriweather-Bold.woff2) format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "GolosText";
    src: url(../fonts/GolosText-Regular.woff2) format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "GolosText";
    src: url(../fonts/GolosText-Medium.woff2) format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "GolosText";
    src: url(../fonts/GolosText-SemiBold.woff2) format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "GolosText";
    src: url(../fonts/GolosText-Bold.woff2) format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    margin: 0;
    font-variant-numeric: lining-nums;
}

:where(h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    ul,
    ol,
    dl):where([class]) {
    margin-block: 0;
}

:where(ul[class]) {
    list-style: none;
}

:where(ul, ol):where([class]) {
    padding-left: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

th {
    font-weight: inherit;
}

img {
    border: none;
    vertical-align: top;
}

img,
svg {
    display: block;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    background-color: transparent;
}

button,
input,
optgroup,
select,
textarea {
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background-color: transparent;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-align: left;
    text-transform: none;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
    cursor: pointer;
    -webkit-appearance: none;
}

body {
    font-family: "GolosText", Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.2;
    color: var(--color-text-dark);
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    border: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    clip-path: inset(100%) !important;
    clip: rect(0 0 0 0) !important;
    overflow: hidden !important;
}

.container {
    max-width: 1262px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: "Merriweather";
    font-weight: 400;
    font-size: clamp(36px, 10vw, 54px);
    line-height: 1.2;
    text-transform: uppercase;
}

.btn {
    display: inline-block;
    text-align: center;

    font-family: "GolosText";
    font-weight: 500;
    font-size: 16px;
    line-height: 1.3;

    transition: all 0.2s linear;
}

.carousel__btn:focus-visible {
    outline: 2px double #F54932;
    outline-offset: 1px;
}

.carousel__btn--prev::after {
    display: none;
    content: '';
    background-image: url(../images/btn.svg);
    background-repeat: no-repeat;
    background-position: center;
    width: 17px;
    height: 9px;
}

.carousel__btn--next::after {
    display: none;
    content: '';
    background-image: url(../images/btn.svg);
    background-repeat: no-repeat;
    background-position: center;
    width: 17px;
    height: 9px;
}

.carousel__btn--prev,
.carousel__btn--next {
    top: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;

    background: #313131;
    z-index: 10;
    cursor: pointer;
}

.carousel__btn--prev:hover,
.carousel__btn--next:hover {
    background: #FBCE51;
}

.carousel__btn--prev:disabled,
.carousel__btn--next:disabled {
    background: #D6D6D6;
}

.carousel__btn--prev {
    left: 10px;
    right: auto;
}

.carousel__btn--next {
    right: 10px;
    left: auto;
}

a:focus-visible {
    outline: 2px double #F54932;
    outline-offset: 1px;
}

/*-----header-----*/

.header {
    background-color: #E9DED4;
    background-image: url(./../images/header/bg-img-1920.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.header__inner {
    padding-top: 26px;
    padding-bottom: 129px;
}

.header__logo {
    display: inline-block;
    margin-bottom: clamp(38px, 10vw, 58px);
}

.logo__img {
    width: clamp(213px, 25vw, 246px);
}

.header__content {
    max-width: 542px;
    min-width: 335px;
}

.header__title {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;

    font-family: "Merriweather";
    font-weight: 400;
    font-size: clamp(36px, 20vw, 60px);
    line-height: 1.1;
    text-transform: uppercase;
}

.header__text {
    width: 100%;
    margin-bottom: clamp(32px, 8.5vw, 40px);
    text-align: center;
    text-wrap: balance;
    font-size: 18px;
    line-height: 1.3;
}

.header__title-part--center {
    align-self: center;
}

.header__title-part--end {
    align-self: end;
}

.header__btn-container {
    display: flex;
    column-gap: 16px;
}

.btn--dark {
    padding: 15px 49px;
    border-radius: var(--border-radius-lg);
    background-color: var(--color-btn-dark);
    color: var(--color-text-light);
    width: 50%;
}

.btn--dark:hover {
    background-color: var(--color-btn-hover);
    color: var(--color-btn-dark);
}

.btn--dark:active {
    border-radius: .75rem;
    transition-duration: .2s;
    background-color: var(--color-btn-hover);
    color: var(--color-btn-dark);
}

.btn--outline {
    padding: 13px 49px;
    border: 2px solid #1F1F1F;
    border-radius: var(--border-radius-lg);
    color: var(--color-btn);
    width: 50%;
    text-wrap: balance;
}

.btn--outline:hover {
    background-color: var(--color-btn-dark);
    color: var(--color-text-light);
}

.btn--outline:active {
    border-radius: .75rem;
    transition-duration: .2s;
    background-color: var(--color-btn-dark);
    color: var(--color-text-light);
}


@media screen and (max-width: 1199px) {
    .header {
        background-position: 40%;
    }

    .header__content {
        max-width: 450px;
    }

    .header__title {
        font-size: 50px;
    }

    .btn--dark {
        padding: 20px 25px;
    }

    .btn--outline {
        padding: 20px 30px;
    }
}

@media screen and (max-width: 767px) {

    .header {
        background-image: url(./../images/header/bg-img-800.webp);
        background-position: center bottom;
    }

    .header__inner {
        padding-bottom: 291px;
    }

    .header__content {
        max-width: 405px;
        margin: 0 auto;
    }

    .header__title {
        font-size: 45px;
    }

    .header__btn-container {
        width: 100%;
        flex-direction: column;
        gap: 14px;
    }

    .btn--dark {
        width: 100%;
        padding-top: 13px;
        padding-bottom: 13px;
        font-size: 16px;

    }

    .btn--outline {
        width: 100%;
        height: 47px;
        padding-top: 13px;
        padding-bottom: 13px;
        border: none;

        font-size: 16px;

        background-color: #fff;
        opacity: 0.9;
    }

}

@media (max-width: 575px) {

    .header__content {
        max-width: 335px;
        margin: 0 auto;
    }

    .header__title {
        font-size: 36px;
        line-height: 1.1;
    }

    .header__text {
        text-align: start;
        text-wrap: balance;
    }

    .header__inner {
        padding-top: 18px;
    }

}

@media screen and (max-width: 375px) {

    .header {
        background-position-x: -218px;
    }
}

@media (max-width: 374px) {

    .header__content {
        min-width: 250px;
    }

    .header__title-part--center {
        align-self: start;
    }
}

/*----ticker-----*/

.ticker {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    font-family: "Merriweather";
    font-weight: 400;
    font-size: clamp(16px, 2vw, 22px);
}

.ticker__viewport {
    padding-top: clamp(10px, 2vw, 18px);
    padding-bottom: clamp(10px, 2vw, 18px);
    color: inherit;
    overflow: hidden;
}

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

.ticker__item {
    display: inline-block;
    padding-right: 12px;
    white-space: nowrap;
    text-transform: uppercase;
    line-height: clamp(18px, 2vw, 24px);
}

.ticker__item svg {
    display: block;
}


/*-----about-----*/

.about {
    padding-top: clamp(48px, 6vw, 80px);
    padding-bottom: 120px;
}

.about__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: clamp(34px, 5vw, 64px);
}

.about__text {
    font-family: "Merriweather";
    font-weight: 400;
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.36;
    text-transform: uppercase;
    text-wrap: balance;
}

.text-accent {
    font-weight: 700;
    color: var(--color-accent);
}

.about__text-part--first {
    margin-right: clamp(25px, 5vw, 64px);
}

.about__bottom {
    display: flex;
    gap: 25px;
    justify-content: space-between;
}

.about__bottom-content {
    max-width: 704px;
}

.about__img-container {
    position: relative;
    display: flex;
    width: 493px;
    height: 527px;
}

.about__img-container::before {
    content: "";
    position: absolute;
    top: -27px;
    left: -27px;
    width: 530px;
    height: 568px;

    background-image: url(../images/about/men-chess.webp);
    background-position: center;
    background-repeat: no-repeat;
}

.about__table {
    width: 100%;
    margin-top: 60px;
    margin-bottom: 48px;
    text-align: left;
    font-size: 20px;
    line-height: 24px;
}

.table__header {
    width: 306px;
    padding: 15px 16px 15px 0;
    border-right: 2px solid #D0D0D0;
    line-height: 24px;
}

.table__data {
    width: calc(100% - 306px);
    line-height: 24px;
    padding: 15px 16px 15px 14px;
    font-weight: 600;
}

.table th+th {
    border-left: 2px solid #D0D0D0;
}

.table tr+tr {
    border-top: 2px solid #D0D0D0;
}

.table .table__row:first-child th,
.table .table__row:first-child td {
    padding-top: 0;
}

.table .table__row:last-child th,
.table .table__row:last-child td {
    padding-bottom: 0;
}

.discounted-price {
    text-decoration-color: #F54932;
    margin-right: 7px;
}

.about__contact {
    color: var(--color-accent-dark);
}

@media (max-width: 1280px) {

    .about__bottom-content {
        max-width: 60%;
    }

    .about__img-container {
        position: relative;
        display: flex;
        width: 40%;
        height: 527px;
    }

    .about__img-container::before {
        top: 0;
        left: -15px;
        width: 110%;
        height: 100%;
        background-size: 100%;

    }
}

@media (max-width: 991px) {

    .about {
        padding-bottom: 80px;
    }

    .about__bottom-content {
        max-width: 60%;
    }

    .about__img-top {
        width: 40%;
    }

    .about__text-part--first {
        margin-right: 15px;
    }

    .about__table {
        margin-top: 40px;
    }

    .table__data {
        width: 350px;
    }

}

@media (max-width: 767px) {

    .about__top {
        flex-direction: column;
    }

    .about__img-top {
        position: relative;
        order: 0;
        margin: 25px 0;
        width: auto;
    }

    .about__text {
        font-size: 28px;
        line-height: 1.35;
        text-wrap: pretty;
    }

    .about__text-part--first {
        margin-right: 0;
    }

    .about__bottom {
        flex-wrap: wrap;
    }

    .about__bottom-content {
        max-width: 100%;
    }

    .about__img-container {
        width: 100%;
        margin: 0 auto;
    }

    .about__img-container::before {
        top: 0;
        left: 0;
        width: 100%;
        background-size: contain;
    }

    .table__data {
        width: calc(100% - 306px);
    }
}

@media (max-width: 575px) {

    .about__img-top {
        width: 335px;
    }

    .about__img-container {
        width: 335px;
        height: 402px;
        margin: 0 auto;
    }

    .about__img-container::before {
        top: -13px;
        left: -20px;
        width: 375px;
        height: 430px;
        background-size: contain;
    }

    .about__table {
        margin-top: 29px;
        margin-bottom: 27px;
    }

    .table__row {
        padding: 15px 0;
    }

    .table__row--flex {
        display: flex;
        flex-direction: column;
    }

    .table__row--inline {
        display: inline-block;
        width: 100%;
        padding: 13px 0;
    }

    .table__header {
        border-right: none;
        padding: 0;
        margin-bottom: 12px;
    }

    .table__data {
        width: 100%;
        padding: 0;
    }

    .table__data--inline,
    .table__header-inline {
        display: inline;
    }

    .about__contact {
        font-size: 18px;
        line-height: 1.2;
    }

}

@media (max-width: 375px) {

    .about__img-top {
        width: 100%;
    }

    .about__text--bottom {
        text-wrap: balance;
    }
}

@media (max-width: 374px) {

    .about__img-container::before {
        left: 0px;
        width: 100%;
    }
}


/*-----stages-----*/

.stages {
    padding-top: 80px;
    padding-bottom: 120px;
    overflow: hidden;
}

.stages__title {
    margin-bottom: 54px;
}

.stages__title::after {
    content: 'Будущие источники обогащения васюкинцев';
    display: inline-block;
    max-width: 280px;
    margin-left: 18px;

    font-family: "GolosText", Arial, Helvetica, sans-serif;
    font-size: clamp(18px, 2vw, 20px);
    line-height: 1.2;
    color: var(--color-accent-dark);
    text-transform: none;
}

.stages__content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stages__list {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}

.stages__list {
    counter-reset: my-sec-counter;
}

.stages__item {
    position: relative;
    padding: 20px 20px 20px 72px;
    list-style: none;
    background-color: #E9DED4;
    background-image: url(../images/stages/stages-bg-830x300.webp);
    background-position: top left;
    /* background-repeat: no-repeat; */
    font-weight: 500;
    scroll-snap-align: start;
}

.stages__text::before {
    counter-increment: my-sec-counter;
    content: counter(my-sec-counter);

    position: absolute;
    display: inline-block;
    left: 20px;
    box-sizing: border-box;
    padding-top: 6px;
    padding-bottom: 6px;
    width: 36px;
    height: 36px;

    border-radius: 50%;
    background: #fff;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
}

.stages__item--row {
    grid-row: span 2;
}

.stages__item--column {
    position: relative;
    grid-column: span 2;
    padding-right: 290px;
}

.stages__item--image::after {
    content: '';
    position: absolute;
    right: -42px;
    bottom: -3px;

    width: 380px;
    height: 235px;

    background-image: url('../images/stages/airplane.webp');
    z-index: 10;
}

p.stages__text:not(:last-child) {
    margin-bottom: 28px;
}

.stages__text {
    max-width: 300px;
}

.stages__text--last {
    max-width: 446px;
}

@media screen and (max-width: 1280px) {

    .stages__item--image::after {
        right: 0%;
        transform: translate(20%, 10%);
    }

}

@media screen and (max-width: 1199px) {

    .stages__item--row {
        grid-row: span 1;
    }

    .stages__item--column {
        grid-column: span 3;
    }

}

@media screen and (max-width: 991px) {

    .stages {
        padding-top: 42px;
        padding-bottom: 80px;
    }

    .stages__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .stages__text {
        max-width: 90%;
    }

    .stages__item--column {
        grid-column: span 2;
    }

}

@media (min-width: 768px) {
    .carousel__btn--lock {
        display: none !important;
    }
}

@media (max-width: 767px) {

    .stages__title {
        margin-bottom: 149px;
    }

    .stages__title::after {
        display: block;
        margin-top: 12px;
        margin-left: 0;
        max-width: 100%;
    }

    .stages__content::before {
        content: '';
        position: absolute;
        top: 73px;

        width: 335px;
        height: 215px;

        background-image: url('../images/stages/airplane-335.webp');
        background-repeat: no-repeat;
        z-index: 10;
        right: 50%;
        transform: translate(50%, -100%);
    }

    .stages__list {
        display: grid;
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 100%;
        gap: 20px;
    }

    .stages__content .carousel__wrapper {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }

    .stages__content .carousel__wrapper::-webkit-scrollbar {
        display: none;
    }

    .stages__content .carousel__navigation {
        display: flex;
        justify-content: space-between;
        align-items: center;

        position: static;
        margin-inline: auto;
        margin-top: 28px;
        transform: translateY(0%);
    }

    .stages__content .carousel__pagination {
        display: flex;
        gap: 6px;
        margin-inline: 16px;
    }

    .visible-mobile {
        display: none !important;
    }

    .carousel__dot {
        width: 10px;
        height: 10px;
        border: none;
        border-radius: 50%;
        background-color: #D9D9D9;
        cursor: pointer;
    }

    .carousel__dot.selected {
        background-color: #313131;
    }

    .stages__item {
        padding: 63px 20px 34px 72px;
    }

    .stages__item--column {
        grid-column: span 1;
        padding-right: 20px;
    }

    .stages__item--image::after {
        display: none;
    }

}

@media screen and (max-width: 575px) {

    .stages__content::before {
        left: 8px;
        transform: translateY(-100%);
    }

    .stages__item {
        min-height: 300px;
        font-size: 18px;
    }

    .stages__text {
        max-width: 300px;
    }

}

@media screen and (max-width: 375px) {

    .stages__item {
        width: 335px;
    }
}

@media (max-width: 374px) {

    .stages__item {
        width: 100%;
    }

    .stages__text {
        max-width: 100%;
    }
}

/*-----participant-----*/

.participants {
    padding-top: 82px;
    padding-bottom: 140px;
}

.participants__inner {
    position: relative;
}

.participants__title {
    margin-bottom: clamp(40px, 5vw, 60px);
}

.participants__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.participants__content .carousel__wrapper {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% /3) - 13px);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: 0;
}

.participants__content .carousel__wrapper::-webkit-scrollbar {
    display: none;
}

.participants__content .carousel__wrapper.dragging .participant-card {
    cursor: grab;
    user-select: none;
}

.participants__content .carousel__wrapper.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.participants__content .carousel__wrapper.no-transition {
    scroll-behavior: auto;
}

.participants__item {
    list-style: none;
    scroll-snap-align: start;
}

.participant-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    text-align: center;
    padding-inline: 37px;
    color: #151515;
}

.participant-card__header {
    margin-bottom: 29px;
}

.participant-card__foto {
    position: relative;
    margin: 0 auto;
    max-width: 320px;
    max-height: 320px;
    border-radius: 50%;
}

.participant-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.participant-card__body {
    margin-bottom: 20px;
}

.participant-card__title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 6px;
}

.participant-card__subtitle {
    font-size: 20px;
    font-weight: 400;
}

.participant-card__button {
    border: 1px solid var(--color-accent-dark);
    padding: 7px;
    width: 113px;
    margin: 0 auto;

    border-radius: 62px;

    line-height: 1.1;
    color: var(--color-accent-dark);
    background-color: #fff;
    cursor: pointer;
}

.participant-card__button:hover {
    background: var(--color-accent-dark);
    color: #fff;
}

.participant-card__button:active {
    border-radius: .75rem;
    transition-duration: .2s;
    background: var(--color-accent-dark);
    color: #fff;
}

.participants__content .carousel__navigation {
    max-width: 151px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    position: absolute;
    top: 10px;
    right: 20px;
    /* transform: translateY(-100%); */
}

.participants__content .carousel__pagination {
    display: flex;
    flex: 1;
    justify-content: center;
    font-size: 16px;
}


@media (max-width: 992px) {
    .participants {
        padding-top: 40px;
        padding-bottom: 100px;
    }

    .participants__content .carousel__navigation {
        position: static;
        margin-inline: auto;
        margin-top: 40px;
        transform: translateY(0%);
    }
}

@media screen and (max-width: 992px) {
    .participants__content .carousel__wrapper {
        grid-auto-columns: calc((100% / 2 - 9px));
    }
}

@media screen and (max-width: 767px) {
    .participants__content .carousel__wrapper {
        grid-auto-columns: 100%;
    }

    .carousel__btn--prev,
    .carousel__btn--next {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 375px) {

    .section-title {
        font-size: 36px;
        line-height: 1.1;
    }

    .participant-card {
        padding-inline: 24px;
    }

    .participant-card__foto {
        max-width: 244px;
        max-height: 244px;
    }

    .participant-card__title {
        margin-bottom: 7px;
    }

    .participant-card__button {
        line-height: 1.2;
    }

    .participants__content .carousel__navigation {
        max-width: 129px;
    }

    .carousel__btn-prev,
    .carousel__btn-next {
        top: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
    }

}

/*-----footer-----*/

.footer {
    margin-top: auto;
    padding-top: 25px;
    padding-bottom: 72px;

    font-family: "GolosText", Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    color: var(--color-text-dark);
    background-color: #E9DED4;

}

@media (max-width: 768px) {

    .footer {
        padding-top: 25px;
        padding-bottom: 60px;
    }

}