/* ══════════════════════════════════════════════
   Qore Solutions — shared styles for all pages
   ══════════════════════════════════════════════ */
:root {
  --bg: #08090b;
  --red: #ff2740;
  --red-bright: #ff4358;
  --text: #f2f3f5;
  --text-dim: rgba(242, 243, 245, 0.55);
  --card: #111318;
  --line: #24272e;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Sora', sans-serif; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.cta {
  margin-top: 0; pointer-events: auto; display: inline-block; padding: 14px 34px;
  border: 1px solid var(--red); border-radius: 2px; text-decoration: none; color: var(--red-bright);
  font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease; cursor: pointer; background: transparent;
}
.cta:hover { background: var(--red); color: #08090b; }
.cta.solid { background: var(--red); color: #08090b; border-color: var(--red); }
.cta.solid:hover { background: var(--red-bright); border-color: var(--red-bright); }
.cta.small { padding: 9px 18px; font-size: 11px; }
.cta.ghost { border-color: var(--line); color: var(--text-dim); }
.cta.ghost:hover { border-color: var(--text-dim); background: transparent; color: var(--text); }

/* ═══ NAV (all pages) ═══ */
#site-nav-root { position: fixed; top: 0; left: 0; right: 0; z-index: 200; }
.qnav {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 5vw;
  background: #ffffff; backdrop-filter: none;
  border-bottom: 1px solid #e8e8e8; transition: border-color 0.3s ease, background 0.3s ease;
}
.qnav.solid { border-bottom-color: #e8e8e8; }
.qnav .mark { display: flex; align-items: center; margin-right: clamp(28px, 4vw, 64px); }
.qnav .mark img { height: 36px; width: auto; display: block; }
.qnav .links { display: flex; align-items: center; gap: clamp(14px, 1.3vw, 22px); }
.qnav .links > a, .qnav .links > .qdrop > .qdrop-label {
  color: #111318; text-decoration: none; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  transition: color 0.25s; background: none; border: none; cursor: pointer; font-family: 'Inter', sans-serif;
  display: flex; align-items: center; gap: 5px; padding: 6px 0;
}
.qnav .links > .qdrop { display: flex; align-items: center; gap: 3px; }
.qnav .links > .qdrop > .qdrop-caret {
  display: flex; align-items: center; padding: 6px 0 6px 2px; background: none; border: none; cursor: pointer; color: #111318;
}
.qnav .links > a:hover, .qnav .links > .qdrop > .qdrop-label:hover, .qnav .links > a.active, .qnav .links > .qdrop.active > .qdrop-label { color: var(--red); }
.qnav .links > .qdrop:hover > .qdrop-caret, .qnav .links > .qdrop.active > .qdrop-caret { color: var(--red); }
.qnav .links > .qdrop > .qdrop-caret svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.25s; }
.qnav .links > .qdrop:hover > .qdrop-caret svg, .qnav .links > .qdrop.open > .qdrop-caret svg { transform: rotate(180deg); }
.qnav .navcta { border: 1px solid var(--red); border-radius: 2px; padding: 8px 20px; color: var(--red); text-decoration: none; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; transition: background 0.25s, color 0.25s; }
.qnav .navcta:hover { background: var(--red); color: #ffffff; }

.qdrop { position: relative; }
.qdrop-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 260px; background: #ffffff; border: 1px solid #e8e8e8; border-radius: 8px;
  padding: 10px; box-shadow: 0 20px 50px rgba(0,0,0,0.14);
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease;
}
.qdrop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.qdrop:hover .qdrop-menu, .qdrop.open .qdrop-menu { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.qdrop-menu a { display: block; padding: 9px 12px; border-radius: 5px; font-size: 13px; color: #333740; text-decoration: none; transition: background 0.2s, color 0.2s; }
.qdrop-menu a:hover { background: rgba(0,0,0,0.05); color: #000; }
.qdrop-menu .divider { height: 1px; background: #e8e8e8; margin: 6px 4px; }
.qdrop-menu .allink { color: var(--red); font-weight: 600; font-size: 12px; letter-spacing: 0.06em; }

.qnav-burger { display: none; width: 26px; height: 20px; position: relative; background: none; border: none; cursor: pointer; }
.qnav-burger span { position: absolute; left: 0; right: 0; height: 2px; background: #111318; transition: transform 0.25s, opacity 0.25s; }
.qnav-burger span:nth-child(1) { top: 0; }
.qnav-burger span:nth-child(2) { top: 9px; }
.qnav-burger span:nth-child(3) { top: 18px; }
.qnav-mobile { display: none; }

@media (max-width: 980px) {
  .qnav .links, .qnav .navcta { display: none; }
  .qnav-burger { display: block; }
  .qnav-mobile {
    display: block; max-height: 0; overflow: hidden; background: #ffffff; border-bottom: 1px solid #e8e8e8;
    transition: max-height 0.35s ease;
  }
  .qnav-mobile.open { max-height: 80vh; overflow-y: auto; }
  .qnav-mobile .inner { padding: 8px 5vw 22px; }
  .qnav-mobile a { display: block; padding: 12px 0; color: #111318; text-decoration: none; font-size: 14px; border-bottom: 1px solid #e8e8e8; }
  .qnav-mobile .grp-label { padding: 14px 0 4px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); }
  .qnav-mobile .sub a { padding-left: 14px; font-size: 13px; border-bottom: none; color: #444; }
  .qnav-mobile .navcta { display: inline-block; margin-top: 16px; }
}

/* ═══ PAGE BANNER (inner pages) ═══ */
.pgbanner { position: relative; padding: 26vh 7vw 10vh; overflow: hidden; }
.pgbanner::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 0%, rgba(255,39,64,0.10), transparent 60%),
              radial-gradient(ellipse 60% 50% at 10% 100%, rgba(255,39,64,0.06), transparent 60%);
}
.pgbanner .inner { position: relative; z-index: 1; max-width: 1500px; margin: 0 auto; }
.pgbanner .kicker { font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; font-family: 'Sora', sans-serif; font-weight: 600; }
.pgbanner h1 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; font-size: clamp(32px, 4.6vw, 62px); max-width: 18ch; }
.pgbanner p.lead { color: var(--text-dim); font-size: clamp(14px, 1.3vw, 18px); line-height: 1.7; max-width: 56ch; margin-top: 18px; }
.pgbanner .banner-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.crumbs { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 22px; }
.crumbs a { color: var(--text-dim); text-decoration: none; } .crumbs a:hover { color: var(--red-bright); }

/* ═══ GENERIC SECTION ═══ */
.bp { position: relative; padding: 9vh 7vw; max-width: 1500px; margin: 0 auto; }
.bp.tight { padding: 5vh 7vw; }
.bp .kicker { font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; font-family: 'Sora', sans-serif; font-weight: 600; }
.bp h2 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(28px, 3.6vw, 48px); }
.bp p.lead { color: var(--text-dim); font-size: clamp(14px, 1.15vw, 17px); line-height: 1.7; max-width: 58ch; margin-top: 16px; }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(.2,.6,.2,1), transform 0.7s cubic-bezier(.2,.6,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }

/* card grids */
.qgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.qgrid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.qgrid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.qgrid.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .qgrid, .qgrid.cols-4, .qgrid.cols-5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .qgrid, .qgrid.cols-2, .qgrid.cols-4, .qgrid.cols-5 { grid-template-columns: 1fr; } }

.qcard {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 26px 24px; transition: border-color 0.25s, transform 0.25s;
}
.qcard:hover { border-color: color-mix(in srgb, var(--red) 40%, var(--line)); transform: translateY(-3px); }
.qcard .qicon {
  width: 46px; height: 46px; border-radius: 8px; background: rgba(255,39,64,0.08);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.qcard .qicon svg { width: 22px; height: 22px; stroke: var(--red-bright); fill: none; stroke-width: 1.6; }
.qcard h3 { font-size: 1.02rem; font-weight: 650; margin-bottom: 8px; line-height: 1.32; }
.qcard h3 a { text-decoration: none; color: var(--text); }
.qcard h3 a:hover { color: var(--red-bright); }
.qcard p { color: var(--text-dim); font-size: 0.87rem; line-height: 1.6; }
.qcard .qlink { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red-bright); text-decoration: none; }
.qcard .qlink svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.2s; }
.qcard .qlink:hover svg { transform: translateX(3px); }
.qcard ul.taglist { list-style: none; margin-top: 14px; }
.qcard ul.taglist li { color: var(--text-dim); font-size: 0.82rem; line-height: 1.75; padding-left: 14px; position: relative; }
.qcard ul.taglist li::before { content: "—"; position: absolute; left: 0; color: color-mix(in srgb, var(--text) 25%, transparent); }

/* checklist points */
.qpoints { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; margin-top: 30px; }
.qpoints.cols-1 { grid-template-columns: 1fr; }
@media (max-width: 700px) { .qpoints { grid-template-columns: 1fr; } }
.qpoints li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-dim); font-size: 0.93rem; line-height: 1.6; }
.qpoints li svg { flex: none; width: 18px; height: 18px; stroke: var(--red-bright); fill: none; stroke-width: 2; margin-top: 2px; }

