@font-face {
  font-family: 'Oswald';
  src: url('../fonts/oswald/oswald-variable.woff2') format('woff2');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --blue:       #0460AA;
  --blue-light: #60A8DD;
  --blue-hover: #034d8a;
  --dark:       #272727;
  --fg2:        #555;
  --fg3:        #888;
  --bg:         #E8E8E8;
  --surface:    #fff;
  --border:     #D0D0D0;
  --navy-deep:  #060f1a;
  --grad: radial-gradient(ellipse at 20% 45%, #1A3560 0%, #0B1929 58%, #060f1a 100%);
  --font-d: 'Oswald', Arial, sans-serif;
  --font-b: 'Oswald', Arial, sans-serif;
  --ease: 0.2s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-b); color: var(--dark); background: var(--bg); }
a { text-decoration: none; color: inherit; }
img { display: block; }


.logo-img { display: block; height: 28px; width: auto; }
.logo-img.on-dark { filter: brightness(0) invert(1) opacity(0.92); }
.logo-img.on-dark-color { }
.logo-img.footer-size { height: 22px; }
.logo-img.hero-size { height: clamp(110px, 14vw, 200px); }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(6,15,26,0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(96,168,221,0.14);
  height: 60px; display: flex; align-items: center; padding: 0 48px; gap: 36px;
}
.nav-logo { display: flex; align-items: baseline; cursor: pointer; }
.nav-logo .mms { font-family: var(--font-d); font-weight: 700; font-size: 22px; color: var(--blue-light); }
.nav-logo .med { font-family: var(--font-d); font-weight: 300; font-size: 22px; color: #fff; }
.nav-links { display: flex; gap: 28px; }
.nav-link {
  font-size: 13px; font-weight: 500; letter-spacing: 0.03em;
  color: rgba(255,255,255,0.52); border-bottom: 2px solid transparent;
  padding: 4px 0; cursor: pointer; transition: color var(--ease), border-color var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--blue-light); border-bottom-color: var(--blue-light); }
.nav-cta {
  margin-left: auto; font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  background: var(--blue); color: #fff; padding: 8px 20px;
  border-radius: 3px; cursor: pointer; transition: background var(--ease);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-hover); }
.nav-back {
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: color var(--ease);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-back:hover {
  color: var(--blue-light);
}

.hero {
  min-height: 100vh; background: var(--grad);
  display: grid; grid-template-columns: minmax(auto, 560px) minmax(auto, 420px);
  justify-content: center; gap: 60px;
  align-items: center; padding: 100px 80px 80px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 80% 50%, rgba(4,96,170,0.12) 0%, transparent 60%);
}
.hero-zz {
  position: absolute; right: -40px; bottom: -20px;
  width: 400px; height: auto; pointer-events: none; z-index: 0;
  opacity: 0.8;
}
.hero-right { position: relative; z-index: 1; }
.hero-left { position: relative; z-index: 1; }
.hero-eyebrow {
  font-family: var(--font-d); font-weight: 300; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 24px; height: 1px; background: var(--blue-light);
}
.hero-heading {
  font-family: var(--font-d);
  font-weight: 400;
  font-size: clamp(17px, 1.7vw, 24px);
  line-height: 1.35;
  color: rgba(255,255,255,0.56);
  max-width: 520px;
  margin: 20px 0 10px;
  letter-spacing: 0.02em;
  text-wrap: balance;
}
.hero-title {
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(64px, 6.5vw, 100px); line-height: 0.92;
  color: #fff; margin-bottom: 6px;
}
.hero-title .light { font-weight: 300; color: rgba(255,255,255,0.55); }
.hero-sub {
  font-family: var(--font-d); font-weight: 300; font-size: clamp(18px, 2vw, 26px);
  color: rgba(255,255,255,0.35); letter-spacing: 0.08em; margin-bottom: 40px;
}
.hero-text {
  font-size: 16px; color: rgba(255,255,255,0.65); line-height: 1.75; font-weight: 200;
  max-width: 420px; margin-bottom: 44px; text-wrap: pretty;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; white-space: nowrap; }
