.section-forms {
    width: 100%;
    box-sizing: border-box;
}

.section-forms__inner {
    max-width: 1200px;
    width: 85%;
    margin: 0 auto;
    box-sizing: border-box;
}

.section-forms__inner--framed {
    padding: clamp(1.25rem, 3vw, 2.5rem);
    border: 1px solid rgba(0, 96, 104, 0.2);
    border-radius: 8px;
    background: var(--section-forms-frame-background, #f3f7f7);
}

.section-forms__headline {
    margin: 0 0 2rem;
    font-size: clamp(1.7rem, 2.4vw, 2.5rem);
    line-height: 1.2;
    font-weight: 400;
    text-align: center;
}


.section-forms__global-error {
    grid-column: 1 / -1;
    margin: 0 0 1.5rem;
    padding: 0.85rem 1rem;
    border: 1px solid #f59b10;
    border-radius: 4px;
    background: #fff8ed;
    color: #333;
}

.section-forms__global-error p {
    margin: 0;
}

.section-forms__field--error .section-forms__control {
    border-color: #f59b10;
    background: #fff;
}

.section-forms__error {
    margin: 0;
    color: #b45f00;
    font-size: 0.9em;
}

.section-forms__honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.section-forms__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 2rem;
    align-items: start;
}

.section-forms__field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.section-forms__field--full,
.section-forms__field--textarea,
.section-forms__field--privacy,
.section-forms__field--photo_privacy {
    grid-column: 1 / -1;
}


.section-forms__field--width-full {
    grid-column: 1 / -1;
}

.section-forms__field--width-half {
    grid-column: auto;
}

.section-forms__field--align-center {
    align-items: center;
}

.section-forms__field--align-right {
    align-items: flex-end;
}

.section-forms__field--align-center .section-forms__control,
.section-forms__field--align-right .section-forms__control {
    align-self: stretch;
}

.section-forms__field--button-full .section-forms__submit {
    width: 100%;
}

.section-forms__field--align-center .section-forms__submit {
    align-self: center;
}

.section-forms__field--align-right .section-forms__submit {
    align-self: flex-end;
}

.section-forms__field--submit.section-forms__field--align-right:not(.section-forms__field--width-full) {
    grid-column: 2;
}

.section-forms__label,
.section-forms__choices legend {
    margin: 0;
    color: #006068;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

.section-forms__required {
    margin-left: 0.25rem;
    color: #777;
}

.section-forms__control {
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    padding: 0.7rem 0.85rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font: inherit;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.section-forms__control:focus {
    border-color: #f59b10;
    background: #fff;
    outline: none;
}

textarea.section-forms__control {
    min-height: 120px;
    resize: vertical;
}

.section-forms__choices {
    margin: 0;
    padding: 0;
    border: 0;
}

.section-forms__choice {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.45rem 0;
    color: #333;
    line-height: 1.45;
}

.section-forms__choice input {
    margin-top: 0.2em;
    accent-color: #f59b10;
}

.section-forms__text,
.section-forms__help {
    margin: 0;
}

.section-forms__help {
    font-size: 0.9em;
    opacity: 0.8;
}

.section-forms__text {
    line-height: 1.5;
}

.section-forms__section-title {
    margin: 1.25rem 0 0.25rem;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.3;
}


.section-forms__divider {
    width: 100%;
    margin: 0.75rem 0;
    border: 0;
    border-top: 1px solid rgba(0, 96, 104, 0.22);
}

.section-forms__privacy a,
.section-forms__text a,
.section-forms__help a {
    color: #f59b10;
    text-decoration: none;
}

.section-forms__privacy a:hover,
.section-forms__text a:hover,
.section-forms__help a:hover {
    text-decoration: underline;
}

.section-forms__submit {
    justify-self: start;
    align-self: start;
    min-width: 0;
    padding: 0.55rem 1.15rem;
    border: 1px solid #f59b10;
    border-radius: 4px;
    background: #f59b10;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color 0.15s ease;
}

.section-forms__submit:hover,
.section-forms__submit:focus {
    background: #fff;
    color: #f59b10;
}

@media (max-width: 720px) {
    .section-forms__inner {
        width: 92%;
    }

    .section-forms__form {
        grid-template-columns: 1fr;
    }


    .section-forms__field--submit.section-forms__field--align-right:not(.section-forms__field--width-full) {
        grid-column: auto;
    }
}