/* process steps */
.qsteps { counter-reset: step; margin-top: 46px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.qsteps .step { counter-increment: step; background: var(--bg); padding: 28px 22px; position: relative; }
.qsteps .step::before { content: counter(step, decimal-leading-zero); font-family: 'Sora', sans-serif; font-weight: 700; font-size: 13px; color: var(--red); letter-spacing: 0.1em; display: block; margin-bottom: 14px; }
.qsteps .step h4 { font-size: 0.95rem; font-weight: 650; margin-bottom: 6px; }
.qsteps .step p { color: var(--text-dim); font-size: 0.82rem; line-height: 1.55; }
@media (max-width: 900px) { .qsteps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .qsteps { grid-template-columns: 1fr; } }

/* accordion detail sections used on solutions/industries pages —
   one self-contained card per vertical: video + short teaser always visible,
   full breakdown revealed on "View Details". */
.qsection-anchor { scroll-margin-top: 110px; }
.qdetail {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 5vh 5vw; margin-bottom: 34px; transition: border-color 0.3s;
}
.qdetail:hover { border-color: color-mix(in srgb, var(--red) 28%, var(--line)); }
.qdetail .dhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 30px; }
.qdetail .dhead .num { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.2em; color: var(--red-bright); }
.qdetail .dhead h2 { font-size: clamp(22px, 2.6vw, 34px); margin-top: 8px; }
.qdetail .dhead p { color: var(--text-dim); max-width: 52ch; margin-top: 10px; font-size: 0.94rem; line-height: 1.65; }
.qdetail .teaser {
  display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px;
}
.qdetail .teaser span {
  font-size: 12px; padding: 8px 14px; border-radius: 20px; color: var(--text-dim);
  border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 60%, transparent);
}
.qdetail .teaser span.more { color: var(--red-bright); border-color: color-mix(in srgb, var(--red) 35%, var(--line)); }

