.homepage-contact-section {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    min-height: 700px;
}

.contact-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(var(--reading-width), 100%);
    z-index: 1;
}

.contact-container h2 {
    margin-bottom: 20px;
}

.contact-container.golden-glow-tile::before {
    inset-inline: -10%;
}

.contact-form-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-sizing: border-box;
    width: 100%;
    padding: 28px;
}

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

.contact-form-row label {
    font-size: 14px;
    font-weight: 600;
}

.contact-form-row input,
#contact-form-message-input {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid color-mix(in srgb, var(--white) 16%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--navy-900) 45%, transparent);
    color: color-mix(in srgb, var(--white) 94%, transparent);
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-row input {
    height: 44px;
    padding: 0 14px;
}

#contact-form-message-input {
    height: 150px;
    padding: 12px 14px;
    resize: vertical;
}

.contact-form-row input::placeholder,
#contact-form-message-input::placeholder {
    color: color-mix(in srgb, var(--white) 40%, transparent);
}

.contact-form-row input:focus,
#contact-form-message-input:focus {
    border-color: var(--blue-300);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue-300) 25%, transparent);
    outline: none;
}

.contact-form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-form-robot-check-group {
    display: flex;
    align-items: center;
    gap: 8px;
    color: color-mix(in srgb, var(--white) 68%, transparent);
    font-size: 15px;
}

.contact-form-robot-check-group input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--yellow-100);
}

.contact-form-robot-check-group label {
    cursor: pointer;
}

.contact-form-button-row {
    display: flex;
    justify-content: end;
}

#contact-form-submit-button {
    height: var(--control-height);
    padding: 0 24px;
    border: none;
    border-radius: var(--pill-radius);
    background: var(--yellow-100);
    color: var(--grey-800);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#contact-form-submit-button:hover {
    background: var(--yellow-50);
}