.contact-form-section {
    padding: clamp(3rem, 6vw, 5.5rem) 0;
    background-color: #eff7fe;
    background-image: var(--contact-form-bg, none);
    background-image: var(--contact-form-bg-set, var(--contact-form-bg, none));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-form-section__container {
    display: flex;
    flex-direction: column;
    gap: clamp(1.75rem, 3vw, 2.5rem);
}

.contact-form-section__intro {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 42rem;
    margin-inline: auto;
    text-align: center;
}

.contact-form-section__title {
    margin: 0;
    color: #020202;
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.contact-form-section__text {
    margin: 0;
    color: #020202;
    font-size: clamp(1rem, 1.1vw, 1.125rem);
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: -0.02em;
}

.contact-form-section__form-wrap {
    width: 100%;
}

.contact-form {
    --contact-form-accent: #1ca3db;
    --contact-form-text: #020202;
    max-width: 42rem;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--contact-form-text);
}

.contact-form__field {
    display: flex;
    flex-direction: column;
}

.contact-form__field label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contact-form__field input,
.contact-form__field textarea {
    width: 100%;
    padding: clamp(0.9rem, 1.4vw, 1.125rem) clamp(1rem, 1.6vw, 1.25rem);
    border: none;
    border-radius: 0.75rem;
    font: inherit;
    color: inherit;
    background: #fbfbfb;
    box-shadow: none;
    border: solid 1px #e1e1e1;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
    color: #6b7280;
    opacity: 1;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(28, 163, 219, 0.2);
}

.contact-form__field textarea {
    min-height: clamp(10rem, 24vw, 14rem);
    resize: vertical;
}

.contact-form__actions {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.contact-form__submit {
    background: var(--contact-form-accent);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.85rem 2.25rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.contact-form__submit:hover {
    background: #1582af;
}

.contact-form__submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.contact-form__message {
    padding: 0.9rem 1.1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    text-align: center;
}

.contact-form__message--success {
    background: #e6f7ec;
    color: #1a7f3c;
    border: 1px solid #b7e4c7;
}

.contact-form__message--error {
    background: #fdecec;
    color: #b02a2a;
    border: 1px solid #f5c2c2;
}

@media (max-width: 767px) {
    .contact-form-section {
        padding: clamp(2.5rem, 8vw, 4rem) 0;
    }
}
