.contact-dialog {
    border: 0;
    border-radius: 20px;
    padding: 42px;
    background: #f8f7f5;
    color: #121212;
    width: min(580px, calc(100% - 32px));
    max-height: 90vh;
    overflow: auto;
    font-family: Gotham, Arial, sans-serif
}

.contact-dialog::backdrop {
    background: #102249a8
}

.contact-dialog h2 {
    font-size: 28px;
    margin: 0 35px 24px 0;
    color: #12254d;
    line-height: 1.2
}

.contact-dialog a {
  margin-top: 20px;
}

.contact-dialog h2:has(.contact-dialog__description) {
    margin-bottom: 12px
}

p.contact-dialog__description {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.6;
    color: #47534c
}

.dialog-close {
    position: absolute;
    right: 15px;
    top: 12px;
    border: 0;
    background: transparent;
    font-size: 32px;
    color: #03624b;
    cursor: pointer;
    width: 40px;
    height: 40px
}

.contact-form {
    display: grid;
    gap: 18px
}

.contact-form > label:not(.consent) {
    font-size: 13px;
    display: grid;
    gap: 7px;
    color: #47534c
}

.contact-form input:not([type=checkbox]), .contact-form textarea {
    display: block;
    width: 100%;
    border: 1px solid #d1d9d3;
    border-radius: 9px;
    padding: 15px;
    font-family: inherit;
    font-size: 17px;
    background: white;
    color: #121212
}

.contact-form textarea {
    resize: vertical;
    min-height: 90px
}

.contact-form .consent {
    display: flex;
    gap: 12px;
    align-items: start;
    font-size: 12px;
    line-height: 1.5
}

.contact-form .consent input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: #03624b
}

.contact-form .consent a {
    color: #03624b;
    text-decoration: underline
}

.contact-form .form-status {
    font-size: 14px;
    color: #03624b;
    margin: 0
}

.contact-form .button {
    justify-self: start
}

.contact-form :focus-visible {
    outline: 3px solid #f07e28;
    outline-offset: 3px
}

@media (max-width: 600px) {
    .contact-dialog {
        padding: 32px 24px
    }

    .contact-dialog h2 {
        font-size: 23px
    }

    .contact-form input:not([type=checkbox]), .contact-form textarea {
        font-size: 16px
    }

    .contact-form .button {
        font-size: 15px;
        padding: 14px 22px
    }

    .contact-dialog a {
        margin-top: 15px;
    }
}

.contact-dialog .article-form {
    display: grid;
    gap: 14px;
    margin: 0
}

.contact-dialog .article-form input:not([type=hidden]):not([type=checkbox]),
.contact-dialog .article-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid #cfdbd1;
    border-radius: 9px;
    padding: 15px;
    background: #fff;
    color: #121212;
    font-family: inherit;
    font-size: 16px
}

.contact-dialog .article-form input[type=checkbox] {
    accent-color: #03624b
}

.contact-dialog .article-form .form-tick-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.5
}

.contact-dialog .article-form .form-text-check {
    color: #47534c
}

.contact-dialog .article-form .form-text-check a {
    color: #03624b;
    text-decoration: underline
}

.contact-dialog .article-form button[type=submit] {
    justify-self: start;
    border: 0;
    border-radius: 10px;
    padding: 15px 24px;
    background: var(--orange);
    color: #fff;
    font: inherit;
    font-size: 16px;
    cursor: pointer
}

.contact-dialog .article-form .form-status {
    margin: 0;
    font-size: 14px
}