.qdetail .toggle {
  background: none; border: 1px solid var(--line); color: var(--text); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; cursor: pointer; padding: 12px 22px; margin-top: 26px; border-radius: 30px;
  display: inline-flex; align-items: center; gap: 8px; font-family: 'Sora', sans-serif; font-weight: 650;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.qdetail .toggle:hover { border-color: var(--red); color: var(--red-bright); }
.qdetail .toggle svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.3s; }
.qdetail.open .toggle svg { transform: rotate(180deg); }
.qdetail.open .toggle { border-color: var(--red); color: var(--red-bright); background: rgba(255,39,64,0.08); }

.qdetail .pdetails { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(.2,.6,.2,1), margin 0.5s ease; }
.qdetail.open .pdetails { max-height: 2400px; margin-top: 34px; }
.qdetail .pdetails-inner { padding-top: 30px; border-top: 1px solid var(--line); }

.dgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
@media (max-width: 800px) { .dgrid { grid-template-columns: 1fr; } }
.qdetail h5 { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red-bright); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.qdetail h5::before { content: ""; width: 14px; height: 1px; background: var(--red-bright); display: inline-block; }
.qdetail ul { list-style: none; }
.qdetail ul li { color: var(--text-dim); font-size: 0.88rem; line-height: 1.9; padding-left: 18px; position: relative; }
.qdetail ul li::before { content: "—"; position: absolute; left: 0; color: color-mix(in srgb, var(--text) 25%, transparent); }

