:root {
    --sg-container-padding: 20px;
    --sg-container-sm-padding: 20px;
    --sg-gap: 20px;
    --sg-container-xs: 100%;
    --sg-container-sm: 536px;
    --sg-container-md: 728px;
    --sg-container-lg: 984px;
    --sg-container-xl: 100%;
    --sg-container-xxl: 1330px;

    --white: #fff;
    --acsent: #fb8d69;
    --dark-txt: #1c4a66;
    --dark-blue: #0e2838;
    --bg: #061b28;
    --black: #252525;
    --font-family: "Aleo", sans-serif;
    --second-family: "Montserrat", sans-serif;
    --third-family: "Noto Sans", sans-serif;
}

.sg-container {
    width: 100%;
    max-width: calc(100% - 140px);
    margin: 0 auto;
    padding-inline: var(--sg-container-padding);
}

.sg-inner-container {
    padding-inline: var(--sg-container-sm-padding);
}

/* breadcrums */
.breadcrums-container {
    width: max-content;
    display: flex;
    gap: 15px;
    margin: 20px auto 50px auto;
    border-radius: 10px;
    padding: 14px 24px;
    background: var(--black);
}

.breadcrums-text {
    margin: 0;
    padding: 0;
}

.separator-holder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.breadcrums-text {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: var(--grey);
}

