/* ─── Landing page form section ───────────────────────────────────────────── */
.landing-form-section {
    padding: 5rem 0 7rem;
}

/* ─── single-landing_page.php CTA + form split ─────────────────────────────── */
.lp-cta-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

@media (max-width: 820px) {
    .lp-cta-split {
        grid-template-columns: 1fr;
    }
}

/* ─── 50/50 split layout ───────────────────────────────────────────────────── */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

@media (max-width: 820px) {
    .contact-split {
        grid-template-columns: 1fr;
    }
}

/* ─── Wrapper ──────────────────────────────────────────────────────────────── */
.plf-wrapper {
    width: 100%;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #f7f8fb;
}

/* ─── Form title ───────────────────────────────────────────────────────────── */
.plf-title {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -.045em;
    color: #f7f8fb;
    margin: 0 0 2rem;
    line-height: 1.15;
}

/* ─── Row & grid ───────────────────────────────────────────────────────────── */
.plf-form .plf-row {
    margin-bottom: 1.3rem;
}

.plf-form .plf-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 560px) {
    .plf-form .plf-two-col {
        grid-template-columns: 1fr;
    }
}

/* ─── Field ────────────────────────────────────────────────────────────────── */
.plf-field {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

/* ─── Label ────────────────────────────────────────────────────────────────── */
.plf-field label {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
    font-size: .72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(247, 248, 251, .58);
}

.plf-req {
    color: #8bb8ff;
    margin-left: .15em;
}

/* ─── Inputs & textarea ────────────────────────────────────────────────────── */
.plf-field input,
.plf-field textarea {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .105);
    border-radius: 8px;
    padding: .72em 1em;
    font-size: .96rem;
    font-family: Inter, system-ui, -apple-system, sans-serif;
    color: #f7f8fb;
    line-height: 1.6;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
    -webkit-appearance: none;
    appearance: none;
}

.plf-field input::placeholder,
.plf-field textarea::placeholder {
    color: rgba(247, 248, 251, .28);
}

.plf-field input:focus,
.plf-field textarea:focus {
    outline: none;
    border-color: #8bb8ff;
    background: rgba(139, 184, 255, .06);
    box-shadow: 0 0 0 3px rgba(139, 184, 255, .12);
}

.plf-field input.plf-error,
.plf-field textarea.plf-error {
    border-color: rgba(255, 107, 107, .7);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, .1);
}

/* ─── Submit button — matches theme .button.primary ───────────────────────── */
.plf-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #fff;
    color: #050506;
    border: none;
    border-radius: 8px;
    padding: .85rem 1.4rem;
    min-height: 46px;
    font-size: .94rem;
    font-weight: 700;
    font-family: Inter, system-ui, -apple-system, sans-serif;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
    -webkit-font-smoothing: antialiased;
}

.plf-btn:hover:not(:disabled) {
    background: #dbe9ff;
    transform: translateY(-2px);
}

.plf-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
}

/* ─── Response messages ────────────────────────────────────────────────────── */
.plf-response {
    margin-top: 1.1rem;
    padding: .8em 1em;
    border-radius: 8px;
    font-size: .9rem;
    line-height: 1.55;
    display: none;
}

.plf-response.plf-success {
    display: block;
    background: rgba(143, 240, 196, .08);
    border: 1px solid rgba(143, 240, 196, .28);
    color: #8ff0c4;
}

.plf-response.plf-error-msg {
    display: block;
    background: rgba(255, 107, 107, .07);
    border: 1px solid rgba(255, 107, 107, .22);
    color: #ff9494;
}
