/*
 * Virtual Physical Therapists — site styles
 * Static rebuild of virtualphysicaltherapists.com
 * Copyright (c) 2026 Virtual Physical Therapists. Built by ZeroDi, LLC.
 */

:root {
  --blue: #29a9e0;
  --blue-600: #1c8fc4;
  --blue-700: #0f6fa0;
  --navy: #0a2540;
  --navy-900: #001328;
  --ink: #2b2f36;
  --muted: #5b6470;
  --line: #e4e8ef;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --bg-blue-soft: #eaf6fd;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(10, 37, 64, 0.08);
  --shadow-sm: 0 4px 14px rgba(10, 37, 64, 0.07);
  --maxw: 1160px;
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: #dbe6f1; }
.section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--blue); margin: 0 0 .6rem; }

/* Buttons */
.btn { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 13px 26px; border-radius: 40px; border: 2px solid transparent; cursor: pointer;
  transition: all .18s ease; text-align: center; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(41,169,224,.35); }
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-700); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--bg-blue-soft); }
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }

/* Header / nav */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95);
  backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: 8px; }
.nav-links a { color: var(--navy); font-weight: 500; font-family: var(--font-head); font-size: .98rem; }
.nav-links a:hover { color: var(--blue-700); text-decoration: none; }
.nav-spacer { flex: 1 1 auto; }
.nav-auth { display: flex; align-items: center; gap: 18px; }
.nav-auth a.link { color: var(--muted); font-weight: 500; font-size: .92rem; }
.nav-auth a.link:hover { color: var(--blue-700); text-decoration: none; }

/* Dropdown */
.has-drop { position: relative; }
.has-drop > a::after { content: "▾"; font-size: .7em; margin-left: 5px; color: var(--muted); }
.drop { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .15s ease; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--navy); font-size: .94rem; }
.drop a:hover { background: var(--bg-blue-soft); color: var(--blue-700); text-decoration: none; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* Hero */
.hero { background: linear-gradient(160deg, #eaf6fd 0%, #f4f7fb 55%, #fff 100%); padding: 84px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--blue); }
.hero .lead { margin-top: 18px; }
.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-art { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 30px;
  border: 1px solid var(--line); }
.hero-art .stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stat { text-align: center; padding: 22px; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--blue); line-height: 1; }
.stat .lbl { color: var(--muted); margin-top: 8px; font-size: .98rem; }
.hero-art .stat { padding: 12px 6px; }
.hero-art .stat .num { font-size: 1.7rem; }
.hero-art .stat .lbl { font-size: .8rem; }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ico { width: 50px; height: 50px; border-radius: 12px; background: var(--bg-blue-soft);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin-bottom: .5rem; }
.card a.more { font-weight: 600; font-family: var(--font-head); }

/* Audience cards (clickable) */
a.card { color: inherit; }
a.card:hover { text-decoration: none; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .n { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff;
  font-family: var(--font-head); font-weight: 700; display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 1.2rem; }

/* Feature list */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 8px 0 8px 34px; color: var(--ink); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 22px; height: 22px;
  background: var(--bg-blue-soft); color: var(--blue-700); border-radius: 50%; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: .8rem; }

/* Two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pill { display: inline-block; background: var(--bg-blue-soft); color: var(--blue-700); font-weight: 600;
  font-size: .82rem; padding: 5px 14px; border-radius: 30px; margin-bottom: 14px; }

/* Price tag */
.price { font-family: var(--font-head); font-weight: 800; color: var(--navy); }
.price .amt { font-size: 3rem; color: var(--blue); }

/* FAQ accordion */
.faq-group { margin-bottom: 40px; }
.faq-group > h2 { border-bottom: 2px solid var(--line); padding-bottom: 10px; margin-bottom: 8px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.5rem;
  color: var(--blue); transition: transform .2s; }
.faq[open] summary::after { content: "−"; }
.faq .ans { padding: 0 0 20px; color: var(--muted); }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-family: var(--font-head); margin-bottom: 6px; color: var(--navy); font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(41,169,224,.15); }
.field textarea { min-height: 120px; resize: vertical; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-700) 100%); color: #fff;
  border-radius: 20px; padding: 48px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 620px; margin: 0 auto 24px; }

/* Footer */
.site-footer { background: var(--navy-900); color: #aab9c9; padding: 56px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #aab9c9; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-brand img { height: 38px; filter: brightness(0) invert(1); margin-bottom: 14px; }
.social { display: flex; gap: 12px; margin-top: 14px; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; color: #cfe0ef; font-size: .9rem; }
.social a:hover { background: var(--blue); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #7e90a3; font-size: .86rem; }

/* Page header (interior) */
.page-head { background: linear-gradient(160deg, var(--navy) 0%, #123a5e 100%); color: #fff; padding: 64px 0; }
.page-head h1 { color: #fff; }
.page-head .lead { color: rgba(255,255,255,.85); }
.page-head .eyebrow { color: var(--blue); }

.muted { color: var(--muted); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.prose { max-width: 800px; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; color: var(--navy); }
.prose ul { padding-left: 20px; } .prose li { margin-bottom: 8px; }
table.compare { width: 100%; border-collapse: collapse; margin: 20px 0; }
table.compare th, table.compare td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
table.compare th { background: var(--bg-alt); font-family: var(--font-head); color: var(--navy); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .grid-3, .grid-2, .stats, .steps { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-auth .link { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px; gap: 4px; align-items: flex-start; }
  .nav.open .nav-links a { padding: 10px 0; width: 100%; }
  .nav.open .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; padding-left: 12px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .cta-band { padding: 32px 20px; }
}

/* ---- Photo heroes & media (added for imagery) ---- */
.page-head.bgphoto {
  background: linear-gradient(rgba(8,26,46,.82), rgba(8,26,46,.88)), var(--ph) center/cover no-repeat;
}
.hero-art .hero-photo {
  width: 100%; height: 240px; object-fit: cover; border-radius: 14px;
  margin-bottom: 18px; display: block;
}
.hero-art .stat-row { margin-top: 4px; }
img.media {
  width: 100%; border-radius: 16px; box-shadow: var(--shadow);
  object-fit: cover; display: block;
}
.split img.media { max-height: 440px; }

/* ---- Full-bleed video hero ---- */
.hero--video {
  position: relative; overflow: hidden; background: var(--navy-900);
  min-height: clamp(540px, 76vh, 760px);
  display: flex; align-items: center; padding: 96px 0;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero--video::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(3,16,32,.88) 0%, rgba(6,26,48,.72) 46%, rgba(6,26,48,.42) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; color: #fff; }
.hero--video .eyebrow { color: #8ed1fc; }
.hero--video h1 { color: #fff; }
.hero--video h1 span { color: #5ec2ef; }
.hero--video .lead { color: rgba(255,255,255,.92); }

.stats-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 30px 0; }
.stats-strip .stat { padding: 10px; }
