/* LH MediTech Solutions — site styles */
:root {
  --navy: #0B1A4A;
  --accent: #2E397A;
  --ground: #F5F6F3;
  --white: #FFFFFF;
  --line: #DCE0DA;
  --line-strong: #C9CFC7;
  --text-muted: #3A4651;
  --text-subtle: #4A5560;
  --on-navy: #E8ECE7;
  --on-navy-muted: #B9C6CC;
  --on-navy-faint: #9FB0B8;
  --on-navy-accent: #A9BCFF;
  --navy-line: #2A3D78;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--ground);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); }
a:hover { color: var(--navy); }

:focus-visible { outline: 3px solid var(--on-navy-accent); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 6px; z-index: 100;
}
.skip-link:focus { left: 8px; color: var(--white); }

.container { max-width: var(--max); margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* ---------- Type ---------- */
.eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--light { color: var(--on-navy-accent); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; }

.h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.h3 { font-size: 22px; }

.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }

.muted { color: var(--text-muted); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 600;
  text-decoration: none;
  padding: 15px 26px;
  min-height: 48px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--navy); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--accent); color: var(--white); }
.btn--outline { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; padding: 14px 24px; }
.btn--outline:hover { background: var(--navy); color: var(--white); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 246, 243, 0.96);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 16px; padding-bottom: 16px;
}
.nav__brand img { height: 56px; width: auto; }
.nav__links {
  display: flex; align-items: center; gap: 8px 28px;
  list-style: none; margin: 0; padding: 0;
  font-size: 15px; font-weight: 500;
}
.nav__links a { color: var(--navy); text-decoration: none; padding: 12px 0; display: inline-block; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav__links .nav__cta { background: var(--navy); color: var(--white); padding: 12px 20px; border-radius: 6px; text-decoration: none; }
.nav__links .nav__cta:hover { background: var(--accent); color: var(--white); text-decoration: none; }

.nav__toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid var(--line-strong); border-radius: 8px;
  background: var(--white); color: var(--navy);
  align-items: center; justify-content: center; cursor: pointer;
}

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav { flex-wrap: wrap; }
  .nav__links {
    display: none;
    width: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 0 12px;
    border-top: 1px solid var(--line);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { display: block; padding: 14px 4px; }
  .nav__links .nav__cta { margin-top: 8px; text-align: center; }
  .nav__brand img { height: 44px; }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 96px; padding-bottom: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 64px; align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -0.025em; }
.hero__lead { margin: 0; font-size: 19px; color: var(--text-muted); max-width: 34em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.spec-panel {
  background: var(--navy); color: var(--on-navy);
  border-radius: 12px; padding: 32px;
  display: flex; flex-direction: column; gap: 22px;
}
.spec-panel__head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-navy-faint);
}
.spec-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--navy-line); border: 1px solid var(--navy-line);
  border-radius: 8px; overflow: hidden;
  list-style: none; margin: 0; padding: 0;
}
.spec-grid li {
  background: var(--navy); padding: 22px; min-height: 120px;
  display: flex; flex-direction: column; gap: 6px;
}
.spec-grid .num { font-family: var(--font-mono); font-size: 12px; color: var(--on-navy-accent); }
.spec-grid .label { font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.25; }
.spec-panel__foot { margin: 0; font-size: 14px; color: var(--on-navy-faint); }

@media (max-width: 480px) {
  .spec-grid { grid-template-columns: 1fr; }
  .spec-grid li { min-height: 0; }
}

/* ---------- Sections ---------- */
.section { padding-top: 96px; padding-bottom: 96px; }
.section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.stack-48 { display: flex; flex-direction: column; gap: 48px; }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }

/* Capabilities */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px;
}
.cap-card {
  border: 1px solid var(--line); border-radius: 10px; padding: 28px;
  display: flex; flex-direction: column; gap: 14px; background: var(--ground);
}
.cap-card svg { color: var(--accent); }
.cap-card p { margin: 0; color: var(--text-muted); font-size: 16px; }

/* Products teaser */
.split-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.link-underline { color: var(--navy); font-weight: 600; text-decoration: none; padding: 12px 0; border-bottom: 2px solid var(--navy); }
.link-underline:hover { color: var(--accent); border-color: var(--accent); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.product-card {
  text-decoration: none; color: var(--navy);
  border: 1px solid var(--line); border-radius: 14px; background: var(--white);
  padding: 36px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.product-card:hover { color: var(--navy); border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(11, 26, 74, .08); }
.product-card .tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); }
.product-card .name { font-family: var(--font-display); font-weight: 700; font-size: 30px; }
.product-card .desc { color: var(--text-muted); font-size: 16px; }
.product-card .more { font-weight: 600; color: var(--accent); }

