.contact-section {
    max-width: 1050px;
    margin: 0 auto;
    padding: 15px 30px 70px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 22px;
    justify-content: center;
    margin: 0 0 10px;
}

.section-title::before,
.section-title::after {
    content: "";
    height: 2px;
    background: #ffd900;
    flex: 1;
    max-width: 230px;
}

.section-title h2 {
    margin: 0;
    color: #ffd900;
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: clamp(42px, 6vw, 66px);
    white-space: nowrap;
}

.intro {
    text-align: center;
    color: #fff;
    font-size: 17px;
    margin: 0 0 28px;
}

.form-card {
    border: 3px solid #009cff;
    border-radius: 16px;
    padding: 34px 28px 28px;
    background: #020202;
    box-shadow: 0 0 10px rgba(0, 156, 255, .12);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 25px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

label span {
    color: #ffd900;
}

input,
select,
textarea {
    width: 100%;
    border: 2px solid #009cff;
    border-radius: 9px;
    background: #050505;
    color: #fff;
    padding: 14px 15px;
    font-size: 15px;
    outline: none;
    font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #ffd900;
    box-shadow: 0 0 7px rgba(255, 217, 0, .2);
}

input::placeholder,
textarea::placeholder {
    color: #9ca3af;
}

select {
    color: #d9d9d9;
}

textarea {
    min-height: 145px;
    resize: vertical;
}

.submit-wrap {
    display: flex;
    justify-content: center;
    margin-top: 27px;
}

button {
    min-width: 245px;
    border: 0;
    border-radius: 30px;
    padding: 15px 28px;
    background: #ffd900;
    color: #000;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 217, 0, .2);
}

.form-message {
    text-align: center;
    color: #00aaff;
    font-weight: 700;
    margin-top: 18px;
}

.field-error {
    margin-top: 0.4rem;
    color: #ff4d4d;
    font-size: 0.875rem;
    line-height: 1.3;
}

.form-message {
    margin-top: 1rem;
    font-weight: 600;
}

@media (max-width: 760px) {
    .contact-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section-title::before,
    .section-title::after {
        max-width: 70px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: auto;
    }

    .form-card {
        padding: 25px 18px;
    }
}