/* ============ 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; }


.form-modal {
    display:none;
    position:fixed;
    inset:0;
    z-index:99999;
    align-items:center;
    justify-content:center;
}

.form-modal.active {
    display:flex;
    animation:fadeIn .25s ease-in-out;
}


.form-modal-overlay {
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.55);
    backdrop-filter:blur(5px);
}


.form-modal-content {
    position:relative;
    z-index:2;
    background:#fff;
    width:90%;
    max-width:500px;
    padding:40px 35px;
    border-radius:18px;
    text-align:center;
    box-shadow:0 20px 60px rgba(0,0,0,.25);

    animation:slideUp .3s ease;
}


.form-modal-close {
    position:absolute;
    right:15px;
    top:10px;
    border:0;
    background:none;
    font-size:32px;
    cursor:pointer;
}


.pm-form-notice {
    font-size:18px;
    line-height:1.6;
}


.pm-form-notice--success {
    color:#15803d;
}


.pm-form-notice--error {
    color:#b91c1c;
}


@keyframes fadeIn {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}


@keyframes slideUp {
    from {
        transform:translateY(30px);
        opacity:0;
    }

    to {
        transform:translateY(0);
        opacity:1;
    }
}

/* ============ 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;
}
.section-sub {
  font-size: 17px; color: var(--color-steel-gray); max-width: 64ch;
  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; }
.placeholder { font-family: ui-monospace, monospace; font-size: 0.85em; color: var(--color-steel-gray); opacity: 0.8; }

/* ============ 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--sm { padding: 12px 20px; font-size: 14px; }

/* ============ LOGO LOCKUP ============ */
.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); }

/* Mega dropdown */
.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 + drawer */
.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); }

/* ============ CONTACT HERO ============ */
.contact-hero {
 min-height:50vh; max-height: 70vh; background: var(--color-dark-azure);
  display: flex; flex-direction: column; position: relative;
  padding: var(--space-16) 0;
}
.breadcrumb { font-size: 12px; color: var(--color-steel-gray); display: flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--color-steel-gray); }
.breadcrumb a:hover { color: var(--color-white); }
.breadcrumb .lucide { width: 12px; height: 12px; }
.contact-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);
}
.contact-hero h1 {
  font-size: clamp(34px, 3.8vw, 48px); font-weight: 800; line-height: var(--lh-tight);
  letter-spacing: var(--ls-display); color: var(--color-white); margin: var(--space-5) 0 var(--space-5);
}
.contact-hero-sub { font-size: 16.5px; color: var(--color-steel-gray); max-width: 70ch; margin: 0 auto; text-wrap: pretty; }

/* ============ CONTACT MAIN BLOCK ============ */
.contact-main { background: var(--color-white); }
.contact-grid { display: grid; grid-template-columns: 55fr 45fr; gap: var(--space-12); align-items: baseline; }

