/* ═══════════════════════════════════════════════════
   Nextline Contact – Freshpoint Style
   ═══════════════════════════════════════════════════ */

/* ── Reset & Section ──────────────────────────────── */
.nxc-contact,
.nxc-contact *,
.nxc-contact *::before,
.nxc-contact *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.nxc-contact {
    --nxc-gold:       #c9a96e;
    --nxc-gold-light: #d4b87a;
    --nxc-gold-dark:  #b8944f;
    --nxc-bg:         #0d0d0f;
    --nxc-card-bg:    #131316;
    --nxc-input-bg:   #1a1a1e;
    --nxc-input-border: #2a2a2e;
    --nxc-text:       #e8e8ea;
    --nxc-text-muted: #8a8a90;
    --nxc-btn-bg:     linear-gradient(135deg, #d4b87a 0%, #c9a96e 50%, #b8944f 100%);
    --nxc-radius:     10px;
    --nxc-radius-sm:  8px;

    background: transparent;
    padding: 80px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    color: var(--nxc-text);
    position: relative;
    overflow: hidden;
}

.nxc-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}


/* ── Badge ────────────────────────────────────────── */
.nxc-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border: 1px solid rgba(201, 169, 110, 0.25);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--nxc-gold);
    text-transform: uppercase;
    margin: 0 auto 24px;
    width: fit-content;
    display: flex;
    justify-content: center;
    background: rgba(201, 169, 110, 0.04);
}

.nxc-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--nxc-gold);
    flex-shrink: 0;
}

.nxc-container {
    text-align: center;
}


/* ── Heading & Subheading ─────────────────────────── */
.nxc-heading {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    color: var(--nxc-gold-light);
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.nxc-subheading {
    font-size: 15px;
    color: var(--nxc-text-muted);
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto 40px;
}


/* ── Card ─────────────────────────────────────────── */
.nxc-card {
    position: relative;
}

.nxc-card-inner {
    padding: 40px 0;
}

@media (max-width: 600px) {
    .nxc-card-inner {
        padding: 28px 0;
    }
}


/* ── Form layout ──────────────────────────────────── */
#nxContactForm {
    text-align: left;
}

.nxc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.nxc-row--half {
    grid-template-columns: 1fr 1fr;
}

.nxc-row--half .nxc-field:only-child {
    grid-column: 1;
}

.nxc-row--full {
    grid-template-columns: 1fr;
}

@media (max-width: 600px) {
    .nxc-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}


/* ── Labels ───────────────────────────────────────── */
.nxc-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--nxc-gold);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.nxc-req {
    color: var(--nxc-gold);
}


/* ── Inputs & Textarea ────────────────────────────── */
.nxc-field input,
.nxc-field textarea {
    width: 100%;
    background: var(--nxc-input-bg);
    border: 1px solid var(--nxc-input-border);
    border-radius: var(--nxc-radius-sm);
    padding: 14px 16px;
    font-size: 15px;
    color: var(--nxc-text);
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    -webkit-appearance: none;
}

.nxc-field input::placeholder,
.nxc-field textarea::placeholder {
    color: #55555a;
}

.nxc-field input:focus,
.nxc-field textarea:focus {
    border-color: var(--nxc-gold-dark);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.nxc-field textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.5;
}

/* Invalid state after attempted submit */
.nxc-field input:invalid.nxc-touched,
.nxc-field textarea:invalid.nxc-touched {
    border-color: #e74c3c;
}


/* ── Button ───────────────────────────────────────── */
.nxc-btn {
    display: block;
    width: 100%;
    margin-top: 28px;
    padding: 16px 32px;
    background: var(--nxc-btn-bg);
    color: #1a1200;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: var(--nxc-radius);
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.15s ease;
    font-family: inherit;
    letter-spacing: 0.01em;
}

.nxc-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.nxc-btn:active {
    transform: translateY(0);
}

.nxc-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}


/* ── Note ─────────────────────────────────────────── */
.nxc-note {
    margin-top: 18px;
    font-size: 13px;
    color: var(--nxc-text-muted);
    text-align: center;
    line-height: 1.5;
}


/* ── Alert ────────────────────────────────────────── */
.nxc-alert {
    display: none;
    padding: 14px 18px;
    border-radius: var(--nxc-radius-sm);
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.nxc-alert.nxc-alert--success {
    display: block;
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.nxc-alert.nxc-alert--error {
    display: block;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}
