.header__wrapper {
    width: 100%;
}
.header__title {
    position: relative;
    color: #ffffff;
    font-size: 60px;
    font-weight: 700;
    line-height: 1;
    /* max-width: 768px; */
    max-width: 838px;
    z-index: 2;
    margin: 0 0 24px 0;
}
@media (max-width: 1024px) {
    .header__title {
        font-size: 48px;
    }
}
@media (max-width: 768px) {
    .header__title {
        font-size: 36px;
    }
}
.header__untitle {
    position: relative;
    color: #d1d5db;
    font-size: 20px;
    line-height: 28px;
    max-width: 768px;
    z-index: 2;
    margin: 0 0 32px 0;
}
.mainmenu__item {
    text-decoration: none;
    color: #ffffff;
    margin: 0 20px 0 0;
}
.mainmenu__item:hover {
    color: rgb(186 160 130);
}
.mainmenu__item:last-of-type {
    margin: 0;
}
@media (max-width: 1024px) {
    .mainmenu__item {
        display: block;
        padding: 16px;
        margin: 0 0 8px 0;
    }
}
.hamburger {
    padding: 2px 16px;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0 0 0 auto;
    display: none;
}
@media (max-width: 1024px) {
    .hamburger {
        display: block;
    }
}
.hamburger-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative; }

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 40px;
    height: 4px;
    background-color: #ffffff;
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}
.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block;
}
.hamburger-inner::before {
    top: -10px;
}
.hamburger-inner::after {
    bottom: -10px;
}
.hamburger--spin .hamburger-inner {
    transition-duration: 0.22s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--spin .hamburger-inner::before {
    transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in;
}
.hamburger--spin .hamburger-inner::after {
    transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--spin.is-active .hamburger-inner {
    transform: rotate(225deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--spin.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out;
}
.hamburger--spin.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--spin-r .hamburger-inner {
    transition-duration: 0.22s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--spin-r .hamburger-inner::before {
    transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in;
}
.hamburger--spin-r .hamburger-inner::after {
    transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spin-r.is-active .hamburger-inner {
    transform: rotate(-225deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--spin-r.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out;
}
.hamburger--spin-r.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(90deg);
    transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.overlay {
    background-color: rgba(40,45,55,.7);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    z-index: 97;
    opacity: 0;
    visibility: hidden;
    transition: 200ms cubic-bezier(.4,0,.2,1);
}
@media (max-width: 1024px) {
    .visible {
        opacity: 1;
        visibility: visible;
        transition: 250ms cubic-bezier(.4,0,.2,1);
        transform: translate3d(0, 0, 0);
    }
}
.rowblock__wrapper {
    display: flex;
    justify-content: space-between;
}
@media (max-width: 768px) {
    .rowblock__wrapper {
        flex-direction: column;
    }
}
@media (max-width: 1024px) {
    #formats .rowblock__wrapper {
        flex-direction: column;
    }
}
.rowblock__block {
    width: 50%;
    margin: 0 48px 0 0;
}
.rowblock__block:last-of-type {
    margin: 0 0 0 0;
}
@media (max-width: 768px) {
    .rowblock__block {
        box-sizing: border-box;
        width: 100%;
        margin: 0 0 0 0;
    }
    .rowblock__block:last-of-type {
        margin: 48px 0 0 0;
    }
}
@media (max-width: 1024px) {
    #formats .rowblock__block {
        box-sizing: border-box;
        width: 100%;
        margin: 0 0 0 0;
    }
    #formats .rowblock__block:last-of-type {
        margin: 48px 0 0 0;
    }
}
.about {
    color: #374151;
}
.codex {
    background-color: #f9fafb;
    color: #374151;
    padding: 32px;
    border-radius: 16px;
}
.codex-dark {
    background-color: #111822;
    color: #ffffff !important;
    padding: 32px;
    border-radius: 16px;
}
.codex-darklight {
    background-color: rgb(255 255 255 / 0.1);
    color: #ffffff !important;
    padding: 32px;
    border-radius: 16px;
}
.codex__title {
    font-weight: 600;
    font-size: 24px;
}
.list {
        font-size: 18px;
    line-height: 28px;
}
.list__item {
    margin: 0 0 16px 0;
}
.list__item:last-of-type {
    margin: 0 0 0 0;
}
.text-primary {
    color: #baa082;
}
.resident__desc {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin: 12px 0 24px 0;
}
.resident__list {
    display: flex;
    flex-wrap: wrap;
    margin: -12px;
}
@media (max-width: 580px) {
    .resident__list {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
}
.resident__item {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 8px;
    margin: 12px;
    width: 150px;
    height: 180px;
    flex-grow: 1;
}
@media (max-width: 580px) {
    .resident__item {
        min-width: 170px;
    }
}
.resident__ico {
    display: block;
    margin: 32px auto 24px auto;
    width: 32px;
}
.resident__title {
    display: block;
    margin: 0 auto;
    font-weight: 600;
    width: 100%;
}
.methods {
    width: 100%;
    text-align: center;
}
.methods td {
    border-right: 1px solid #baa082;
    border-bottom: 1px solid #baa082;
}
.methods tr td:last-of-type {
    border-right: 0;
}
.methods tr:last-of-type td {
    border-bottom: 0;
}
.methods td, .methods th {
    padding: 16px;
    min-width: 100px;
}
.methods__dot {
    display: inline-block;
    border: 1px solid #baa082;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 4px 0 0;
}
.methods__dot-active {
    background-color: #baa082;
}
.format {
    color: #374151;
}
.format__item {
    background-color: #ffffff;
    padding: 24px;
    border-radius: 16px;
    margin: 0 0 24px 0;
}
.format__item:last-of-type {
    margin: 0;
}
@media (max-width: 1280px) {
    .format__item {
        padding: 16px 24px;
        margin: 0 0 8px 0;
    }
}
.format__itemtitle {
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    margin: 0 0 8px 0;
}
.format__title {
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    margin: 0 0 8px 0;
}
.format__slider {
    background-color: #ffffff;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    /* height: 94%; */
    border-radius: 16px;
}
.format__img {
    width: 100%;
}
.format__text {
    background-color: #ffffff;
    padding: 24px;
    min-height: 136px;
    font-size: 20px;
    line-height: 28px;
}
.swiper-pagination-bullet-active {
    background-color: #BAA082;
}
.swiper-button-next, .swiper-button-prev {
    background-color: rgb(255 255 255 / 0.5);
    color: #000000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px;
}
.swiper-slide {
    background-color: #ffffff;
    color: #374151;
}
.manager__wrapper {
    display: flex;
    align-items: center;
}
@media (max-width: 580px) {
    .manager__wrapper {
        flex-wrap: wrap;
        text-align: center;
    }
}
.manager__photo {
    margin: 0 24px 0 0;
    width: 196px;
    height: 196px;
    border-radius: 50%;
}
@media (max-width: 580px) {
    .manager__photo {
        margin: 0 auto 16px auto;
    }
}
.manager__text {
    font-size: 20px;
    line-height: 28px;
}
.price {
    margin: 0 0 32px 0;
}
.timeline {
    max-width: 768px;
    margin: 0 auto;
}
.timeline__item {
    display: flex;
    min-height: 64px;
    margin: 0 0 4px 0;
}
.timeline__dotwrapper {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}
.timeline__dot {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #111822;
    border: 2px solid #BAA082;
    color: #BAA082;
    font-weight: 700;
    width: 32px;
    height: 32px;
    min-height: 32px;
    border-radius: 50%;
}
.timeline__dotline {
    background-color: #BAA082;
    width: 2px;
    height: 100%;
}
.timeline__item:nth-child(4) .timeline__dotline {
    display: none;
}
.timeline__textwrap {
    padding: 4px 0 0 16px;
}
.timeline__itemtitle {
    color: #111822;
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    margin: 0 0 12px 0;
}
.timeline__itemtext {
    color: #374151;
    margin: 0 0 16px 0;
    line-height: 1.5;
}
.timeline__itemtextgrey {
    color: #4b5563;
    background-color: #f9fafb;
    border-radius: 16px;
    padding: 16px;
    font-size: 14px;
    line-height: 20px;
}
.startpay__list {
    margin: 48px auto 0 auto;
    max-width: 768px;
}
.startpay__item {
    border-bottom: 1px solid var(--stroke-transparent, rgba(0, 0, 0, 0.10));
    margin: 0 0 32px 0;
    padding: 0 0 16px 0;
}
.spay__title {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--alias-content-primary-a-enabled, #39393D);
    font-size: 20px;
    font-weight: 600;
    line-height: 145%;
}
.spay__desc {
    overflow: hidden;
    transition: all .15s ease-in-out;
    color: var(--alias-content-primary-a-enabled, #39393D);
    font-size: 14px;
    font-weight: 400;
    line-height: 145%;
    margin: 16px 0 0 0;
    width: 100%;
    height: 0;
}
.startpay__item svg {
    margin: 0 0 0 16px;
    width: 24px;
    min-width: 24px;
    height: 24px;
}
.startpay__item-active svg {
    transform: rotate(180deg);
}
.contact__item {
    display: flex;
    align-items: center;
    margin: 0 0 24px 0;
}
.contact__ico {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(255 255 255 / 0.2);
    color: #baa082;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 16px 0 0;
}
.contact__titile {
    color: #d1d5db;
    font-size: 14px;
    line-height: 20px;
}
.contact__data {
    font-weight: 500;
}
.input__wrapper {
    display: flex;
    flex-direction: column;
    margin: 0 0 16px 0;
}
.input__label {
    color: #374151;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    margin: 0 0 4px 0;
}
.input__form,
.textarea__form {
    outline: none;
    background-color: #f9fafb;
    border: 1px solid #f9fafb;
    padding: 12px 16px;
    border-radius: 8px;
}
.footer {
    background-color: #111822;
    color: #ffffff;
    padding: 48px 0;
}
.footer__top {
    border-bottom: 1px solid #1f2937;
    padding: 0 0 32px 0;
    margin: 0 0 32px 0;
}
.footer__bottom {
    display: flex;
    justify-content: space-between;
    color: #9ca3af;
}
@media (max-width: 768px) {
    .footer__bottom {
        flex-direction: column;
    }
    .footer__links {
        order: 1;
    }
    .footer__copy {
        order: 2;
        margin: 16px 0 0 0;
    }
}






.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 500px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.modal-title {
    margin: 0;
    font-size: 1.5em;
    color: #333;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

/* Стили для формы */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.submit-btn {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

.submit-btn:hover {
    background-color: #45a049;
}

.open-modal-btn {
    background-color: #2196F3;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin: 20px;
}

.open-modal-btn:hover {
    background-color: #0b7dda;
}

.tg__list {
    display: flex;
    justify-content: space-between;
    overflow-x: auto;
    max-width: 950px;
    margin: 0 auto;
}
.tg__item {
    width: 250px;
    min-width: 250px;
    margin: 0 16px 0 0;
}
.tg__item:last-child {
    margin: 0;
}
.tg__imgwrap {
    overflow: hidden;
    border: 1px solid #baa082;
    border-radius: 20px;
    max-height: 445px;
}
.tg__img {
    width: 100%;
}
.tgitemname {
    font-size: 18px;
    text-align: center;
    margin: 16px 0;
}

.ambassador__slider {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
    max-width: 1108px;
}
.ambassador__slider .swiper-pagination {
    position: static;
    padding: 24px 0;
}
.ambassador__slidernav {
    position: absolute;
    width: 100%;
    top: 50%;
    right: 0;
}
.ambassador__item {
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.2);
    border-color: rgba(186, 160, 130, 0.3);
    padding: 24px;
    border-radius: 16px;
    width: 265px;
    max-width: 265px;
    min-height: 553px;
}
@media (max-width: 768px) {
    .ambassador__item {
        width: 50%;
        max-width: 50%;
        min-height: 514px;
    }
}
@media (max-width: 640px) {
    .ambassador__item {
        width: 100%;
        max-width: 100%;
        min-height: 485px;
    }
}
.ambitem__photowrap {
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #baa082;
    border-radius: 12px;
    width: 100%;
    height: 320px;
    margin: 0 0 16px 0;
}
.ambitem__photoamb {
    background-size: cover;
}
.ambitem__photoamb1 {
    background-image: url('../img/amb/amb1.jpg');
}
.ambitem__photoamb2 {
    background-image: url('../img/amb/amb2.jpg');
}
.ambitem__photoamb3 {
    background-image: url('../img/amb/amb3.jpg');
}
.ambitem__photoamb4 {
    background-image: url('../img/amb/amb4.jpg');
}
.ambitem__photoamb5 {
    background-image: url('../img/amb/amb5.jpg');
}
.ambitem__photoamb6 {
    background-image: url('../img/amb/amb6.jpg');
}
.ambitem__photoamb7 {
    background-image: url('../img/amb/amb7.jpg');
}
.ambitem__photoamb8 {
    background-image: url('../img/amb/amb8.jpg');
}
.ambitem__photoamb9 {
    background-image: url('../img/amb/amb9.jpg');
}
.ambitem__photoamb10 {
    background-image: url('../img/amb/amb10.png');
}
.ambitem__photoamb11 {
    background-image: url('../img/amb/amb11.jpg');
}
.ambitem__photo {
    width: 100%;
}
.ambitem__name {
    color: #baa082;
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
}
.ambitem__position {
    color: #e5e7eb;
    margin: 0 0 4px 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    min-height: 40px;
}
/* @media (max-width: 1024px) {
    .ambitem__position {
        min-height: 60px;
    }
} */
.ambitem__company {
    color: #9ca3af;
    font-size: 14px;
    line-height: 20px;
}

.ambheader {
    color: #ffffff;
    background: linear-gradient(135deg, #111822 0%, #5F7285 100%);
}
.ambheader .inner {
    min-height: inherit;
}
.ambheader__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: inherit;
    max-width: 1152px;
    gap: 3rem;
    margin: 0 auto;
}
@media (max-width: 1024px) {
    .ambheader__wrapper {
        flex-direction: column;
        padding: 92px 0;
    }
}
.ambheader__photowrap {
    overflow: hidden;
    border: 1px solid #baa082;
    font-size: 0;
    border-radius: 16px;
    width: 384px;
    min-width: 384px;
}
@media (max-width: 768px) {
    .ambheader__photowrap {
        width: unset;
        min-width: unset;
        max-width: 384px;
    }
}
.ambheader__photo {
    width: 100%;
}
.ambheader__name {
    color: #baa082;
    font-size: 48px;
    line-height: 1;
    font-weight: 700;
}
@media (max-width: 768px) {
    .ambheader__name {
        font-size: 32px;
        font-weight: 600;
    }
}
.ambheader__position {
    color: #d1d5db;
    font-size: 24px;
    line-height: 32px;
    margin: 16px 0;
}
.ambheader__quote {
    box-sizing: border-box;
    border-left: 4px solid #baa082;
    margin: 32px 0;
    padding: 0 0 0 24px;
    font-size: 24px;
    line-height: 32px;
    font-style: italic;
}

#ambabout .section__title {
    color: #baa082;
    font-size: 60px;
    line-height: 1;
    font-weight: 700;
}
@media (max-width: 1024px) {
    #ambabout .section__title {
        font-size: 48px;
        line-height: 56px;
    }
}
.ambabout__listtitle {
    text-align: center;
    color: #baa082;
    font-size: 36px;
    line-height: 40px;
    font-weight: 700;
}
@media (max-width: 1024px) {
    .ambabout__listtitle {
        font-size: 24px;
        line-height: 32px;
    }
}
.ambabout__listblock {
    background-color: lab(0% 0 0 / 0.2);
    border: 1px solid rgb(186 160 130 / 0.3);
    padding: 48px;
    border-radius: 16px;
}
@media (max-width: 1024px) {
    .ambabout__listblock {
        padding: 32px 16px;
    }
}



.ambabout__list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin: 32px 0 0 0;
}
.ambabout__listitem {
    display: flex;
    align-items: center;
    width: 330px;
    max-width: 330px;
}
@media (max-width: 1280px) {
    .ambabout__listitem {
        width: 423px;
        max-width: 423px;
    }
}
@media (max-width: 1024px) {
    .ambabout__listitem {
        width: 100%;
        max-width: 100%;
    }
}
.ambabout__listitemnum {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(to right, #54483B, #BAA082);
    color: #ffffff;
    width: 32px;
    min-width: 32px;
    height: 32px;
    border-radius: 50%;
    margin: 0 8px 0 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
}
.ambabout__listitemtext {
    color: #e5e7eb;
    font-size: 14px;
}