:root {
    --accent: #8BB4BE;
    --green: #8cb846;
    --font: "Lato", sans-serif;
    --accent-font: "Kirvy", sans-serif;
}
@font-face {
    font-family: 'Kirvy';
    src: url('../fonts/Kirvy-Bold.eot');
    /*
    src: url('../fonts/Kirvy-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Kirvy-Bold.woff2') format('woff2'),
        url('../fonts/Kirvy-Bold.woff') format('woff'),
        url('../fonts/Kirvy-Bold.ttf') format('truetype'),
        url('../fonts/Kirvy-Bold.svg#Kirvy-Bold') format('svg');*/
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Regular.eot');
    /*
    src: url('../fonts/Lato-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Lato-Regular.woff2') format('woff2'),
        url('../fonts/Lato-Regular.woff') format('woff'),
        url('../fonts/Lato-Regular.ttf') format('truetype'),
        url('../fonts/Lato-Regular.svg#Lato-Regular') format('svg');*/
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Bold.eot');
    /*
    src: url('../fonts/Lato-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Lato-Bold.woff2') format('woff2'),
        url('../fonts/Lato-Bold.woff') format('woff'),
        url('../fonts/Lato-Bold.ttf') format('truetype'),
        url('../fonts/Lato-Bold.svg#Lato-Bold') format('svg');*/
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
b {
    font-weight: 700;
}
:focus {
    outline: none;
}
.wrapper {
    max-width: 600px;
    margin: auto;
    padding: 0 10px;
}
html {
    height: 100%;
    overflow-x: hidden;
    font-size: 16px;
}
body {
    font-family: var(--font);
    font-size: 1rem;
    overflow-x: hidden;
    color: var(--color);
    font-weight: 400;
    line-height: 140%;
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
}
img {
    max-width: 100%;
}
label {
    display: block;
}
textarea,
input[type="text"],
input[type="tel"],
input[type="email"] {
    display: block;
    width: 100%;
    height: 37px;
    border: none;
    border-bottom: 1px solid var(--accent);
    background-color: transparent;
    font-size: 20px;
}
::placeholder {
    color: var(--accent);
}
.input-help {
    color: var(--accent);
    font-size: 12px;
    margin-top: 5px;
}
textarea {
    height: auto;
}
.checkbox {
    position: relative;
}

.dropzone {
    position: relative;
    border: 2px dashed #8BB4BE;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    background-color: #F0F5F7;
}

.dropzone.dragover {
    border-color: #4A90E2;
    background-color: rgba(74, 144, 226, 0.1);
}

.dropzone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.dropzone__caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.dropzone__caption-title {
    font-size: 16px;
    color: #333;
}

.dropzone__caption-title span {
    color: #4A90E2;
}

.dropzone__caption-title b {
    color: #8BB4BE;
}

.dropzone__caption-title div {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

strong {
    font-weight: 700;
}
h1,h2,h3,h4 {
    font-weight: 700;
    margin-top: 30px;
}
h4 {
    font-size: 18px;
    line-height: 30px;
}
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child {
    margin-top: 0;
}
p {
    font-size: 14px;
    line-height: 24px;
}

.error {
    background-color: #FFD4C5;
    color: #ED7C57;
    padding: 4px 10px;
    margin-top: 14px;
    align-items: center;
    gap: 5px;
    border-radius: 4px;
    font-size: 12px;
    display: none;
}
.error.active {
    display: inline-flex;
}
.btn {
    background-color: var(--green);
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 2.5625em;
    margin-top: 0;
    margin-bottom: 2px;
    padding: .6875em 1.0625em;
    font-size: 1em;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    border: none;
    transition: all .2s;
    display: flex;
    max-width: 100%;
}
.btn:hover {
    background-color: #a4d35a;
}
.steps {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.step.prev {
    transform: translateY(-100%);
    opacity: 0;
}

.step.next {
    transform: translateX(100%);
}

.desc {
    padding: 40px 0;
    background-color: #F5F5F5;
}

.desc__title {
    font-family: var(--accent-font);
    font-weight: 700;
    font-size: 34.1692px;
    line-height: 100%;
    letter-spacing: -0.05em;
    color: #2D2C2E;
    margin-bottom: 30px;
}
.desc__help {
    position: relative;
    display: flex;
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden;
}
.desc__help-num {
    flex: 0 0 60px;
    background-color: var(--accent);
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    padding-top: 27px;
    display: flex;
    justify-content: center;
}
.desc__help-block {
    flex: 0 0 calc(100% - 60px);
    padding: 30px 38px 30px 25px;
    font-size: 18px;
    line-height: 28px;
}
.form {
    padding: 40px 10px;
}
.form label {
    font-size: 20px;
    margin-bottom: 12px;
}
.form .form-group__title {
    margin-bottom: 20px;
    color: var(--green);
}
.form .form-group {
    margin-bottom: 52px;
}
.form .form-group:last-child {
    margin-bottom: 0;
}
.form .form-button button {
    width: 192px;
}
.form__tab {
    display: none;
}
.form__tab.active {
    display: block;
}
.footer {
    padding-bottom: 40px;
}
.footer__up,
.footer__down {
    background-color: var(--accent);
    width: 36px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.footer__up svg,
.footer__down svg {
    opacity: .6;
}
.footer__up.active svg,
.footer__down.active svg {
    opacity: 1;
}
.footer__up svg {
    transform: rotate(-90deg);
}
.footer__down svg {
    transform: rotate(-90deg);
}
.footer__up {
    border-radius: 4px 0 0 4px;
    border-right: 1px solid #fff;
}
.footer__down {
    border-radius: 0 4px 4px 0;
}
.custom-select {
    position: relative;
    width: 100%;
}

.custom-select__selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 37px;
    padding: 0 12px;
    border: none;
    border-bottom: 1px solid var(--accent);
    background-color: transparent;
    cursor: pointer;
    font-size: inherit;
    color: inherit;
}

.custom-select__selected:focus {
    outline: none;
}

.custom-select__placeholder {
    color: #9CA3AF;
}

.custom-select__search {
    flex: 1;
    height: 100%;
    border: none;
    background: transparent;
    font-size: inherit;
    color: inherit;
    padding: 0;
    margin-right: 8px;
}

.custom-select__search::placeholder {
    color: #9CA3AF;
}

.custom-select__search:focus {
    outline: none;
}

.custom-select__arrow {
    color: #6B7280;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.custom-select.active .custom-select__arrow {
    transform: rotate(180deg);
}

.custom-select__dropdown {
    position: relative;
    width: 100%;
    z-index: 1000;
    margin-top: 4px;
}

.custom-select__dropdown:not([hidden]) {
    display: block;
}

.custom-select__list {
    overflow-y: auto;
}

.custom-select__option {
    padding: 10px 14px;
    display: flex;
    font-size: 14px;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 4px;
    color: #2D2C2E;
    background-color: #fff;
    border: 1px solid #D8D8D8;
    margin-bottom: 5px;
}

.custom-select__option:last-child {
    margin-bottom: 0;
}

.custom-select__option:hover,
.custom-select__option.selected {
    background-color: var(--green);
    border-color: var(--green);
    color: #fff;
}

.custom-select__option.hidden {
    display: none;
}

.custom-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    gap: 15px;
    font-size: 20px;
    line-height: 140%;
    margin-bottom: 20px !important;
}

.custom-checkbox__input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox__box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #F2F2F2;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.custom-checkbox__icon {
    width: 32px;
    height: 32px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.custom-checkbox__input:checked + .custom-checkbox__box {
    background-color: var(--green);
}

.custom-checkbox__input:checked + .custom-checkbox__box .custom-checkbox__icon {
    opacity: 1;
}

.custom-checkbox__input:checked + .custom-checkbox__box:hover {
    background-color: var(--green);
}

@media (max-width: 720px) {
    .desc__title {
        font-size: 24px;
        text-align: center;
    }
    .desc__help-block {
        font-size: 16px;
        padding: 20px;
        flex: 0 0 calc(100% - 60px);
    }
    .desc__help-num {
        font-size: 24px;
        flex: 0 0 40px;
    }
    .form label {
        font-size: 16px;
    }
}

/* Кастомные стили для intl-tel-input */
.iti {
    width: 100%;
}

.iti__flag-container {
    border-bottom: 1px solid var(--accent);
    height: 37px;
    display: flex;
    align-items: center;
}

.iti__selected-flag {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
}

.iti__flag {
    margin-right: 8px;
}

.iti__selected-dial-code {
    font-size: 14px;
    color: #374151;
    margin-right: 8px;
}

.iti__arrow {
    color: #6B7280;
    transition: transform 0.2s ease;
    margin-left: 4px;
}

.iti--open .iti__arrow {
    transform: rotate(180deg);
}

.iti__country-list {
    border: 1px solid #E5E7EB !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    max-height: 200px !important;
}

.iti__country {
    padding: 8px 12px !important;
    transition: background-color 0.2s ease !important;
}

.iti__country:hover {
    background: #F9FAFB !important;
}

.iti__country.iti__highlight {
    background: #F9FAFB !important;
}

.iti__country-name {
    font-size: 14px !important;
    color: #374151 !important;
}

.iti__dial-code {
    color: #6B7280 !important;
}

.iti__divider {
    border-bottom: 1px solid #E5E7EB !important;
    margin: 0 !important;
}

.iti__search-input {
    border: 1px solid #E5E7EB !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    outline: none !important;
}

.iti__search-input:focus {
    border-color: var(--green) !important;
}