:root {
  --navy: #071c42;
  --blue-950: #08275a;
  --blue-900: #0a3474;
  --blue-800: #0e4c91;
  --blue-700: #1268b6;
  --blue-600: #1384ce;
  --green-700: #187b3d;
  --green-600: #2d9b42;
  --green-500: #55b936;
  --green-100: #eaf7e7;
  --sky-100: #e8f4fb;
  --ink: #10213c;
  --muted: #5d6c82;
  --line: #dce4ee;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --shadow-sm: 0 8px 24px rgba(8, 39, 90, .08);
  --shadow-md: 0 18px 50px rgba(8, 39, 90, .12);
  --shadow-lg: 0 28px 80px rgba(8, 39, 90, .18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid rgba(19, 132, 206, .35);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.surface-soft { background: var(--surface-soft); }
.surface-dark { background: var(--navy); color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--blue-700);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: var(--green-500);
  content: "";
}

.surface-dark .eyebrow { color: #88d2ff; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.025em; }
h1 { font-size: clamp(2.85rem, 6vw, 5.55rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.55rem); }
h3 { font-size: 1.25rem; }

.section-heading {
  max-width: 740px;
  margin-bottom: 44px;
}

.section-heading h2 { margin-bottom: 16px; }
.section-heading p { max-width: 660px; color: var(--muted); font-size: 1.06rem; }
.surface-dark .section-heading p { color: #b9c8dc; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green-500); color: #0a321b; box-shadow: 0 10px 30px rgba(85, 185, 54, .28); }
.button-primary:hover { background: #67c647; box-shadow: 0 14px 34px rgba(85, 185, 54, .35); }
.button-blue { background: var(--blue-700); color: #fff; box-shadow: 0 10px 30px rgba(18, 104, 182, .25); }
.button-blue:hover { background: var(--blue-800); }
.button-outline { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .07); }
.button-outline:hover { background: rgba(255, 255, 255, .13); }
.button-light { border-color: var(--line); color: var(--blue-900); background: #fff; }
.button-light:hover { border-color: #a9bbd0; box-shadow: var(--shadow-sm); }
.button svg { width: 18px; height: 18px; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(220, 228, 238, .85);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: grid;
  min-height: 78px;
  grid-template-columns: 225px 1fr auto;
  align-items: center;
  gap: 28px;
}

.logo img { width: 218px; height: auto; }

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.desktop-nav a {
  position: relative;
  color: #33445e;
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
}

.desktop-nav a::after {
  position: absolute;
  right: 50%;
  bottom: -10px;
  left: 50%;
  height: 2px;
  border-radius: 99px;
  background: var(--green-500);
  content: "";
  transition: left .2s ease, right .2s ease;
}

.desktop-nav a:hover { color: var(--blue-800); }
.desktop-nav a:hover::after { right: 0; left: 0; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .button { min-height: 43px; padding: 10px 16px; }

.menu-toggle {
  display: none;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--blue-900);
}

.menu-toggle svg { width: 22px; }
.mobile-menu { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 82px;
  background:
    radial-gradient(circle at 78% 25%, rgba(22, 148, 218, .25), transparent 27%),
    radial-gradient(circle at 95% 95%, rgba(85, 185, 54, .17), transparent 28%),
    linear-gradient(135deg, #061938 0%, #092a5c 55%, #0a3d74 100%);
  color: #fff;
}

.hero::before {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, .025), 0 0 0 160px rgba(255, 255, 255, .02);
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(410px, .92fr);
  align-items: center;
  gap: 58px;
}

.hero .eyebrow { color: #93d9ff; }
.hero h1 { max-width: 760px; margin-bottom: 24px; }
.hero h1 span { color: #75ca50; }

.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: #c8d8eb;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 34px; color: #c4d3e6; font-size: .83rem; font-weight: 650; }
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust i { display: inline-grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: rgba(85, 185, 54, .17); color: #91df6e; font-style: normal; }

.product-window {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 26px;
  background: rgba(255, 255, 255, .09);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.window-top {
  display: flex;
  height: 50px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  padding: 0 18px;
}

.window-dots { display: flex; gap: 7px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .34); }
.window-label { color: #a9bdd4; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.window-body { padding: 20px; }
.dash-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.dash-head small { color: #93a9c1; }
.dash-head strong { display: block; margin-top: 3px; font-size: 1.15rem; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; background: rgba(85, 185, 54, .14); color: #9ce77c; padding: 6px 10px; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.live-pill::before { width: 7px; height: 7px; border-radius: 50%; background: #76d650; box-shadow: 0 0 0 5px rgba(118, 214, 80, .12); content: ""; }

.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0; }
.metric { border: 1px solid rgba(255, 255, 255, .1); border-radius: 15px; background: rgba(2, 17, 42, .36); padding: 14px; }
.metric span { display: block; color: #90a7c1; font-size: .72rem; }
.metric strong { display: block; margin: 5px 0 7px; font-size: 1.25rem; }
.metric em { color: #75ce53; font-size: .68rem; font-style: normal; font-weight: 700; }

.flow-list { display: grid; gap: 8px; }
.flow-row { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; border-radius: 12px; background: rgba(255, 255, 255, .055); padding: 10px 12px; }
.flow-icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; background: rgba(19, 132, 206, .18); color: #8ed5fb; font-size: .75rem; font-weight: 900; }
.flow-row strong { font-size: .78rem; }
.flow-row span:last-child { color: #9db0c6; font-size: .68rem; }

.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { display: grid; min-height: 104px; grid-template-columns: 1.25fr repeat(3, 1fr); align-items: stretch; }
.trust-intro, .trust-stat { display: flex; flex-direction: column; justify-content: center; padding: 20px 26px; }
.trust-intro { padding-left: 0; }
.trust-intro strong { color: var(--blue-900); font-size: 1.05rem; }
.trust-intro span { color: var(--muted); font-size: .83rem; }
.trust-stat { border-left: 1px solid var(--line); }
.trust-stat strong { color: var(--blue-900); font-size: 1.55rem; line-height: 1.1; }
.trust-stat span { margin-top: 5px; color: var(--muted); font-size: .76rem; }

.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.solution-card {
  position: relative;
  min-height: 302px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(8, 39, 90, .04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.solution-card::after {
  position: absolute;
  right: -45px;
  bottom: -55px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 132, 206, .13), rgba(19, 132, 206, 0) 70%);
  content: "";
}

.solution-card:hover { transform: translateY(-7px); border-color: #afc6dc; box-shadow: var(--shadow-md); }
.solution-card.featured { border-color: rgba(85, 185, 54, .65); background: linear-gradient(145deg, #fff 10%, #f4fbf1 100%); }
.solution-card.featured::before { position: absolute; top: 16px; right: 16px; border-radius: 999px; background: var(--green-100); color: var(--green-700); padding: 5px 9px; content: "Flagship"; font-size: .64rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.solution-icon { display: grid; width: 48px; height: 48px; margin-bottom: 22px; place-items: center; border-radius: 14px; background: var(--sky-100); color: var(--blue-800); }
.solution-icon svg { width: 25px; height: 25px; }
.solution-card.featured .solution-icon { background: var(--green-100); color: var(--green-700); }
.solution-card h3 { margin-bottom: 12px; color: var(--blue-950); }
.solution-card p { color: var(--muted); font-size: .91rem; }
.card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; color: var(--blue-700); font-size: .82rem; font-weight: 800; }
.card-link::after { content: "→"; transition: transform .2s ease; }
.solution-card:hover .card-link::after { transform: translateX(4px); }

.product-showcase { background: linear-gradient(180deg, #f5f8fc 0%, #fff 100%); }
.product-shell { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-md); }
.product-tabs { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid var(--line); background: #f8fafc; }
.product-tab { min-height: 74px; border: 0; border-right: 1px solid var(--line); background: transparent; color: #53657c; padding: 14px 9px; font-size: .78rem; font-weight: 800; }
.product-tab:last-child { border-right: 0; }
.product-tab:hover { background: #fff; color: var(--blue-800); }
.product-tab[aria-selected="true"] { position: relative; background: #fff; color: var(--blue-900); }
.product-tab[aria-selected="true"]::after { position: absolute; right: 15px; bottom: -1px; left: 15px; height: 4px; border-radius: 10px 10px 0 0; background: var(--green-500); content: ""; }
.product-panel { display: none; grid-template-columns: .8fr 1.2fr; gap: 58px; padding: 52px; }
.product-panel.active { display: grid; }
.product-panel h3 { margin-bottom: 15px; color: var(--blue-950); font-size: clamp(1.7rem, 3vw, 2.5rem); }
.product-panel > div > p { color: var(--muted); }
.product-badge { display: inline-flex; margin-bottom: 14px; border-radius: 999px; background: var(--sky-100); color: var(--blue-800); padding: 6px 10px; font-size: .67rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0; padding: 0; list-style: none; }
.feature-list li { position: relative; color: #44566e; padding-left: 26px; font-size: .88rem; }
.feature-list li::before { position: absolute; top: .2em; left: 0; display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: var(--green-100); color: var(--green-700); content: "✓"; font-size: .68rem; font-weight: 900; }

.hmis-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 76px; }
.hmis-copy h2 { margin-bottom: 18px; }
.hmis-copy > p { color: var(--muted); }
.capability-stack { display: grid; gap: 12px; margin-top: 30px; }
.capability { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; }
.capability span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--sky-100); color: var(--blue-800); font-weight: 900; }
.capability h3 { margin: 2px 0 5px; font-size: .98rem; }
.capability p { margin: 0; color: var(--muted); font-size: .84rem; }

.journey-card { position: relative; border: 1px solid var(--line); border-radius: 28px; background: #fff; padding: 31px; box-shadow: var(--shadow-md); }
.journey-card::before { position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border-radius: inherit; background: linear-gradient(135deg, var(--blue-700), var(--green-500)); content: ""; opacity: .11; }
.journey-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.journey-head strong { color: var(--blue-950); }
.journey-head span { border-radius: 999px; background: var(--green-100); color: var(--green-700); padding: 5px 9px; font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.journey-steps { display: grid; gap: 0; }
.journey-step { position: relative; display: grid; min-height: 58px; grid-template-columns: 34px 1fr auto; align-items: center; gap: 13px; }
.journey-step:not(:last-child)::after { position: absolute; top: 42px; bottom: -8px; left: 16px; width: 2px; background: #d9e4ee; content: ""; }
.journey-step i { display: grid; z-index: 1; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--blue-900); color: #fff; font-size: .7rem; font-style: normal; font-weight: 900; }
.journey-step strong { font-size: .84rem; }
.journey-step small { color: var(--muted); font-size: .7rem; }

.integration-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.integration-card { border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; background: rgba(255, 255, 255, .06); padding: 23px; }
.integration-card .mini-icon { display: grid; width: 40px; height: 40px; margin-bottom: 18px; place-items: center; border-radius: 12px; background: rgba(122, 202, 81, .14); color: #97e278; font-size: .72rem; font-weight: 900; }
.integration-card h3 { margin-bottom: 8px; font-size: 1rem; }
.integration-card p { margin: 0; color: #aebed1; font-size: .82rem; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-card { position: relative; padding: 25px 24px 24px 0; }
.process-card:not(:last-child)::after { position: absolute; top: 41px; right: -10px; width: 45%; height: 1px; background: linear-gradient(90deg, #a9bfd3, transparent); content: ""; }
.process-number { display: grid; width: 58px; height: 58px; margin-bottom: 20px; place-items: center; border: 1px solid #c9d8e6; border-radius: 18px; background: #fff; color: var(--blue-800); box-shadow: var(--shadow-sm); font-weight: 900; }
.process-card h3 { margin-bottom: 9px; font-size: 1.06rem; }
.process-card p { color: var(--muted); font-size: .84rem; }

.proof { overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(135deg, #0b3470, #1268b6); color: #fff; }
.proof-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; }
.proof-copy { padding: 58px; }
.proof-copy h2 { max-width: 620px; margin-bottom: 17px; }
.proof-copy p { max-width: 600px; color: #c8d9ea; }
.proof-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.proof-points span { border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .07); padding: 7px 11px; color: #dce9f5; font-size: .72rem; font-weight: 700; }
.proof-stats { display: grid; grid-template-columns: repeat(2, 1fr); background: rgba(0, 0, 0, .1); }
.proof-stat { display: flex; min-height: 170px; flex-direction: column; justify-content: center; border-left: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 24px 30px; }
.proof-stat strong { color: #8cdd68; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; }
.proof-stat span { margin-top: 8px; color: #d0deed; font-size: .76rem; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.contact-copy h2 { margin-bottom: 18px; }
.contact-copy > p { color: var(--muted); }
.contact-list { display: grid; gap: 14px; margin-top: 30px; }
.contact-item { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 13px; }
.contact-item i { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 13px; background: var(--sky-100); color: var(--blue-800); font-style: normal; font-weight: 900; }
.contact-item small { display: block; color: var(--muted); }
.contact-item a, .contact-item strong { color: var(--blue-950); font-weight: 800; }
.contact-card { border: 1px solid var(--line); border-radius: 26px; background: #fff; padding: 32px; box-shadow: var(--shadow-md); }
.contact-card h3 { margin-bottom: 7px; }
.contact-card > p { color: var(--muted); font-size: .88rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #44566d; font-size: .76rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cfdbe7; border-radius: 12px; background: #fbfdff; color: var(--ink); padding: 12px 13px; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-600); outline: 0; box-shadow: 0 0 0 4px rgba(19, 132, 206, .1); }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: .72rem; }

.site-footer { background: #04132f; color: #dbe6f2; }
.footer-main { display: grid; grid-template-columns: 1.25fr .7fr .7fr .9fr; gap: 42px; padding: 64px 0 44px; }
.footer-brand img { width: 230px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { max-width: 330px; color: #9fb2ca; font-size: .84rem; }
.footer-column h3 { margin-bottom: 17px; color: #fff; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-column a, .footer-column span { display: block; margin: 9px 0; color: #aebfd3; font-size: .8rem; }
.footer-column a:hover { color: #8fdd6c; }
.footer-bottom { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255, 255, 255, .09); color: #8fa3bd; font-size: .75rem; }
.footer-bottom div { display: flex; gap: 18px; }

.whatsapp-float { position: fixed; z-index: 90; right: 20px; bottom: 20px; display: flex; width: 56px; height: 56px; align-items: center; justify-content: center; border: 4px solid #fff; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 34px rgba(7, 28, 66, .25); transition: transform .2s ease; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); }
.whatsapp-float svg { width: 27px; height: 27px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Client directory */
.page-hero { padding: 72px 0 52px; background: linear-gradient(135deg, #061938, #0b3a73); color: #fff; }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.page-hero h1 { margin-bottom: 14px; font-size: clamp(2.5rem, 5vw, 4.4rem); }
.page-hero p { max-width: 680px; margin: 0; color: #c4d5e8; }
.directory-toolbar { display: grid; grid-template-columns: 1.3fr .8fr .8fr auto; gap: 12px; margin-bottom: 28px; }
.directory-toolbar input, .directory-toolbar select { min-height: 49px; border: 1px solid #cfdbe7; border-radius: 12px; background: #fff; padding: 11px 13px; color: var(--ink); }
.results-summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 19px; color: var(--muted); font-size: .82rem; }
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.client-card { border: 1px solid var(--line); border-radius: 17px; background: #fff; padding: 20px; transition: transform .2s ease, box-shadow .2s ease; }
.client-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.client-card h3 { margin-bottom: 13px; color: var(--blue-950); font-size: 1rem; }
.client-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.client-meta span { border-radius: 999px; background: var(--surface-soft); color: #5b6c82; padding: 5px 8px; font-size: .68rem; }
.empty-state { display: none; border: 1px dashed #bacbdd; border-radius: 18px; padding: 50px 20px; text-align: center; color: var(--muted); }
.empty-state.visible { display: block; }

@media (max-width: 1080px) {
  .nav-wrap { grid-template-columns: 205px 1fr auto; gap: 18px; }
  .desktop-nav { gap: 17px; }
  .desktop-nav a { font-size: .82rem; }
  .nav-actions .button-light { display: none; }
  .hero-grid { grid-template-columns: 1fr .88fr; gap: 38px; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .product-panel { grid-template-columns: 1fr; gap: 30px; }
  .hmis-grid { gap: 46px; }
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.2fr repeat(3, .8fr); gap: 26px; }
}

@media (max-width: 860px) {
  .section { padding: 76px 0; }
  .nav-wrap { grid-template-columns: 1fr auto; }
  .desktop-nav, .nav-actions { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu { border-top: 1px solid var(--line); background: #fff; }
  .mobile-menu.open { display: block; }
  .mobile-menu .container { display: grid; gap: 2px; padding-top: 12px; padding-bottom: 18px; }
  .mobile-menu a { border-radius: 9px; padding: 10px 11px; color: #35475f; font-size: .88rem; font-weight: 700; }
  .mobile-menu a:hover { background: var(--surface-soft); color: var(--blue-800); }
  .mobile-menu .mobile-cta { margin-top: 8px; background: var(--green-500); color: #0a321b; text-align: center; }
  .hero { padding-top: 68px; }
  .hero-grid { grid-template-columns: 1fr; }
  .product-window { max-width: 620px; }
  .trust-inner { grid-template-columns: repeat(3, 1fr); }
  .trust-intro { grid-column: 1 / -1; border-bottom: 1px solid var(--line); padding-left: 0; }
  .trust-stat:first-of-type { border-left: 0; }
  .product-tabs { grid-template-columns: repeat(3, 1fr); }
  .product-tab { border-bottom: 1px solid var(--line); }
  .product-panel { padding: 36px; }
  .hmis-grid { grid-template-columns: 1fr; }
  .journey-card { max-width: 650px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-card:not(:last-child)::after { display: none; }
  .proof-grid, .contact-grid { grid-template-columns: 1fr; }
  .proof-copy { padding: 42px; }
  .contact-grid { gap: 42px; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .page-hero-grid { grid-template-columns: 1fr; }
  .directory-toolbar { grid-template-columns: 1fr 1fr; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 64px 0; }
  .section-sm { padding: 46px 0; }
  .site-header .logo img { width: 188px; }
  .nav-wrap { min-height: 70px; }
  .hero { padding: 54px 0 62px; }
  .hero h1 { font-size: clamp(2.45rem, 13vw, 3.65rem); }
  .hero-actions .button { width: 100%; }
  .hero-trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .window-body { padding: 15px; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-intro { padding-right: 0; }
  .trust-stat { border-top: 1px solid var(--line); border-left: 0; padding-left: 0; }
  .solutions-grid, .integration-grid, .process-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: auto; }
  .product-tabs { display: flex; overflow-x: auto; }
  .product-tab { min-width: 126px; }
  .product-panel { padding: 27px 21px; }
  .feature-list { grid-template-columns: 1fr; }
  .hmis-grid { gap: 35px; }
  .journey-card { padding: 23px 18px; }
  .proof-copy { padding: 34px 24px; }
  .proof-stats { grid-template-columns: 1fr 1fr; }
  .proof-stat { min-height: 135px; padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .contact-card { padding: 24px 19px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 18px 0; }
  .page-hero { padding: 52px 0 42px; }
  .directory-toolbar { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: 1fr; }
  .results-summary { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
