.section--demo-form {
    margin-top: 60px;
}

.demo-form {
    background-color: #6F948D;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 50px 30px 30px 30px;
    border-radius: 20px;
    gap: 30px;
}

.popup-demo__title {
    text-align: center;
}

.demo-form .demo-form__product-name {
    position: absolute;
    margin: 0;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFFFFF;
    color: #6F948D;
    align-items: center;
    text-wrap: nowrap;
    padding: 8px 10px;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 300;
    font-family: "Korataki";
    border-radius: 5px;
    display: flex;
    gap: 10px;
}

.demo-form h5.demo-form__product-name p {
    margin: 0;
}

.demo-form .demo-form__product-name .demo-form__product-abbr {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    writing-mode: sideways-lr;
    box-sizing: content-box;
    font-family: Korataki;
    font-size: 5px;
    line-height: 5px;
    font-weight: 400;
    border-radius: 2px;
    white-space: nowrap;
    /* padding: 0px 1px 1px 2px; */
    padding: 1px 2px 1px 2px;
    background-color: #6F948D;
    color: #FFFFFF;
}

.demo-form .demo-form__product-name .demo-form__product-abbr--se {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-family: Korataki;
    height: stretch;
    font-size: 9px;
    line-height: 9px;
    font-weight: 400;
    border-radius: 2px;
    white-space: nowrap;
    /* padding: 0px 1px 1px 2px; */
    padding: 3px 3px 1px 2px;
    background-color: #b9dbcd;
    color: #FFFFFF;
}

.demo-form .demo-form__product-name .demo-form__product-abbr svg {
    width: 4px;
    height: 16px;
}

.demo-form .demo-form__product-name p {
    height: 15px;
}

.demo-form .demo-form__button {
    font-size: 24px;
    font-weight: 100;
    line-height: 26px;
    text-align: center;
    padding: 20px 30px;
    border-radius: 5px;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    background-color: transparent;
    align-self: center;
    transition: .5s all;
}

.demo-form .demo-form__button b {
    font-weight: 500;
}

.demo-form .demo-form__button:hover {
    background-color: #FFFFFF;
    color: #668d87;
}

.demo-form .btn.btn--green {
    background: #FFFFFF;
    color: #64968D;
}

.demo-form .btn.btn--green {
    min-width: 60%;
}

.demo-form .btn.btn--green.btn--ico-arrow-angle::before {
    background-color: #64968D;
}

.demo-form .btn.btn--green.btn--ico-arrow-angle::after {
    color: #FFFFFF;
    background-color: #64968D;
}

.demo-form .btn.btn--green.btn--ico-arrow-angle span {
    flex: 1;
    font-size: 14px;
    font-weight: 400;
}

.demo-form .demo-form__contacts-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.demo-form .demo-form__contacts-inner .contacts__item a {
    color: #FFFFFF;
    font-size: 21px;
    font-weight: 400;
    margin: 0;
    text-align: center;
}

.demo-form .demo-form__contacts-inner .contacts__item.contacts__item--phone {
    display: flex;
    flex-direction: column;
}

.demo-form .demo-form__contacts-inner .contacts__item--email {
    order: -1;
}

.demo-form__contacts-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.show_tel {
  display: none !important;
}

.pbi_tel {
  font-size: 18px;
  display: flex;
  flex-direction: column;
  padding-bottom: 17px;
}

.pbi_tel a {
  padding-bottom: 5px;
}

.demo-form .inner .demo-form__input-wrapper .demo-form__input {
    font-size: 14px;
    font-weight: 100;
    padding: 18px;
    border: 1px solid #E2E2E2;
    align-self: center;
    border-radius: 5px;
    max-width: 400px;
    width: 100%;
}

@media (min-width: 992px) {
    .section--demo-form {
        margin-top: 80px;
    }

    .demo-form {
        max-width: 1050px;
        margin: 0 auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .demo-form .demo-form__contacts-inner .contacts__item a {
        text-align: end;
    }

    .demo-form .demo-form__contacts-inner {
        align-items: flex-end;
    }

    .demo-form::before {
        content: '';
        display: block;
        flex: 1;
    }

    .demo-form .btn.btn--green.btn--ico-arrow-angle:hover span {
        color: #FFFFFF;
    }

    .demo-form .btn.btn--green.btn--ico-arrow-angle:hover {
        cursor: pointer;
    }

    .demo-form::after {
        content: "";
        position: absolute;
        width: 70%;
        height: 75%;
        border-bottom: 273px solid #658D85;
        border-left: 370px solid transparent;
        right: 0;
        bottom: 0;
        border-bottom-right-radius: 20px;
        border-top-right-radius: 20px;
    }

    .demo-form .demo-form__product-name {
        top: 0;
        left: 30px;
        z-index: 2;
        transform: translate(0%, -50%);
    }

    .demo-form .demo-form__button {
        z-index: 1;
    }

    .demo-form__contacts-wrapper {
        z-index: 1;
        flex: 1;
        align-items: flex-end;
    }
}

@media (min-width: 1200px) {
    .section--demo-form {
        margin-top: 110px;
    }

    .demo-form .demo-form__product-name {
        font-size: 30px;
        line-height: 30px;
        left: 45px;
    }

    .demo-form .demo-form__product-name p {
        height: 26px;
    }

    .demo-form .demo-form__product-name {
      gap: 10px;
    }

    .demo-form .demo-form__button {
        font-size: 36px;
        line-height: 38px;
    }

    .demo-form .demo-form__product-name .demo-form__product-abbr {
        font-size: 8px;
        line-height: 8px;
        padding: 3px 4px 3px 4px;
    }

    .demo-form .demo-form__product-name .demo-form__product-abbr--se {
        font-size: 18px;
        line-height: 18px;
        padding: 3px 5px 0px 4px;
    }

    .demo-form .demo-form__product-name .demo-form__product-abbr svg {
        width: 7.25px;
        height: 25px;
    }
}

@media (min-width: 1500px) {
    .demo-form .btn.btn--green.btn--ico-arrow-angle {
        min-width: 191px;
    }

    .demo-form::after {
        border-bottom: 283px solid #658D85;
    }
}

/* @media (min-width: 1600px) {
    .demo-form .demo-form__product-name .demo-form__product-abbr {
        padding: 0px 1px 1px 3px;
    }
} */