.btn-primary {
  font-family: var(--font-b); font-size: 14px; font-weight: 600;
  background: var(--blue); color: #fff; padding: 13px 28px;
  border-radius: 3px; border: none; cursor: pointer;
  transition: background var(--ease); letter-spacing: 0.02em;
}
.btn-primary:hover { background: var(--blue-hover); }
.btn-outline {
  font-family: var(--font-b); font-size: 14px; font-weight: 500;
  background: transparent; color: var(--blue-light);
  padding: 13px 28px; border-radius: 3px; cursor: pointer;
  border: 1.5px solid rgba(96,168,221,0.45);
  transition: background var(--ease), border-color var(--ease);
}
.btn-outline:hover { background: rgba(96,168,221,0.08); border-color: var(--blue-light); }

.hero-right {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 16px; position: relative; z-index: 1;
  margin-right: clamp(0px, 8vw, 120px);
}
.hero-stat-block {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(96,168,221,0.18);
  border-radius: 4px; padding: 22px 28px;
  display: flex; flex-direction: column; gap: 4px;
  width: 220px;
}
.hero-stat-num {
  font-family: var(--font-d); font-weight: 500; font-size: 42px;
  color: #fff; line-height: 1;
}
.hero-stat-num span { color: var(--blue-light); }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.45); letter-spacing: 0.05em; }
.hero-stat-block.accent { border-color: rgba(4,96,170,0.4); background: rgba(4,96,170,0.08); }

.services { background: var(--bg); padding: 96px 80px; }
.section-eyebrow {
  font-family: var(--font-d); font-weight: 300; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before { content: ''; display: block; width: 20px; height: 1px; background: var(--blue); }
.section-title {
  font-family: var(--font-d); font-weight: 700; font-size: 42px;
  color: var(--dark); margin-bottom: 52px; line-height: 1.05;
}
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.service-card {
  background: var(--surface); padding: 32px 28px;
  border: 1px solid var(--border);
  transition: box-shadow var(--ease), transform var(--ease);
  cursor: default; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 0; background: var(--blue);
  transition: height 0.3s ease;
}
.service-card:hover::before { height: 100%; }
.service-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.12); transform: translateY(-2px); z-index: 1; }
.service-icon {
  font-size: 20px; color: var(--blue); margin-bottom: 18px;
  font-family: 'lucide'; display: block; line-height: 1;
}
.service-tag {
  font-family: var(--font-d); font-weight: 400; font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 6px;
}
.service-name {
  font-family: var(--font-d); font-weight: 600; font-size: 22px;
  color: var(--dark); margin-bottom: 10px;
}
.service-desc { font-size: 14px; color: var(--fg2); line-height: 1.7; text-wrap: pretty; }

.statement {
  background: var(--grad); padding: 88px 80px;
  display: grid; grid-template-columns: 0 1fr; gap: 0; align-items: center;
  position: relative; overflow: hidden;
}
.statement-zz {
  position: absolute;
  bottom: -20px; left: -20px;
  width: 340px; height: auto;
  transform: scaleX(-1);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}
.statement-left { position: relative; z-index: 1; }
.statement-div { width: 1px; height: 120px; background: rgba(96,168,221,0.2); position: relative; z-index: 1; }
.statement-right { position: relative; z-index: 1; padding-left: clamp(80px, 16vw, 220px); }
.statement-right h2 {
  font-family: var(--font-d); font-weight: 500; font-size: 30px;
  color: #fff; margin-bottom: 16px; line-height: 1.1;
}
.statement-right p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.75; max-width: 460px; text-wrap: pretty; }

.contact { background: var(--surface); padding: 96px 80px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-left {}
.contact-items { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; border: 1px solid var(--border); border-radius: 3px;
  background: var(--bg); transition: border-color var(--ease), box-shadow var(--ease);
}
.contact-item:hover { border-color: rgba(4,96,170,0.35); box-shadow: 0 4px 16px rgba(4,96,170,0.08); }
.ci-icon {
  width: 36px; height: 36px; border-radius: 3px;
  background: rgba(4,96,170,0.1); display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 16px; font-family: 'lucide'; flex-shrink: 0;
}
.ci-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg3); margin-bottom: 3px; }
.ci-value { font-size: 15px; color: var(--dark); font-weight: 500; }
.ci-value a { color: var(--dark); transition: color var(--ease); }
.ci-value a:hover { color: var(--blue); }

.contact-form { display: flex; flex-direction: column; gap: 14px; padding-top: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fg3);
}
.field input, .field textarea, .field select {
  font-family: var(--font-b); font-size: 14px; color: var(--dark);
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 3px; padding: 11px 14px; outline: none;
  transition: border-color var(--ease), background var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue); background: #fff;
}
.field textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 12px; color: var(--fg3); line-height: 1.5; }

