:root {
  --navy-950: #021327;
  --navy-900: #072344;
  --navy-800: #12365f;
  --blue-600: #1f5fb8;
  --blue-500: #2b75d6;
  --teal-500: #1d8f95;
  --green-500: #238b5f;
  --white: #ffffff;
  --slate-100: #f2f6fc;
  --slate-200: #d8e2f0;
  --slate-300: #bccbdd;
  --text: #102843;
  --shadow: 0 14px 32px rgba(4, 28, 63, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: #f5f8fc;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
  background: rgba(2, 19, 39, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.nav-wrap {
  min-height: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand img {
  width: 310px;
  max-width: 100%;
  display: block;
}

.nav-cta,
.primary-btn {
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.nav-cta {
  padding: 0.7rem 1.1rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  font-size: 0.95rem;
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  padding: 5.2rem 0 4rem;
  background:
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-content {
  max-width: 760px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.16;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.hero-text {
  font-size: 1.05rem;
  line-height: 1.72;
  color: #d5e3f6;
  margin-bottom: 1.6rem;
  max-width: 64ch;
}

.primary-btn {
  display: inline-block;
  padding: 0.85rem 1.3rem;
  color: var(--white);
  background: linear-gradient(120deg, var(--blue-600), #286dbc);
  box-shadow: 0 10px 25px rgba(4, 31, 71, 0.26);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(2, 38, 86, 0.3);
}

.services {
  padding: 4rem 0 5.2rem;
}

h2 {
  text-align: center;
  color: var(--navy-900);
  font-size: clamp(1.7rem, 2vw, 2.3rem);
  margin: 0;
  letter-spacing: -0.01em;
}

.section-intro {
  text-align: center;
  max-width: 720px;
  margin: 1rem auto 2.2rem;
  color: #425f84;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 1.4rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: var(--slate-100);
}

.card-content {
  padding: 1.05rem 1.05rem 1.25rem;
}

.service-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.06rem;
  color: var(--navy-800);
}

.service-card p {
  margin: 0 0 1rem;
  line-height: 1.62;
  color: #355170;
}

.service-card a {
  color: var(--blue-600);
  text-decoration: none;
  font-weight: 700;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(31, 95, 184, 0.5);
}

.site-footer {
  background: var(--navy-950);
  color: #d1def0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.4rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand img {
  width: 240px;
  max-width: 100%;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  margin: 0;
  max-width: 44ch;
  line-height: 1.6;
  color: #b8cce6;
}

.footer-col h4 {
  margin: 0 0 0.7rem;
  color: #f0f5ff;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-col p,
.footer-col a {
  margin: 0 0 0.55rem;
  display: block;
  color: #b8cce6;
  text-decoration: none;
}

.footer-col a:hover {
  color: #d8ecff;
}

.footer-btn {
  margin-top: 0.7rem;
  display: inline-block;
  width: fit-content;
  padding: 0.64rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(127, 181, 255, 0.45);
  color: #d8ecff;
  font-weight: 700;
}

.footer-btn:hover {
  background: rgba(70, 123, 191, 0.18);
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: #9eb6d5;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 700px) {
  .nav-wrap {
    padding: 0;
  }

  .brand img {
    width: 240px;
  }

  .nav-cta {
    padding: 0.58rem 0.95rem;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 4.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }
}
