: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;
}

/* container */
.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;
    }
}

.contacts-content-wrapper {
    margin: 70px auto;

}

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

.contacts-content-wrapper__title {
    font-weight: 700;
    font-style: normal;
    font-size: 52px;
    line-height: 61px;
    letter-spacing: 0;
    text-align: center;
    color: var(--black);
    margin-top: 0;
}

.contacts-content-wrapper__content {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: space-between;
    column-gap: 30px;
}

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

.contacts-content-wrapper-right {
    display: flex;
    flex-flow: column;
    row-gap: 40px;
    flex: 1;
    width: 100%;
    max-width: 100%;
}

.contacts-description-list {
    display: flex;
    flex-flow: column;
    flex: 1;
    width: 100%;
    max-width: 100%;
    gap: 40px;
}

.contacts-description-list__item {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.contacts-description-list__item-icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
}

.contacts-description-list__item-text {
    flex: 1;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    gap: 10px;
}

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

.contacts-description-list__item-description {
    display: flex;
    flex-flow: column;
}

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

.contacts-description-list__item-description p a {
    color: var(--acsent);
}

/*Contact links*/
/*Messangers links*/
.contacts-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;
}

.contacts-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;
}

.contacts-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);
}

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

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

.contacts-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%;
}

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

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

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

.contacts-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;
}

.contacts-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%;
}

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

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

.contacts-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;
}

.contacts-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;
}

.contacts-form .form-field {
    flex: 0 0 calc(50% - 10px);
    position: relative;
    z-index: 1;
}

.contacts-form .form-field.message {
    flex: 0 0 100%;
    position: relative;
    z-index: 1;
}

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

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

.contacts-form input,
.contacts-form textarea {
    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;
}

.contacts-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%);
}

.contacts-form input:focus,
.contacts-form textarea:focus {
    border-color: #888;
    outline: none;
}

.form-field input.error,
.form-field textarea.error {
    border: 1px solid var(--acsent);
}

.contacts-form textarea {
    height: auto;
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
    background: rgba(28, 74, 102, 44%);
    border: none;
    box-shadow: none;
    padding: 15px 20px;
    flex: 0 0 100%;
}

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

.contacts-form button {
    flex: 0 0 100%;
    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;
    width: 100%;
    max-width: max-content;
    margin: 0 auto;
}

@media screen and (max-width: 1240px) {
    .sg-inner-container {
        padding-inline: var(--sg-container-sm-padding);
    }

    .contacts-content-wrapper__content {
        gap: 40px;
    }

   

    .contacts-links-block__list {
        gap: 30px;
    }

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

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

    .contacts-content-wrapper__content {
        gap: 20px;
    }

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

    .sg-container,
    .contacts-links-block {
        max-width: 100% !important;
        border-radius: 0;
    }

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

@media screen and (max-width: 990px) {
    .contacts-content-wrapper__content {
        gap: 30px;
        flex-flow: column;
    }

    .contacts-links-block__list {
        flex-flow: column;
        justify-content: center;
        align-items: center;
    }

    .contacts-content-wrapper .section-title {
        flex: 0 0 auto;
        max-width: 100%;
    }
}

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

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

    .contacts-description-list {
        gap: 30px;
    }

    .contacts-links-block {
        margin: 50px auto;
    }

    .contacts-content-wrapper {
        margin: 50px auto;
    }
}

@media screen and (max-width: 560px) {
    .contacts-content-wrapper__title {
        margin-top: 20px;
        margin-bottom: 15px;
        font-size: 34px;
        line-height: 40px;
    }

    .contacts-links-block-container {
        flex-flow: column;
        gap: 15px;
        padding: 0 15px !important;
    }

    .contacts-links-block__list {
        flex-flow: row;
    }

    .contacts-form {
        padding: 15px 10px;
        gap: 10px;
    }

    .contacts-form__title {
        margin-bottom: 0;
        text-align: center;
        font-size: 24px;
        line-height: 29px;
    }

    .contacts-content-wrapper,
    .contacts-links-block {
        margin: 40px auto;
    }

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

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

    .contacts-content-wrapper .sg-inner-container {
        padding-inline: 0;
    }

    .contacts-description-list {
        gap: 20px;
    }

    .contacts-description-list__item-title {
        font-size: 24px;
        line-height: 29px;
    }

    .contacts-description-list__item-description * {
        font-size: 15px !important;
        line-height: 26px !important;
    }

    .contacts-content-wrapper__content {
        border-radius: 0;
        padding: 0 15px;
        row-gap: 20px;
    }

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

    .contacts-description-list__item {
        gap: 10px;
    }

    .contacts-description-list__item-icon {
        flex: 0 0 32px;
    }

    .contacts-description-list__item-icon img {
        width: 32px;
        height: 32px;
    }
}

@media screen and (max-width: 475px) {
    .contacts-form .form-field {
        flex: 0 0 100%;
    }

    .contacts-form button {
        max-width: 100%;
    }
}