.contact-section {
    padding: 64px 0 96px;
}

.contact-section__inner {
    max-width: 720px;
}

.contact-form__head {
    text-align: center;
    margin-bottom: 32px;
}

.contact-form__title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    margin: 0 0 12px;
}

.contact-form__desc {
    color: var(--c-muted);
    margin: 0;
    font-size: 14px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

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

.contact-form__row--2 {
    grid-template-columns: 1fr 1fr;
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form__field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--r-sm);
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    color: #1a1a1a;
    width: 100%;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--c-cta);
    box-shadow: 0 0 0 3px rgba(30, 228, 137, 0.18);
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
    border-color: #ff5f5f;
    box-shadow: 0 0 0 3px rgba(255, 95, 95, 0.18);
}

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

.contact-form__check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--c-muted);
    line-height: 1.5;
    cursor: pointer;
}

.contact-form__check input {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--c-cta);
    flex-shrink: 0;
}

.contact-form__check.is-invalid span {
    color: #ff7777;
}

.contact-form__submit {
    align-self: stretch;
    width: 100%;
    margin-top: 6px;
}

.contact-thanks {
    text-align: center;
    padding: 60px 24px;
    border: 1px solid rgba(30, 228, 137, 0.3);
    border-radius: var(--r-md);
    background: rgba(30, 228, 137, 0.05);
}

.contact-thanks__icon {
    color: var(--c-cta);
    margin-bottom: 16px;
}

.contact-thanks__title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 10px;
}

.contact-thanks__text {
    color: var(--c-muted);
    margin: 0;
}

@media (max-width: 600px) {
    .contact-form__row--2 {
        grid-template-columns: 1fr;
    }
}
