@charset "UTF-8";

.contact {
    padding-block: 100px 120px;
}

@media only screen and (max-width: 768px) {
    .contact {
        padding-block: 80px;
    }
}

.contact__item--phone {
    margin-bottom: 70px;
}

.contact__phone-number {
    font-family: "Andika", sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-blue);
    text-align: center;
    margin-bottom: 10px;
}

@media only screen and (max-width: 768px) {
    .contact__phone-number {
        font-size: 30px;
    }
}

.contact__reception-hours {
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
}

.contact__body {
    margin-bottom: 30px;
}

.contact__text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}

.contact__description {
    margin-bottom: 40px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}

.contact__required-note {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}

.contact__required-badge {
    background: #ffebeb;
    padding: 5px 12px;
    border-radius: 3px;
    width: 48px;
    max-height: 25px;
    font-size: 12px;
    line-height: 1;
    color: #FD3839;
    text-align: center;
    margin-right: 16px;

    .contact-form__item--checkbox & {
        margin-right: 10px;
    }
}

@media only screen and (max-width: 768px) {
    .contact__required-badge {
        padding: 5px;

        width: 40px;
        margin-right: 8px;
    }
}

.contact-step {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 440px;
    margin: 70px auto 0;
}

@media only screen and (max-width: 768px) {
    .contact-step {
        max-width: 100%;
    }
}

.contact-step__item {
    position: relative;
    flex: 1;
    text-align: center;
    z-index: 1;

    &:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 30px;
        left: 50%;
        width: 100%;
        height: 1px;
        background: var(--color-blue);
        z-index: -1;
    }
}

.contact-step__circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 3px;
    border-radius: 50%;
    background: var(--color-gray-5);
    font-family: "Ubuntu", sans-serif;
    color: var(--color-blue);
    font-size: 24px;

    .contact-step__item--active & {
        background: var(--color-blue);
        color: var(--color-white);
    }

    .contact-step--step2 .contact-step__item:nth-child(2) & {
        background: var(--color-blue);
        color: var(--color-white);
    }

    .contact-step--step2 .contact-step__item:nth-child(1) & {
        background: var(--color-gray-5);
        color: var(--color-blue);
    }
}

@media only screen and (max-width: 768px) {
    .contact-step__circle {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}

.contact-step__label {
    font-size: 12px;

    .contact-step__item--active & {
        color: var(--color-blue);
    }

    .contact-step--step2 .contact-step__item:nth-child(2) & {
        color: var(--color-blue);
    }
}

.contact-step--step3{
	margin-bottom: 70px;
}
.contact-form {
    max-width: 740px;
    width: 100%;
    margin: 40px auto 0;
}

@media only screen and (max-width: 768px) {
    .contact-form {
        max-width: 100%;
    }
}

.contact-form__item {
    padding-bottom: 40px;
}

.contact-form__item--textarea {
    padding-bottom: 30px;
}

.contact-form__label {
    font-size: 18px;
}

@media only screen and (max-width: 768px) {
    .contact-form__label {
        font-size: 16px;
    }
}

.contact-form__input,
.contact-form__textarea {
    margin-top: 10px;
    width: 100%;
    background: var(--color-gray-5);
    border: none;
    padding: 24px;
    border-radius: 3px;
    font-size: 16px;

    &:focus {
        outline: none;
        box-shadow: 0 0 0 1px #0000004d;
    }
}

@media only screen and (max-width: 768px) {
    .contact-form__input,
    .contact-form__textarea {
        padding: 20px;
        font-size: 14px;
    }
}

.contact-form__textarea {
    min-height: 232px;
    resize: vertical;
}

.contact-form__input::placeholder {
    color: #0000004d;
    font-size: 16px;
}

@media only screen and (max-width: 768px) {
    .contact-form__input::placeholder {
        font-size: 14px;
    }
}

.contact-form__privacy-note {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 30px;

    a {
        margin-inline: 10px;
        font-weight: 500;
        color: var(--color-blue);
        text-decoration: underline;
    }
}

.contact-form__item--checkbox {
    padding-bottom: 80px;

    .wpcf7-form-control-wrap {
        display: flex;
        align-items: center;
    }

    .wpcf7-list-item {
        margin: 0;
    }
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form__checkbox {
    display: flex;
    align-items: center;
    justify-content: space-between;

    cursor: pointer;
}

.contact-form__checkbox-text {
    font-size: 14px;
    line-height: 1;
}

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

    &:checked ~ .wpcf7-list-item-label .contact-form__checkbox-ui {
        background: var(--color-blue);
        border-color: var(--color-blue);

        &::after {
            content: "";
            position: absolute;
            top: 3px;
            left: 6px;
            width: 4px;
            height: 8px;
            border: solid var(--color-white);
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }
    }
}

.contact-form__checkbox-ui {
    width: 15px;
    height: 15px;
    background: var(--color-gray-5);
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    margin-right: 5px;
    transform: translateY(2px);
}

span .wpcf7-not-valid-tip {
    margin-top: 10px;
    font-size: 14px;
    color: #FD3839;
}

.cf7ms-hidden {
    display: none !important;
}

.cf7ms-confirm {
    margin-bottom: 40px;
}

.cf7ms-confirm__row {
    display: flex;
    align-items: flex-start;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--color-black-10);

    &:last-child {
        margin-bottom: 80px;
    }
}

