:root {
  --bg: #f3f5f2;
  --surface: #ffffff;
  --surface-strong: #101820;
  --surface-soft: #e7ebe5;
  --text: #172129;
  --muted: #61707a;
  --heading: #101820;
  --accent: #0f766e;
  --accent-strong: #075e59;
  --accent-soft: #d8ebe7;
  --line: #d7ded7;
  --line-strong: #b9c5bd;
  --warn: #c77f2f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(243, 245, 242, 0.96), rgba(243, 245, 242, 1)),
    url("/assets/hero-clinical-engineering.jpg") center top / cover fixed;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header,
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--heading);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--heading);
  font-size: 13px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 8px;
}

.nav a.active,
.nav a:hover {
  color: var(--heading);
  background: rgba(15, 118, 110, 0.09);
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  color: var(--heading);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 { max-width: 800px; font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(28px, 3.3vw, 44px); }
h3 { font-size: 21px; }

p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

a { color: var(--accent-strong); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 28px;
  align-items: stretch;
  min-height: 620px;
}

.hero-copy,
.hero-panel,
.card,
.service-card,
.pathway-card,
.trust-card,
.link-card,
.proof-band,
.cta,
.split {
  min-width: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 50px rgba(16, 24, 32, 0.08);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 10px;
  padding: clamp(34px, 5vw, 64px);
}

.hero-copy .lede {
  max-width: 680px;
  font-size: 20px;
  color: #3d4e58;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 10px;
  background: var(--surface-strong);
}

.hero-panel img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: left center;
  filter: saturate(0.84) contrast(1.04);
}

.panel-topline {
  padding: 22px 22px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 22px;
}

.signal-grid div {
  min-height: 112px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.signal-grid span {
  display: block;
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
}

.signal-grid strong {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.35;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
}

.btn.primary {
  color: #ffffff;
  background: var(--accent);
}

.btn.secondary,
.btn.ghost {
  color: var(--heading);
  background: transparent;
  border-color: var(--line-strong);
}

.section { margin-top: 34px; }
.section.compact { margin-top: 42px; }

.section-head,
.section-intro {
  max-width: 780px;
  margin-bottom: 18px;
}

.grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 860px) {
  .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.card,
.service-card,
.pathway-card,
.trust-card,
.link-card {
  border-radius: 10px;
  padding: 24px;
}

.band {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  background: rgba(231, 235, 229, 0.86);
}

.service-card,
.pathway-card,
.trust-card,
.link-card {
  min-height: 220px;
}

.card-kicker {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--warn);
  font-size: 13px;
  font-weight: 900;
}

.proof-band,
.cta,
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  border-radius: 10px;
  padding: clamp(26px, 4vw, 44px);
}

.proof-list {
  display: grid;
  gap: 14px;
}

.proof-list p {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.proof-list p:last-child { border-bottom: 0; }

.pathway-card {
  display: flex;
  flex-direction: column;
}

.pathway-card a {
  margin-top: auto;
  font-weight: 800;
  text-decoration: none;
}

.equipment-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.equipment-strip img,
img.cover {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  filter: saturate(0.86) contrast(1.04);
}

.cta {
  background: var(--surface-strong);
}

.cta h2,
.cta p {
  color: #ffffff;
}

.cta .eyebrow {
  color: #8fe2d6;
}

.cta p {
  color: rgba(255, 255, 255, 0.72);
}

.footer-block {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}

.footer-block p,
.small {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.link-list {
  display: grid;
  gap: 10px;
}

.link-list a {
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 700;
}

label {
  display: block;
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--text);
  font: inherit;
  line-height: 1.4;
  margin-bottom: 16px;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

form .btn.primary {
  border: none;
}

@media (max-width: 859px) {
  main { width: min(100% - 24px, 1180px); padding-top: 14px; }
  .site-header,
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .nav {
    justify-content: flex-start;
    width: 100%;
    max-width: 340px;
    gap: 6px;
  }
  .nav a {
    padding: 7px 8px;
    font-size: 13px;
  }
  .hero,
  .proof-band,
  .cta,
  .split {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 0;
    width: 100%;
    overflow: hidden;
  }
  .hero-copy {
    padding: 30px 20px;
    width: 100%;
    max-width: 100%;
  }
  .hero-copy h1,
  .hero-copy p,
  .hero-copy .eyebrow,
  .container .card > h1,
  .container .card > h2,
  .container .card > p,
  .container .section-intro,
  .container .service-card > h3,
  .container .service-card > p,
  .container .pathway-card > h3,
  .container .pathway-card > p,
  .container .trust-card > h3,
  .container .trust-card > p,
  .container .list {
    max-width: min(100%, 280px);
  }
  h1 {
    font-size: clamp(30px, 8vw, 36px);
  }
  h2 {
    font-size: clamp(26px, 8vw, 34px);
  }
  .eyebrow {
    font-size: 11px;
  }
  .hero-copy .lede {
    font-size: 17px;
    max-width: min(100%, 280px);
  }
  .signal-grid {
    grid-template-columns: 1fr;
  }
  .equipment-strip {
    grid-template-columns: 1fr;
  }
  .equipment-strip img,
  img.cover {
    height: 220px;
  }
}
