/* ============ BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-sans, 'Poppins', sans-serif);
  font-size: 16px; line-height: var(--lh-body, 1.55);
  color: var(--color-deep-slate); background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-azure); text-decoration: none; transition: color var(--dur-base) var(--ease-standard); }
h1, h2, h3, p { margin: 0; }
section { scroll-margin-top: 90px; }
.wrap { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--space-8); }
.section { padding: var(--section-pad-y) 0; }
.lucide { stroke-width: 1.8; }
button { font-family: inherit; }

/* ============ TYPE HELPERS ============ */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: var(--ls-label-wide, 0.18em); text-transform: uppercase; color: var(--color-azure); margin-bottom: var(--space-4); }
.eyebrow--gold { color: var(--color-gold); }
.h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 600; line-height: var(--lh-heading); letter-spacing: var(--ls-heading); color: var(--color-dark-azure); text-wrap: pretty; }
.h2--ondark { color: var(--color-white); }
.section-sub { font-size: 17px; color: var(--color-steel-gray); max-width: 70ch; margin-top: var(--space-4); text-wrap: pretty; }
.section-head { margin-bottom: var(--space-12); }
.section-head--center { text-align: center; }
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-size: 15px; font-weight: 600; line-height: 1; border-radius: var(--radius-md);
  padding: 16px 28px; cursor: pointer; border: 1px solid transparent; text-decoration: none;
  transition: background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard),
              transform var(--dur-base) var(--ease-standard);
}
.btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.btn--gold { background: var(--color-gold); color: var(--color-dark-azure); }
.btn--gold:hover { background: #B8983F; color: var(--color-dark-azure); }
.btn--ghost { background: transparent; color: var(--color-white); border-color: rgba(255,255,255,0.45); }
.btn--ghost:hover { border-color: var(--color-white); background: rgba(255,255,255,0.06); color: var(--color-white); }
.btn--dark { background: var(--color-dark-azure); color: var(--color-white); }
.btn--dark:hover { background: var(--color-azure); color: var(--color-white); }
.btn--sm { padding: 12px 20px; font-size: 14px; }

/* ============ LOGO ============ */
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 36px; width: auto; }
.logo--reversed img { filter: brightness(0) invert(1); }

/* ============ NAV ============ */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--color-mist-gray); transition: box-shadow var(--dur-slow) var(--ease-standard);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(1,35,58,0.10); }
.nav-bar { max-width: var(--content-max); margin: 0 auto; height: 78px; padding: 0 var(--space-8); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-8); }
.nav-links { display: flex; justify-content: center; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a { display: inline-flex; align-items: center; gap: 5px; font-size: 15px; font-weight: 500; color: var(--color-deep-slate); padding: 28px 0; border-bottom: 2px solid transparent; transition: color var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard); }
.nav-links > li > a:hover, .nav-links > li > a[aria-current="page"] { color: var(--color-azure); }
.nav-links > li > a[aria-current="page"] { border-bottom-color: var(--color-azure); }
.nav-links .lucide { width: 15px; height: 15px; }
.nav-cta-zone { display: flex; align-items: center; gap: var(--space-4); }
.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--color-white); border-top: 1px solid var(--color-mist-gray); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard), visibility 0s linear var(--dur-base); }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.has-mega:hover > a, .has-mega:focus-within > a, .has-mega.open > a { color: var(--color-azure); border-bottom-color: var(--color-azure); }
.mega-grid { max-width: var(--content-max); margin: 0 auto; padding: var(--space-8); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2) var(--space-6); }
.mega-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-md); color: var(--color-deep-slate); font-size: 15px; font-weight: 500; transition: background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard); }
.mega-item .lucide { width: 20px; height: 20px; color: var(--color-azure); flex: none; }
.mega-item:hover { background: var(--color-soft-cloud); color: var(--color-azure); }
.mega-foot { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--space-8) var(--space-6); }
.mega-foot a { font-size: 14px; font-weight: 600; }
.mega-foot a:hover { color: var(--color-dark-azure); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 10px; color: var(--color-dark-azure); border-radius: var(--radius-sm); }
.hamburger:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.drawer { position: fixed; inset: 0; z-index: 200; background: var(--color-dark-azure); transform: translateX(100%); transition: transform var(--dur-slow) var(--ease-standard); overflow-y: auto; padding: var(--space-6) var(--space-6) var(--space-12); display: flex; flex-direction: column; }
.drawer.open { transform: translateX(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-10); }
.drawer-close { background: none; border: none; color: var(--color-white); cursor: pointer; padding: 10px; }
.drawer-nav { display: flex; flex-direction: column; gap: var(--space-2); }
.drawer-nav > a, .drawer-services summary { font-size: 22px; font-weight: 600; color: var(--color-white); padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.10); display: block; cursor: pointer; }
.drawer-nav > a:hover { color: var(--color-gold); }
.drawer-services summary { list-style: none; display: flex; align-items: center; justify-content: space-between; }
.drawer-services summary::-webkit-details-marker { display: none; }
.drawer-services summary .lucide { transition: transform var(--dur-base) var(--ease-standard); }
.drawer-services[open] summary .lucide { transform: rotate(180deg); }
.drawer-sub { display: flex; flex-direction: column; padding: var(--space-2) 0 var(--space-4); }
.drawer-sub a { color: var(--color-steel-gray); font-size: 16px; padding: 9px 0 9px var(--space-4); }
.drawer-sub a:hover { color: var(--color-white); }
.drawer .btn { margin-top: var(--space-8); }

