*, *::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 { margin:auto; 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 { margin:auto; font-size: 17px; color: var(--color-steel-gray); max-width: 64ch; margin-top: var(--space-4); text-wrap: pretty; }
.section-head {text-align:center; 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 */
.svc-hero { background: linear-gradient(135deg, var(--color-dark-azure) 0%, var(--color-azure) 100%); position: relative; overflow: hidden; padding: var(--space-16) 0; }
.breadcrumb { justify-content:center; 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; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-16); align-items: center; padding: var(--space-4) 0 var(--space-5); }
.hero-left h1 { font-size: clamp(34px, 4vw, 52px); 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); }
.hero-sub { font-size: 17px; color: var(--color-steel-gray); max-width: 54ch; margin-bottom: var(--space-10); text-wrap: pretty; }
.hero-ctas { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.float-card { background: rgba(122,162,193,0.16); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius-xl, 20px); padding: var(--space-10); color: var(--color-white); box-shadow: 0 30px 70px rgba(1,20,35,0.45); transform: rotate(-2deg); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); width: 100%; max-width: 400px; margin-left: auto; }
.float-card-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--color-gold); margin-bottom: var(--space-5); }
.float-card-tag .lucide { width: 16px; height: 16px; }
.float-card-num { font-size: clamp(52px, 6vw, 76px); font-weight: 800; line-height: 0.95; letter-spacing: -0.03em; }
.float-card-num em { font-style: normal; font-size: 0.45em; color: var(--color-gold); vertical-align: super; }
.float-card-label { font-size: 17px; font-weight: 600; color: var(--color-white); margin-top: var(--space-2); }
.float-card-note { font-size: 14px; color: var(--color-steel-gray); margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid rgba(255,255,255,0.14); text-wrap: pretty; }

/* TRUST BAR */
.trustbar { background: color-mix(in srgb, var(--color-dark-azure) 82%, var(--color-azure)); border-top: 1px solid rgba(255,255,255,0.08); }
.trustbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); padding: var(--space-10) 0; }
.tb-chip { text-align: center; padding: 0 var(--space-4); position: relative; }
.tb-chip:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 12%; height: 76%; width: 1px; background: rgba(255,255,255,0.12); }
.tb-num { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -0.02em; color: var(--color-white); line-height: 1.05; white-space: nowrap; }
.tb-num em { font-style: normal; font-size: 0.55em; font-weight: 700; color: var(--color-gold); letter-spacing: 0.02em; }
.tb-label { font-size: 14px; color: var(--color-steel-gray); margin-top: var(--space-2); }

/* WHY CHOOSE US */
.why-choose { background: var(--color-white); }
.why-intro p { margin:auto; font-size: 16px; color: var(--color-deep-slate); margin-top: var(--space-5); text-wrap: pretty; line-height: 1.75; }
.why-intro p + p { margin-top: var(--space-5); }
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-10) var(--space-12); margin-top: var(--space-16); }
.diff-row { display: flex; align-items: flex-start; gap: var(--space-5); }
.diff-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(29,82,122,0.08); display: flex; align-items: center; justify-content: center; }
.diff-ic .lucide { width: 24px; height: 24px; color: var(--color-azure); }
.diff-row h3 { font-size: 17px; font-weight: 700; color: var(--color-dark-azure); margin-bottom: var(--space-2); letter-spacing: var(--ls-heading); }
.diff-row p { font-size: 14.5px; color: var(--color-deep-slate); line-height: 1.65; text-wrap: pretty; }

/* CODING EXPERTISE */
.coding-section { background: var(--color-soft-cloud); }
/* .code-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.code-card { background: var(--color-white); border: 1px solid var(--color-mist-gray); border-radius: var(--radius-lg); padding: var(--space-8); transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard); } */
.code-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--space-6);
    width: 100%;
}