@media (max-width: 768px) {
    .cf7ms-confirm__row {
        flex-direction: column;
        gap: 10px;
    }
}

.cf7ms-confirm__label {
    flex: 0 0 200px;
    font-size: 18px;
}

@media (max-width: 768px) {

    .cf7ms-confirm__label {
        flex: none;
        width: 100%;
        font-size: 16px;
    }
}

.cf7ms-confirm__value {
    flex: 1;
    font-size: 16px;
    font-weight: 400;
    background: none;
    padding: 0;
    min-height: auto;
}

@media (max-width: 768px) {

    .cf7ms-confirm__value {

        font-size: 14px;
    }
}

.js-cf7-back,
.contact-form__button {
    display: none;
}

.js-cf7-back,
.contact-form__button,
.c-arrow-btn--back {
    display: none;
}

.js-cf7-confirm {
    width: 160px;
}

.contact-form__submit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

@media only screen and (max-width: 1024px) {
.contact .c-arrow-btn-arrow {

  }
	  .contact .c-arrow-btn-arrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: #6772c2;
    transition: background 0.3s ease;
  }
}
.contact-form__back-btn {
    height: 46px;
    color: #000;
    background: var(--color-gray);
    padding: 13px 28px;
    font-size: 14px;
    line-height: 46px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.3s ease, color 0.3s ease, opacity 0.3s ease;

    &:hover {
        opacity: 1;
        background: #d0d2e9;
        color: var(--color-blue);
    }
}

@media (hover: hover) and (pointer: fine) {
.contact-form__back-btn:hover {
	        opacity: 1;
        background: #d0d2e9;
        color: var(--color-blue);
	}
.contact__action{
	text-align: center;
	margin: 70px auto 0;
}

.wpcf7 form.sent .wpcf7-response-output {
    display: none;
}
	
.contact .c-arrow-btn-arrow {
  margin-left: 20px;

  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: #6772c2;
    transition: background 0.3s ease;
  }
}
	
.recaptcha__note{
    margin-top: 40px;
    font-size: 13px;
    line-height: 1.6;
    color: #00000099;
}

.recaptcha__link {
    text-decoration: underline;
}

.recaptcha__link::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url('data:image/svg+xml, <svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 7L13 0M7.44 0.5H13V5.51M5.98 2.5H0.5V12.5H10.5V6.77" stroke="%232635A7" stroke-miterlimit="10" stroke-width="1.5"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: -1px;
  margin-inline: 2px 4px;
}

.recaptcha__link:hover::after {
  background-image: url('data:image/svg+xml, <svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 7L13 0M7.44 0.5H13V5.51M5.98 2.5H0.5V12.5H10.5V6.77" stroke="%232635A7" stroke-opacity="0.4" stroke-miterlimit="10" stroke-width="1.5"/></svg>');
}