.thank .first__content-left h1 {
    padding-top: 100px;
}


.certificate-section {
    position: relative;
    overflow: hidden;
    z-index: 9999;
    margin: 100px 0;
}


.certificate-section .container {
    position: relative;
    z-index: 1;
}

.certificate-section__title {
    margin: 0 0 36px;
    text-align: center;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #1b1b1b;
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.certificate-card {
    display: flex;
    flex-direction: column;
    /*min-height: 434px;*/
    padding: 20px;
    border: 1px solid #dddddd;
    border-radius: 18px;
    background: #ffffff;
    height: fit-content;
}

.certificate-card__image {
    width: 100%;
    height: 128px;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 8px;
}

.certificate-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.certificate-card__title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 600;
    color: #ff0000;
}

.certificate-card__text {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.18;
    font-weight: 400;
    color: #202020;
}

.certificate-card__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 40px;
    margin-top: auto;
    padding: 10px 18px;
    border-radius: 999px;
    background: #eeeeee;
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
    color: #202020;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
}

.certificate-card__btn:hover {
    background: #ff0000;
    color: #ffffff;
}

.certificate-card__arrow {
    flex-shrink: 0;
    font-size: 20px;
    line-height: 1;
}

/* adaptive */
@media (max-width: 1200px) {
    .certificate-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .certificate-card {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .certificate-section {
        padding: 0;
        margin: 50px 0;
    }

    .certificate-section::before {
        left: -180px;
        top: -180px;
        width: 360px;
        height: 420px;
    }

    .certificate-section__title {
        margin-bottom: 28px;
        font-size: 30px;
        line-height: 1.12;
    }

    .certificate-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .certificate-card {
        padding: 18px;
        border-radius: 16px;
    }

    .certificate-card__image {
        height: 180px;
    }

    .certificate-card__title {
        font-size: 18px;
    }

    .certificate-card__text {
        font-size: 15px;
        line-height: 1.25;
    }
}

@media (max-width: 480px) {
    .certificate-section__title {
        font-size: 26px;
    }

    .certificate-card__image {
        height: fit-content;
    }
}

.expert-help {
    padding: 40px 0 60px;
    background: #f6f1f1;
}

.expert-help__wrap {
    position: relative;
    overflow: hidden;
    padding: 34px 52px;
    border-radius: 20px;
    background: linear-gradient(102deg, #FF8413 0.69%, #E66E00 100.91%);
}
.expert-help-decor {
    position: absolute;
    bottom: 0;
    right: 0;
}
.expert-help__wrap::before,
.expert-help__wrap::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
}



.expert-help__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 24px;
}

.expert-help__info {
    max-width: 330px;
}

.expert-help__title {
    margin: 0 0 14px;
    font-size: 42px;
    line-height: 1.08;
    font-weight: 600;
    color: #fff;
}

.expert-help__text {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 400;
    color: #fff;
}


.expert-help__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-help__form-box {
    width: 100%;
}

.expert-help__form {
    padding: 34px 28px 30px;
    border-radius: 22px;
    background: #f9f9f9;
}

.expert-help__field {
    margin-bottom: 10px;
}

.expert-help__field input {
    width: 100%;
    height: 50px;
    padding: 0 18px;
    border: 1px solid #e1e1e1;
    border-radius: 999px;
    outline: none;
    background: #f5f5f5;
    font-size: 15px;
    color: #222;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.expert-help__field input::placeholder {
    color: #9a9a9a;
}

.expert-help__field input:focus {
    border-color: #d5d5d5;
    background: #fff;
}

.expert-help__agree {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 20px;
    cursor: pointer;
}

.expert-help__agree input {
    display: none;
}

.expert-help__agree-check {
    position: relative;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    background: #fff;
}

.expert-help__agree input:checked + .expert-help__agree-check::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 12px;
    line-height: 1;
    color: #e52a1b;
    transform: translate(-50%, -54%);
}

.expert-help__agree-text {
    font-size: 12px;
    line-height: 1.35;
    color: #7b7b7b;
}

.expert-help__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 12px 20px;
    border: none;
    border-radius: 999px;
    background: #e52a1b;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.expert-help__btn:hover {
    background: #cc2013;
}

.expert-help__btn:active {
    transform: translateY(1px);
}

