:root {
  --navy-950: #051a32;
  --navy-900: #0f2742;
  --navy-800: #1b3a5a;
  --steel-700: #345d84;
  --steel-500: #5f82a5;
  --mist-100: #eff2f6;
  --mist-200: #e2e8ef;
  --paper: #f8f9fc;
  --white: #ffffff;
  --text: #14263b;
  --max-width: 1100px;
  --radius: 14px;
  --shadow: 0 14px 30px rgba(8, 29, 55, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', 'Avenir Next', 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: linear-gradient(180deg, #f3f4f8 0%, #e9edf3 100%);
}

p,
li {
  font-size: 1.08rem;
  line-height: 1.75;
}

.container {
  width: min(92%, var(--max-width));
  margin-inline: auto;
}

.site-header {
  background: rgba(248, 249, 252, 0.95);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #d4dde8;
  backdrop-filter: blur(8px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--navy-900);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1);
  border: 1px solid #c7d3e3;
  background: #f3f6fa;
}

.site-nav a {
  text-decoration: none;
  color: var(--steel-700);
  margin-left: 1rem;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--navy-900);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #c7d3e3;
  border-radius: 10px;
  background: #f4f7fb;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy-900);
  margin: 6px 0;
  border-radius: 2px;
}

.hero {
  padding: 4rem 0 3rem;
  background:
    linear-gradient(180deg, rgba(243, 244, 248, 0.78), rgba(233, 237, 243, 0.85)),
    url('./images/hero-background.jpg') center / cover no-repeat,
    radial-gradient(circle at 8% 18%, rgba(95, 130, 165, 0.22), transparent 38%),
    radial-gradient(circle at 90% 8%, rgba(27, 58, 90, 0.2), transparent 36%);
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--steel-700);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
  color: var(--navy-900);
}

h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  margin-bottom: 1rem;
}

.lead {
  max-width: 58ch;
  font-size: 1.16rem;
  line-height: 1.8;
}

.brand-logo-block {
  margin: 0 0 1rem;
  max-width: 420px;
}

.brand-logo-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid #cfd9e6;
  background: #f6f7fa;
}

.media-block {
  margin: 1.2rem 0 0;
}

.media-block img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #d1d9e4;
}

.service-media,
.about-media {
  max-width: 760px;
}

.about-media {
  margin-inline: auto;
  max-width: 520px;
}

.cta {
  display: inline-block;
  background: linear-gradient(90deg, var(--navy-900), var(--steel-700));
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid #d8e0ea;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--mist-100);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--white);
  border-left: 4px solid var(--steel-500);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  border-top: 1px solid #dbe2eb;
}

.featured-service {
  grid-column: 2;
}

.service-card-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.8rem;
  border: 1px solid #d3dbe6;
  background: #edf2f8;
}

.industry-list {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
  columns: 2;
  column-gap: 2rem;
}

.industry-list li {
  margin-bottom: 0.5rem;
}

a {
  color: var(--steel-700);
}

a:hover {
  color: var(--navy-900);
}

.contact-wrap {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
}

.contact-form {
  background: var(--paper);
  padding: 1.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.6rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.7rem;
  border: 1px solid #c2cfdd;
  border-radius: 8px;
  font: inherit;
  background: #ffffff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--steel-700);
  outline: 2px solid rgba(52, 93, 132, 0.24);
}

.form-status {
  min-height: 1.4rem;
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-footer {
  background: linear-gradient(90deg, var(--navy-950), var(--navy-900));
  color: var(--white);
  padding: 1rem 0;
  text-align: center;
}

@media (max-width: 860px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .featured-service {
    grid-column: auto;
  }

  .hero-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .service-media,
  .about-media {
    max-width: 100%;
  }

  .brand-logo-block {
    max-width: 100%;
  }

  .industry-list {
    columns: 1;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-wrap {
    flex-wrap: wrap;
    row-gap: 0.6rem;
  }

  .site-nav {
    width: 100%;
    display: none;
    padding: 0.45rem 0 0.7rem;
    border-top: 1px solid #d4dde8;
    margin-top: 0.25rem;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav a {
    display: block;
    margin: 0;
    padding: 0.45rem 0;
  }
}