.qdetail .taglist { display: flex; flex-wrap: wrap; gap: 9px; }
.qdetail .taglist span {
  font-size: 12.5px; padding: 8px 15px; border-radius: 20px; color: var(--text);
  border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 55%, transparent);
}
.qdetail .subhead {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim);
  margin: 26px 0 8px;
}
.qdetail .subhead:first-child { margin-top: 0; }

/* forms */
.qform { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 6px; }
.qform.stack { grid-template-columns: 1fr; }
.qform .full { grid-column: 1 / -1; }
.qform label { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
.qform input, .qform select, .qform textarea {
  width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px;
  color: var(--text); font-family: 'Inter', sans-serif; font-size: 14px;
}
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: none; border-color: var(--red); }
.qform textarea { resize: vertical; min-height: 100px; }
.qform .checkline { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-dim); }
.qform .checkline input { width: 16px; height: 16px; }
.qform .file-hint { font-size: 11px; color: var(--text-dim); margin-top: 6px; }

.enq-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* stats band */
.bp-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8vw; text-align: center; }
.bp-stats .num { font-weight: 700; letter-spacing: -0.02em; font-size: clamp(34px, 4.6vw, 66px); color: var(--red); font-family: 'Sora', sans-serif; }
.bp-stats .lbl { margin-top: 6px; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-dim); }

.bp-ctaband { text-align: center; padding: 14vh 7vw; }
.bp-ctaband .btnrow { display: flex; justify-content: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

/* faq */
.qfaq { border-top: 1px solid var(--line); margin-top: 30px; }
.qfaq-item { border-bottom: 1px solid var(--line); }
.qfaq-item button { width: 100%; text-align: left; background: none; border: none; color: var(--text); padding: 22px 4px; font-size: 0.98rem; font-weight: 600; font-family: 'Sora', sans-serif; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; }
.qfaq-item button svg { flex: none; width: 14px; height: 14px; stroke: var(--red-bright); fill: none; stroke-width: 2; transition: transform 0.25s; }
.qfaq-item.open button svg { transform: rotate(45deg); }
.qfaq-item .a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.qfaq-item.open .a { max-height: 300px; }
.qfaq-item .a p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.7; padding: 0 4px 22px; max-width: 62ch; }

/* job cards */
.jobcard { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 26px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; transition: border-color 0.25s; }
.jobcard:hover { border-color: color-mix(in srgb, var(--red) 40%, var(--line)); }
.jobcard h4 { font-size: 1rem; font-weight: 650; margin-bottom: 6px; }
.jobcard .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--text-dim); }
.jobcard .meta span { display: flex; align-items: center; gap: 5px; }

