/* fix-qa4.css: QA fixes for locations, faq, contact, oracle */

/* ---------- Locations ---------- */
/* hero globe: show the round globe image as a globe, not a cropped card with black corners */
body[data-page="locations"] .hero-vis .hv-f{background:none;padding:0;box-shadow:none;transform:none;border-radius:50%;max-width:440px;margin-inline:auto;filter:drop-shadow(0 40px 60px rgba(27,42,74,.35))}
body[data-page="locations"] .hero-vis .hv-f img{aspect-ratio:1/1;object-fit:contain;border-radius:50%;clip-path:circle(49.5%)}
body[data-page="locations"] .hero-vis .hv-chip{left:0;bottom:6%}
@media(max-width:900px){body[data-page="locations"] .hero-vis .hv-f{max-width:300px}body[data-page="locations"] .hero-vis .hv-chip{left:0;bottom:0}}
body[data-page="locations"] canvas.qa4-clockdriver{display:none}
/* photo band caption: comfortable measure */
body[data-page="locations"] .photo-band .pb-in p{max-width:1320px}
body[data-page="locations"] .photo-band .pb-in p{text-wrap:balance}

/* ---------- FAQ ---------- */
body[data-page="faq"] .qa4-askcard{max-width:520px;justify-self:end;width:100%}
.qa4-ac{background:#fff;border-radius:24px;padding:28px 28px 30px;box-shadow:0 50px 100px -40px rgba(27,42,74,.5),0 0 0 1px rgba(27,42,74,.08)}
.qa4-ac-k{display:block;font:500 12px/1 var(--mono);text-transform:uppercase;letter-spacing:.08em;color:var(--sun-ink,#8a6a12);margin-bottom:14px}
.qa4-ac dl{margin:0;display:grid}
.qa4-ac dl>div{padding:14px 0;border-top:1px solid var(--line-l)}
.qa4-ac dl>div:first-child{border-top:0;padding-top:4px}
.qa4-ac dt{font:600 17px/1.3 var(--sans);color:var(--navy);letter-spacing:-.01em}
.qa4-ac dd{margin:6px 0 0;font-size:14.5px;line-height:1.5;color:#3d4658}
body[data-page="faq"] .qa4-askcard .hv-chip{left:auto;right:-24px;top:auto;bottom:-30px}
body[data-page="faq"] .qa4-ac{padding-bottom:64px}
@media(max-width:900px){body[data-page="faq"] .qa4-askcard{justify-self:stretch;max-width:none;margin-bottom:28px!important}body[data-page="faq"] .qa4-askcard .hv-chip{left:auto;right:12px;top:auto;bottom:-22px}.qa4-ac{padding:22px 22px 52px}}
/* topic chips on mobile: separate label and count */
@media(max-width:980px){body[data-page="faq"] .faq-nav a{gap:8px;background:rgba(255,255,255,.6);box-shadow:inset 0 0 0 1px var(--line-l)}body[data-page="faq"] .faq-nav a.on{box-shadow:none}}
body[data-page="faq"] .faq-main details p a,body[data-page="faq"] .faq-main details p a:visited{color:var(--navy);text-decoration:underline;text-decoration-color:var(--sun);text-underline-offset:3px;text-decoration-thickness:2px}

/* ---------- Contact ---------- */
/* message pane: two columns, no dead right side */
.qa4-msg{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.8fr);gap:24px;align-items:start}
.qa4-msg .form{max-width:none}
.qa4-msg-side{background:var(--sun);color:var(--navy);border-radius:28px;padding:28px;display:grid;gap:18px}
.qa4-msg-side .qa4-ac-k{color:var(--navy);opacity:.75;margin:0}
.qa4-msg-side ol{list-style:none;margin:0;padding:0;display:grid;gap:16px;counter-reset:q}
.qa4-msg-side li{display:grid;grid-template-columns:28px 1fr;column-gap:12px;counter-increment:q}
.qa4-msg-side li::before{content:counter(q);grid-row:span 2;width:28px;height:28px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font:600 13px/1 var(--sans)}
.qa4-msg-side li b{font:600 16px/1.3 var(--sans)}
.qa4-msg-side li span{font-size:14px;line-height:1.45;color:#34405A;margin-top:3px}
.qa4-msg-direct{border-top:1px solid rgba(27,42,74,.18);padding-top:16px;display:grid;gap:4px}
.qa4-msg-direct span{font-size:13px;color:#34405A}
.qa4-msg-direct a{font:700 22px/1.2 var(--sans);color:var(--navy);letter-spacing:-.01em}
.qa4-msg-direct small{font-size:12.5px;color:#34405A}
@media(max-width:980px){.qa4-msg{grid-template-columns:minmax(0,1fr)}}
/* send button: navy like every other primary action */
body[data-page="contact"] #msgForm .btn{background:var(--navy);color:#fff}
body[data-page="contact"] #msgForm .btn:hover{background:var(--navy-2,#24365c)}
/* days: wrap into a tidy grid on small screens instead of a clipped scroller */
@media(max-width:620px){body[data-page="contact"] .days{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;overflow:visible}body[data-page="contact"] .days .day{width:auto;min-width:0;padding-inline:0}}
/* offices globe: static globe image (canvas kept only to drive the clocks) */
.qa4-globe{position:relative;aspect-ratio:1/1;width:100%;max-width:480px;margin-inline:auto;filter:drop-shadow(0 40px 60px rgba(27,42,74,.35))}
.qa4-globe img{display:block;width:100%;height:100%;object-fit:contain;clip-path:circle(49.5%)}
.qa4-globe canvas{display:none}
@media(max-width:900px){.qa4-globe{max-width:320px;margin-top:8px}}

/* ---------- Oracle ---------- */
/* "Not sure?" card: readable on yellow */
body[data-page="oracle"] .pillars a.qa4-pill-cta{background:var(--sun);color:var(--navy)}
body[data-page="oracle"] .pillars a.qa4-pill-cta:hover{background:#F7CD5E}
body[data-page="oracle"] .pillars a.qa4-pill-cta .n{color:var(--navy);opacity:.7}
body[data-page="oracle"] .pillars a.qa4-pill-cta p{color:#34405A}
/* pillar titles reserve two lines so body copy lines up across a row */
@media(min-width:901px){body[data-page="oracle"] .pillars h3{min-height:2.3em}}

/* ---------- closing panel stats on my pages: align labels when they wrap ---------- */
body:is([data-page="locations"],[data-page="faq"],[data-page="contact"],[data-page="oracle"]) .cta-st>div{display:flex;flex-direction:column;gap:6px}
body:is([data-page="locations"],[data-page="faq"],[data-page="contact"],[data-page="oracle"]) .cta-st span{line-height:1.35}
body[data-page="oracle"] #faqH{max-width:22ch!important;margin-inline:auto;text-wrap:balance}
@media(max-width:900px){body[data-page="faq"] .qa4-ac{padding-bottom:24px}body[data-page="faq"] .qa4-askcard .hv-chip{display:none}body[data-page="faq"] .qa4-askcard{margin-bottom:8px!important}}
@media(max-width:980px){body[data-page="faq"] .faq-nav a{padding:8px 12px;font-size:14px}}
