:root {
  color-scheme: light;
  --ink: #12212f;
  --muted: #526171;
  --soft: #eff6f8;
  --paper: #ffffff;
  --line: #dbe7eb;
  --blue: #1677b7;
  --blue-dark: #0f5f93;
  --teal: #218f83;
  --red: #d63b3f;
  --shadow: 0 18px 40px rgba(18, 33, 47, .12);
  --radius: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fbfdfe;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.shell { width: calc(100% - 48px); max-width: 1180px; margin: 0 auto; }
.narrow { max-width: 820px; }
.sr-only, .skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  margin: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  z-index: 20;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(219,231,235,.9);
  backdrop-filter: blur(14px);
}
.topbar {
  background: var(--soft);
  color: #405061;
  font-size: 14px;
}
.topbar__inner {
  min-height: 38px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-end;
}
.topbar__inner span:first-child { margin-right: auto; }
.topbar a { text-decoration: none; }
.topbar a:hover, .primary-nav a:hover, .text-link:hover { color: var(--blue-dark); }
.nav-shell {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 188px; height: 70px; object-fit: contain; }
.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
}
.primary-nav a {
  text-decoration: none;
  color: #1f2b37;
  font-size: 15px;
}
.primary-nav a[aria-current="page"] { color: var(--blue); }
.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.nav-cta, .button-primary {
  background: var(--blue);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(22,119,183,.22);
}
.button-primary:hover, .nav-cta:hover { background: var(--blue-dark); color: #fff !important; }
.button:disabled { cursor: wait; opacity: .68; transform: none; }
.button-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 10px;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}
.hero {
  min-height: 720px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #eaf4f7;
}
.hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251,253,254,.95) 0%, rgba(251,253,254,.86) 34%, rgba(251,253,254,.34) 68%, rgba(251,253,254,.06) 100%),
    url("../images/medicaltime-hero-v2.jpg") center top / cover no-repeat;
}
.hero__content { position: relative; padding: 84px 0 120px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  font-size: 56px;
  line-height: 1.05;
  margin-bottom: 22px;
  overflow-wrap: break-word;
}
.page-hero h1, .simple-hero h1 { font-size: 48px; }
.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.trust-strip span {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(219,231,235,.95);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: #314253;
  font-weight: 700;
}
.section-intro { padding: 82px 0 30px; }
.section-intro h2, .split-section h2, .feature-panel h2, .cta-band h2, .form-layout h2 {
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-intro p { max-width: 760px; color: var(--muted); font-size: 18px; }
.card-grid {
  display: grid;
  gap: 24px;
  padding: 28px 0 80px;
}
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card, .info-card, .contact-card, .values-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 30px rgba(18,33,47,.06);
}
.service-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  color: var(--blue-dark);
  border-radius: var(--radius);
  font-weight: 900;
  margin-bottom: 20px;
}
.service-card h2, .info-card h2, .values-grid h2 {
  font-size: 23px;
  line-height: 1.25;
}
.service-card p, .info-card p, .values-grid p { color: var(--muted); }
.text-link {
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration: none;
}
.split-section {
  padding: 86px 0;
  background: linear-gradient(180deg, #f1f8fa, #fff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.split-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.timeline li {
  background: #fff;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: 0 10px 28px rgba(18,33,47,.07);
}
.timeline span { display: block; color: var(--muted); margin-top: 4px; }
.proof-band {
  transform: translateY(-34px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}
.proof-band div { background: #fff; padding: 28px; }
.proof-band strong { display: block; color: var(--blue-dark); font-size: 34px; line-height: 1; }
.proof-band span { color: var(--muted); font-weight: 700; }
.feature-panel, .cta-band {
  margin-bottom: 82px;
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
}
.feature-panel p, .cta-band p { color: var(--muted); max-width: 760px; }
.page-hero, .simple-hero {
  padding: 96px 0 70px;
  background:
    linear-gradient(90deg, rgba(251,253,254,.98), rgba(251,253,254,.85)),
    url("../images/contact-bg.jpg") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.content-block { padding-top: 78px; padding-bottom: 78px; }
.content-block p, .legal-page p { color: var(--muted); font-size: 17px; }
.soft-list {
  display: grid;
  gap: 16px;
}
.soft-list p {
  margin: 0;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 82px;
}
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(33,143,131,.12);
}
.form-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 42px;
  padding: 78px 0 88px;
}
.contact-card {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}
.contact-card a { color: var(--blue-dark); font-weight: 900; text-decoration: none; }
.premium-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
label { display: grid; gap: 7px; font-weight: 800; color: #263748; }
input, textarea {
  width: 100%;
  border: 1px solid #c8d7de;
  border-radius: var(--radius);
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
textarea { resize: vertical; margin-top: 16px; }
input:focus, textarea:focus, .button:focus, .menu-toggle:focus {
  outline: 3px solid rgba(22,119,183,.24);
  outline-offset: 2px;
}
.consent {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-weight: 600;
}
.consent input { width: 18px; margin-top: 5px; }
.honeypot { display: none; }
.form-status { min-height: 24px; margin: 16px 0 0; font-weight: 800; }
.form-status.success { color: #136c35; }
.form-status.error { color: #a82429; }
.faq-list { padding: 72px 0 88px; display: grid; gap: 14px; }
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
}
summary { cursor: pointer; font-weight: 900; font-size: 18px; }
details p { color: var(--muted); margin: 12px 0 0; }
.legal-page { padding-top: 72px; padding-bottom: 88px; }
.legal-page h2 { font-size: 26px; margin-top: 30px; }
.site-footer {
  background: #12212f;
  color: #d9e7ed;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-logo { width: 188px; height: 70px; object-fit: contain; margin-bottom: 14px; }
.site-footer h2 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.site-footer a, .site-footer span {
  display: block;
  color: #d9e7ed;
  text-decoration: none;
  margin: 9px 0;
}
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 34px;
  padding-top: 18px;
  color: #b9cbd5;
  font-size: 14px;
}
@media (max-width: 960px) {
  .topbar__inner { justify-content: center; flex-wrap: wrap; padding: 8px 0; }
  .topbar__inner span:first-child { margin-right: 0; }
  .nav-shell { min-height: 78px; }
  .menu-toggle { display: inline-block; }
  .primary-nav {
    position: absolute;
    left: 24px;
    right: 24px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px; }
  .hero { min-height: 660px; }
  .hero__media { background-position: 58% top; }
  h1 { font-size: 40px; }
  .page-hero h1, .simple-hero h1 { font-size: 38px; }
  .lead { font-size: 18px; }
  .three, .values-grid, .proof-band { grid-template-columns: 1fr; }
  .split-grid, .form-layout, .footer-grid { grid-template-columns: 1fr; }
  .feature-panel, .cta-band, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 32px); }
  .topbar { display: none; }
  .brand img { width: 156px; height: auto; }
  .hero { min-height: 650px; text-align: left; }
  .hero__media {
    background:
      linear-gradient(180deg, rgba(251,253,254,.98) 0%, rgba(251,253,254,.9) 48%, rgba(251,253,254,.72) 100%),
      url("../images/medicaltime-hero-v2.jpg") 67% top / cover no-repeat;
  }
  .hero__content { padding: 58px 0 78px; }
  h1 { font-size: 32px; line-height: 1.12; }
  .page-hero h1, .simple-hero h1 { font-size: 31px; }
  .lead { font-size: 17px; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .trust-strip span { width: 100%; }
  .section-intro h2, .split-section h2, .feature-panel h2, .cta-band h2, .form-layout h2 { font-size: 28px; }
  .section-intro { padding-top: 58px; }
  .card-grid { padding-bottom: 58px; }
  .page-hero, .simple-hero { padding: 64px 0 52px; }
  .premium-form, .service-card, .info-card, .feature-panel, .cta-band { padding: 22px; }
}