.service-contact-section {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    width: min(calc(100% - 40px), 1120px);
    margin: clamp(32px, 5vw, 64px) auto;
    overflow: hidden;
    border: 1px solid #e8e1f2;
    border-radius: 20px;
    background: #fff;
    color: #17233f;
    box-shadow: 0 16px 40px rgba(21, 19, 42, .10);
}

.service-contact-section > div:first-child {
    padding: clamp(22px, 4vw, 44px);
    background: linear-gradient(145deg, #101d3b, #302054);
    color: #fff;
}

.service-contact-section > div:first-child p {
    max-width: 30ch;
    margin: 12px 0 0;
    color: #e9e3f7;
    line-height: 1.65;
}

.service-contact-section > div:first-child a {
    color: inherit;
    text-decoration: underline;
}

.service-contact-section > form {
    min-width: 0;
    padding: clamp(20px, 3.5vw, 38px);
}

.service-contact-section h2 {
    color: inherit;
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    line-height: 1.15;
    font-weight: 800;
}

.service-contact-section .row-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
}

.service-contact-section .form-group {
    min-width: 0;
    margin-bottom: 14px;
}

.service-contact-section label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
    font-size: .875rem;
}

.service-contact-section label span { color: #a2213d; }

.service-contact-section :is(input, select, textarea) {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #d9cfe9;
    border-radius: 8px;
    background: #fcfbfe;
    font: inherit;
    color: #17233f;
}

.service-contact-section textarea { min-height: 90px; resize: vertical; }
.service-contact-section .select-arrow { display: none; }
.service-contact-section select { appearance: auto; }
.service-contact-section .error-message { display: none; }
.service-contact-section .form-group.error .error-message {
    display: block;
    color: #a2213d;
    font-size: .875rem;
}

.service-contact-section .submit-btn {
    flex: 0 1 auto;
    padding: 11px 24px;
    border: 0;
    border-radius: 8px;
    background: #6339b4;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.service-contact-section .submit-btn:hover { background: #4f2c95; }
.service-contact-section .submit-btn:disabled { cursor: wait; opacity: .7; }

.service-contact-section :is(input, select, textarea, button):focus-visible {
    outline: 2px solid #6339b4;
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .service-contact-section { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 520px) {
    .service-contact-section .row-fields { grid-template-columns: minmax(0, 1fr); }
    .service-contact-section .row-fields { gap: 0; }
    .service-contact-section .submit-btn { width: 100%; }
}
