
:root {
  --navy: #06284d;
  --navy-2: #031b35;
  --nhs-blue: #005EB8;
  --teal: #007C83;
  --teal-light: #13b7aa;
  --purple: #5B3F99;
  --green: #0f9f6e;
  --red: #d92d20;
  --ink: #0b1f3a;
  --muted: #52677f;
  --line: #d9e5f0;
  --soft: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(6, 40, 77, .12);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

h1, h2, h3, h4 {
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--navy-2);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.05em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 3.0rem); letter-spacing: -0.035em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217,229,240,.9);
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 800;
  color: var(--navy-2);
  font-size: 1.55rem;
  letter-spacing: -.02em;
}
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand small {
  display: block;
  font-size: .62rem;
  letter-spacing: .22em;
  color: var(--teal);
  margin-top: -4px;
}
.nav-links { display: flex; align-items: center; gap: 23px; font-weight: 800; font-size: .94rem; }
.nav-links a { padding: 28px 0 24px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); border-color: var(--teal); }
.menu-toggle { display:none; background:transparent; border:0; color:var(--navy); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  padding: 13px 21px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(6,40,77,.14); }
.btn-primary { background: linear-gradient(135deg, var(--teal), var(--nhs-blue)); color: #fff; }
.btn-secondary { color: var(--teal); border-color: var(--teal); background: rgba(255,255,255,.75); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(0,94,184,.22), transparent 30%),
    radial-gradient(circle at 70% 72%, rgba(0,124,131,.16), transparent 25%),
    linear-gradient(105deg, #ffffff 0%, #f6fbff 43%, #eaf4ff 100%);
  padding: 50px 0 25px;
}
.hero::before {
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(0,94,184,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,94,184,.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, black 55%, black);
  opacity:.35;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 900;
  font-family: Montserrat, Arial, sans-serif;
  margin-bottom: 14px;
}
.hero h1 .nhs-blue { color: var(--nhs-blue); }
.hero-lead { font-size: 1.14rem; max-width: 610px; color: #183451; }
.service-line {
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 700;
  color: var(--navy-2);
  margin: 24px 0 16px;
}
.service-line span { color: var(--nhs-blue); margin: 0 .35rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.hero-visual {
  position: relative;
  min-height: 500px;
}
.hero-dashboard {
  position: relative;
  z-index: 2;
  width: 118%;
  max-width: none;
  margin-left: -4%;
  filter: drop-shadow(0 28px 42px rgba(3,27,53,.20));
  border-radius: 20px;
}
.hero-badge {
  position: absolute;
  z-index: 3;
  right: 3%;
  bottom: 8%;
  padding: 12px 16px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 800;
  color: var(--teal);
}
.story-strip {
  position: relative;
  z-index: 2;
  margin-top: 42px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
}
.story-item {
  padding: 20px 18px;
  border-right: 1px solid var(--line);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.story-item:last-child { border-right: none; }
.story-item svg { width: 34px; height: 34px; color: var(--teal); flex: 0 0 auto; }
.story-item strong { display:block; font-family: Montserrat, Arial, sans-serif; font-size: .92rem; color: var(--navy-2); }
.story-item span { display:block; color: var(--muted); font-size: .82rem; line-height: 1.45; margin-top: 3px; }

.section { padding: 78px 0; }
.section-soft { background: var(--soft); }
.section-title { max-width: 780px; margin-bottom: 36px; }
.section-title p { font-size: 1.08rem; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card p { color: var(--muted); }
.icon { width: 44px; height: 44px; color: var(--teal); margin-bottom: 16px; }
.check-list { list-style:none; margin: 18px 0 0; padding:0; }
.check-list li { position:relative; padding-left: 30px; margin: 9px 0; color: #233b55; }
.check-list li::before { content:"✓"; position:absolute; left:0; top:0; color: var(--teal); font-weight:900; }
.product-card { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items:start; }
.product-icon {
  width: 76px; height: 76px; border-radius: 50%; display:grid; place-items:center;
  background: linear-gradient(135deg, var(--teal), var(--nhs-blue)); color:white;
}
.product-icon.purple { background: linear-gradient(135deg, var(--purple), var(--teal)); }
.product-icon svg { width: 42px; height: 42px; }
.process { display: grid; gap: 10px; margin-top: 18px; }
.process span { border:1px solid #bfe8e5; background:#effdfb; color:#065f61; border-radius: 999px; padding: 9px 14px; font-weight:800; text-align:center; }
.case-meta { color: var(--teal); font-weight: 900; text-transform: uppercase; font-size: .8rem; letter-spacing:.06em; }
.tech-list { display:flex; flex-wrap:wrap; gap: 12px; }
.tech-pill { border:1px solid var(--line); background:white; border-radius:999px; padding:10px 14px; font-weight:800; color:var(--navy); }
.cta {
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
  color:white;
  border-radius: 22px;
  padding: 34px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 24px;
  box-shadow: var(--shadow);
}
.cta h2 { color:white; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.cta p { color:#dce9f5; margin-bottom:0; }
.footer { background: var(--navy-2); color:white; padding: 44px 0; }
.footer-grid { display:flex; flex-wrap:wrap; justify-content:space-between; gap:28px; }
.footer p, .footer a { color:#d6e3ef; }
.footer-links { display:flex; gap:18px; flex-wrap:wrap; font-weight:800; }

@media (max-width: 980px) {
  .menu-toggle { display:block; }
  .nav { align-items:flex-start; padding: 14px 0; }
  .nav-links { display:none; width:100%; flex-direction:column; align-items:flex-start; gap: 8px; padding: 12px 0; }
  .nav-links.open { display:flex; }
  .nav-links a { padding: 8px 0; }
  .hero-grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .hero-visual { min-height:auto; }
  .hero-dashboard { width:100%; margin-left:0; }
  .story-strip { grid-template-columns: repeat(2, 1fr); }
  .story-item:nth-child(2n) { border-right:none; }
  .cta { display:block; }
  .cta .btn { margin-top:18px; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1180px); }
  .brand { font-size: 1.25rem; }
  .brand img { width:42px; height:42px; }
  .story-strip { grid-template-columns: 1fr; }
  .story-item { border-right:none; border-bottom:1px solid var(--line); }
  .story-item:last-child { border-bottom:none; }
  .product-card { grid-template-columns: 1fr; }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.contact-item i {
    width: 24px;
    color: #005EB8;
    font-size: 1.1rem;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    transition: color .2s ease;
}

.contact-item a:hover {
    color: #005EB8;
    text-decoration: underline;
}