/* Priority Patient Transport — v2.priorityinnovation.com
   Modern LIGHT concept site: bright canvas, gradients, glass, motion. */
:root {
  --bg: #f6f8fd;
  --bg-2: #eef2fb;
  --panel: #ffffff;
  --panel-brd: #e4e9f4;
  --ink: #0b1341;           /* PPT navy */
  --muted: #5a6584;
  --cyan: #20a8e0;          /* PPT arrow cyan */
  --cyan-soft: rgba(32, 168, 224, .12);
  --violet: #6d5df0;
  --grad: linear-gradient(92deg, #20a8e0 0%, #5f7cf6 55%, #8d6df3 100%);
  --radius: 16px;
  --shadow: 0 2px 10px rgba(11, 19, 65, .06), 0 14px 40px rgba(11, 19, 65, .08);
  --shadow-lift: 0 6px 18px rgba(11, 19, 65, .10), 0 22px 50px rgba(11, 19, 65, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif; font-size: 16.5px; line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1d7fb0; }
h1, h2, h3 { font-family: 'Space Grotesk', 'Inter', sans-serif; line-height: 1.15;
  margin: 0 0 .5em; letter-spacing: -.5px; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.grad-text { background: linear-gradient(92deg, #1791d1 0%, #4a6cf0 55%, #6d4de6 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; padding-right: .04em; margin-right: -.04em; } /* darker end stop + glyph-clip guard */
.kicker { color: #178fc4; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  font-size: .8rem; margin-bottom: 14px; }

/* ---------- ambient glow blobs (soft pastels on light) ---------- */
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
  pointer-events: none; z-index: 0; }
.blob.b1 { width: 520px; height: 520px; background: #bcd8ff; top: -160px; right: -120px;
  animation: drift 14s ease-in-out infinite alternate; }
.blob.b2 { width: 420px; height: 420px; background: #c9f0ff; bottom: -140px; left: -140px;
  animation: drift 18s ease-in-out infinite alternate-reverse; }
.blob.b3 { width: 320px; height: 320px; background: #ded4ff; top: 40%; left: 55%;
  opacity: .45; animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.15); } }

/* ---------- header ---------- */
header.site { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: .25s;
  backdrop-filter: blur(14px); background: rgba(255, 255, 255, .72);
  border-bottom: 1px solid transparent; }
header.site.scrolled { background: rgba(255, 255, 255, .92);
  border-bottom-color: var(--panel-brd); box-shadow: 0 4px 20px rgba(11, 19, 65, .06); }
/* Header spans nearly the full window: logo hard left, nav beside it, buttons far right */
header.site .wrap.header-wrap { max-width: none; padding: 0 36px; display: flex;
  align-items: center; gap: 26px; min-height: 104px; }
.logo-group { flex-shrink: 0; display: flex; flex-direction: column; gap: 3px; }
.logo { display: block; line-height: 0; }
.logo img { width: 330px; min-width: 330px; max-width: none; }
.dispatch-line { font-size: .98rem; font-weight: 700; color: #33406a; text-decoration: none; }
.dispatch-line:hover { color: #178fc4; }
nav.main { margin-left: 12px; }             /* nav sits near the logo, not pushed right */
.paybill-btn { margin-left: auto; }         /* buttons cluster at the far right edge */
@media (max-width: 1560px) { .logo img { width: 280px; min-width: 280px; }
  nav.main a.navlink { padding: 9px 9px; font-size: .94rem; } }
@media (max-width: 1420px) {
  header.site .wrap.header-wrap { gap: 16px; padding: 0 22px; }
  .logo img { width: 235px; min-width: 235px; }
  nav.main { margin-left: 4px; gap: 0; }
  nav.main a.navlink { padding: 9px 6px; font-size: .88rem; }
  nav.main .btn { padding: 10px 14px; font-size: .88rem; }
  .dispatch-line { font-size: .88rem; } }
nav.main { margin-left: auto; display: flex; align-items: center; gap: 2px; }
nav.main a.navlink { color: #33406a; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 9px 13px; border-radius: 9px; transition: .15s; white-space: nowrap; }
nav.main a.navlink:hover { color: var(--ink); background: var(--bg-2); }
nav.main a.navlink.active { color: #178fc4; }
nav.main .navitem { position: relative; }
nav.main .navitem > .navlink::after { content: "▾"; font-size: .72em; margin-left: 5px;
  opacity: .55; display: inline-block; transition: transform .2s ease; }
nav.main .navitem:hover > .navlink::after { transform: translateY(1px); opacity: .9; }
nav.main .dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff;
  border: 1px solid var(--panel-brd); border-radius: 12px; box-shadow: var(--shadow-lift);
  min-width: 180px; padding: 6px; z-index: 120; }
nav.main .navitem:hover .dropdown, nav.main .navitem:focus-within .dropdown { display: block; }
nav.main .dropdown a { display: block; padding: 9px 13px; text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: .93rem; border-radius: 8px; }
nav.main .dropdown a:hover { background: var(--bg-2); color: #178fc4; }
.btn { display: inline-block; padding: 12px 24px; border-radius: 12px; font-weight: 700;
  text-decoration: none; transition: .18s; border: 1px solid transparent; font-size: .97rem; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(63, 125, 235, .35); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(63, 125, 235, .45); }
.btn.glass { background: #fff; border-color: #cdd7ec; color: var(--ink); }
.btn.glass:hover { border-color: var(--cyan); color: #178fc4; }
.nav-toggle { display: none; }
label.hamburger { display: none; margin-left: auto; cursor: pointer; padding: 8px; z-index: 110; }
label.hamburger span { display: block; width: 26px; height: 2.5px; background: var(--ink);
  margin: 6px 0; border-radius: 2px; }
@media (max-width: 1180px) {
  nav.main { display: none; position: fixed; top: 74px; left: 0; right: 0;
    background: rgba(255, 255, 255, .98); flex-direction: column; align-items: stretch;
    padding: 14px 22px 22px; gap: 6px; border-bottom: 1px solid var(--panel-brd);
    box-shadow: 0 20px 40px rgba(11, 19, 65, .12); }
  nav.main .dropdown { display: block; position: static; border: none; box-shadow: none;
    padding-left: 18px; }
  nav.main .navitem > .navlink::after { display: none; } /* submenu always expanded on mobile */
  .nav-toggle:checked ~ nav.main { display: flex; }
  label.hamburger { display: block; }
  .logo img { width: 240px; min-width: 240px; }
  .paybill-btn { margin-left: 0; }
  nav.main { margin-left: 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 170px 0 90px; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%); }
.hero .wrap { position: relative; z-index: 2; display: grid;
  grid-template-columns: .92fr 1.08fr; gap: 54px; align-items: center; }  /* photo side larger */
.hero p.lead { color: var(--muted); font-size: 1.13rem; max-width: 560px; }
.hero-media { position: relative; }
.hero-media img { border-radius: 22px; box-shadow: var(--shadow-lift);
  border: 1px solid var(--panel-brd); }
.hero-media::after { content: ''; position: absolute; inset: -14px; border-radius: 28px;
  background: var(--grad); opacity: .16; filter: blur(30px); z-index: -1; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.badge { background: #fff; border: 1px solid var(--panel-brd); padding: 7px 15px;
  border-radius: 30px; font-size: .86rem; font-weight: 600; color: #33406a;
  box-shadow: 0 2px 8px rgba(11, 19, 65, .05); }
.badge b { color: #178fc4; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 130px; } }

/* ---------- sections ---------- */
section.block { position: relative; padding: 84px 0; }
section.block.tint { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--panel); border: 1px solid var(--panel-brd); border-radius: var(--radius);
  padding: 26px 24px; text-align: center; box-shadow: var(--shadow); }
.stat .num { font-family: 'Space Grotesk', sans-serif; font-size: 2.5rem; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--muted); font-size: .92rem; margin-top: 4px; }

/* cards */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 920px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.gcard { background: var(--panel); border: 1px solid var(--panel-brd); border-radius: var(--radius);
  padding: 30px 28px; transition: .22s; position: relative; overflow: hidden;
  box-shadow: var(--shadow); }
.gcard:hover { transform: translateY(-6px); border-color: rgba(32, 168, 224, .55);
  box-shadow: var(--shadow-lift); }
.gcard .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; background: var(--cyan-soft); border: 1px solid rgba(32, 168, 224, .25);
  margin-bottom: 18px; }
.gcard p { color: var(--muted); font-size: .97rem; }
.gcard a.more { font-weight: 700; text-decoration: none; }
.gcard.feature { background: linear-gradient(145deg, rgba(32,168,224,.07), rgba(109,93,240,.06)), #fff; }

/* photo cards */
.pcard { border-radius: var(--radius); overflow: hidden; position: relative; min-height: 340px;
  display: flex; align-items: flex-end; border: 1px solid var(--panel-brd); text-decoration: none;
  box-shadow: var(--shadow); }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: .4s; }
.pcard:hover img { transform: scale(1.06); }
.pcard .ovl { position: relative; z-index: 2; width: 100%; padding: 26px;
  background: linear-gradient(transparent, rgba(7, 12, 34, .88) 60%); color: #fff; }
.pcard .ovl h3 { color: #fff; }
.pcard .ovl p { color: #ccd5ee; margin: 4px 0 0; font-size: .93rem; }

/* map */
#coverage-map { height: 520px; border-radius: var(--radius); border: 1px solid var(--panel-brd);
  box-shadow: var(--shadow); z-index: 1; }
.map-legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; color: var(--muted);
  font-size: .92rem; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot.hq { background: var(--cyan); box-shadow: 0 0 0 4px var(--cyan-soft); }
.dot.radius { width: 14px; height: 14px; background: rgba(32, 168, 224, .14);
  border: 2px dashed rgba(32, 168, 224, .6); }
.dot.office { background: #8d6df3; }
.line-81 { width: 26px; height: 4px; border-radius: 2px; background: var(--cyan); display: inline-block; }
.line-64 { width: 26px; height: 4px; border-radius: 2px; background: #8d6df3; display: inline-block; }
.pulse-marker { background: var(--cyan); border-radius: 50%; box-shadow: 0 0 0 rgba(32,168,224, .6);
  animation: pulse 2s infinite; border: 2.5px solid #fff; }
.pulse-marker.violet { background: #8d6df3; animation-name: pulsev; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(32,168,224,.5);} 70% { box-shadow: 0 0 0 18px rgba(32,168,224,0);} 100% { box-shadow: 0 0 0 0 rgba(32,168,224,0);} }
@keyframes pulsev { 0% { box-shadow: 0 0 0 0 rgba(141,109,243,.5);} 70% { box-shadow: 0 0 0 18px rgba(141,109,243,0);} 100% { box-shadow: 0 0 0 0 rgba(141,109,243,0);} }

/* page hero (inner) */
.page-hero { position: relative; padding: 150px 0 66px; overflow: hidden;
  background: linear-gradient(180deg, #ffffff, var(--bg)); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero p { color: var(--muted); max-width: 760px; font-size: 1.08rem; }

/* prose/detail lists */
.check-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.check-list.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 720px) { .check-list.two { grid-template-columns: 1fr; } }
.check-list li { padding-left: 34px; position: relative; color: #33406a; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 8px; background: var(--cyan-soft);
  color: #178fc4; display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius); border: 1px solid var(--panel-brd);
  box-shadow: var(--shadow-lift); width: 100%; max-height: 540px; object-fit: cover; }

/* FAQ / service accordions */
details.svc { border-bottom: 1px solid var(--panel-brd); padding: 4px 0; }
details.svc:last-of-type { border-bottom: none; }
details.svc summary { cursor: pointer; font-weight: 700; font-size: 1.05rem;
  font-family: 'Space Grotesk', 'Inter', sans-serif; padding: 15px 4px;
  list-style: none; display: flex; align-items: center; color: var(--ink); }
details.svc summary::-webkit-details-marker { display: none; }
details.svc summary::after { content: '+'; margin-left: auto; font-size: 1.5rem;
  color: #178fc4; font-weight: 600; transition: .15s; }
details.svc[open] summary::after { content: '–'; }
details.svc .ans { padding: 0 4px 18px; color: var(--muted); }
details.svc .ans a { font-weight: 600; }

/* photo gallery (community engagement etc.) */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 920px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .photo-grid { grid-template-columns: 1fr; } }
.photo-grid figure { margin: 0; background: var(--panel); border: 1px solid var(--panel-brd);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .2s; }
.photo-grid figure:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.photo-grid img { width: 100%; height: 260px; object-fit: cover; display: block; }
.photo-grid figcaption { padding: 12px 16px; font-size: .88rem; color: var(--muted); }

/* steps */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { background: var(--panel); border: 1px solid var(--panel-brd); border-radius: var(--radius);
  padding: 22px 26px 22px 74px; position: relative; box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step);
  position: absolute; left: 22px; top: 22px; width: 36px; height: 36px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif; }
.step p { color: var(--muted); margin: 4px 0 0; }

/* jobs */
.job-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.job-list a { display: flex; justify-content: space-between; gap: 14px; align-items: center;
  background: var(--panel); border: 1px solid var(--panel-brd); border-radius: 12px;
  padding: 16px 22px; color: var(--ink); text-decoration: none; font-weight: 600; transition: .16s;
  box-shadow: var(--shadow); }
.job-list a:hover { border-color: rgba(32, 168, 224, .55); transform: translateX(4px); }
.job-list a::after { content: 'Apply →'; color: #178fc4; font-weight: 700; white-space: nowrap; }

/* CTA band */
.cta-band { position: relative; border-radius: 22px; overflow: hidden; padding: 56px 48px;
  background: linear-gradient(120deg, rgba(32,168,224,.10), rgba(109,93,240,.10)), #fff;
  border: 1px solid var(--panel-brd); text-align: center; box-shadow: var(--shadow); }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: var(--muted); margin: 0 0 26px; }

/* contact */
.info-card { background: var(--panel); border: 1px solid var(--panel-brd);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.info-card dt { font-weight: 700; margin-top: 14px; color: var(--ink); }
.info-card dd { margin: 2px 0 0; color: var(--muted); }
.info-card a { font-weight: 600; }

/* footer — stays navy for contrast + brand anchor */
footer.site { margin-top: 90px; background: #0b1341; font-size: .95rem; color: #b9c2d8; }
footer.site .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr .8fr; gap: 40px;
  padding: 52px 24px 34px; }
@media (max-width: 820px) { footer.site .wrap { grid-template-columns: 1fr; } }
footer.site h4 { color: #fff; margin-bottom: 14px; font-family: 'Space Grotesk', sans-serif; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 9px; }
footer.site a { color: #b9c2d8; text-decoration: none; }
footer.site a:hover { color: var(--cyan); }
footer.site p { color: #b9c2d8; }
.f-logo img { width: 210px; margin-bottom: 14px; }
.copyright { border-top: 1px solid #232a4d; padding: 18px 0; text-align: center;
  color: #7c86ab; font-size: .86rem; }

/* ---------- floating contact button + modal ---------- */
.fab-contact { position: fixed; right: 26px; bottom: 26px; z-index: 200; display: inline-flex;
  align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: var(--grad);
  color: #fff; font-weight: 700; text-decoration: none; font-size: 1rem;
  box-shadow: 0 12px 30px rgba(63, 125, 235, .45); transition: transform .2s ease, box-shadow .2s ease; }
.fab-contact:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(63, 125, 235, .55); }
.fab-contact .fab-ico { font-size: 1.3rem; line-height: 1; }
@media (max-width: 640px) { .fab-contact { right: 16px; bottom: 16px; padding: 12px 18px; } }
.modal-overlay { position: fixed; inset: 0; z-index: 300; display: none; align-items: center;
  justify-content: center; padding: 20px; background: rgba(11, 19, 65, .55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal-overlay.open { display: flex; }
.modal-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lift);
  max-width: 540px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 30px; position: relative; }
.modal-close { position: absolute; top: 12px; right: 16px; border: none; background: none;
  font-size: 1.7rem; color: var(--muted); cursor: pointer; line-height: 1; }
.modal-close:hover { color: var(--ink); }

/* ---------- forms ---------- */
.form-grid { display: grid; gap: 16px; margin-top: 18px; }
.form-grid label { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; }
.form-grid input, .form-grid select, .form-grid textarea { display: block; width: 100%;
  margin-top: 7px; padding: 12px 14px; border: 1px solid #cdd7ec; border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-soft); }
.form-grid .req { color: #e0245e; }
.form-hint { color: var(--muted); font-size: .88rem; margin-top: -8px; }
.form-success { margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: #e8f7ef;
  border: 1px solid #b5e3c8; color: #1d7a44; font-weight: 600; }

/* ---------- prose (long-form policy pages) ---------- */
.prose h2 { margin: 34px 0 12px; font-size: 1.5rem; }
.prose h3 { margin: 22px 0 8px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 22px; margin: 12px 0; }
.prose li { margin-bottom: 8px; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob { animation: none; }
}
