:root {
  --bg: #f7f8fb;
  --paper: #ffffff;
  --ink: #172033;
  --muted: #667085;
  --line: #d9dee8;
  --soft: #eef2f7;
  --blue: #2158a8;
  --blue-dark: #153b73;
  --green: #24785f;
  --shadow: 0 18px 45px rgba(21, 37, 66, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 750;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.94rem;
}

.page-hero {
  background: linear-gradient(135deg, rgba(33, 88, 168, 0.08), rgba(36, 120, 95, 0.08)), var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner,
main,
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.page-hero-inner {
  padding-top: 72px;
  padding-bottom: 62px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 720;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  line-height: 1.05;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: #485467;
  font-size: 1.1rem;
}

main {
  padding-top: 34px;
  padding-bottom: 70px;
}

.section {
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.section:last-child {
  border-bottom: 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 52px;
}

h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.18;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
}

p {
  color: #465367;
}

.section-lead {
  margin: 14px 0 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card,
.contact-card,
.legal-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(33, 88, 168, 0.28);
  box-shadow: 0 20px 45px rgba(21, 37, 66, 0.1);
}

.page-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: rise-in 700ms ease both;
}

.contact-card {
  box-shadow: var(--shadow);
}

.fact-list,
.contact-lines {
  display: grid;
  gap: 16px;
  margin: 0;
}

.fact-list div,
.contact-lines div {
  display: grid;
  gap: 4px;
}

dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

dd {
  margin: 0;
  color: var(--ink);
  font-weight: 620;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 7px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #ffffff;
  font-weight: 680;
}

.button:hover {
  color: #ffffff;
  background: var(--blue-dark);
  text-decoration: none;
}

.footer {
  background: #172033;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.footer a {
  color: #ffffff;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .section-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }
}
