/* ClearPath Health Solutions — Lucent-style traditional healthcare TPA */
:root {
  --navy: #0a2540;
  --navy-deep: #061828;
  --navy-mid: #123556;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-soft: #e6f7f5;
  --teal-light: #ccfbf1;
  --ink: #1a2b3c;
  --ink-2: #4a5d6e;
  --muted: #6b7c8a;
  --line: #d8e2ea;
  --bg: #ffffff;
  --bg-soft: #f4f8fa;
  --bg-warm: #f7f5f2;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.14);
  --radius: 8px;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, sans-serif;
  --max: 1140px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; transition: color .15s; }
a:hover { color: var(--teal); }
ul { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 2.85rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--ink-2); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 42rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--warm { background: var(--bg-warm); }
.section--navy { background: var(--navy); color: #e8eef4; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #c5d4e0; }
.section--teal { background: var(--teal-soft); }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 8px 16px; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 0 rgba(10,37,64,.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 72px; padding: 10px 0; position: relative;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--navy); font-weight: 700; font-size: 1.05rem;
  line-height: 1.2; flex-shrink: 0;
}
.logo:hover { color: var(--navy); }
.logo-mark {
  width: 40px; height: 40px; border-radius: 8px;
  background: linear-gradient(145deg, var(--teal) 0%, var(--navy) 100%);
  display: grid; place-items: center; color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.logo-text span {
  display: block; font-size: 0.72rem; font-weight: 500;
  color: var(--muted); letter-spacing: 0.02em;
}
.nav {
  display: flex; align-items: center; gap: 2px;
  flex-wrap: wrap; justify-content: flex-end;
}
.nav > a, .nav .drop > button {
  color: var(--navy-mid); font-size: 0.92rem; font-weight: 600;
  padding: 8px 11px; border-radius: 6px; background: none; border: none;
  cursor: pointer; font-family: var(--sans);
  display: inline-flex; align-items: center; gap: 4px;
}
.nav > a:hover, .nav > a.active,
.nav .drop > button:hover, .nav .drop.open > button {
  color: var(--teal-dark); background: var(--teal-soft);
}
.nav .drop { position: relative; }
.nav .drop > button::after {
  content: ""; width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; margin-left: 2px; opacity: 0.7;
}
.drop-menu {
  display: none; position: absolute; top: calc(100% + 4px); left: 0;
  min-width: 240px; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 120;
}
.drop.open .drop-menu { display: block; }
.drop-menu a {
  display: block; padding: 10px 12px; border-radius: 6px;
  color: var(--navy-mid); font-size: 0.92rem; font-weight: 600;
}
.drop-menu a:hover { background: var(--teal-soft); color: var(--teal-dark); }
.nav .btn-nav {
  background: var(--navy); color: #fff !important; margin-left: 8px;
  padding: 10px 18px; border-radius: 6px; font-weight: 600; font-size: 0.92rem;
}
.nav .btn-nav:hover { background: var(--teal-dark); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 6px; padding: 8px 12px; font-size: 0.9rem; font-weight: 600;
  color: var(--navy); cursor: pointer; font-family: var(--sans);
}
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    padding: 12px 24px 20px; box-shadow: var(--shadow); gap: 2px;
  }
  .nav.open { display: flex; }
  .nav .btn-nav { margin-left: 0; text-align: center; margin-top: 8px; }
  .drop-menu {
    position: static; box-shadow: none; border: none;
    padding: 0 0 0 12px; display: none;
  }
  .drop.open .drop-menu { display: block; }
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 6px; font-family: var(--sans);
  font-size: 1rem; font-weight: 600; border: 2px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
  text-decoration: none;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-secondary:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.hero {
  position: relative; min-height: 520px; display: flex; align-items: center;
  background: var(--navy-deep); color: #fff; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover;
  background-position: center 30%; opacity: 0.5;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(6,24,40,.92) 0%, rgba(6,24,40,.72) 45%, rgba(13,148,136,.35) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 88px 0; max-width: 640px; }
