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

:root {
  /* Brand colors from SyncMed + EMS2ED logos */
  --navy: #0b2265;
  --blue: #2d7ec4;
  --blue-mid: #5a9fd4;
  --blue-light: #8fb4d8;
  --blue-pale: #e6eff7;
  --white: #ffffff;
  --gray-50: #f5f7fa;
  --gray-100: #e8ecf1;
  --gray-400: #8a919c;
  --gray-600: #4a5260;
  --gray-900: #1a1d24;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(11,34,101,.06);
  --shadow-md: 0 4px 20px rgba(11,34,101,.08);
  --max-width: 1080px;
}

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

p, li, a, input, textarea, button, label, select, .sans {
  font-family: 'Segoe UI', system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

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

/* ===========================
   NAVIGATION
   =========================== */

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 84px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 15px;
  font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 600; }

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background .15s;
}
.nav-cta:hover { background: #2570ac !important; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: .2s;
}

/* ===========================
   BUTTONS
   =========================== */

.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  transition: background .15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #2570ac; }

.btn-outline {
  border: 1.5px solid rgba(255,255,255,.35);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 7px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  transition: border-color .15s;
}
.btn-outline:hover { border-color: rgba(255,255,255,.6); }

.btn-outline-dark {
  border: 1.5px solid var(--gray-100);
  color: var(--navy);
  padding: 13px 28px;
  border-radius: 7px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  transition: border-color .15s;
}
.btn-outline-dark:hover { border-color: var(--gray-400); }

/* ===========================
   HERO SECTIONS
   =========================== */

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #112d72 100%);
  padding: 56px 48px;
  min-height: 480px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45,126,196,.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-content {
  max-width: 720px;
}
.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.01em;
}
.hero p {
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255,255,255,.82);
  max-width: 580px;
  margin-bottom: 36px;
}
.hero-badge {
  display: inline-block;
  background: rgba(45,126,196,.22);
  color: var(--blue-light);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: .02em;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-sm .hero-badge {
  margin-bottom: 8px;
  font-size: 16px;
  padding: 9px 18px;
}
.hero-sm h1 {
  font-size: 42px;
}

/* ===========================
   SECTIONS
   =========================== */

.section {
  padding: 88px 48px;
}
.section-alt {
  background: var(--gray-50);
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.section-header p {
  font-size: 16px;
  color: var(--gray-600);
  max-width: 520px;
  margin: 0 auto;
}
.section-centered {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.section-centered h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}
.section-centered p {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* ===========================
   STATS
   =========================== */

.stat-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-number {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  color: var(--gray-400);
  margin-top: 6px;
  max-width: 160px;
}

/* ===========================
   STEPS / HOW IT WORKS
   =========================== */

.steps {
  display: flex;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  flex: 1;
  min-width: 240px;
  max-width: 300px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.step-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.step-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
}
.step p {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.6;
}
.step-connector {
  display: flex;
  align-items: center;
  color: var(--blue-light);
  font-size: 24px;
  padding-top: 20px;
}

/* ===========================
   BENEFITS
   =========================== */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 820px;
  margin: 0 auto;
}
.benefit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.benefit-dot {
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}
.benefit h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.benefit p {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ===========================
   FLOW DIAGRAM
   =========================== */

.flow {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 920px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.flow-step {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  flex: 0 0 190px;
}
.flow-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flow-step h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.flow-step p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
}
.flow-arrow {
  color: var(--blue);
  font-size: 28px;
  padding: 0 10px;
  flex-shrink: 0;
}

/* ===========================
   TEAM
   =========================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  max-width: 840px;
  margin: 0 auto;
}
.team-card {
  text-align: center;
}
.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-pale), #c4d8eb);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.team-card .team-role {
  font-size: 14px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 10px;
}
.team-card p.team-bio {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.55;
  max-width: 260px;
  margin: 0 auto;
}

/* ===========================
   VALUES
   =========================== */

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  max-width: 820px;
  margin: 0 auto;
}
.value-item h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.value-item p {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===========================
   CTAs
   =========================== */

.cta-dark {
  background: linear-gradient(135deg, var(--navy) 0%, #112d72 100%);
  padding: 72px 48px;
  text-align: center;
  color: var(--white);
}
.cta-dark h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 14px;
}
.cta-dark p {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-light {
  background: var(--blue-pale);
  padding: 64px 48px;
  text-align: center;
  border-top: 3px solid var(--blue);
}
.cta-light h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.cta-light p {
  font-size: 16px;
  color: var(--gray-600);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================
   CONTACT FORM
   =========================== */

.contact-form {
  max-width: 540px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-100);
  border-radius: 7px;
  font-size: 15px;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color .15s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-row {
  display: flex;
  gap: 16px;
}
.form-row .form-group { flex: 1; }

/* ===========================
   LEGAL
   =========================== */

.legal-content {
  max-width: 680px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 16px;
}
.legal-content ul {
  margin: 0 0 16px 20px;
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.7;
}
.legal-content a { color: var(--blue); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }

/* ===========================
   FOOTER
   =========================== */

.site-footer {
  padding: 40px 48px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo img { height: 54px; }
.site-footer p {
  font-size: 13px;
  color: var(--gray-400);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 13px;
  color: var(--gray-400);
  text-decoration: none;
}
.footer-links a:hover { color: var(--gray-600); }

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 768px) {
  .site-nav { padding: 12px 20px; }
  .nav-logo img { height: 64px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .hero, .hero-sm { padding: 56px 20px 48px; }
  .hero h1 { font-size: 32px; }
  .hero-sm h1 { font-size: 30px; }
  .hero p { font-size: 16px; }

  .section { padding: 56px 20px; }
  .section-header { margin-bottom: 36px; }
  .section-header h2, .section-centered h2 { font-size: 26px; }

  .stat-row { gap: 24px; }
  .stat-number { font-size: 36px; }

  .steps { flex-direction: column; align-items: center; }
  .step { max-width: 100%; }
  .step-connector { display: none; }

  .benefit-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }

  .flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); padding: 8px 0; }
  .flow-step { flex: 0 0 auto; width: 100%; max-width: 280px; }

  .form-row { flex-direction: column; gap: 0; }

  .cta-dark, .cta-light { padding: 48px 20px; }
  .cta-dark h2, .cta-light h2 { font-size: 24px; }

  .site-footer {
    padding: 28px 20px;
    flex-direction: column;
    text-align: center;
  }
}