/* PreopHQ public-site theme (B2/B3) — light sibling of the marketing site.
   Loads AFTER bootstrap + style.css on every tenant-facing public page and
   restyles the shared chrome (header/footer/hub) + form controls with the
   brand system: porcelain ground, ink type, teal accent, Schibsted headings.
   Per-tenant accent stays available via the --phq-accent custom property. */

@font-face{font-family:"Schibsted Grotesk";src:url("../fonts/SchibstedGrotesk-var.ttf") format("truetype-variations");font-weight:400 900;font-display:swap}
@font-face{font-family:"Instrument Sans";src:url("../fonts/InstrumentSans-var.ttf") format("truetype-variations");font-weight:400 700;font-display:swap}

:root{
  --phq-ground:#f4f7f8; --phq-card:#ffffff; --phq-ink:#0f2430; --phq-muted:#51656f;
  --phq-accent:#0e9c85; --phq-accent-deep:#0b7d6b; --phq-accent-tint:#e2f1ec;
  --phq-line:#dfe7e8; --phq-amber:#b96a14;
}

body{background:var(--phq-ground) !important;color:var(--phq-ink);
     font-family:"Instrument Sans","Segoe UI",system-ui,sans-serif}
h1,h2,h3,h4,.phq-display{font-family:"Schibsted Grotesk","Instrument Sans",sans-serif;
     letter-spacing:-.015em;color:var(--phq-ink)}
a{color:var(--phq-accent-deep)}
a:hover{color:var(--phq-accent)}

/* ---------- shared public header ---------- */
.phq-header{background:var(--phq-card);border-bottom:1px solid var(--phq-line);
     position:sticky;top:0;z-index:100}
.phq-header-in{max-width:1080px;margin:0 auto;padding:0 20px;height:72px;
     display:flex;align-items:center;gap:22px}
.phq-header .phq-logo{display:flex;align-items:center;gap:12px;text-decoration:none}
.phq-header .phq-logo img{max-height:44px;max-width:170px;display:block}
.phq-header .phq-clinic{font-family:"Schibsted Grotesk",sans-serif;font-weight:700;
     font-size:17px;color:var(--phq-ink);letter-spacing:-.01em;line-height:1.15}
