/*
 * Get a Quote page -- resources/views/frontEnd/layouts/pages/quote.blade.php
 * After printcraft.ae's instant-quote page: one white card, the message and contact cards on the left,
 * a grey form card on the right. Everything is scoped under .qp.
 */

.qp {
    --qp-ink: #0f172a;
    --qp-text: #344054;
    --qp-mute: #64748b;
    --qp-line: #e2e8f0;
    --qp-soft: #f8fafc;
    --qp-brand: #003135;
    --qp-accent: #ffe600;

    background: #fff; color: var(--qp-ink); padding: 28px 0 56px;
}
.qp *, .qp *::before, .qp *::after { box-sizing: border-box; }
.qp-wrap { max-width: 1536px; margin: 0 auto; padding: 0 16px; }

.qp-card {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start;
    max-width: 1400px; margin: 0 auto; padding: 56px; border: 1px solid var(--qp-line); border-radius: 16px; background: #fff;
}

/* -- left -------------------------------------------------------------------- */
.qp-left h1 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; max-width: 12em; }
.qp-lead { margin: 14px 0 28px; font-size: 16px; color: var(--qp-text); }

.qp-contacts { display: grid; gap: 16px; max-width: 560px; }
.qp-contact { display: flex; gap: 16px; padding: 20px 22px; border-radius: 14px; background: var(--qp-soft); }
.qp-ico { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--qp-brand); color: #fff; font-size: 14px; }
.qp-contact b { display: block; font-size: 16px; font-weight: 600; }
.qp-contact span:not(.qp-ico) { display: block; margin: 2px 0 10px; font-size: 14px; color: var(--qp-text); }
.qp-contact a { font-size: 14.5px; font-weight: 600; color: var(--qp-brand); text-decoration: none; }
.qp-contact a:hover { text-decoration: underline; }

.qp-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; max-width: 560px; margin-top: 30px; }
.qp-features > div { display: flex; align-items: center; gap: 14px; padding: 8px 12px; }
.qp-fico { flex: 0 0 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #f4f4f2; color: var(--qp-brand); font-size: 19px; }
.qp-features p { margin: 0; display: flex; flex-direction: column; line-height: 1.35; }
.qp-features b { font-size: 13px; font-weight: 600; }
.qp-features small { font-size: 12.5px; color: var(--qp-mute); }

/* -- right: the form ------------------------------------------------------------ */
.qp-form { padding: 36px 40px 40px; border-radius: 16px; background: var(--qp-soft); max-width: 600px; margin-left: auto; }
.qp-title { margin: 0; text-align: center; font-size: 30px; font-weight: 700; color: var(--qp-brand); }
.qp-title i { color: #ef4444; margin-right: 6px; font-size: 24px; }
.qp-sub { margin: 12px 0 30px; text-align: center; font-size: 15px; color: var(--qp-text); }

.qp-field { margin-bottom: 18px; }
.qp-field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.qp-field input, .qp-field textarea {
    width: 100%; padding: 12px 15px; border: 1px solid var(--qp-line); border-radius: 8px; background: #fff;
    font: inherit; font-size: 15px; color: var(--qp-ink); outline: none; transition: border-color .15s, box-shadow .15s;
}
.qp-field textarea { resize: vertical; min-height: 116px; }
.qp-field input:focus, .qp-field textarea:focus { border-color: var(--qp-brand); box-shadow: 0 0 0 3px rgba(0, 49, 53, .12); }
.qp-field em { display: block; margin-top: 6px; font-style: normal; font-size: 12.5px; color: #dc2626; }

.qp-phone { display: flex; border: 1px solid var(--qp-line); border-radius: 8px; background: #fff; overflow: hidden; }
.qp-phone:focus-within { border-color: var(--qp-brand); box-shadow: 0 0 0 3px rgba(0, 49, 53, .12); }
.qp-phone span { display: flex; align-items: center; padding: 0 14px; background: #f1f5f9; border-right: 1px solid var(--qp-line); font-size: 15px; font-weight: 600; color: var(--qp-text); }
.qp-phone input { border: 0; border-radius: 0; box-shadow: none !important; }

.qp-about { margin-bottom: 18px; padding: 10px 14px; border-radius: 8px; background: #fff; border: 1px dashed var(--qp-line); font-size: 13.5px; color: var(--qp-text); }
.qp-about i { color: var(--qp-brand); margin-right: 6px; }

.qp-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.qp-foot p { margin: 0; font-size: 12.5px; color: var(--qp-mute); max-width: 260px; }
.qp-btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border: 0; border-radius: 8px; background: var(--qp-brand);
    color: #fff; font: inherit; font-size: 15.5px; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .15s;
}
.qp-btn:hover { background: #00282b; color: #fff; }
.qp-btn--ghost { background: #fff; color: var(--qp-brand); border: 1px solid var(--qp-line); }
.qp-btn--ghost:hover { background: #f1f5f9; color: var(--qp-brand); }

.qp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* -- thank you --------------------------------------------------------------------- */
.qp-done { text-align: center; padding: 20px 0; }
.qp-done-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #dcfce7; color: #16a34a; font-size: 26px; }
.qp-done h2 { margin: 18px 0 8px; font-size: 28px; color: var(--qp-brand); }
.qp-done p { margin: 0 auto 20px; max-width: 360px; color: var(--qp-text); }
.qp-ref { display: inline-block; margin-bottom: 24px; padding: 12px 26px; border-radius: 10px; background: #fff; border: 1px solid var(--qp-line); }
.qp-ref small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--qp-mute); }
.qp-ref b { font-size: 22px; letter-spacing: .04em; color: var(--qp-brand); }

@media (max-width: 1100px) {
    .qp-card { grid-template-columns: 1fr; gap: 36px; padding: 32px 24px; }
    .qp-form { margin: 0 auto; max-width: none; }
}
@media (max-width: 575px) {
    .qp { padding: 12px 0 36px; }
    .qp-card { padding: 22px 16px; border-radius: 12px; }
    .qp-form { padding: 24px 18px 26px; }
    .qp-features { grid-template-columns: 1fr; }
    .qp-foot { flex-direction: column-reverse; align-items: stretch; }
    .qp-foot p { max-width: none; text-align: center; }
    .qp-btn { justify-content: center; }
}

.qp-opt { font-weight: 400; color: var(--qp-mute); font-size: 13px; }
.qp-phone span i { color: #25d366; margin-right: 6px; }
.qp-same { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 13px; font-weight: 400; color: var(--qp-text); cursor: pointer; }
.qp-field .qp-same input { width: auto; padding: 0; }
