/* Первый блок с текстом */
.text-block-1 {
    color: #292929;
    font-family: "Manrope";
    padding: 60px 50px 80px;
}

.text-block-1__header {
    display: flex;
    gap: 55px;
    align-items: flex-end;
    margin-bottom: 40px;
}

.text-block-1__title {
    max-width: 1175px;
    font-family: "Bounded";
    font-size: 55px;
    font-weight: 400;
    text-transform: uppercase;
}

.text-block-1__info {
    font-family: "Bounded";
    padding-bottom: 10px;
}

.text-block-1__hr {
    height: 3px;
    background: linear-gradient(to right, #F4C86F, #4681BD, #4E8D4C, #C84C4C, #F4C86F);
    background-size: 300% 100%;
    border: none;
    margin-bottom: 40px;
    animation: gradientShift 10s linear infinite;  
}

.text-block-1__content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.text-block-1__content-text {
    display: flex;
    gap: 20px;
}

.text-block-1__content-block h3 {
    font-family: "Bounded";
    font-size: 22px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.text-block-1__content-block p {
    max-width: 590px;
}

.text-block-1__content picture {
    transform: none !important;
}

.text-block-1__content-img {
    position: absolute;
    top: 7px;
    right: 0;
    z-index: -1;
}

/* Второй блок с текстом */
.text-block-2 {
    color: #292929;
    font-family: "Manrope";
    padding: 0 50px;
}

.text-block-2__main {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 30px;
}

.text-block-2__title {
    font-family: "Bounded";
    font-size: 22px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.text-block-2__info {
    max-width: 575px;
}

.text-block-2__frame {
    width: 100%;
    max-width: 900px;
    height: 100%;
    background: linear-gradient(to right, #F4C86F, #4681BD, #4E8D4C, #C84C4C, #F4C86F);
    background-size: 300% 100%;
    border-radius: 8px;
    padding: 2px;
    animation: gradientShift 10s linear infinite;  
}

.text-block-2__frame--inner {
    height: 100%;
    position: relative;
    background: white; 
    border-radius: 5px; 
    padding: 20px 15px;
}

.text-block-2__frame-title {
    font-family: "Bounded";
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.text-block-2__frame-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    padding-left: 20px;
}

.text-block-2__frame-img {
    height: calc(100% - 40px);
    position: absolute;
    top: 20px;
    right: 60px;
}

.text-block-2__values {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
}

.text-block-2__value {
    min-height: 170px;
    flex: 1;
    background: #FFFAF0;
    border: 1px solid #F4C86F;
    border-radius: 8px;
    padding: 30px 15px;
    box-sizing: border-box;
}

.text-block-2__value:nth-child(2) {
    background: #FFF3E9;
    border-color: #E69E5F;
}
.text-block-2__value:nth-child(3) {
    background: #FFE8E8;
    border-color: #C74E4D;
}
.text-block-2__value:nth-child(4) {
    background: #EAF4FF;
    border-color: #4F82BA;
}
.text-block-2__value:nth-child(5) {
    background: #F1FFF0;
    border-color: #4E8D4C;
}

.text-block-2__value h4 {
    font-family: "Bounded";
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.text-block-2__value p {
    font-size: 13px;
}

/* Третий блок с текстом */
.text-block-3 {
    color: #292929;
    font-family: "Manrope";
    padding: 80px 50px;
}

.text-block-3__main {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.text-block-3__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.text-block-3__title {
    max-width: 770px;
    font-family: "Bounded";
    font-size: 40px;
    font-weight: 400;
    text-transform: uppercase;
}

.text-block-3__subtitle {
    max-width: 530px;
    font-family: "Bounded";
    font-size: 15px;
    text-transform: uppercase;
}

.text-block-3__content-block {
    max-width: 595px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.text-block-3__content-block h4 {
    font-family: "Bounded";
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
}

.text-block-3__content-outro {
    max-width: 595px;
}

.text-block-3__img {
    flex: 1;
}

.text-block-3__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.text-block-3__program-title {
    font-family: "Bounded";
    font-size: 22px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.text-block-3__program-info {
    max-width: 550px;
    font-size: 15px;
    margin-bottom: 30px;
}

.text-block-3__program-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
}

.text-block-3__program-option {
    min-height: 140px;
    flex: 1;
    background: #FFFAF0;
    border: 1px solid #F4C86F;
    border-radius: 8px;
    padding: 30px 15px;
    box-sizing: border-box;
}

.text-block-3__program-option h4 {
    font-family: "Bounded";
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.text-block-3__program-option p {
    font-size: 13px;
}

/* Четвертый блок с текстом */
.text-block-4 {
    display: flex;
    gap: 20px;
    color: #292929;
    font-family: "Manrope";
    padding: 0 50px;
}

.text-block-4__main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.text-block-4__title {
    font-family: "Bounded";
    font-size: 22px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.text-block-4__info {
    max-width: 575px;
}

.text-block-4__stones {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

}

.text-block-4__stones-container {
    width: 100%;
    max-width: 590px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.text-block-4__stone img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.text-block-4__frame {
    flex: 1;
    height: 100%;
}

.text-block-4__frame-content {
    max-width: 715px;
    height: 100%;
    background: linear-gradient(to right, #F4C86F, #4681BD, #4E8D4C, #C84C4C, #F4C86F);
    background-size: 300% 100%;
    border-radius: 8px;
    padding: 2px;
    animation: gradientShift 10s linear infinite;  
}

.text-block-4__frame-content--inner {
    height: 100%;
    position: relative;
    background: white; 
    border-radius: 5px; 
    padding: 20px 15px;
}

.text-block-4__frame-title {
    font-family: "Bounded";
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.text-block-4__frame-content ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    padding-left: 20px;
}

/* Пятый блок с текстом */
.text-block-5 {
    color: #292929;
    font-family: "Manrope";
    padding: 80px 50px;
}

.text-block-5__main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 120px 20px;
    margin-bottom: 30px;
}

.text-block-5__content {
    position: relative;
}

.text-block-5__content h3 {
    max-width: 595px;
    font-family: "Bounded";
    font-size: 22px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.text-block-5__content-2 h3 {
    max-width: 610px;
}

.text-block-5__content-text {
    max-width: 595px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.text-block-5__content-2  .text-block-5__content-text {
    gap: 15px;
}

.text-block-5__content-text ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 20px;
}

.text-block-5__watermark {
    position: absolute;
    right: 0;
    bottom: -80px;
}

.text-block-5__img {
    grid-row: span 2;
}

.text-block-5__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.text-block-5__emails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.text-block-5__email {
    display: flex;
    flex-direction: column;
    color: #E69E5F;
    border: 1px solid #E69E5F;
    border-radius: 8px;
    padding: 30px 20px 20px;
}

.text-block-5__email--org {
    color: #E69E5F;
    border: 1px solid #E69E5F;
}

.text-block-5__email--press {
    color: #C74E4D;
    border: 1px solid #C74E4D;
}

.text-block-5__email--partners {
    color: #4F82BA;
    border: 1px solid #4F82BA;
}

.text-block-5__email--support {
    color: #4E8D4C;
    border: 1px solid #4E8D4C;
}

.text-block-5__email-title {
    color: #292929;
    font-family: "Bounded";
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.text-block-5__email-info {
    color: #292929;
    font-size: 13px;
    margin-bottom: 25px;
}

.text-block-5__email-link {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.text-block-5__email-link a {
    width: 100%;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
    color: currentColor;
    text-decoration: none;
    background: currentColor;
    border-radius: 5px;
}

.text-block-5__email-link a span {
    color: #FFFFFF;
    font-family: "Bounded";
    font-size: 13px;
    text-transform: uppercase;
}

/* Шестой блок с текстом */
.text-block-6 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    color: #292929;
    font-family: "Manrope";
    padding: 0 50px 80px;
}

.text-block-6__content-info {
    max-width: 460px;
    font-family: "Bounded";
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.text-block-6__socials {
    display: flex;
    gap: 20px;
    margin-bottom: 80px;
}

.text-block-6__social {
    width: 100%;
    max-width: 210px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #E69E5F;
    font-family: "Bounded";
    font-size: 15px;
    text-decoration: none;
    border: 1px solid #E69E5F;
    border-radius: 5px;
}

.text-block-6__img {
    grid-row: span 2;
    align-self: flex-start;
}

.text-block-6__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.text-block-6__tabs {
    max-width: 715px;
}

.text-block-6__tabs h3 {
    font-family: "Bounded";
    font-size: 22px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.text-block-6__tab {
    border-top: 1px solid rgba(41, 41, 41, 0.2);
}

.text-block-6__tab:last-child {
    border-bottom: 1px solid rgba(41, 41, 41, 0.2);
}

.text-block-6__tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    font-family: "Bounded";
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 12px 0;
    cursor: pointer;
}

.text-block-6__tab-header svg {
    flex-shrink: 0;
}

.text-block-6__tab-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all .3s ease-in-out;
}

.text-block-6__tab-content--active {
    max-height: 100px;
    opacity: 1;
}

.text-block-6__tab-content--inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: "Manrope";
    font-size: 14px;
    font-weight: 300;
    padding: 10px 0 20px;
}

@keyframes gradientShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
    100% { background-position: 0% 0%; }
}

@media (max-width: 1600px) {
    .text-block-1__title {
        max-width: 1005px;
        font-size: 40px;
    }

    .text-block-1__content-block h3, .text-block-2__title, .text-block-3__program-title, .text-block-4__title, .text-block-5__content h3, .text-block-6__tabs h3 {
        font-size: 18px;
    }
}

@media (max-width: 1360px) {
    .text-block-1__title {
        max-width: 700px;
        font-size: 30px;
    }

    .text-block-2__frame-img {
        height: 90px;
        position: relative;
        top: 0;
        right: 0;
        display: block;
        margin: 10px auto 0;
    }

    .text-block-5__emails {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1360px) {
    .text-block-1 {
        padding: 50px 15px;
    }

    .text-block-1__title {
        max-width: 440px;
        font-size: 20px;
    }

    .text-block-2 {
        padding: 0 15px;
    }

    .text-block-3 {
        padding: 50px 15px;
    }

    .text-block-3__main {
        flex-direction: column;
    }

    .text-block-4 {
        flex-direction: column;
        padding: 0 15px;
    }

    .text-block-4__stones-container {
        margin-top: 25px;
    }

    .text-block-5 {
        padding: 50px 15px;
    }

    .text-block-5__main {
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
    }

    .text-block-5__watermark {
        position: relative;
        bottom: 0;
        display: block;
        margin: 25px auto 0;
    }

    .text-block-6 {
        grid-template-columns: repeat(1, 1fr);
        padding: 0 15px 60px;
    }
}

@media (max-width: 768px) {
    /* Первый блок с текстом */
    .text-block-1 {
        font-size: 13px;
    }

    .text-block-1__header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .text-block-1__title {
        max-width: 340px;
        font-size: 18px;
    }

    .text-block-1__info {
        font-size: 15px;
        padding-bottom: 0;
    }

    .text-block-1__hr {
        height: 2px;
        margin-bottom: 20px;
    }

    .text-block-1__content {
        gap: 50px;
    }

    .text-block-1__content-text {
        flex-direction: column;
        gap: 25px;
    }

    .text-block-1__content-block h3 {
        margin-bottom: 20px;
    }

    .text-block-1__content-img {
        width: calc(100% + 30px);
        position: static;
        margin: -25px -15px 0;
    }

    /* Второй блок с текстом */
    .text-block-2 {
        font-size: 13px;
    }

    .text-block-2__main {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 25px;
    }

    .text-block-2__title {
        margin-bottom: 20px;
    }

    .text-block-2__frame--inner {
        padding: 30px 15px 25px;
    }

    .text-block-2__values {
        flex-direction: column;
        gap: 10px;
    }

    /* Третий блок с текстом */
    .text-block-3 {
        font-size: 13px;
    }

    .text-block-3__main {
        margin-bottom: 50px;
    }

    .text-block-3__content {
        gap: 20px;
    }

    .text-block-3__title {
        max-width: 330px;
        font-size: 18px;
    }

    .text-block-3__subtitle {
        font-size: 13px;
    }

    .text-block-3__content-block {
        gap: 10px;
    }

    .text-block-3__content-block h4 {
        font-size: 13px;
    }

    .text-block-3__program-title {
        margin-bottom: 20px;
    }

    .text-block-3__program-info {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .text-block-3__program-options {
        flex-direction: column;
        gap: 10px;
    }

    .text-block-3__program-option h4 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    /* Четвертый блок с текстом */
    .text-block-4 {
        gap: 25px;
        font-size: 13px;
    }

    .text-block-4__title {
        margin-bottom: 20px;
    }

    .text-block-4__stones-container {
        max-width: 300px;
        margin: 25px auto 0;
    }

    .text-block-4__frame-content--inner {
        padding: 30px 15px 35px;
    }

    /* Пятый блок с текстом */
    .text-block-5 {
        font-size: 13px;
    }

    .text-block-5__main {
        margin-bottom: 20px;
    }

    .text-block-5__content h3 {
        max-width: 305px;
        font-size: 15px;
        margin-bottom: 20px;
    }

    .text-block-5__content-2 h3 {
        font-size: 18px;
    }

    .text-block-5__content-text {
        gap: 10px;
    }

    .text-block-5__content-2  .text-block-5__content-text {
        gap: 10px;
    }

    .text-block-5__content-text ul {
        margin-top: 10px;
    }

    .text-block-5__content-text b {
        font-weight: 400;
    }

    .text-block-5__watermark {
        width: 190px;
        height: auto;
    }

    .text-block-5__emails {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }

    .text-block-5__email {
        padding: 25px 15px 15px;
    }

    .text-block-5__email-title {
        font-size: 13px;
        margin-bottom: 20px;
    }

    /* Шестой блок с текстом */
    .text-block-6 {
        gap: 50px;
        font-size: 13px;
    }

    .text-block-6__content-info {
        max-width: 330px;
        font-size: 13px;
        margin-bottom: 20px;
    }

    .text-block-6__socials {
        gap: 10px;
        margin-bottom: 0;
    }

    .text-block-6__social {
        font-size: 13px;
    }

    .text-block-6__tabs h3 {
        margin-bottom: 20px;
    }

    .text-block-6__tab-header {
        font-size: 12px;
    }

    .text-block-6__tab-content--inner {
        font-size: 13px;
    }
}