/* tablet */
@media (max-width: 1199px) {
    .expert-help__content {
        grid-template-columns: 1fr 320px;
        gap: 24px;
    }

    .expert-help__info {
        max-width: 100%;
    }

    .expert-help__image {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        max-width: 320px;
        margin: 0 auto;
    }

    .expert-help__form-box {
        grid-column: 2 / 3;
        grid-row: 1 / 3;
    }
}

/* mobile */
@media (max-width: 767px) {
    .expert-help {
        padding: 30px 0 40px;
    }

    .expert-help__wrap {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .expert-help__wrap::before {
        width: 220px;
        height: 100px;
        right: 40px;
        top: -20px;
    }

    .expert-help__wrap::after {
        width: 220px;
        height: 100px;
        right: -60px;
        bottom: 10px;
    }

    .expert-help__content {
        grid-template-columns: 1fr;
        gap: 24px;
        justify-content: center;
    }
    .expert-help__info {
        text-align: center;
    }

    .expert-help__info {
        max-width: 100%;
        text-align: left;
    }

    .expert-help__title {
        font-size: 32px;
        text-align: center;
    }

    .expert-help__text {
        font-size: 14px;
        text-align: center;
    }

    .expert-help__image {
        grid-column: auto;
        grid-row: auto;
        max-width: 290px;
    }

    .expert-help__form-box {
        grid-column: auto;
        grid-row: auto;
    }

    .expert-help__form {
        padding: 24px 18px;
    }

    .expert-help__btn {
        font-size: 15px;
    }
}

.first__content-bottom {
    margin-bottom: -100px;
    position: relative;
    top: -150px;
}
.certificate-form {
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 0;
    padding: 44px 38px 48px;


    border-radius: 22px;
    border: 1px solid #EEE;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 9px 14px 0 rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(12px);
    min-height: 250px;

    text-align: left !important;
}

.certificate-form__title {
    margin: 0 0 18px;
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
    color: #1b1b1b;
}

.certificate-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 370px;
    gap: 10px;
    align-items: center;
}

.certificate-form .certificate-form__input {
    width: 100%;
    height: 64px;
    margin: 0;
    padding: 0 24px;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: none;
    outline: none;
    font-size: 17px;
    line-height: 1;
    font-weight: 400;
    color: #1b1b1b;
}

.certificate-form .certificate-form__input::placeholder {
    color: #8e8e8e;
}

.certificate-form .certificate-form__input:focus {
    border-color: #d4d4d4;
    background: #ffffff;
}

.certificate-form .certificate-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 64px;
    margin: 0;
    padding: 0 28px;
    border: none;
    border-radius: 999px;
    background: #ed0000;
    box-shadow: none;
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.certificate-form .certificate-form__submit:hover {
    background: #d90000;
}

.certificate-form .certificate-form__submit:active {
    transform: translateY(1px);
}

.certificate-form__checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 0;
    margin-top: 0;
    padding: 0;
    text-align: left;
}

.certificate-form__checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.certificate-form__checkbox label {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    margin: 0;
    padding-left: 38px;
    cursor: pointer;
}

.certificate-form__checkbox label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 22px;
    height: 22px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background: #ffffff;
    transform: translateY(-50%);
}

.certificate-form__checkbox label::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 50%;
    width: 10px;
    height: 6px;
    border-left: 2px solid #ed0000;
    border-bottom: 2px solid #ed0000;
    opacity: 0;
    transform: translateY(-65%) rotate(-45deg);
}

.certificate-form__checkbox input:checked + label::after {
    opacity: 1;
}

.certificate-form__checkbox a {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 400;
    color: #7e7e7e;
    text-decoration: none;
}

.certificate-form__checkbox a:hover {
    color: #ed0000;
}

/* adaptive */
@media (max-width: 1200px) {
    .certificate-form__row {
        grid-template-columns: 1fr 1fr;
    }

    .certificate-form .certificate-form__submit {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {

    .first__content-bottom {
        margin-bottom: -99px;
        position: relative;
        top: -92px;
    }

    .certificate-form {
        padding: 28px 18px 30px;
        border-radius: 22px;
    }

    .certificate-form__title {
        margin-bottom: 18px;
        font-size: 16px;
    }

    .certificate-form__row {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }

    .certificate-form .certificate-form__input,
    .certificate-form .certificate-form__submit {
        height: 56px;
    }

    .certificate-form .certificate-form__submit {
        grid-column: auto;
        font-size: 17px;
    }

    .certificate-form__checkbox {
        margin-top: 18px;
    }

    .certificate-form__checkbox a {
        font-size: 13px;
    }
}