.breadcrums-link {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: var(--acsent);
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .breadcrums-text {
        font-family: var(--font-family);
        font-weight: 500;
        font-size: 16px;
        color: var(--grey);

        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media screen and (max-width: 567px) {
    .breadcrums-container {
        margin: 15px 15px 20px 15px;
        width: calc(100% - 30px);
    }

    .separator-holder {
        flex: 0 0 15px;
    }

    .breadcrums-text {
        max-width: 100%;
    }

    .breadcrums-text-container {
        flex: 0 0 auto;
    }

    .breadcrums-text-container:last-child {
        flex: 1;
        overflow: hidden;
    }
}

/*Application-section*/
.application-section__content {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    gap: 30px;
    padding: 0 20px;
    margin: 70px auto;
}

.application-section__content-left {
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 30px;
    flex: 0 0 410px;
    width: 100%;
    max-width: 410px;
}

.application-form__block {
    flex: 1;
    display: flex;
    flex-flow: column;
    width: 100%;
    align-items: flex-start;
    gap: 30px;
}

.application-form {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 20px;
    border-radius: 30px;
    padding: 30px;
    background: rgba(14, 40, 56, 1);
    position: relative;
}

.application-form::before {
    width: 100%;
    max-width: 50%;
    height: 100%;
    content: '';
    display: block;
    background: linear-gradient(270deg, rgba(6, 27, 40, 0) 0%, rgba(0, 120, 114, 0.24) 100%);
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
    border-radius: 30px 0 0 30px;
}

.application-form::after {
    width: 100%;
    max-width: 50%;
    height: 100%;
    content: '';
    display: block;
    background: linear-gradient(270deg, rgba(6, 27, 40, 0) 0%, rgba(0, 120, 114, 0.24) 100%);
    position: absolute;
    z-index: 0;
    right: 0;
    top: 0;
    border-radius: 30px 0 0 30px;
    transform: rotate(-180deg);
}

.application-form__title {
    flex: 0 0 100%;
    width: 100%;
    margin-bottom: 10px;
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 500;
    font-size: 28px;
    line-height: 34px;
    color: #FFFFFF;
}

.application-form .form-field {
    flex: 0 0 calc(33.3334% - 13.33334px);
    position: relative;
    z-index: 1;
}

.error-message {
    position: absolute;
    top: -18px;
    left: 0;
    color: var(--acsent);
    font-size: 13px;
    font-weight: 500;
}

.application-form input {
    height: 50px;
    width: 100%;
    border-radius: 14px;
    background: rgba(28, 74, 102, 44%);
    border: none;
    box-shadow: none;
    padding: 10px 20px;
}

.application-form input {
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: rgba(255, 255, 255, 1);
    position: relative;
    z-index: 1;
}

.application-form input::placeholder {
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: rgba(255, 255, 255, 34%);
}

.application-form input:focus {
    border-color: #888;
    outline: none;
}



.error-message {
    position: absolute;
    top: -18px;
    left: 20px;
    color: var(--acsent);
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
}

.application-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.application-form button {
    flex: 0 0 calc(66.6667% - 8.3334px);
    border-radius: 14px;
    background: linear-gradient(90deg, #FFC6B3 0%, #FB8D69 50%, #FFC6B3 100%);
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    color: #252525;
    border: none;
    box-shadow: none;
    outline: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 700;
    font-size: 52px;
    line-height: 62px;
    color: #0E2838;
}

.section-text,
.section-text p {
    font-family: var(--second-family);
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    line-height: 32px;
    color: #0E2838;
    margin: 0;
}

/*Key points section*/
.key-points-section {
    background-color: var(--bg);
    background-image: linear-gradient(270deg, rgba(0, 120, 114, 0.24), rgba(6, 27, 40, 0.24), rgba(0, 120, 114, 0.24));
    margin-bottom: 70px;
    padding: 50px 0;
}

.key-points-section .section-title {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    color: var(--white);
}

.key-points-list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    margin-top: 40px;
}

.key-point-item {
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    background: rgba(14, 40, 56, 0.64);
    border-radius: 30px;
    padding: 20px;
    flex: 0 0 calc(33.33334% - 20px);
    width: 100%;
    max-width: 100%;
    gap: 20px;
}

.key-point-item p {
    font-family: var(--second-family);
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 26px;
    color: #FFFFFF;
}

.key-point-item__number {
    width: 50px;
    height: 50px;
    background: rgba(6, 27, 40, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    line-height: 36px;
    leading-trim: both;
    text-edge: cap;
    text-align: center;
    color: #FB8D69;
}

/*Why chose*/
.why-choose-section .section-title {
    flex: 0 0 410px;
    gap: 30px
}

.benefits-grid {
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 40px;
    flex: 1;
    width: 100%;
}

.benefit-card {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    gap: 20px;
}

.benefit-card-icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
}

.benefit-card__content {
    flex: 1;
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    gap: 10px;
}

.benefit-title {
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 34px;
    color: #0E2838;
}

.benefit-text {
    font-family: var(--second-family);
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    line-height: 32px;
    color: #0E2838;
}

/*Messangers links*/
.messenger-links-block {
    padding: 50px 0;
    width: 100%;
    background: rgba(6, 27, 40, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 70px auto;
    border-radius: 50px;
    position: relative;
}

.messenger-links-block::before {
    width: 100%;
    max-width: 600px;
    height: 100%;
    content: '';
    display: block;
    background: linear-gradient(270deg, rgba(6, 27, 40, 0) 0%, rgba(0, 120, 114, 0.24) 100%);
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
    border-radius: 50px 0 0 50px;
}

.messenger-links-block::after {
    width: 100%;
    max-width: 600px;
    height: 100%;
    content: '';
    display: block;
    background: linear-gradient(270deg, rgba(6, 27, 40, 0) 0%, rgba(0, 120, 114, 0.24) 100%);
    position: absolute;
    z-index: 0;
    right: 0;
    top: 0;
    border-radius: 50px 0 0 50px;
    transform: rotate(-180deg);
}

.messenger-links-block-container {
    display: flex;
    flex-flow: row wrap;
    padding: 0 20px;
    gap: 40px 100px;
}

.messenger-links-block__list {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    gap: 100px;
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
}

.messenger-links-block__title {
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 700;
    font-size: 52px;
    line-height: 62px;
    color: #FFFFFF;
    margin-bottom: 0;
    flex: 0 0 100%;
}

.messenger-links-block__text {
    flex: 1;
}

.messenger-links-block__text p {
    font-family: var(--second-family);
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    line-height: 32px;
    color: #FFFFFF;
}

.messenger-links-block__list-item {
    flex: 0 0 auto;
    width: 100%;
    max-width: max-content;
    display: flex;
    border-radius: 20px;
    height: auto;
    padding: 0;
}

.messenger-links-block__list-item-icon {
    background: rgba(14, 40, 56, 64%);
    width: 80px;
    height: 80px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
}

.messenger-links-block__list-item-link {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 34px;
    color: #FFFFFF;
    width: 100%;
}

.messenger-links-block__list-item img {
    width: 30px;
    height: 30px;
}

.info-placeholder,
.desc-placeholder {
    display: none;
}

@media screen and (max-width: 1240px) {
    .application-section__content-left {
        flex: 0 0 30%;
    }

    .messenger-links-block {
        max-width: calc(100% - 100px);
    }

    .messenger-links-block__list-item-link {
        font-size: 24px;
    }
}

@media screen and (max-width: 1100px) {
   
    .messenger-links-block{
        max-width: 100%!important;
    }
}

@media screen and (max-width: 1024px) {
    .application-section__content {
        flex-flow: column;
    }

    .application-section__content-left {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        flex-flow: row;
        gap: 20px;
    }

    .sg-container {
        max-width: 100%;
    }

    .messenger-links-block {
        border-radius: 0;
    }

    .messenger-links-block::before,
    .messenger-links-block::after {
        border-radius: 0;
    }

    .application-section .section-title {
        flex: 0 0 auto;
        max-width: 410px;
    }

    .application-section .section-text {
        flex: 1;
        max-width: 1000%;
    }

    .messenger-links-block__list {
        flex-wrap: wrap;
        gap: 30px;
    }

    .messenger-links-block-container {
        gap: 40px 50px;
    }

    .messenger-links-block__list-item {
        flex: 0 0 auto;
    }

    .messenger-links-block__list-item-link {
        font-size: 20px;
        line-height: 27px;
    }
}

@media screen and (max-width: 900px) {
    .application-section .section-title {
        flex: 0 0 auto;
        max-width: min-content;
    }
}

@media screen and (max-width: 768px) {
    .messenger-links-block__list-item img {
        width: 30px;
        height: 30px;
    }

    .messenger-links-block-container {
        gap: 30px;
    }

    .messenger-links-block {
        padding: 30px 0;
    }

    .messenger-links-block__list {
        flex: 0 0 100%;
        max-width: 100%;
        justify-content: flex-start;
    }

    .section-title {
        font-size: 44px;
        line-height: 53px;
    }

    .application-form::before,
    .application-form::after,
    .messenger-links-block::before,
    .messenger-links-block::after {
        width: 40%;
    }

    .application-section__content,
    .messenger-links-block {
        margin: 50px auto;
    }

    .application-section__content-left {
        flex-flow: column;
    }

    .application-section .section-title {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .key-points-section {
        padding: 30px 0;
        margin-bottom: 50px;
    }

    .key-points-list {
        flex-flow: column;
        gap: 20px;
        margin-top: 20px;
        height: 100%;
        flex: 0 0 100%;
    }

    .why-choose-section .section-title {
        flex: 0 0 100%;
    }

    .why-choose-section__content {
        flex-flow: column;
        gap: 30px
    }

    .benefits-grid {
        flex-flow: row wrap;
        gap: 20px;
    }

    .benefit-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media screen and (max-width: 650px) {
    .application-form__title {
        margin-bottom: 0;
    }

    .application-form .form-field {
        flex: 0 0 calc(50% - 10px);
    }

    .application-form .form-field.location,
    .application-form button,
    .benefit-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 560px) {
    .messenger-links-block__title {
        font: normal 700 30px/40px var(--second-family);
    }

    .application-section__content,
    .messenger-links-block {
        margin: 40px auto;
    }

    .application-form .form-field {
        flex: 0 0 100%;
    }

    .application-form {
        padding: 10px 15px;
    }

    .application-section__content-left {
        gap: 10px;
    }

    .application-form__block,
    .application-section__content {
        gap: 15px;
    }

    .application-form__title {
        font-size: 24px;
        line-height: 29px;
        text-align: center;
    }

    .key-points-section {
        padding: 20px 0;
        margin-bottom: 40px;
    }

    .sg-inner-container {
        padding-inline: 15px !important;
    }

    .messenger-links-block {
        padding: 20px 0;
    }

    .work-content-wrapper__content {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 32px;
        line-height: 38px;
    }

    .benefit-title {
        font-size: 24px;
        line-height: 29px;
    }

    .work-content-wrapper__content-title {
        font-size: 28px;
        line-height: 33px;
        margin-bottom: 15px;
    }

    .work-content-wrapper__content-text p {
        font-size: 15px;
    }

    .messenger-links-block__list-item {
        flex: 0 0 100%;
    }

    .messenger-links-block {
        padding: 30px 0;
    }

    .messenger-links-block__list {
        gap: 15px;
    }

    .messenger-links-block__list-item-link {
        font-size: 17px;
        line-height: 20px;
    }

    .messenger-links-block__list-item img {
        width: 24px;
        height: 24px;
    }

    .messenger-links-block__list-item-icon {
        width: 50px;
        height: 50px;
    }

    .messenger-links-block .sg-services-container {
        padding: 0 15px;
    }
}

@media screen and (max-width: 475px) {
    .benefit-card-icon {
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
    }
}