.code-card {
    grid-column: span 2;

    background: var(--color-white);
    border: 1px solid var(--color-mist-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-8);

    width: 100%;
    min-width: 0;

    transition:
        transform var(--dur-base) var(--ease-standard),
        box-shadow var(--dur-base) var(--ease-standard);
}
.code-card:last-child:nth-child(3n + 1) {
    grid-column: 3 / span 2;
}

.code-card:nth-last-child(2):nth-child(3n + 1) {
    grid-column: 2 / span 2;
}

.code-card:last-child:nth-child(3n + 2) {
    grid-column: 4 / span 2;
}
.code-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(1,35,58,0.09); }
.code-icon { width: 40px; height: 40px; border-radius: var(--radius-md); background: rgba(29,82,122,0.08); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-4); }
.code-icon .lucide { width: 20px; height: 20px; color: var(--color-azure); }
.code-card h3 { font-size: 15px; font-weight: 700; color: var(--color-dark-azure); margin-bottom: var(--space-3); }
.code-card p { font-size: 14px; color: var(--color-deep-slate); line-height: 1.65; text-wrap: pretty; }

/* SPECIALIZED SERVICES */
.specialized-section { background: var(--color-white); }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.svc-card { background: var(--color-white); border: 1px solid var(--color-mist-gray); border-left: 4px solid var(--color-azure); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; padding: var(--space-8); transition: box-shadow var(--dur-base) var(--ease-standard), border-left-color var(--dur-base) var(--ease-standard); }
.svc-card:hover { box-shadow: 0 4px 20px rgba(1,35,58,0.08); border-left-color: var(--color-dark-azure); }
.svc-card h3 { font-size: 16px; font-weight: 700; color: var(--color-dark-azure); margin-bottom: var(--space-3); }
.svc-card p { font-size: 14.5px; color: var(--color-deep-slate); line-height: 1.7; text-wrap: pretty; }

/* PROCESS */
.how { background: var(--color-soft-cloud); }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); position: relative; }
.how-step { text-align:center; position: relative; padding-top: var(--space-2); }
.how-circle { margin-left:auto; margin-right:auto; width: 56px; height: 56px; border-radius: 50%; background: var(--color-dark-azure); color: var(--color-white); font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; margin-bottom: var(--space-5); box-shadow: 0 6px 18px rgba(1,35,58,0.30); }
.how-step h3 { min-height:70px;font-size: 16px; font-weight: 700; color: var(--color-dark-azure); margin-bottom: var(--space-3); }
.how-step p { font-size: 14.5px; color: var(--color-deep-slate); line-height: 1.65; text-wrap: pretty; }

/* 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-band .hero-ctas { justify-content: center; margin-top: var(--space-3); }
.cta-confidence { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: var(--space-2); text-wrap: pretty; }
.cta-trustline { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3) var(--space-5); margin-top: var(--space-8); padding-top: var(--space-8); border-top: 1px solid rgba(255,255,255,0.12); width: 100%; max-width: 860px; }
.cta-trustline span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--color-steel-gray); }
.cta-trustline .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; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-12); padding: var(--space-12) 0 var(--space-16); }
  .float-card { margin: 0; max-width: 460px; }
  .how-grid { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-12); }
  .code-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --section-pad-y: var(--space-16); }
  .wrap { padding: 0 var(--space-6); }
  .diff-grid, .services-grid { grid-template-columns: 1fr; }
  .trustbar-grid { grid-template-columns: repeat(2, 1fr)!important; gap: var(--space-8); }
  .tb-chip:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-10); }
	    .code-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .code-card,
    .code-card:last-child:nth-child(3n + 1),
    .code-card:nth-last-child(2):nth-child(3n + 1),
    .code-card:last-child:nth-child(3n + 2),
    .code-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
/*   .code-grid { grid-template-columns: 1fr; } */
}
@media (max-width: 480px) {
  .how-grid, .trustbar-grid, .footer-grid { grid-template-columns: 1fr; }
  .tb-chip::after { display: none !important; }
  .hero-left h1 { font-size: 31px; }
  .hero-ctas .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
