:root {
  --ink: #172033;
  --navy: #071f43;
  --blue: #123e72;
  --teal: #0f766e;
  --gold: #c28b2c;
  --muted: #5f6b7a;
  --line: #d9dee7;
  --soft: #f4f7fa;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(12, 28, 52, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fa 58%, #ffffff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background:
    linear-gradient(120deg, transparent 0 58%, rgba(7, 31, 67, 0.055) 58% 72%, transparent 72%),
    linear-gradient(150deg, transparent 0 66%, rgba(15, 118, 110, 0.06) 66% 76%, transparent 76%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #293445;
  font-size: 0.96rem;
  font-weight: 650;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.hero,
.intro-band,
.section,
.contact-section,
.site-footer {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 56px;
  padding: 72px 0 52px;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: #101827;
  font-size: clamp(3rem, 7vw, 5.75rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 34px;
  color: #344054;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.65;
}

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

.button {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 20px 40px rgba(7, 31, 67, 0.2);
}

.button-secondary {
  color: var(--navy);
  background: var(--white);
  border-color: rgba(7, 31, 67, 0.18);
}

.hero-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: center;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto;
  z-index: 0;
  transform: rotate(35deg);
}

.hero-visual::before {
  right: 16px;
  top: 8px;
  width: 280px;
  height: 280px;
  background: var(--navy);
}

.hero-visual::after {
  right: -24px;
  bottom: 4px;
  width: 330px;
  height: 190px;
  background: linear-gradient(135deg, #e2e6ec 0 44%, #222b37 44% 100%);
}

.logo-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  min-height: 360px;
  display: grid;
  place-items: center;
  justify-self: end;
  padding: 56px;
  border: 1px solid rgba(217, 222, 231, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.logo-panel img {
  width: min(250px, 72%);
  height: auto;
  object-fit: contain;
}

.service-strip {
  position: absolute;
  left: 0;
  bottom: 42px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 320px;
}

.service-strip span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(7, 31, 67, 0.12);
  border-radius: 8px;
  color: #243044;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 750;
  box-shadow: 0 12px 24px rgba(12, 28, 52, 0.08);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 18px 50px rgba(12, 28, 52, 0.08);
}

.intro-band div {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  background: var(--white);
}

.intro-band strong {
  color: var(--navy);
  font-size: 1.02rem;
}

.intro-band span {
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding-top: 96px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 0;
  color: #101827;
  font-size: clamp(2.05rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 36px rgba(12, 28, 52, 0.07);
}

.service-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  font-weight: 850;
}

.service-card h3 {
  margin-bottom: 12px;
  color: #111827;
  font-size: 1.25rem;
  line-height: 1.2;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.68;
}

.service-card a {
  margin-top: auto;
  color: var(--teal);
  font-weight: 800;
}

.service-card-featured {
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), var(--blue));
  border-color: transparent;
}

.service-card-featured .service-number {
  color: var(--navy);
  background: var(--white);
}

.service-card-featured h3,
.service-card-featured p,
.service-card-featured a {
  color: var(--white);
}

.method-section {
  padding-bottom: 96px;
}

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

.method-step {
  padding: 28px;
  border-top: 3px solid var(--gold);
  background: var(--white);
}

.method-step span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-weight: 850;
}

.method-step h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.method-step p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 48px;
  align-items: start;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.contact-copy p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 22px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-link {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid #e8edf3;
  border-radius: 8px;
  overflow-wrap: anywhere;
}

.contact-link span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
}

.contact-button {
  width: 100%;
  margin-top: 8px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 38px;
  border-top: 1px solid var(--line);
  color: #667085;
  font-size: 0.95rem;
}

@media (max-width: 1020px) {
  .hero,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
  }

  .logo-panel {
    justify-self: start;
  }

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

@media (max-width: 740px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }

  .hero {
    min-height: auto;
    gap: 28px;
    padding-top: 42px;
  }

  .intro-band,
  .services-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }
}

@media (max-width: 540px) {
  .site-header,
  .hero,
  .intro-band,
  .section,
  .contact-section,
  .site-footer {
    width: min(100% - 24px, 1160px);
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.4rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-visual {
    min-height: 300px;
  }

  .logo-panel {
    min-height: 260px;
    padding: 36px;
  }

  .service-strip {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 14px;
  }

  .contact-panel {
    padding: 18px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