/* Approach */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px;
}
.steps li { border-top: 2px solid var(--navy); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.steps .num { font-family: var(--font-mono); font-size: 14px; color: var(--accent); }
.steps p { margin: 0; color: var(--text-muted); }

/* Quality */
.two-col {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 56px; align-items: start;
}
.quality__copy { display: flex; flex-direction: column; gap: 18px; }
.quality__copy h2 { color: var(--white); }
.quality__copy p { margin: 0; font-size: 18px; color: var(--on-navy-muted); }
.check-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 1px;
  background: var(--navy-line); border: 1px solid var(--navy-line); border-radius: 10px; overflow: hidden;
}
.check-list li { background: var(--navy); padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.check-list svg { flex: none; margin-top: 3px; color: var(--on-navy-accent); }
.check-list strong { color: var(--white); font-weight: 600; }
.check-list span span { color: var(--on-navy-muted); }

/* About */
.about__body { display: flex; flex-direction: column; gap: 18px; font-size: 18px; color: var(--text-muted); }
.about__body p { margin: 0; }
.facts { margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; font-size: 15px; }
.facts div { border-top: 1px solid var(--line-strong); padding-top: 12px; }
.facts dt { color: var(--text-subtle); font-size: 13px; }
.facts dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--navy); }

/* Contact */
.contact__copy { display: flex; flex-direction: column; gap: 20px; }
.contact__copy > p { margin: 0; font-size: 18px; color: var(--text-muted); }
.contact-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.contact-form {
  display: flex; flex-direction: column; gap: 16px;
  background: var(--ground); border: 1px solid var(--line); border-radius: 10px; padding: 32px;
}
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; font-weight: 400; color: var(--navy);
  padding: 12px 14px; min-height: 48px;
  border: 1px solid #B8C0B6; border-radius: 6px; background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.req { color: #A3361A; }
.form-note { margin: 0; font-size: 13px; color: var(--text-subtle); }
.form-status { margin: 0; font-size: 15px; font-weight: 500; min-height: 1.5em; }
.form-status.is-error { color: #A3361A; }
.form-status.is-ok { color: #0F6E66; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.contact-form .btn { align-self: flex-start; }

/* ---------- Products page ---------- */
.page-hero { background: var(--navy); color: var(--white); }
.page-hero .container { padding-top: 88px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 20px; }
.page-hero h1 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.025em; max-width: 16em; }
.page-hero p { margin: 0; font-size: 19px; color: #C9D3F0; max-width: 36em; }
.pill-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.pill-nav a { color: var(--white); text-decoration: none; border: 1px solid #4A5C99; border-radius: 999px; padding: 10px 18px; font-weight: 500; }
.pill-nav a:hover { background: var(--white); color: var(--navy); }

.product-block {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.product-block__main { padding: 48px; display: flex; flex-direction: column; gap: 22px; }
.product-block__main p { margin: 0; }
.product-block__side {
  background: var(--navy); color: var(--on-navy); padding: 48px;
  display: flex; flex-direction: column; gap: 14px; justify-content: center;
}
.product-title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.product-title h2 { font-weight: 700; font-size: 34px; letter-spacing: -0.02em; }
.chip {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-subtle); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 10px;
}
.tagline { font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1.2; color: var(--accent); }
.lead-strong { font-size: 18px; font-weight: 500; line-height: 1.45; }
.mono-note { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--text-subtle); }
.side-label { margin: 0 0 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-navy-faint); }

.module-list { list-style: none; margin: 0; padding: 0; }
.module-list li { display: flex; gap: 14px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--navy-line); }
.module-list .num { font-family: var(--font-mono); font-size: 13px; color: var(--on-navy-accent); width: 22px; flex: none; }
.module-list .label { color: var(--white); font-size: 16px; font-weight: 500; }

.feature-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list svg { flex: none; margin-top: 3px; color: var(--accent); }

.app-card { border: 1px solid var(--navy-line); border-radius: 10px; padding: 20px 22px; display: flex; gap: 16px; align-items: center; }
.app-card svg { flex: none; color: var(--on-navy-accent); }
.app-card strong { color: var(--white); font-family: var(--font-display); font-size: 18px; }
.app-card span span { color: var(--on-navy-muted); font-size: 15px; }

.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; margin-top: 20px; }
.media-placeholder {
  border: 1.5px dashed #9AA6C8; border-radius: 12px; background: #EEF1F8; min-height: 240px;
  display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center;
  color: #3A4A78; font-size: 15px; font-weight: 500;
}
.media-grid img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }

.cta-band { background: var(--white); border-top: 1px solid var(--line); }
.cta-band .container { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta-band h2 { font-size: 32px; letter-spacing: -0.02em; }
.cta-band p { margin: 0; color: var(--text-muted); font-size: 17px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); font-size: 14px; }
.site-footer .container { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { color: var(--on-navy-accent); }
.site-footer a:hover { color: var(--white); }

@media (max-width: 640px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 56px; padding-bottom: 56px; gap: 40px; }
  .product-block__main, .product-block__side { padding: 28px; }
  .contact-form { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
