:root {
  color-scheme: light;
  --navy-950: #031027;
  --navy-900: #061a3a;
  --navy-800: #0a2c5b;
  --blue-600: #0878e7;
  --blue-500: #08a8ed;
  --cyan-400: #20d7e7;
  --green-500: #65c733;
  --ink: #101a2f;
  --muted: #5b6b84;
  --line: #d9e4f0;
  --surface: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(6, 26, 58, 0.13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(3, 16, 39, 0.88);
  backdrop-filter: blur(14px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(3, 16, 39, 0.98);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1.2rem;
}

.brand-copy small {
  margin-top: 6px;
  color: #a8c7e8;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #d8e9fa;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav a {
  transition: color 150ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--cyan-400);
}

.main-nav .nav-cta {
  padding: 11px 15px;
  border: 1px solid rgba(32, 215, 231, 0.55);
  border-radius: 6px;
  color: var(--white);
  background: rgba(8, 120, 231, 0.28);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  padding: 10px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  display: block;
  margin: 3px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 730px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 16, 39, 0.98) 0%, rgba(3, 16, 39, 0.88) 38%, rgba(3, 16, 39, 0.24) 72%, rgba(3, 16, 39, 0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 110px;
}

.hero-content > * {
  max-width: 650px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--blue-500);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--cyan-400);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 0.98;
}

.hero h1 span {
  display: block;
  color: var(--blue-500);
}

.hero-lead {
  margin: 27px 0 0;
  color: #d4e5f5;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--blue-600);
  color: var(--white);
  background: var(--blue-600);
}

.button-primary:hover {
  background: #086dcd;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: rgba(3, 16, 39, 0.42);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  color: #aec5db;
  font-size: 0.88rem;
}

.hero-trust span {
  color: var(--green-500);
  font-weight: 900;
}

.about-band {
  padding: 68px 0 44px;
  color: var(--white);
  background: var(--navy-800);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

.about-layout h2,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.about-layout > p {
  margin: 0;
  color: #c9dcef;
  text-align: justify;
}

.benefit-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 46px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.benefit {
  min-width: 0;
  display: flex;
  gap: 14px;
  align-items: center;
}

.benefit-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(32, 215, 231, 0.55);
  border-radius: 50%;
  color: var(--cyan-400);
  font-size: 1.35rem;
}

.benefit div {
  display: grid;
  min-width: 0;
}

.benefit strong {
  font-size: 0.92rem;
}

.benefit small {
  margin-top: 3px;
  color: #9fb8d2;
}

.section {
  padding: 96px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading > p:last-child {
  margin: 15px 0 0;
  color: var(--muted);
}

.services {
  background: var(--surface);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 280px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  z-index: 1;
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #c7d5e5;
  font-size: 0.78rem;
  font-weight: 800;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--blue-600);
  background: #eaf3fe;
  font-size: 1.25rem;
  font-weight: 900;
}

.service-card h3 {
  margin: 26px 0 10px;
  font-size: 1.16rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.systems {
  color: var(--white);
  background: var(--navy-950);
}

.section-heading-light > p:last-child {
  color: #a9bed3;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.system-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #09254c;
}

.system-card-featured {
  background: #0b376b;
}

.system-card img,
.system-placeholder {
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.system-placeholder {
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: #0878e7;
  font-size: 2rem;
  font-weight: 900;
}

.system-placeholder-clinic {
  color: var(--navy-900);
  background: var(--cyan-400);
}

.system-card h3 {
  margin: 12px 0 8px;
  font-size: 1.55rem;
}

.system-card p {
  margin: 0;
  color: #c1d4e8;
}

.system-card a {
  display: inline-flex;
  gap: 10px;
  margin-top: 24px;
  color: var(--cyan-400);
  font-weight: 800;
}

.system-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  color: #bdf5a1;
  background: rgba(101, 199, 51, 0.16);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-building {
  color: #9bdcf8;
  background: rgba(8, 168, 237, 0.14);
}

.metrics {
  color: var(--white);
  background: var(--navy-800);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metrics-grid div {
  display: grid;
  justify-items: center;
  padding: 34px 18px;
  text-align: center;
}

.metrics-grid div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.metrics-grid strong {
  color: var(--cyan-400);
  font-size: 2.2rem;
}

.metrics-grid span {
  color: #cfdfef;
  font-size: 0.87rem;
}

.contact {
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.contact-copy > p:not(.section-kicker) {
  margin: 22px 0 0;
  color: var(--muted);
  text-align: justify;
}

.contact-options {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-options a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.contact-options a > span:first-child {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--blue-600);
  background: #eaf3fe;
  font-weight: 900;
}

.contact-options a > span:last-child {
  display: grid;
  font-weight: 700;
}

.contact-options small {
  color: var(--muted);
  font-weight: 500;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #25344d;
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c9d8e8;
  border-radius: 6px;
  outline: none;
  color: var(--ink);
  background: var(--white);
}

.contact-form input,
.contact-form select {
  min-height: 50px;
  padding: 0 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 125px;
  padding: 13px 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(8, 120, 231, 0.12);
}

.form-submit {
  width: 100%;
}

.form-note {
  margin: -5px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.site-footer {
  padding: 60px 0 22px;
  color: #c3d4e7;
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  gap: 50px;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--white);
}

.footer-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.footer-brand div {
  display: grid;
}

.footer-brand span {
  color: #8faac7;
  font-size: 0.75rem;
}

.footer-grid > p {
  margin: 0;
  font-size: 0.9rem;
  text-align: justify;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--cyan-400);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #819ab7;
  font-size: 0.76rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    inset: 78px 0 auto;
    max-height: 0;
    display: grid;
    gap: 0;
    overflow: hidden;
    background: var(--navy-950);
    transition: max-height 220ms ease;
  }

  .main-nav.is-open {
    max-height: calc(100vh - 78px);
    padding: 16px 20px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .main-nav a {
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav .nav-cta {
    margin-top: 14px;
    text-align: center;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero {
    min-height: 680px;
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(3, 16, 39, 0.99) 0%, rgba(3, 16, 39, 0.87) 55%, rgba(3, 16, 39, 0.32) 100%);
  }

  .hero-content > * {
    max-width: 590px;
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .benefit-row,
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-row {
    row-gap: 30px;
  }

  .service-grid,
  .system-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .system-card-featured {
    grid-column: 1 / -1;
    min-height: 310px;
  }

  .metrics-grid div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .metrics-grid div:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 70px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand-copy strong {
    font-size: 1.02rem;
  }

  .brand-copy small {
    font-size: 0.58rem;
  }

  .main-nav {
    inset: 70px 0 auto;
  }

  .hero {
    min-height: 720px;
    align-items: end;
  }

  .hero-image {
    object-position: 69% center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(3, 16, 39, 1) 4%, rgba(3, 16, 39, 0.92) 56%, rgba(3, 16, 39, 0.42) 100%);
  }

  .hero-content {
    padding: 130px 0 52px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-trust {
    display: grid;
    gap: 8px;
  }

  .about-band,
  .section {
    padding: 68px 0;
  }

  .benefit-row,
  .service-grid,
  .system-grid,
  .metrics-grid,
  .field-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 240px;
  }

  .system-card-featured {
    grid-column: auto;
  }

  .metrics-grid div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .contact-form {
    padding: 22px;
  }

  .footer-links {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