/* ============ HERO ============ */
.spec-hero {
  min-height: 55vh; background: linear-gradient(135deg, var(--color-dark-azure) 0%, var(--color-azure) 100%);
  display: flex; flex-direction: column; position: relative; overflow: hidden; padding: var(--space-16) 0;
}
.breadcrumb { font-size: 12px; color: var(--color-steel-gray); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--color-steel-gray); }
.breadcrumb a:hover { color: var(--color-white); }
.breadcrumb .lucide { width: 12px; height: 12px; }
.spec-hero-content { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--space-5) 0 var(--space-4); max-width: 70ch; margin: 0 auto; }
.spec-hero h1 { font-size: clamp(36px, 4.2vw, 56px); font-weight: 800; line-height: var(--lh-tight); letter-spacing: var(--ls-display); color: var(--color-white); text-wrap: pretty; margin: var(--space-5) 0 var(--space-6); }
.spec-hero-sub { font-size: 17px; color: var(--color-steel-gray); max-width: 64ch; margin: 0 auto var(--space-10); text-wrap: pretty; }
.spec-hero-ctas { display: flex; gap: var(--space-4); flex-wrap: wrap; justify-content: center; }
.hero-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-10); margin-top: var(--space-12); padding-top: var(--space-10); border-top: 1px solid rgba(255,255,255,0.14); }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: clamp(30px, 3vw, 40px); font-weight: 800; color: var(--color-white); letter-spacing: -0.02em; line-height: 1; }
.hero-stat .num em { font-style: normal; color: var(--color-gold); }
.hero-stat .lbl { font-size: 13.5px; color: var(--color-steel-gray); margin-top: var(--space-2); }

/* ============ FIND YOUR SPECIALTY ============ */
.specialties { background: var(--color-soft-cloud); }
.spec-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-4); }
.spec-tile {
  background: var(--color-white); border: 1px solid var(--color-mist-gray); border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-4); display: flex; flex-direction: column; align-items: center; gap: var(--space-3);
  text-align: center; box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard);
}
.spec-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--color-azure); }
.spec-tile-icon { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--color-azure-12); display: flex; align-items: center; justify-content: center; transition: background var(--dur-base) var(--ease-standard); }
.spec-tile-icon .lucide { width: 24px; height: 24px; color: var(--color-azure); }
.spec-tile:hover .spec-tile-icon { background: var(--color-azure); }
.spec-tile:hover .spec-tile-icon .lucide { color: var(--color-white); }
.spec-tile span { font-size: 13.5px; font-weight: 600; color: var(--color-dark-azure); line-height: 1.3; }

