:root {
  --ink: #101820;
  --muted: #5b6875;
  --paper: #f7f8f8;
  --panel: #ffffff;
  --line: #dce2e6;
  --steel: #1c2e3a;
  --teal: #1f8a8a;
  --lime: #b6d94c;
  --amber: #d89431;
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: #ffffff;
  background: rgba(12, 21, 28, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: clamp(250px, 27vw, 320px);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a:hover {
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px clamp(20px, 5vw, 72px) 86px;
  color: #ffffff;
  background: #0d171e;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 16, 22, 0.96) 0%, rgba(8, 16, 22, 0.82) 34%, rgba(8, 16, 22, 0.26) 74%, rgba(8, 16, 22, 0.42) 100%),
    linear-gradient(0deg, rgba(8, 16, 22, 0.75) 0%, rgba(8, 16, 22, 0.04) 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--lime);
}

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

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(2.45rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #0b141a;
  background: var(--lime);
}

.button.secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 5vw, 72px);
}

.intro {
  background: #ffffff;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.intro-grid p,
.section-heading p,
.contact-band p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.services {
  background: var(--paper);
}

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

.service-card,
.expertise-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(16, 24, 32, 0.05);
}

.service-card {
  min-height: 300px;
  padding: 28px;
}

.card-number {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--amber);
  font-weight: 800;
}

.service-card p,
.expertise-panel p,
.process-list p {
  color: var(--muted);
}

.expertise {
  color: #ffffff;
  background: var(--steel);
}

.expertise .section-kicker {
  color: var(--lime);
}

.expertise h2 {
  max-width: 860px;
}

.expertise-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.expertise-panel {
  padding: 30px;
  color: var(--ink);
}

.expertise-panel.accent {
  color: #ffffff;
  background: #142630;
  border-color: rgba(255, 255, 255, 0.18);
}

.expertise-panel.accent p {
  color: rgba(255, 255, 255, 0.72);
}

.process {
  background: #ffffff;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.process-list li {
  min-height: 230px;
  padding: 28px;
  background: #ffffff;
}

.process-list li + li {
  border-left: 1px solid var(--line);
}

.process-list span {
  display: block;
  margin-bottom: 44px;
  color: var(--teal);
  font-weight: 800;
}

.process-list strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 34px;
  align-items: center;
  padding: clamp(56px, 8vw, 88px) clamp(20px, 5vw, 72px);
  color: #ffffff;
  background: #0f191f;
}

.contact-band .section-kicker {
  color: var(--lime);
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-style: normal;
}

.contact-card a {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
}

.contact-card span {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.66);
  background: #0b1217;
  font-size: 0.95rem;
}

@media (max-width: 1040px) {
  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list li + li {
    border-left: 0;
  }

  .process-list li:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .process-list li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .expertise-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 16px 20px;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 860px;
    padding-top: 172px;
    align-items: end;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(8, 16, 22, 0.98) 0%, rgba(8, 16, 22, 0.86) 45%, rgba(8, 16, 22, 0.34) 100%),
      linear-gradient(90deg, rgba(8, 16, 22, 0.74) 0%, rgba(8, 16, 22, 0.2) 100%);
  }

  .button {
    width: 100%;
  }

  .intro-grid,
  .section-heading,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li:nth-child(even),
  .process-list li:nth-child(n + 3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .process-list li:first-child {
    border-top: 0;
  }

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

  .card-number,
  .process-list span {
    margin-bottom: 28px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .brand {
    max-width: 100%;
  }

  .brand-logo {
    width: min(260px, calc(100vw - 40px));
  }
}
