#section_6 h2 {
    margin-bottom: 28px !important;
    color: #f5f5f5;
    font-size: 30px;
}

.gallery-contact-form {
    max-width: 760px;
    margin: 0 auto;
    padding: 28px;
    border: 1px solid #343b42;
    border-radius: 8px;
    background: #181d22;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.gallery-contact-form label {
    display: block;
    margin-bottom: 7px;
    color: #e8ebee;
    font-size: 14px;
    font-weight: 700;
}

.gallery-contact-form input,
.gallery-contact-form select,
.gallery-contact-form textarea {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #414a52;
    border-radius: 4px;
    background: #11161a;
    color: #f5f5f5;
    font: inherit;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.gallery-contact-form select {
    appearance: none;
}

.gallery-contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.gallery-contact-form input::placeholder,
.gallery-contact-form textarea::placeholder {
    color: #9ba3aa;
}

.gallery-contact-form input:focus,
.gallery-contact-form select:focus,
.gallery-contact-form textarea:focus {
    border-color: #ffc107;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.16);
}

.gallery-contact-form option {
    background: #11161a;
    color: #f5f5f5;
}

.gallery-contact-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    padding: 12px 20px;
    border: 0;
    border-radius: 4px;
    background: #ffc107;
    color: #171717;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
}

.gallery-contact-form button[type="submit"]:hover {
    background: #e6ad00;
    transform: translateY(-1px);
}

.gallery-contact-form button[type="submit"]:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 575px) {
    .gallery-contact-form {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-contact-form input,
    .gallery-contact-form select,
    .gallery-contact-form textarea,
    .gallery-contact-form button[type="submit"] {
        transition: none;
    }
}