/* ============ WHY PROTOMED ============ */
.why { background: var(--color-white); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.why-card {
  background: var(--color-white); border: 1px solid var(--color-mist-gray); border-left: 4px solid var(--color-azure);
  border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: var(--space-4);
  transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.why-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--color-azure-12); display: flex; align-items: center; justify-content: center; }
.why-icon .lucide { width: 22px; height: 22px; color: var(--color-azure); }
.why-card h3 { font-size: 17px; font-weight: 700; color: var(--color-dark-azure); letter-spacing: var(--ls-heading); }
.why-card p { font-size: 14.5px; color: var(--color-deep-slate); }

/* ============ CTA BAND ============ */
.cta-band { background: radial-gradient(110% 150% at 95% 50%, var(--color-azure) 0%, rgba(29,82,122,0) 55%), var(--color-dark-azure); position: relative; overflow: hidden; text-align: center; }
.cta-watermark { position: absolute; right: -120px; top: 50%; transform: translateY(-50%); width: 520px; height: 520px; opacity: 0.06; pointer-events: none; }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-5); position: relative; }
.cta-band .h2 { color: var(--color-white); font-size: clamp(28px, 3.4vw, 40px); max-width: 24ch; }
.cta-sub { font-size: 17px; color: var(--color-steel-gray); max-width: 64ch; text-wrap: pretty; }
.cta-ctas { display: flex; gap: var(--space-4); flex-wrap: wrap; justify-content: center; margin-top: var(--space-3); }
.cta-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-8); }
.cta-trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--color-steel-gray); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-pill); padding: 8px 16px; }
.cta-trust .lucide { width: 15px; height: 15px; color: var(--color-gold); }

/* ============ FOOTER ============ */
.site-footer { background: var(--color-dark-azure); color: var(--color-steel-gray); padding-top: var(--space-20); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-12); padding-bottom: var(--space-16); }
.footer-tagline { font-size: 14px; margin-top: var(--space-5); max-width: 30ch; }
.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-6); }
.footer-social a { width: 40px; height: 40px; border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: var(--color-steel-gray); transition: color var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard); }
.footer-social a:hover { color: var(--color-white); border-color: var(--color-white); }
.footer-social .social-svg { width: 17px; height: 17px; }
.footer-col h3 { font-size: 13px; font-weight: 600; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--color-white); margin-bottom: var(--space-6); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: var(--color-steel-gray); font-size: 14px; }
.footer-links a:hover { color: var(--color-white); }
.footer-contact { display: flex; flex-direction: column; gap: var(--space-3); font-size: 14px; }
.footer-contact span { display: flex; align-items: center; gap: 10px; }
.footer-contact .lucide { width: 16px; height: 16px; color: var(--color-azure); flex: none; }
.footer-contact .placeholder { font-family: ui-monospace, monospace; font-size: 12.5px; color: rgba(138,155,170,0.7); }
.site-footer .btn { margin-top: var(--space-6); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.10); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding: var(--space-6) 0; font-size: 13px; flex-wrap: wrap; }
.footer-legal { display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap; }
.footer-legal a { color: var(--color-steel-gray); }
.footer-legal a:hover { color: var(--color-white); }
.hipaa-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius-pill); padding: 7px 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-white); }
.hipaa-chip .lucide { width: 15px; height: 15px; color: var(--color-gold); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
  .nav-links, .nav-cta-zone .btn { display: none; }
  .hamburger { display: inline-flex; }
  .spec-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --section-pad-y: var(--space-16); }
  .wrap { padding: 0 var(--space-6); }
  .spec-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: var(--space-8); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-10); }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .spec-hero { min-height: 0; }
}
@media (max-width: 480px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .spec-hero h1 { font-size: 32px; }
  .spec-hero-ctas .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
