/* OM Healthcare main site */
:root {
  --ink: #0d2433;
  --navy: #073b66;
  --sky: #0877b9;
  --teal: #18b7b1;
  --marigold: #e39b2d;
  --paper: #f2f6f7;
  --white: #ffffff;
  --line: #d3e0e4;
  --mute: #4c6170;
  --focus: #e39b2d;
  --wrap: 1140px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-variation-settings: "wdth" 100;
  font-size: 1.0625rem;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--sky); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

h1, h2, h3 {
  font-variation-settings: "wdth" 112;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--navy);
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 780; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 740; }
h3 { font-size: 1.25rem; font-weight: 700; font-variation-settings: "wdth" 104; }
p { margin: 0 0 1em; max-width: 68ch; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--mute); max-width: 56ch; }
.small { font-size: .92rem; color: var(--mute); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 44px; height: 44px; }
.brand strong { display: block; font-variation-settings: "wdth" 112; font-weight: 760; line-height: 1.05; font-size: 1.08rem; }
.brand small { display: block; color: var(--mute); font-size: .78rem; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 6px; font-weight: 520; }
.nav a:hover { background: var(--paper); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav .nav-cta { background: var(--navy); color: #fff; margin-left: 8px; font-weight: 620; }
.nav .nav-cta:hover { background: var(--sky); color: #fff; }
.nav-toggle { display: none; font: inherit; font-weight: 620; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 14px; color: var(--navy); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 70px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-block; text-decoration: none; font-weight: 640; padding: 13px 22px; border-radius: 8px; border: 2px solid var(--navy); line-height: 1.2; }
.btn-solid { background: var(--navy); color: #fff; }
.btn-solid:hover { background: var(--sky); border-color: var(--sky); color: #fff; }
.btn-line { color: var(--navy); background: #fff; }
.btn-line:hover { background: var(--paper); }

/* Sections */
.band { padding: clamp(56px, 8vw, 96px) 0; }
.band-paper { background: var(--paper); }
.band-navy { background: var(--navy); color: #dbe9f1; }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy a { color: #8fe3df; }
.head { margin-bottom: 36px; }
.head p { color: var(--mute); }
.band-navy .head p { color: #b9d2e0; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 6vw, 64px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1 { max-width: 13ch; }
.place { color: var(--mute); font-weight: 560; margin-bottom: 14px; }
.map-fig { margin: 0; position: relative; }
.map-fig img { width: 100%; max-height: 640px; object-fit: contain; }
.map-key { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--mute); }
.map-key li { display: flex; align-items: center; gap: 7px; }
.map-key i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.map-cap { font-size: .9rem; color: var(--mute); margin-top: 8px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .map-fig img { max-height: 440px; }
}

/* Ledger: field numbers */
.ledger { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--navy); }
.ledger div { padding: 18px 18px 6px 0; border-right: 1px solid var(--line); margin-right: 18px; }
.ledger div:last-child { border-right: 0; }
.ledger b { display: block; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-variation-settings: "wdth" 116; font-weight: 760; color: var(--navy); line-height: 1.05; }
.ledger span { display: block; color: var(--mute); font-size: .95rem; margin-top: 6px; max-width: 22ch; }
@media (max-width: 760px) {
  .ledger { grid-template-columns: 1fr 1fr; }
  .ledger div:nth-child(2) { border-right: 0; }
  .ledger div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Process steps (a real sequence) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 0 22px 0 0; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: var(--navy); font-weight: 760; margin-bottom: 14px; position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 19px; left: 38px; right: 0; height: 2px; background: rgba(255,255,255,.25); }
.steps li:last-child::after { display: none; }
.steps p { color: #b9d2e0; font-size: .98rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps li { padding: 0 0 0 54px; }
  .steps li::before { position: absolute; left: 0; top: 0; }
  .steps li::after { display: none; }
}

/* Service rows */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 12px 40px; padding: 26px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.row h3 { margin: 0; }
.row p { color: var(--mute); margin-bottom: .6em; }
.row ul { margin: 0; padding-left: 1.1em; color: var(--ink); }
.row li { margin-bottom: 4px; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; } }

/* Case study */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.case-facts { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); padding: 22px 24px; }
.case-facts dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; }
.case-facts dt { font-weight: 760; color: var(--navy); font-variation-settings: "wdth" 112; font-size: 1.35rem; line-height: 1.2; }
.case-facts dd { margin: 0; color: var(--mute); align-self: center; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { padding: 0 0 22px 22px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); border: 2px solid #fff; }
.timeline strong { display: block; color: var(--navy); }

/* Products */
.prod-group { margin-bottom: 48px; }
.prod-group > h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.prod-group > p { color: var(--mute); }
.prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 18px; }
.prod { border: 1px solid var(--line); border-radius: 10px; padding: 20px 20px 18px; background: #fff; display: flex; flex-direction: column; scroll-margin-top: 90px; }
.prod h3 { margin-bottom: .3em; font-size: 1.15rem; }
.prod p { color: var(--mute); font-size: .98rem; flex: 1; }
.prod .who { font-size: .9rem; color: var(--ink); margin-bottom: 14px; }
.prod a.open { font-weight: 640; text-decoration: none; }
.prod a.open:hover { text-decoration: underline; }
.tag { display: inline-block; font-size: .78rem; font-weight: 640; padding: 3px 9px; border-radius: 999px; margin-bottom: 10px; align-self: flex-start; }
.tag-live { background: #dff5f4; color: #0b6a66; }
.tag-demo { background: #e5eff7; color: var(--navy); }
.tag-pilot { background: #fbefdc; color: #8a5a10; }
.prod-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; border-left: 4px solid var(--teal); }
@media (max-width: 760px) { .prod-feature { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.quick { list-style: none; padding: 0; margin: 0 0 20px; }
.quick li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.quick strong { display: block; color: var(--navy); }
form.enq { background: var(--paper); padding: clamp(18px, 3vw, 30px); border-radius: 10px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 620; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--mute); font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #b9cbd2; border-radius: 6px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -5000px; }
.notice { padding: 14px 16px; border-radius: 8px; margin-bottom: 18px; }
.notice-err { background: #fdecea; color: #8a1c12; }

/* Closing call */
.closing { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.closing h2 { margin: 0; max-width: 22ch; }

/* Footer */
.foot { background: var(--ink); color: #b7c7d1; padding: 48px 0 24px; font-size: .95rem; }
.foot a { color: #e3eef3; text-decoration: none; }
.foot a:hover { text-decoration: underline; color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 24px; }
.foot-name { color: #fff; font-weight: 700; font-variation-settings: "wdth" 112; }
.foot-h { color: #fff; font-weight: 620; margin-bottom: 6px; }
.foot-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; font-size: .85rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
