/* Contact Us Button Styles - Now uses .btn-primary.btn-rounded from main.css */

/* Legacy class name support - maps to unified button system */
.contact-us-btn {
    /* Inherits from .btn-primary.btn-rounded in main.css */
    display: inline-block;
    margin: 20px 10px 20px 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .contact-us-btn {
        padding: 14px 32px;
        font-size: 16px;
        margin: 15px 5px;
    }
}

@media (max-width: 480px) {
    .contact-us-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin: 15px 0;
    }
}

/* ── Contact Form Section ───────────────────────────────────────── */

.contact-form-section {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 32px 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,.4);
    margin-bottom: 24px;
    color: #eaeaea;
}

.contact-form-section h2 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 1.6rem;
}

.contact-form-section .contact-form-intro {
    color: #bbbbbb;
    margin: 0 0 24px;
    font-size: 1.5rem;
    line-height: 1.6;
}

/* ── Grid Layout ───────────────────────────────────────── */

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form-grid .field-full {
    grid-column: 1 / -1;
}

/* ── Fields ───────────────────────────────────────── */

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-field label {
    font-size: 1.5rem;
    font-weight: 600;
    color: #cccccc;
}

.contact-field label .required-star {
    color: #ff4d4d;
}

/* Inputs */

.contact-field input,
.contact-field select,
.contact-field textarea {
    padding: 10px 13px;
    border: 1.5px solid #444;
    border-radius: 7px;
    font-size: 1.5rem;
    font-family: inherit;
    background: #2a2a2a;
    color: #ffffff;
    transition: border-color .15s, box-shadow .15s, background .15s;
    box-sizing: border-box;
    width: 100%;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: #FF6600;
    box-shadow: 0 0 0 3px rgba(255,102,0,.2);
    background: #2f2f2f;
}

/* Error state */

.contact-field input.field-error,
.contact-field select.field-error,
.contact-field textarea.field-error {
    border-color: #ff4d4d;
    box-shadow: 0 0 0 3px rgba(255,77,77,.15);
}

/* Textarea */

.contact-field textarea {
    resize: vertical;
    min-height: 100px;
}

/* Select dropdown arrow (light for dark mode) */

.contact-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ccc' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

/* ── Submit Section ───────────────────────────────────────── */

.contact-form-submit {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.contact-form-submit button {
    padding: 12px 32px;
    background: #FF6600;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, transform .1s;
}

.contact-form-submit button:hover:not(:disabled) {
    background: #e55a00;
    transform: translateY(-1px);
}

.contact-form-submit button:disabled {
    opacity: .6;
    cursor: default;
}

.contact-form-notice {
    font-size: 1.5rem;
    color: #999;
}

/* ── Success / Error States ───────────────────────────────────────── */

.contact-form-success {
    display: none;
    background: #1f3d2b;
    border: 1.5px solid #4caf50;
    border-radius: 10px;
    padding: 28px 32px;
    text-align: center;
    margin-top: 8px;
}

.contact-form-success h3 {
    color: #7ee787;
}

.contact-form-success p {
    color: #cfcfcf;
}

.contact-form-error-banner {
    display: none;
    background: #3a2a00;
    border: 1px solid #ffb300;
    border-radius: 7px;
    padding: 10px 14px;
    margin-top: 12px;
    font-size: 1.5rem;
    color: #ffd54f;
}

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 600px) {
    .contact-form-section { padding: 20px 16px; }
    .contact-form-grid { grid-template-columns: 1fr; }
}