.phq-nav{margin-left:auto;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.phq-nav a{color:var(--phq-muted);text-decoration:none;font-weight:600;font-size:14.5px;
     padding:8px 13px;border-radius:8px}
.phq-nav a:hover{color:var(--phq-ink);background:var(--phq-ground)}
.phq-nav a.on{color:var(--phq-accent-deep);background:var(--phq-accent-tint)}
.phq-nav a.phq-cta{background:var(--phq-accent);color:#fff}
.phq-nav a.phq-cta:hover{background:var(--phq-accent-deep);color:#fff}
@media (max-width:640px){
  .phq-header-in{height:auto;flex-wrap:wrap;padding:12px 16px;gap:10px}
  .phq-nav{margin-left:0;width:100%}
}

/* hide the legacy header/footer styling if any page still renders them */
#header .header-top{display:none}

/* ---------- shared public footer ---------- */
.phq-footer{background:var(--phq-card);border-top:1px solid var(--phq-line);
     margin-top:64px;font-size:14px;color:var(--phq-muted)}
.phq-footer-in{max-width:1080px;margin:0 auto;padding:30px 20px;
     display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}
.phq-footer a{color:var(--phq-muted);text-decoration:none}
.phq-footer a:hover{color:var(--phq-ink)}
.phq-footer .phq-foot-links{display:flex;gap:18px;flex-wrap:wrap}
.phq-footer .phq-powered{font-size:12.5px}
.phq-footer .phq-powered b{color:var(--phq-ink);font-weight:600}

/* ---------- clinic hub (tenant root, B1) ---------- */
.phq-hub{max-width:860px;margin:0 auto;padding:64px 20px 40px;text-align:center}
.phq-hub h1{font-size:clamp(30px,4.5vw,44px);font-weight:800;margin:18px 0 10px}
.phq-hub .phq-tag{color:var(--phq-muted);font-size:17px;max-width:36em;margin:0 auto 40px}
.phq-hub .phq-hub-logo{max-height:64px;max-width:240px}
.phq-doors{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;text-align:left}
.phq-door{flex:1 1 220px;max-width:256px;background:var(--phq-card);
     border:1.5px solid var(--phq-line);border-radius:14px;padding:24px 22px;
     text-decoration:none;color:var(--phq-ink);transition:all .18s ease;display:block}
.phq-door:hover{border-color:var(--phq-accent);transform:translateY(-3px);
     box-shadow:0 18px 40px -22px rgba(15,36,48,.25);color:var(--phq-ink);text-decoration:none}
.phq-door .phq-door-icn{width:42px;height:42px;border-radius:10px;background:var(--phq-accent-tint);
     color:var(--phq-accent-deep);display:flex;align-items:center;justify-content:center;
     font-size:19px;margin-bottom:14px}
.phq-door h3{font-size:16.5px;font-weight:700;margin:0 0 6px}
.phq-door p{margin:0;color:var(--phq-muted);font-size:13.5px;line-height:1.5}
.phq-door .phq-creds{margin-top:10px;font-size:12.5px;background:var(--phq-ground);
     border:1px solid var(--phq-line);border-radius:7px;padding:5px 9px;display:inline-block}
.phq-hub .phq-note{margin-top:36px;color:var(--phq-muted);font-size:13.5px}

/* ---------- form pages: brand the bootstrap chrome ---------- */
.btn-primary, .btn-appointment, .btn-appointment-request{
     background-color:var(--phq-accent) !important;border-color:var(--phq-accent) !important;
     color:#fff !important;font-weight:600;border-radius:9px}
.btn-primary:hover, .btn-appointment:hover{background-color:var(--phq-accent-deep) !important;
     border-color:var(--phq-accent-deep) !important}
.form-control{border-radius:8px;border-color:var(--phq-line)}
.form-control:focus{border-color:var(--phq-accent);box-shadow:0 0 0 3px var(--phq-accent-tint)}
.card, .module-card{border-radius:12px !important;border-color:var(--phq-line) !important}
.module-card > .card-header{background:var(--phq-card) !important;
     font-family:"Schibsted Grotesk",sans-serif;font-weight:700;letter-spacing:-.01em}
.main-wrapper h2, .qn-head h2{font-weight:800}
label{color:var(--phq-ink)}
.text-muted, .help{color:var(--phq-muted) !important}

/* demo strip (demo_banner_html) — restyle to brand amber */
.demo-banner, .demo-strip{background:#fff4e0 !important;color:var(--phq-amber) !important;
     border-bottom:1px solid #f0dfc0;font-weight:600;text-align:center;padding:8px 14px;font-size:14px}

/* ---------- the clinic's collection notice (2026-09-28, item 14) ---------- */
.phq-notice{margin:18px 0;padding:14px 16px;background:var(--phq-card,#fff);border:1px solid var(--phq-line,#dfe7e8);
     border-left:4px solid var(--phq-accent,#0e9c85);border-radius:8px;font-size:14.5px;line-height:1.55;color:var(--phq-ink,#0f2430);text-align:left}
.phq-notice-short{margin:0 0 6px 0}
.phq-notice-full summary{cursor:pointer;color:var(--phq-accent-deep,#0b7d6b);font-weight:600;min-height:44px;display:list-item;padding:11px 0;box-sizing:border-box}
.phq-notice-full summary:focus-visible{outline:2px solid var(--phq-accent,#0e9c85);outline-offset:2px}
.phq-notice-full dl{margin:8px 0 0 0}
.phq-notice-full dt{font-weight:700;margin-top:10px}
.phq-notice-full dd{margin:2px 0 0 0;color:var(--phq-muted,#51656f)}
.phq-notice-ver{margin:10px 0 0 0;font-size:12.5px;color:var(--phq-muted,#51656f)}