/* footer */
footer.bp-footer { border-top: 1px solid var(--line); padding: 9vh 7vw 6vh; }
.bp-footer .cols { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 4vw; max-width: 1500px; margin: 0 auto; }
.bp-footer h4 { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.bp-footer a { display: block; color: var(--text-dim); text-decoration: none; font-size: 14px; margin-bottom: 10px; }
.bp-footer a:hover { color: var(--text); }
.bp-footer .fine { margin-top: 8vh; text-align: center; font-size: 11px; letter-spacing: 0.15em; color: color-mix(in srgb, var(--text) 30%, transparent); text-transform: uppercase; }
.bp-footer .social { display: flex; gap: 12px; margin-top: 6px; }
.bp-footer .social a { display: flex; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; align-items: center; justify-content: center; margin: 0; }
.bp-footer .social a svg { width: 15px; height: 15px; stroke: var(--text-dim); fill: none; stroke-width: 1.6; }
.bp-footer .social a:hover { border-color: var(--red); } .bp-footer .social a:hover svg { stroke: var(--red-bright); }
@media (max-width: 900px) { .bp-footer .cols { grid-template-columns: 1fr 1fr; } }

/* ═══ VIDEO BANNER (full-bleed cinematic section) ═══ */
.vidbanner { position: relative; height: 78vh; min-height: 480px; overflow: hidden; }
.vidbanner + .vidbanner { margin-top: 6vh; border-top: 1px solid var(--line); }
.vidbanner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sound-toggle {
  position: absolute; left: 24px; bottom: 24px; z-index: 8;
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.35);
  background: rgba(8,9,11,0.55); backdrop-filter: blur(6px); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: border-color 0.25s, background 0.25s, transform 0.2s;
}
.sound-toggle:hover { border-color: var(--red-bright); transform: scale(1.06); }
.sound-toggle svg { width: 19px; height: 19px; stroke: #fff; fill: none; stroke-width: 1.8; }
.sound-toggle .icon-off { display: block; }
.sound-toggle .icon-on { display: none; }
.sound-toggle.unmuted .icon-off { display: none; }
.sound-toggle.unmuted .icon-on { display: block; }
.sound-toggle.unmuted { border-color: var(--red-bright); }
.sound-toggle.small { width: 32px; height: 32px; left: auto; right: 10px; bottom: 10px; }
.sound-toggle.small svg { width: 14px; height: 14px; }
.vidbanner::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8,9,11,0.55) 0%, rgba(8,9,11,0.35) 32%, rgba(8,9,11,0.75) 100%),
              linear-gradient(90deg, rgba(8,9,11,0.85) 0%, transparent 45%, transparent 60%, rgba(8,9,11,0.5) 100%);
}
.vidbanner .vb-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 7vw; max-width: 1500px; margin: 0 auto; }
.vidbanner .kicker { font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--red-bright); margin-bottom: 16px; font-family: 'Sora', sans-serif; font-weight: 600; }
.vidbanner h2 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(28px, 4vw, 54px); max-width: 16ch; color: var(--text); }
.vidbanner p.lead { color: rgba(242,243,245,0.78); font-size: clamp(14px, 1.2vw, 17px); line-height: 1.7; max-width: 46ch; margin-top: 16px; }
.vidbanner .btnrow { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.vidbanner.right .vb-inner { align-items: flex-end; text-align: right; }
.vidbanner.right p.lead { margin-left: auto; }
.vidbanner.right .btnrow { justify-content: flex-end; }
@media (max-width: 700px) { .vidbanner { height: 64vh; } }

/* ═══ INLINE DETAIL VIDEO (used inside .qdetail / .bp-split blocks) ═══ */
.dmedia {
  width: 100%; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden;
  background: #0c0d10; position: relative; border: 1px solid var(--line);
}
.dmedia video { width: 100%; height: 100%; object-fit: cover; display: block; }
.dmedia::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 60px rgba(0,0,0,0.35); pointer-events: none; }
.dmedia .dmtag {
  position: absolute; left: 14px; bottom: 14px; z-index: 2; font-family: 'Sora', sans-serif;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text);
  background: rgba(8,9,11,0.55); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.12);
  padding: 7px 12px; border-radius: 20px;
}
.dmedia .dmcap {
  position: absolute; left: 0; top: 0; right: 0; z-index: 2; padding: 22px 26px 60px;
  background: linear-gradient(180deg, rgba(5,6,8,0.75) 0%, rgba(5,6,8,0.35) 55%, transparent 100%);
  pointer-events: none;
}
.dmedia .dmcap .k { font-family: 'Sora', sans-serif; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--red-bright); font-weight: 600; }
.dmedia .dmcap h4 { font-family: 'Sora', sans-serif; font-size: clamp(16px, 1.8vw, 22px); font-weight: 650; color: var(--text); margin-top: 6px; letter-spacing: -0.01em; }
.dmedia .dmcap p { font-size: 0.82rem; color: var(--text-dim); margin-top: 5px; max-width: 46ch; line-height: 1.5; }

/* floating whatsapp / call buttons */
.qfloat { position: fixed; right: 24px; bottom: 24px; z-index: 150; display: flex; flex-direction: column; gap: 12px; }
.qfloat a { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 10px 26px rgba(0,0,0,0.5); transition: transform 0.2s; }
.qfloat a:hover { transform: translateY(-3px); }
.qfloat a.wa { background: #25D366; }
.qfloat a.call { background: var(--red); }
.qfloat a svg { width: 24px; height: 24px; stroke: #08090b; fill: none; stroke-width: 2; }