.hero .eyebrow, .page-hero .eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal-light); margin-bottom: 12px;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero p { color: #d5e2ec; font-size: 1.15rem; margin-bottom: 0; }
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--teal-dark) 100%);
  color: #fff; padding: 64px 0 56px;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #c8d6e3; max-width: 40rem; margin-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); height: 100%;
  transition: box-shadow .2s;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card h3 { color: var(--navy); }
.card-icon {
  width: 48px; height: 48px; border-radius: 10px; background: var(--teal-soft);
  color: var(--teal-dark); display: grid; place-items: center;
  font-size: 1.35rem; margin-bottom: 14px;
}
.card a.more { font-weight: 600; color: var(--teal-dark); font-size: 0.95rem; }
.card a.more:hover { color: var(--teal); }
.photo-frame {
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.service-list li {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2);
}
.service-list li::before { content: "✓"; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 36px; box-shadow: var(--shadow); max-width: 560px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-weight: 600; font-size: 0.92rem;
  color: var(--navy); margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 6px; font-family: var(--sans); font-size: 1rem;
  color: var(--ink); background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 2px solid var(--teal); border-color: var(--teal);
}
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 12px; }
.form-success {
  display: none; background: var(--teal-soft); border: 1px solid var(--teal);
  color: var(--teal-dark); padding: 16px; border-radius: 8px;
  margin-bottom: 16px; font-weight: 600;
}
.form-success.show { display: block; }
.contact-aside {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 12px; padding: 28px;
}
.contact-aside h3 { margin-bottom: 12px; }
.contact-aside p { margin-bottom: 0.5rem; }
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--teal-dark) 100%);
  color: #fff; padding: 56px 0; text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: #d0e0ea; max-width: 36rem; margin: 0 auto 1.25rem; }
.site-footer {
  background: var(--navy-deep); color: #a8bbc9;
  padding: 56px 0 28px; font-size: 0.95rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px; margin-bottom: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: #fff; font-family: var(--sans); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px;
}
.site-footer a { color: #a8bbc9; }
.site-footer a:hover { color: #fff; }
.site-footer ul li { margin-bottom: 8px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand .logo-text span { color: #8aa0b0; }
.footer-brand p { color: #8aa0b0; font-size: 0.9rem; margin-bottom: 0.4rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  justify-content: space-between; font-size: 0.85rem; color: #7a91a3;
}
.footer-bottom a { color: #7a91a3; }
.footer-bottom a:hover { color: #fff; }
.placeholder-box {
  background: var(--bg-warm); border: 1px dashed var(--line);
  border-radius: 8px; padding: 28px; color: var(--muted); text-align: center;
}
.placeholder-box strong {
  display: block; color: var(--navy); font-style: normal;
  font-family: var(--serif); font-size: 1.35rem; margin-bottom: 8px;
}
.badge {
  display: inline-block; background: var(--teal-soft); color: var(--teal-dark);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 4px; margin-bottom: 10px;
}
.legal-body { max-width: 720px; }
.legal-body h2 { margin-top: 2rem; font-size: 1.35rem; }
.legal-body h3 { margin-top: 1.25rem; font-size: 1.1rem; }
.legal-body ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-body ul li { margin-bottom: 0.4rem; color: var(--ink-2); }
.breadcrumb { font-size: 0.9rem; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }
.audience-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.audience-strip a {
  padding: 28px 24px; text-align: center; color: var(--navy); font-weight: 600;
  border-right: 1px solid var(--line); background: var(--bg); transition: background .15s;
}
.audience-strip a:last-child { border-right: none; }
.audience-strip a:hover { background: var(--teal-soft); color: var(--teal-dark); }
.audience-strip span {
  display: block; font-weight: 400; font-size: 0.9rem; color: var(--muted); margin-top: 4px;
}
@media (max-width: 700px) {
  .audience-strip { grid-template-columns: 1fr; }
  .audience-strip a { border-right: none; border-bottom: 1px solid var(--line); }
}
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 700px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-tile {
  display: block; padding: 24px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; color: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.svc-tile:hover { border-color: var(--teal); box-shadow: var(--shadow); color: inherit; }
.svc-tile h3 { margin-bottom: 0.4rem; }
.svc-tile p { margin-bottom: 0; font-size: 0.95rem; }
.section-intro { max-width: 40rem; margin-bottom: 2rem; }