.references {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 40px 0;
  overflow: hidden;
}
.ref-eyebrow {
  font-family: var(--font-d); font-weight: 300; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg3); margin-bottom: 24px; text-align: center;
}
.marquee-track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-inner {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-inner:hover { animation-play-state: paused; }
.ref-item {
  font-family: var(--font-d); font-weight: 400; font-size: 16px;
  color: #aaa; letter-spacing: 0.04em; white-space: nowrap;
  padding: 0 8px;
}
.ref-sep {
  font-family: var(--font-d); font-weight: 300;
  color: var(--border); font-size: 14px; padding: 0 16px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 900px) {
  .references { padding: 32px 0; }
}

.footer {
  background: #060f1a; border-top: 1px solid rgba(96,168,221,0.1);
  padding: 28px 80px; display: flex; align-items: center; gap: 0;
}
.footer-logo { display: flex; align-items: baseline; }
.footer-logo .mms { font-family: var(--font-d); font-weight: 700; font-size: 16px; color: var(--blue-light); }
.footer-logo .med { font-family: var(--font-d); font-weight: 300; font-size: 16px; color: rgba(255,255,255,0.45); }
.footer-sep { width: 1px; height: 18px; background: rgba(255,255,255,0.1); margin: 0 24px; }
.footer-links { display: flex; gap: 22px; }
.footer-link { font-size: 13px; color: rgba(255,255,255,0.38); transition: color var(--ease); }
.footer-link:hover { color: var(--blue-light); }
.footer-copy { margin-left: auto; font-size: 12px; color: rgba(255,255,255,0.2); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; justify-content: stretch; gap: 0; padding: 100px 32px 60px; }
  .hero-right { display: none; }
  .services { padding: 72px 32px; }
  .service-grid { grid-template-columns: 1fr; gap: 2px; }
  .statement { grid-template-columns: 1fr; padding: 64px 32px; }
  .statement-div { display: none; }
  .contact { padding: 72px 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .footer { padding: 24px 32px; flex-wrap: wrap; gap: 12px; }
  .footer-copy { margin-left: 0; width: 100%; }
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
}


.page-hero {
  background: var(--grad); padding: 120px 80px 64px;
  border-bottom: 1px solid rgba(96,168,221,0.12);
}
.page-eyebrow {
  font-family: var(--font-d); font-weight: 300; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.page-eyebrow::before { content: ''; display: block; width: 20px; height: 1px; background: var(--blue-light); }
.page-title { font-family: var(--font-d); font-weight: 700; font-size: 52px; color: #fff; line-height: 1; }
.page-body { max-width: 780px; margin: 0 auto; padding: 72px 80px 96px; }
.page-body h1 { font-family: var(--font-d); font-weight: 700; font-size: 34px; color: var(--dark); line-height: 1.12; margin: 0 0 26px; }
.page-body h2 { font-family: var(--font-d); font-weight: 600; font-size: 22px; color: var(--dark); margin: 48px 0 14px; }
.page-body h2:first-child { margin-top: 0; }
.page-body h3 { font-family: var(--font-d); font-weight: 600; font-size: 18px; color: var(--dark); margin: 30px 0 10px; }
.page-body h4 { font-family: var(--font-d); font-weight: 600; font-size: 16px; color: var(--dark); margin: 24px 0 8px; }
.page-body p { font-size: 15px; color: var(--fg2); line-height: 1.8; margin-bottom: 12px; text-wrap: pretty; }
.page-body p a { color: var(--blue); }
.page-body p a:hover { color: var(--blue-hover); }
.page-body ul { font-size: 15px; color: var(--fg2); line-height: 1.8; padding-left: 20px; margin-bottom: 12px; }
.divider { width: 40px; height: 2px; background: var(--blue); margin: 0 0 40px; }

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-status { font-size: 13px; color: var(--fg2); line-height: 1.5; }
.form-status.success { color: #1e7a3c; }
.form-status.error { color: #a52020; }
.contact-form .btn-primary { align-self: flex-start; white-space: nowrap; }
.contact-form .form-note a { color: var(--blue); }
.nav-logo-button { background: transparent; border: 0; padding: 0; font: inherit; }

@media (max-width: 900px) {
  .page-hero { padding: 100px 32px 48px; }
  .page-title { font-size: 36px; }
  .page-body { padding: 48px 32px 72px; }
}

