@font-face {
    font-family: 'Aller';
    src: url('../fonts/Aller/Aller_Bd.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Aller';
    src: url('../fonts/Aller/Aller_BdIt.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}
@font-face {
    font-family: 'Aller';
    src: url('../fonts/Aller/Aller_It.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'Aller';
    src: url('../fonts/Aller/Aller_Lt.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Aller';
    src: url('../fonts/Aller/Aller_LtIt.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}
@font-face {
    font-family: 'Aller';
    src: url('../fonts/Aller/Aller_Rg.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
font-family: 'Open Sans Hebrew';
src: url('../fonts/open-sans-hebrew/Open Sans Hebrew Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}
@font-face {
    font-family: 'Open Sans Hebrew';
    src: url('../fonts/open-sans-hebrew/Open Sans Hebrew Bold.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Lidar';
    src: url('../fonts/Lidar/FbLiddar-Boldwebfont.eot'); /* IE9 Compat Modes */
    src: url('../fonts/Lidar/FbLiddar-Boldwebfont.eot?#iefix') format('embedded-opentype'), /* IE6–IE8 */
    url('../fonts/Lidar/FbLiddar-Boldwebfont.woff') format('woff'),   /* Modern browsers */
    url('../fonts/Lidar/FbLiddar-Boldwebfont.ttf') format('truetype'); /* Safari, Android, iOS */
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Lidar';
    src: url('../fonts/Lidar/FbLiddar-Boldwebfont.eot'); /* IE9 Compat Modes */
    src: url('../fonts/Lidar/FbLiddar-Boldwebfont.eot?#iefix') format('embedded-opentype'), /* IE6–IE8 */
    url('../fonts/Lidar/FbLiddar-Boldwebfont.woff') format('woff'),   /* Modern browsers */
    url('../fonts/Lidar/FbLiddar-Boldwebfont.ttf') format('truetype'); /* Safari, Android, iOS */
    font-weight: 500;
    font-style: normal;
}

fieldset {
    all: unset;
    display: block;
}
button, input[type="radio" i], p {
    all: unset;
}
* {
    box-sizing: border-box;
}
body {
    font-family: 'Open Sans Hebrew', serif;
    /*
    font-family: 'Lidar', serif;
    */
    margin: 0;
}
.site {
    background-image: url(../img/backdround.jpg);
    min-height: 100dvh;
    padding: 36px 0 55px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.form {
    display: inline-flex;
    width: 690px;
    padding: var(--paddings-spasing-32, 32px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: var(--paddings-spasing-24, 24px);
    flex-shrink: 0;
    border-radius: var(--curners-xl, 24px);
    background: var(--Beige-Beige-200, #F9F3EE);
}
.form__progress {
    display: flex;
    width: 396px;
    height: 5px;
    justify-content: flex-start;
    background: var(--Primary-Primary-200, #D1A7A6);
    border-radius: 5px;
    margin: 0 auto;
}
.form__progress__value {
    border-radius: 5px;
    width: calc(100% / 13);
    height: 100%;
    background: var(--Primary-Primary-500, #95332F);
    position: relative;
}
.form__progress__value:after {
    content: url("../img/star.svg");
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -9px);
}
.form__step {
    display: flex;
    flex-direction: column;
    padding: 0 38px;
}
.form__step#step-1,
.form__step#step-13 {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 0;
    padding: 6px 0;
    height: auto;
}
.form__step#step-12 {
    align-self: center;
    margin-top: 59px;
    gap: 24px;
}
.form__step__main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.form__step__main__img {
    width: 99px;
}
.form__step__main__title {
    color: var(--Primary-Primary-500, #95332F);
    text-align: center;
    font-size: var(--title-headings-h2-size, 32px);
    font-style: normal;
    font-weight: var(--title-headings-h2-wight, 500);
    line-height: 140%; /* 44.8px */
}
.form__step__descr {
    width: 399px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    text-align: center;
    color: var(--Primary-Primary-500, #302D2B);

    font-size: var(--title-headings-h4-size, 20px);
    font-style: normal;
    font-weight: var(--title-headings-h4-wight, 400);
    line-height: 160%;
}
.form__step#step-13 .form__step__descr {
    gap: 16px;
}
.form__step__img {
    width: 223px;
    height: auto;
}
.form__step__img_mob {
    display: none;
}
.form__next {
    width: 40px;
    height: 40px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #BD817E;
    align-self: flex-end;
}
.form__next.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}
.form__step__title {
    color: var(--Primary-Primary-500, #95332F);
    text-align: right;
    font-size: var(--title-headings-h3-size, 24px);
    font-style: normal;
    font-weight: var(--title-headings-h3-wight, 500);
    line-height: 140%; /* 33.6px */
    margin-bottom: 32px;
}
.form__step__questions {
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.form__step#step-12 .form__step__questions {
    align-items: center;
}
.form__step__questions label {
    color: var(--Primary-Primary-500, #302D2B);
    text-align: right;

    /* body text/medium */
    font-size: var(--body-text-medium-size, 18px);
    font-style: normal;
    font-weight: var(--body-text-medium-wight, 400);
    line-height: 140%; /* 25.2px */
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}
.form__step__questions input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 26px;
    height: 26px;
    border: 1px solid #772926;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    margin-left: 8px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    justify-content: center;
}

/* внутренний кружок при выборе */
.form__step__questions input[type="radio"]:checked::before {
    content: "";
    width: 22px;
    height: 22px;
    background: #772926;
    border-radius: 50%;
}
.form__step__questions input[type="text"],
.form__step__questions input[type="email"] {
    display: flex;
    width: 100%;
    height: 40px;
    padding: var(--paddings-spasing-4, 4px) var(--paddings-spasing-16, 16px);
    justify-content: flex-end;
    align-items: center;
    gap: var(--paddings-spasing-8, 8px);
    border-radius: var(--curners-lg, 16px);
    border: 1px solid var(--Primary-Primary-100, #E5CCCB);
    background: var(--Beige-Beige-200, #F9F3EE);
    color: var(--Beige-Beige-800, #605A56);
    text-align: right;

    /* body text/medium */
    font-size: var(--body-text-medium-size, 18px);
    font-style: normal;
    font-weight: var(--body-text-medium-wight, 400);
    line-height: 140%; /* 25.2px */
}
.form__step__questions input[type="text"]:focus-visible,
.form__step__questions input[type="email"]:focus-visible {
    border: 1px solid var(--Primary-Primary-500, #95332F);
    outline: none;
}
.form__step__questions label span {
    position: absolute;
    right: 16px;
    color: var(--Beige-Beige-600, #C1B5AD);
    text-align: right;
    font-size: var(--body-text-medium-size, 18px);
    font-style: normal;
    font-weight: var(--body-text-medium-wight, 400);
    line-height: 140%; /* 25.2px */
}
.form__step__questions input[type="text"] {
    padding-right: 92px;
}
.form__step__questions input[type="email"] {
    padding-right: 70px;
}
.form__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 180px;
    height: 40px;
    border-radius: var(--border-radius-border-radius-sm, 8px);
    border: 1px solid var(--Primary-Primary-300, #BD817E);
    background: var(--Beige-Beige-50, #FEFEFD);
    color: var(--Primary-Primary-500, #95332F);
    text-align: center;
    font-size: var(--button-medium-size, 20px);
    font-style: normal;
    font-weight: var(--button-medium-waight, 400);
    line-height: 140%; /* 22.4px */
    text-decoration: none;
    cursor: pointer;
}
.form__social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
.form__social a {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--Primary-Primary-500, #302D2B);
    font-size: var(--title-headings-h4-size, 20px);
    font-style: normal;
    font-weight: var(--title-headings-h4-wight, 400);
    line-height: 160%; /* 32px */
}
@media screen and (max-width: 768px) {
    .form {
        width: 91%;
        height: auto;
        padding: var(--paddings-spasing-32, 24px);
        gap: var(--paddings-spasing-12, 12px);
    }
    .form__progress {
        width: 91%;
    }
    .form__step {
        height: auto;
    }
    .form__step {
        padding: 0;
    }
    .form__step#step-1,
    .form__step#step-13 {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        height: auto;
    }
    .form__step__descr {
        width: 100%;
        margin-top: 4px;
        gap: 24px;
    }
    .form__step__img {
        width: 30%;
        display: none;
    }
    .form__step__img_mob {
        display: block;
    }
    .form__step__questions {
        margin-top: 24px;
    }
    .form__step__questions input[type="text"],
    .form__step__questions input[type="email"] {
        width: 100%;
    }
}