/* Form */
.form-card { }
.form-title { font-size: 24px; font-weight: 700; color: var(--color-dark-azure); letter-spacing: var(--ls-heading); }
.form-sub { font-size: 15px; color: var(--color-steel-gray); margin-top: var(--space-3); max-width: 56ch; text-wrap: pretty; }
.contact-form { margin-top: var(--space-8); display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--color-dark-azure); }
.field label .req { color: var(--color-gold); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 14px; color: var(--color-deep-slate);
  background: var(--color-white); border: 1px solid var(--color-mist-gray); border-radius: var(--radius-md);
  padding: 12px 14px; width: 100%;
  transition: border-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231D527A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input::placeholder, .field textarea::placeholder { color: #A9B6C1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-azure);
  box-shadow: 0 0 0 3px rgba(29,82,122,0.15);
}
.form-submit { grid-column: 1 / -1; width: 100%; margin-top: var(--space-2); }
.form-trust {
  grid-column: 1 / -1; text-align: center; font-size: 12px; color: var(--color-steel-gray);
  display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: var(--space-1);
}
.form-trust .lucide { width: 14px; height: 14px; color: var(--color-azure); }
.form-success {
  grid-column: 1 / -1; display: none; align-items: center; gap: 10px;
  background: rgba(29,82,122,0.07); border: 1px solid var(--color-azure); border-radius: var(--radius-md);
  padding: var(--space-4); font-size: 14px; font-weight: 500; color: var(--color-azure);
}
.form-success.show { display: flex; }
.form-success .lucide { width: 18px; height: 18px; flex: none; }

/* Details panel */
.details-panel {
  background: var(--color-dark-azure); border-radius: var(--radius-lg); padding: var(--space-10);
  color: var(--color-white); display: flex; flex-direction: column; gap: var(--space-8);
  position: sticky; top: 98px;
}
.details-panel h2 { font-size: 21px; font-weight: 700; color: var(--color-white); letter-spacing: var(--ls-heading); }
.details-list { display: flex; flex-direction: column; gap: var(--space-5); }
.detail-row { display: flex; align-items: flex-start; gap: var(--space-4); }
.detail-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md); flex: none;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
}
.detail-icon .lucide { width: 20px; height: 20px; color: var(--color-gold); }
.detail-label { font-size: 12px; font-weight: 600; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--color-steel-gray); }
.detail-value { font-size: 15px; color: var(--color-white); margin-top: 3px; }
.panel-divider { border: none; border-top: 1px solid rgba(255,255,255,0.12); margin: 0; }
.next-title { font-size: 12px; font-weight: 600; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--color-gold); margin-bottom: var(--space-5); }
.next-steps { display: flex; flex-direction: column; gap: var(--space-5); }
.next-step { display: flex; align-items: flex-start; gap: var(--space-4); }
.next-num {
  width: 30px; height: 30px; border-radius: 50%; flex: none; background: var(--color-azure);
  color: var(--color-white); font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.next-step p { font-size: 14px; color: var(--color-steel-gray); }
.next-step strong { color: var(--color-white); font-weight: 600; display: block; margin-bottom: 2px; font-size: 14.5px; }
.audit-box {
  background: rgba(255,255,255,0.05); border-left: 4px solid var(--color-gold); border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
}
.audit-box h3 { font-size: 15px; font-weight: 700; color: var(--color-white); display: flex; align-items: center; gap: 9px; }
.audit-box h3 .lucide { width: 18px; height: 18px; color: var(--color-gold); }
.audit-box p { font-size: 13.5px; color: var(--color-steel-gray); margin-top: var(--space-2); text-wrap: pretty; }

/* ============ CONFIDENCE CHIPS ============ */
.confidence { background: var(--color-soft-cloud); }
.confidence-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.chip-card {
  background: var(--surface-card, var(--color-white));
  border: 1px solid var(--border-default, var(--color-mist-gray));
  border-left: 4px solid var(--color-azure); border-radius: var(--radius-lg);
  padding: 26px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}
.chip-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.chip-icon {
  width: 44px; height: 44px; flex: none; border-radius: var(--radius-sm);
  background: var(--color-azure-12); display: flex; align-items: center; justify-content: center;
}
.chip-icon .lucide { width: 22px; height: 22px; color: var(--color-azure); stroke-width: 1.75; }
.chip-card h3 { font-size: 18px; font-weight: 600; color: var(--color-dark-azure);  min-height: 55px; }
.chip-card p { font-size: 14px; line-height: 1.55; color: var(--color-deep-slate); }

/* ============ FAQ ============ */
.faq { background: var(--color-white); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-4); }
.faq-item {
  background: var(--surface-card, var(--color-white));
  border: 1px solid var(--border-default, var(--color-mist-gray));
  border-left: 4px solid var(--color-mist-gray);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden;
  transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard), border-left-color var(--dur-base) var(--ease-standard);
}
.faq-item:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.faq-item.open { border-left-color: var(--color-azure); box-shadow: var(--shadow-card-hover); transform: none; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: 24px; font-size: 18px; font-weight: 600; color: var(--color-dark-azure);
}
.faq-q .lucide { width: 22px; height: 22px; color: var(--color-azure); flex: none; stroke-width: 1.75; transition: transform var(--dur-base) var(--ease-standard); }
.faq-item.open .faq-q .lucide { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-standard); }
.faq-a-inner { padding: 0 24px 24px; font-size: 14px; line-height: 1.55; color: var(--color-deep-slate); text-wrap: pretty; }

/* ============ 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-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; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .details-panel { position: static; }
  .confidence-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --section-pad-y: var(--space-16); }
  .wrap { padding: 0 var(--space-6); }
  .contact-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-10); }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .contact-hero { max-height: none; }
}
@media (max-width: 480px) {
  .confidence-grid, .footer-grid { grid-template-columns: 1fr; }
  .contact-hero h1 { font-size: 30px; }
  .details-panel { padding: var(--space-6); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
