:root {
  --blue: #0084ff; --blue2: #0ea1fd; --accent: #009cff;
  --navy: #0a1f33; --ink: #111; --muted: #7a8794; --line: #e7ecf1;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Montserrat", system-ui, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }

.qp-wrap { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.qp-section { padding: 56px 0; }
.qp-section + .qp-section { border-top: 1px solid var(--line); }
.qp-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0; }
.qp-h2 { font-size: clamp(24px, 5vw, 38px); font-weight: 900; letter-spacing: -.02em; margin: .3em 0; color: var(--navy); }
.qp-blue { background: linear-gradient(90deg, var(--blue), var(--blue2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qp-p { font-size: clamp(16px, 2.2vw, 18px); line-height: 1.6; color: #33404d; }
@media (max-width: 640px) { .qp-section { padding: 40px 0; } }

/* Hero */
.qp-hero { text-align: center; padding-top: 48px; }
.qp-hero-title { font-size: clamp(30px, 7vw, 56px); font-weight: 900; letter-spacing: -.03em; line-height: 1.04; margin: .2em 0; }
.qp-hero-sub { max-width: 620px; margin: 14px auto 0; color: var(--muted); }

/* Turntable */
.qp-tt { max-width: 1000px; margin: 28px auto 0; text-align: center; }
.qp-tt-title { font-size: clamp(22px, 5vw, 40px); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; margin: 0; }
.qp-tt-specs { font-size: clamp(12px, 2.4vw, 14px); font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 6px; }
.qp-tt-stage { position: relative; padding: 0 10px; cursor: grab; user-select: none; -webkit-user-select: none; min-height: 40px; }
.qp-tt-stage img { position: relative; z-index: 2; width: 100%; height: auto; display: block; }
.qp-tt-year { position: absolute; top: 0; left: 50%; transform: translate(-50%, -25%); font-size: clamp(110px, 18vw, 220px); font-weight: 900; letter-spacing: 12px; color: rgba(10, 31, 51, .05); z-index: 0; pointer-events: none; }
.qp-tt-controls { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 16px; }
.qp-tt-btn { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--line); background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .2s; padding: 0; }
.qp-tt-btn:hover { border-color: var(--navy); background: var(--navy); }
.qp-tt-btn svg { width: 17px; height: 17px; stroke: #333; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: .2s; }
.qp-tt-btn:hover svg { stroke: #fff; }
.qp-tt-bar { position: relative; flex: 1; max-width: 440px; height: 8px; border-radius: 999px; background: #e7ecf1; cursor: pointer; touch-action: none; }
.qp-tt-bar-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--blue2)); }
.qp-tt-bar-knob { position: absolute; top: 50%; left: 0%; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 2px 8px rgba(0, 132, 255, .4); transform: translate(-50%, -50%); pointer-events: none; }

/* Grace's note */
.qp-note-card { position: relative; background: #fffdf3; border: 1px solid #f0e9cf; border-radius: 14px; padding: 28px 30px; box-shadow: 0 18px 40px -24px rgba(10, 31, 51, .35); transform: rotate(-.6deg); max-width: 760px; margin: 0 auto; }
.qp-note-body { font-family: "Caveat", cursive; font-size: clamp(22px, 3.4vw, 28px); line-height: 1.45; color: #2a2a2a; margin: 0; }
.qp-note-sign { font-family: "Caveat", cursive; font-size: 26px; text-align: right; margin: 10px 0 0; color: var(--blue); }

/* Checklist */
.qp-checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.qp-checklist li { position: relative; padding-left: 34px; font-size: clamp(16px, 2.2vw, 18px); line-height: 1.5; color: #33404d; }
.qp-checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue2)); }
.qp-checklist li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* Comparison */
.qp-cmp-scroll { overflow-x: auto; margin-top: 18px; }
.qp-cmp { width: 100%; border-collapse: collapse; min-width: 520px; }
.qp-cmp th, .qp-cmp td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.qp-cmp thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.qp-cmp tbody th { font-weight: 800; color: var(--navy); }
.qp-cmp-them { color: var(--muted); }
.qp-cmp-us { color: var(--navy); font-weight: 700; background: rgba(0, 132, 255, .05); }
.qp-cmp-ushead { color: var(--blue); }

/* Proof */
.qp-proof { background: #f7fafc; }
.qp-proof-warn { background: #fff4e5; border: 1px solid #ffd599; color: #8a5300; font-weight: 700; font-size: 14px; padding: 10px 14px; border-radius: 8px; margin: 14px 0 0; }
.qp-proof-video { width: 100%; max-width: 760px; display: block; margin: 20px auto 0; border-radius: 14px; background: #000; }
.qp-ba-grid { display: grid; gap: 22px; margin-top: 22px; }
.qp-ba { margin: 0; }
.qp-ba-cap { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.qp-ba-pair { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.qp-ba-cell { position: relative; }
.qp-ba-cell img { width: 100%; height: auto; border-radius: 12px; display: block; }
.qp-ba-tag { position: absolute; top: 10px; left: 10px; background: rgba(10, 31, 51, .85); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 50px; }
.qp-ba-tag--after { background: var(--blue); }
.qp-tgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 22px; }
.qp-tcard { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: 0 14px 34px -26px rgba(10, 31, 51, .4); }
.qp-tcard blockquote { margin: 0; font-size: clamp(17px, 2.4vw, 20px); line-height: 1.5; font-weight: 600; color: var(--navy); }
.qp-tcard blockquote::before { content: "\201C"; color: var(--blue); font-size: 40px; line-height: 0; vertical-align: -18px; margin-right: 4px; }
.qp-tcard figcaption { margin-top: 14px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* FAQs */
.qp-faqs { margin-top: 14px; border-top: 1px solid var(--line); }
.qp-faq { border-bottom: 1px solid var(--line); }
.qp-faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; position: relative; font-weight: 700; color: var(--navy); font-size: clamp(16px, 2.3vw, 18px); }
.qp-faq summary::-webkit-details-marker { display: none; }
.qp-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--blue); font-weight: 400; }
.qp-faq[open] summary::after { content: "\2212"; }
.qp-faq-a { padding: 0 0 18px; }

/* Close */
.qp-close { text-align: center; background: linear-gradient(180deg, #fff, #eef6ff); }
.qp-warranty { display: inline-block; background: linear-gradient(90deg, var(--blue), var(--blue2)); color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .04em; padding: 9px 22px; border-radius: 50px; }
.qp-close-body { max-width: 560px; margin: 12px auto 0; color: #33404d; }
.qp-cta { display: inline-block; margin-top: 22px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 800; font-size: 18px; padding: 16px 40px; border-radius: 50px; box-shadow: 0 18px 36px -16px rgba(0, 132, 255, .6); }
.qp-cta:hover { background: var(--blue); }
.qp-reads { margin-top: 40px; }
.qp-reads-h { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.qp-read { display: block; max-width: 520px; margin: 8px auto; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--navy); font-weight: 700; }
.qp-read:hover { border-color: var(--blue); }

/* Shared sub-line under H2 */
.qp-sub { color: var(--muted); margin-top: 6px; }

/* Hero CTA */
.qp-hero-cta { margin-top: 22px; }

/* Video testimonials */
.qp-vidgrid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 22px; }
.qp-vid { width: 100%; position: relative; padding-top: 56.25%; overflow: hidden; border-radius: 16px; background: #0a1f33; box-shadow: 0 18px 40px -26px rgba(10, 31, 51, .5); }
.qp-vid > div, .qp-vid iframe, .qp-vid video { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Our-process video: single landscape 16:9 player, centred */
.qp-vid--wide { max-width: 880px; margin: 22px auto 0; }
/* Fallback stays hidden until app.js flags .is-blocked (ad-blocker killed the player) */
.qp-vid-fallback { display: none; }
.qp-vid.is-blocked .qp-vid-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 28px; }
.qp-vid-fb-msg { color: #fff; font-weight: 800; font-size: 18px; margin: 0; }
.qp-vid-fb-sub { color: #cfe4ff; font-size: 14px; line-height: 1.5; max-width: 34ch; margin: 0; }

/* Finished-car video carousel */
.qp-vc { position: relative; margin-top: 22px; }
.qp-vc-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 10px; -webkit-overflow-scrolling: touch; }
.qp-vc-track::-webkit-scrollbar { height: 6px; }
.qp-vc-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.qp-vc-item { flex: 0 0 clamp(220px, 30%, 300px); scroll-snap-align: start; }
.qp-vc-item video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #0a1f33; border-radius: 14px; display: block; box-shadow: 0 16px 38px -28px rgba(10, 31, 51, .5); }
.qp-vc-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 3; box-shadow: 0 8px 20px -6px rgba(10, 31, 51, .5); }
.qp-vc-nav:hover { background: var(--blue); }
.qp-vc-prev { left: -8px; }
.qp-vc-next { right: -8px; }
.qp-vc-nav svg { width: 18px; height: 18px; stroke: #fff; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.qp-vc-track.qp-grab { cursor: grab; }
.qp-vc-track.qp-grabbing { cursor: grabbing; scroll-snap-type: none; }
.qp-vc-hint { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
@media (max-width: 560px) { .qp-vc-item { flex-basis: 78%; } .qp-vc-nav { width: 38px; height: 38px; } .qp-vc-prev { left: 2px; } .qp-vc-next { right: 2px; } }

/* Sideways drift marquee — shared by the work gallery and the reviews row (JS in app.js) */
.qp-mq-row { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.qp-mq-row::-webkit-scrollbar { display: none; }
.qp-mq-track { display: inline-flex; gap: 14px; width: max-content; padding: 6px 0; }

/* Work gallery — fixed-height rows that drift sideways (streams every car past) */
.qp-galx { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.qp-galx .qp-gal-img { height: 220px; width: auto; flex: 0 0 auto; display: block; border-radius: 14px; border: 1px solid rgba(6, 148, 255, .28); box-shadow: 0 14px 30px -22px rgba(10, 31, 51, .55); cursor: zoom-in; user-select: none; -webkit-user-drag: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.qp-galx .qp-gal-img:hover, .qp-galx .qp-gal-img:focus-visible { transform: translateY(-5px); border-color: var(--blue); box-shadow: 0 22px 44px -22px rgba(6, 148, 255, .5); outline: none; }
@media (max-width: 560px) { .qp-galx { gap: 10px; } .qp-galx .qp-mq-track { gap: 10px; } .qp-galx .qp-gal-img { height: 150px; border-radius: 12px; } }

/* Reviews */
.qp-reviews { background: #fff; }
.qp-stars { color: #ffb300; letter-spacing: 2px; }
.qp-rbadge { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 50px; font-size: 15px; color: var(--navy); }
.qp-rbadge strong { font-size: 18px; }
.qp-rmq { margin-top: 22px; }
.qp-rmq .qp-mq-track { align-items: stretch; }
.qp-rcard { margin: 0; width: 340px; flex: 0 0 auto; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: 0 16px 34px -26px rgba(10, 31, 51, .45); }
.qp-rcard blockquote { margin: 10px 0 0; font-size: 15.5px; line-height: 1.55; color: #33404d; flex: 1 1 auto; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; }
.qp-rcard figcaption { margin-top: 16px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.qp-rlink { display: inline-block; margin-top: 20px; font-weight: 700; color: var(--blue); text-decoration: none; }
.qp-rlink:hover { text-decoration: underline; }
@media (max-width: 560px) { .qp-rcard { width: 280px; padding: 18px; } }

/* Early CTA banner */
.qp-ctabanner { text-align: center; background: linear-gradient(180deg, #f7fafc, #fff); }

.qp-ic { width: 22px; height: 22px; flex: 0 0 auto; }

/* Trust strip — scrolling ticker */
.qp-truststrip { background: var(--navy); padding: 18px 0; overflow: hidden; }
.qp-ticker { display: flex; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.qp-ticker-track { display: flex; gap: 44px; white-space: nowrap; padding-left: 44px; animation: qpTick 34s linear infinite; }
.qp-chip { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: clamp(15px, 2.4vw, 18px); font-weight: 800; letter-spacing: .01em; }
.qp-chip .qp-ic { color: var(--blue2); }
@keyframes qpTick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .qp-ticker-track { animation: none; } }

/* Supercars value graph */
.qp-graph-wrap { margin-top: 22px; }
.qp-graph { width: 100%; height: auto; display: block; }
.qp-graph-axis { fill: var(--muted); font-size: 13px; font-weight: 700; font-family: "Montserrat", sans-serif; }
.qp-graph-val { fill: var(--navy); font-size: 17px; font-weight: 900; font-family: "Montserrat", sans-serif; }
.qp-graph-lbl { fill: var(--muted); font-size: 13px; font-weight: 700; font-family: "Montserrat", sans-serif; }
.qp-superthumbs { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 18px; }
.qp-superthumb { margin: 0; text-align: center; }
.qp-superthumb img { width: 150px; height: 100px; object-fit: contain; background: #f7fafc; border-radius: 12px; border: 1px solid var(--line); }
.qp-superthumb figcaption { margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.qp-superthumb strong { color: var(--blue); }

/* Ceramic process stages */
.qp-stages { display: flex; align-items: stretch; gap: 6px; margin-top: 26px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
.qp-stage { flex: 1 1 0; min-width: 150px; background: #f7fafc; border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px; text-align: center; }
.qp-stage-n { width: 34px; height: 34px; margin: 0 auto 10px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue2)); color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.qp-stage-t { font-weight: 800; color: var(--navy); margin-bottom: 5px; }
.qp-stage-d { font-size: 13px; line-height: 1.45; color: #33404d; }
.qp-stage-arrow { display: flex; align-items: center; color: var(--blue); font-size: 30px; font-weight: 700; flex: 0 0 auto; }
@media (max-width: 700px) { .qp-stages { flex-direction: column; } .qp-stage-arrow { transform: rotate(90deg); justify-content: center; padding: 2px 0; } }

/* Warranty — seal + points */
.qp-warranty-grid { display: flex; gap: 34px; align-items: center; flex-wrap: wrap; }
.qp-wseal { position: relative; flex: 0 0 auto; width: 150px; height: 150px; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 18px 30px rgba(0, 132, 255, .4)); }
.qp-wseal svg { width: 100%; height: 100%; }
.qp-wseal-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.qp-wseal-num { font-size: 52px; font-weight: 900; line-height: 1; }
.qp-wseal-lbl { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-align: center; margin-top: 2px; }
.qp-wcopy { flex: 1 1 320px; }
.qp-wpoints { display: grid; gap: 10px; margin-top: 14px; }
.qp-wpoint { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); }
.qp-wpoint .qp-ic { color: var(--blue); }
.qp-warranty-extend { margin-top: 14px; font-weight: 800; color: var(--blue); }

/* Satisfaction seal */
.qp-satisfaction { background: #f7fafc; }
.qp-sat-wrap { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }
.qp-sat-copy { flex: 1 1 320px; }
.qp-seal { flex: 0 0 auto; }
.qp-seal-ring { position: relative; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, var(--blue2), var(--blue)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 22px 44px -18px rgba(0, 132, 255, .65); border: 4px solid #fff; outline: 2px dashed rgba(255, 255, 255, .6); outline-offset: -12px; }
.qp-seal-tick { font-size: 40px; line-height: 1; font-weight: 900; }
.qp-seal-text { margin-top: 6px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; text-align: center; line-height: 1.3; }
.qp-seal-text span { display: block; }

/* Reassurance — featured courtesy car + grid below */
.qp-recard { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: #fff; box-shadow: 0 14px 32px -26px rgba(10, 31, 51, .4); }
.qp-recard--feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: center; margin-top: 22px; background: linear-gradient(135deg, #f7fbff, #eef6ff); border-color: rgba(0, 132, 255, .18); }
.qp-refeat-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 12px; }
.qp-re-ic { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--blue2)); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.qp-re-ic .qp-ic { width: 24px; height: 24px; }
.qp-regrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 16px; }
.qp-re-title { margin: 0 0 6px; font-size: 18px; font-weight: 800; color: var(--navy); }
.qp-re-body { margin: 0; font-size: 14px; line-height: 1.5; color: #33404d; }
@media (max-width: 640px) { .qp-recard--feature { grid-template-columns: 1fr; } }

/* Close mascot */
.qp-close-mascot { width: clamp(150px, 38vw, 240px); height: auto; margin: 0 auto -4px; display: block; }

/* Comparison v2 — highlighted column (ref-inspired) */
.qp-cmp2 { display: grid; grid-template-columns: 1fr 1fr; max-width: 760px; margin: 22px auto 0; }
.qp-cmp2-h { font-weight: 900; text-transform: uppercase; letter-spacing: .04em; padding: 14px 16px; font-size: clamp(13px, 2.6vw, 16px); }
.qp-cmp2-h.qp-cmp2-them { color: var(--muted); align-self: end; }
.qp-cmp2-h.qp-cmp2-us { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue2)); border-radius: 16px 16px 0 0; text-align: center; }
.qp-cmp2-c { padding: 13px 16px; font-size: clamp(12.5px, 2.5vw, 15px); line-height: 1.4; border-top: 1px solid var(--line); display: flex; gap: 8px; align-items: flex-start; }
.qp-cmp2-c.qp-cmp2-them { color: #6a7886; }
.qp-cmp2-c.qp-cmp2-us { color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--blue), var(--blue2)); border-top: 1px solid rgba(255, 255, 255, .2); }
.qp-cmp2-c.qp-cmp2-us.is-last { border-radius: 0 0 16px 16px; }
.qp-cmp2-tick { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .25); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; margin-top: 1px; }

/* Lightbox */
.qp-lb { position: fixed; inset: 0; background: rgba(8, 18, 30, .9); display: none; align-items: center; justify-content: center; z-index: 9999; padding: 18px; cursor: zoom-out; }
.qp-lb.on { display: flex; }
.qp-lb img { max-width: 96vw; max-height: 90vh; border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.qp-lb-close { position: absolute; top: 14px; right: 20px; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }
.qp-gal-img { cursor: zoom-in; }
.qp-refeat-media img { object-fit: cover; }
.qp-recard--feature { background: #fff; }

@media (max-width: 520px) { .qp-ba-pair { grid-template-columns: 1fr; } }

/* Second car — its own turntable inside a section */
.qp-secondcar .qp-tt { margin-top: 8px; }
.qp-secondcar .qp-sub { max-width: 640px; }

/* Blackout / styling vision — render + copy */
.qp-vision-media { margin: 18px auto 0; max-width: 860px; }
.qp-vision-media img { width: 100%; height: auto; display: block; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px -34px rgba(10, 31, 51, .55); }
.qp-vision-cap { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: center; margin: 12px 0 0; }
.qp-vision-copy { max-width: 680px; margin: 20px auto 0; }
.qp-vision-copy .qp-p + .qp-p { margin-top: 12px; }

/* On-page quote summary (only when data.quote present) */
.qp-quote .qp-sub { max-width: 640px; }
.qp-q-card { max-width: 560px; margin: 22px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 18px 44px -30px rgba(10, 31, 51, .45); }
.qp-q-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.qp-q-row:last-child { border-bottom: 0; }
.qp-q-name { font-weight: 800; color: var(--navy); font-size: 16px; text-align: left; }
.qp-q-name span { display: block; font-weight: 600; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.qp-q-price { font-weight: 900; color: var(--navy); font-size: 20px; white-space: nowrap; }
.qp-q-total { background: linear-gradient(90deg, var(--blue), var(--blue2)); }
.qp-q-total .qp-q-name, .qp-q-total .qp-q-price { color: #fff; }
.qp-q-total .qp-q-name span { color: rgba(255, 255, 255, .85); }
.qp-q-total .qp-q-price { font-size: 24px; }
.qp-q-includes { max-width: 560px; margin: 20px auto 0; text-align: left; }
.qp-q-inc-h { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.qp-q-note { max-width: 560px; margin: 16px auto 0; font-size: 14px; color: var(--muted); }

/* Quote as PDF-style anchored cards */
.qp-qcards { display:flex; gap:14px; margin:22px auto 0; max-width:920px; align-items:stretch; flex-wrap:wrap; }
.qp-qc { flex:1 1 200px; position:relative; background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; text-align:left; box-shadow:0 16px 40px -30px rgba(10,31,51,.4); }
.qp-qc.is-best { border:2px solid var(--blue); }
.qp-qc-badge { background:linear-gradient(90deg,var(--blue),var(--blue2)); color:#fff; font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; text-align:center; padding:7px 8px; }
.qp-qc-body { padding:18px 18px 20px; }
.qp-qc-name { font-weight:900; color:var(--navy); font-size:19px; }
.qp-qc-sub { font-size:12px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; margin-top:3px; min-height:15px; }
.qp-qc-pricewrap { display:flex; align-items:baseline; gap:9px; margin-top:10px; }
.qp-qc-was { color:var(--muted); text-decoration:line-through; font-weight:700; font-size:16px; }
.qp-qc-price { font-weight:900; color:var(--navy); font-size:34px; letter-spacing:-.02em; }
.qp-qc-price small { font-size:18px; font-weight:800; vertical-align:super; }
.qp-qc.is-best .qp-qc-price { color:var(--blue); }
.qp-qc-note { font-size:12px; color:var(--muted); margin-top:4px; }
.qp-qc ul { list-style:none; margin:12px 0 0; padding:0; }
.qp-qc li { position:relative; padding-left:22px; font-size:13.5px; color:var(--navy); margin-top:7px; line-height:1.4; }
.qp-qc li::before { content:"✓"; position:absolute; left:0; top:0; color:var(--blue); font-weight:900; }
.qp-q-note { max-width:600px; margin:18px auto 0; font-size:14px; color:var(--muted); }
.qp-quote .qp-cta { margin-top:18px; }
@media (max-width:640px){ .qp-qcards{ flex-direction:column; } .qp-qc{ flex:1 1 auto; } }

/* Second car as a single cut-out still */
.qp-sc-still { max-width:1000px; margin:18px auto 0; text-align:center; }
.qp-sc-img { width:100%; height:auto; display:block; margin-top:6px; }

/* Advertorial article (ad-lander body) */
.qp-article-wrap { max-width: 720px; text-align: left; }
.qp-article-wrap .qp-eyebrow, .qp-article-wrap .qp-h2 { text-align: left; }
.qp-h3 { font-size: clamp(19px, 3vw, 24px); font-weight: 800; letter-spacing: -.01em; color: var(--navy); margin: 1.8em 0 .4em; }
.qp-article-p { margin: 0 0 1.05em; }
.qp-article-list { margin: 0 0 1.2em; }
.qp-callout { margin: 26px 0; padding: 20px 24px; border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; background: rgba(0, 132, 255, .06); }
.qp-callout-h { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.qp-callout-p { margin: 0; font-size: clamp(16px, 2.2vw, 18px); line-height: 1.55; font-weight: 600; color: var(--navy); }
.qp-article-sign { font-family: "Caveat", cursive; font-size: 26px; color: var(--blue); margin: 28px 0 0; }
.qp-article-fig { margin: 26px 0; }
.qp-article-fig img { width: 100%; height: auto; border-radius: 12px; display: block; }
.qp-article-fig figcaption { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--muted); }

/* Inline CTA band */
.qp-ctaband { background: linear-gradient(180deg, rgba(0,132,255,.05), rgba(0,132,255,.02)); text-align: center; }
.qp-ctaband-h { max-width: 720px; margin-left: auto; margin-right: auto; }
.qp-ctaband-sub { max-width: 560px; margin: 10px auto 0; color: var(--muted); }
.qp-ctaband .qp-cta { border: 0; cursor: pointer; font-family: inherit; }
.qp-ctaband-note { margin: 14px 0 0; font-size: 13px; font-weight: 700; color: var(--muted); }

/* Paint-check modal */
.qp-modal[aria-hidden="true"] { display: none; }
.qp-modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 20px; }
.qp-modal-backdrop { position: absolute; inset: 0; background: rgba(10,31,51,.72); backdrop-filter: blur(3px); }
.qp-modal-card { position: relative; width: 100%; max-width: 460px; max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 16px; box-shadow: 0 30px 70px -20px rgba(10,31,51,.6); }
.qp-modal-body { padding: 30px 28px 28px; }
.qp-modal-x { position: absolute; top: 10px; right: 14px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 8px; }
.qp-modal-h { font-size: clamp(21px, 4vw, 26px); font-weight: 900; letter-spacing: -.02em; color: var(--navy); margin: 0 0 6px; }
.qp-modal-sub { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 0 0 20px; }
.qp-form { display: grid; gap: 14px; }
.qp-field { display: grid; gap: 6px; text-align: left; }
.qp-field > span { font-size: 13px; font-weight: 800; color: var(--navy); }
.qp-field em { font-style: normal; font-weight: 600; color: var(--muted); }
.qp-field input, .qp-field select { font-family: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; box-sizing: border-box; }
.qp-field input:focus, .qp-field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,132,255,.15); }
.qp-form-submit { margin-top: 4px; border: 0; cursor: pointer; font-family: inherit; width: 100%; }
.qp-form-submit:disabled { opacity: .6; cursor: default; }
.qp-form-fine { font-size: 12px; line-height: 1.45; color: var(--muted); margin: 2px 0 0; text-align: center; }
.qp-form-err { font-size: 14px; font-weight: 700; color: #c0392b; margin: 0; text-align: center; }
.qp-form-done { text-align: center; padding: 10px 0 6px; }
.qp-form-tick { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue2)); color: #fff; font-size: 30px; line-height: 58px; }
.qp-form-done h3 { font-size: 21px; font-weight: 900; color: var(--navy); margin: 0 0 8px; }
.qp-form-done p { font-size: 15px; line-height: 1.55; color: #33404d; margin: 0; }
@media (max-width: 640px) { .qp-modal { padding: 0; align-items: flex-end; } .qp-modal-card { max-width: none; border-radius: 16px 16px 0 0; max-height: 94vh; } }
