:root {
  --ms-blue: #0078D4;
  --ms-blue-dark: #106EBE;
  --ms-blue-deep: #002B4E;
  --ms-blue-light: #EFF6FC;
  --sky-text: #0067B8;
  --ink: #1B1A19;
  --paper: #FFFFFF;
  --line: #D6E4F0;

  --font: "Segoe UI", "Segoe UI Web", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.5em;
}

p {
  color: var(--sky-text);
  font-weight: 600;
}

:focus-visible {
  outline: 3px solid var(--ms-blue);
  outline-offset: 2px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 3px solid var(--ms-blue);
}

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

.wordmark {
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.wordmark span {
  color: var(--sky-text);
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 16px;
  margin: 0 14px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav a:hover {
  color: var(--ms-blue);
  background: var(--ms-blue-light);
}

.phone-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: var(--ms-blue);
  border-radius: 999px;
  padding: 9px 18px;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.phone-pill:hover {
  background: var(--ms-blue-deep);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 4px;
  border: 1.5px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--ms-blue);
  color: #fff;
}

.btn-primary:hover { background: var(--ms-blue-deep); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.btn-large {
  padding: 15px 30px;
  font-size: 16px;
}

/* Hero — full-bleed blue banner */

.hero {
  background: linear-gradient(115deg, var(--ms-blue-deep) 0%, var(--ms-blue-dark) 55%, var(--ms-blue) 100%);
  padding: 72px 0 88px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  color: #9AD4FF;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 12px;
}

.hero h1 {
  color: #fff;
  font-size: 44px;
  letter-spacing: -0.01em;
  max-width: 16ch;
}

.hero .lede {
  font-size: 18px;
  color: #EAF4FF;
  font-weight: 600;
  max-width: 48ch;
  margin: 0 0 32px;
  text-align: justify;
  text-justify: inter-word;
}

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

.hero-actions .btn-primary {
  background: #fff;
  color: var(--ms-blue-deep);
}

.hero-actions .btn-primary:hover {
  background: var(--ms-blue-light);
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-art img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 11, 24, 0.45);
  background: #F7F3EA;
}

/* Services */

.services {
  background: var(--ms-blue-light);
  padding: 88px 0;
}

.services h2, .about h2, .contact h2 {
  font-size: 30px;
}

.section-lede {
  color: var(--sky-text);
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 48px;
  max-width: 52ch;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ms-blue);
  border-radius: 6px;
  padding: 24px 18px;
}

.service-icon {
  color: var(--ms-blue);
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--sky-text);
  margin: 0;
}

/* About */

.about {
  padding: 88px 0;
}

.about-inner {
  max-width: 640px;
}

.about p {
  font-size: 17px;
  color: var(--sky-text);
  text-align: justify;
  text-justify: inter-word;
}

.about p + p {
  margin-top: 22px;
}

/* Contact */

.contact {
  background: var(--ms-blue-deep);
  color: #fff;
  padding: 88px 0;
}

.contact h2 { color: #fff; }

.contact .section-lede {
  color: #BFE0FF;
}

.contact-card {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.contact .btn-primary {
  background: #fff;
  color: var(--ms-blue-deep);
}

.contact .btn-primary:hover {
  background: var(--ms-blue-light);
}

/* Footer */

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--sky-text);
}

.footer-inner a {
  text-decoration: none;
  color: var(--ms-blue);
}

/* Responsive */

@media (max-width: 1000px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .nav { display: none; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-art { order: -1; }

  .eyebrow { font-size: 32px; }
  .hero h1 { font-size: 32px; max-width: none; }

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

@media (max-width: 520px) {
  .service-grid { grid-template-columns: 1fr; }
  .phone-pill span { display: none; }
  .hero { padding: 56px 0 64px; }
  .footer-inner { flex-direction: column; gap: 8px; }
}
