.soc-contact {
    padding: 60px 0 80px;
    background: #fff;
}

.soc-contact__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.soc-contact__head .soc-section-label {
    margin: 0 auto;
}

.soc-contact__title {
    color: #6F22A6;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.soc-contact__desc {
    color: #5C5879;
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
}

.soc-contact__panel {
    max-width: 560px;
    margin: 0 auto;
}

.soc-contact__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.soc-contact__form[hidden],
.soc-contact__thanks[hidden] {
    display: none !important;
}

.soc-contact__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.soc-contact__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.soc-contact__label {
    color: #1B1730;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.soc-contact__field input,
.soc-contact__field textarea {
    width: 100%;
    background: #fff;
    border: 1px solid #E7E2F2;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    color: #1B1730;
    line-height: 1.4;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.soc-contact__field input::placeholder,
.soc-contact__field textarea::placeholder {
    color: #9890b0;
}

.soc-contact__field input:focus,
.soc-contact__field textarea:focus {
    outline: 0;
    border-color: #6F22A6;
    box-shadow: 0 0 0 3px rgba(111, 34, 166, 0.12);
}

.soc-contact__field.is-invalid input,
.soc-contact__field.is-invalid textarea {
    border-color: #d93753;
    box-shadow: 0 0 0 3px rgba(217, 55, 83, 0.12);
}

.soc-contact__field textarea {
    min-height: 110px;
    resize: vertical;
}

.soc-contact__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #5C5879;
    font-size: 13px;
    line-height: 1.55;
}

.soc-contact__consent input {
    margin-top: 2px;
    accent-color: #6F22A6;
    flex-shrink: 0;
}

.soc-contact__consent.is-invalid {
    color: #d93753;
}

.soc-contact__submit {
    width: 100%;
    margin-top: 8px;
}

.soc-contact__thanks {
    text-align: center;
    padding: 32px 24px;
    background: #F6F4F9;
    border-radius: 16px;
}

.soc-contact__thanks-title {
    color: #6F22A6;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px;
}

.soc-contact__thanks-desc {
    color: #5C5879;
    margin: 0;
    line-height: 1.65;
}

@media (max-width: 600px) {
    .soc-contact__row {
        grid-template-columns: 1fr;
    }
    .soc-contact__title {
        font-size: 28px;
    }
}
