:root {
  color-scheme: light;
  --ink: #13241d;
  --muted: #53655d;
  --paper: #f6f7f2;
  --line: rgba(19, 36, 29, 0.14);
  --green: #0d7b58;
  --green-deep: #07513c;
  --gold: #d39a35;
  --cloud: #e9efe8;
  --white: #fffdfa;
  font-family: "Cairo", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
}

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

.site-header {
  align-items: center;
  color: var(--white);
  display: flex;
  gap: 1.5rem;
  inset: 0 0 auto;
  justify-content: space-between;
  margin-inline: auto;
  max-width: 1240px;
  padding: 1.25rem clamp(1.25rem, 3vw, 3rem);
  position: absolute;
  width: 100%;
  z-index: 2;
}

.brand {
  display: grid;
  line-height: 1;
}

.brand span {
  font-size: 1.55rem;
  font-weight: 900;
}

.brand small {
  color: rgba(255, 253, 250, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 0.42rem;
  text-transform: uppercase;
}

nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.94rem;
  font-weight: 700;
  gap: clamp(0.8rem, 2vw, 1.6rem);
}

nav a {
  color: rgba(255, 253, 250, 0.86);
}

nav a:last-child {
  border: 1px solid rgba(255, 253, 250, 0.28);
  border-radius: 6px;
  padding: 0.58rem 0.9rem;
}

.hero {
  display: grid;
  min-height: min(900px, 92svh);
  overflow: hidden;
  place-items: center;
  position: relative;
}

.hero-media,
.hero-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: 33% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 18, 14, 0.4), rgba(5, 18, 14, 0.82) 56%, rgba(5, 18, 14, 0.94)),
    linear-gradient(180deg, rgba(5, 18, 14, 0.36), rgba(5, 18, 14, 0.1) 42%, rgba(5, 18, 14, 0.82));
}

.hero-content {
  color: var(--white);
  margin-inline: auto;
  max-width: 1240px;
  padding: clamp(7rem, 13vh, 10rem) clamp(1.25rem, 3vw, 3rem) clamp(3rem, 8vh, 5rem);
  position: relative;
  width: 100%;
}

.hero-content > * {
  max-width: 650px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.94rem;
  font-weight: 900;
  margin: 0 0 0.8rem;
}

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

h1 {
  font-size: 6.4rem;
  font-weight: 900;
  line-height: 0.96;
  margin-bottom: 1rem;
}

.hero-copy {
  color: rgba(255, 253, 250, 0.9);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.9;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: clamp(2rem, 5vh, 3.8rem);
}

.button {
  align-items: center;
  border-radius: 7px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.75rem 1.15rem;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  background: var(--green);
  color: var(--white);
}

.button-primary:hover {
  background: var(--green-deep);
}

.button-quiet {
  border: 1px solid rgba(255, 253, 250, 0.34);
  color: var(--white);
}

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

.hero-metrics div {
  backdrop-filter: blur(10px);
  background: rgba(255, 253, 250, 0.12);
  border: 1px solid rgba(255, 253, 250, 0.18);
  border-radius: 8px;
  min-height: 6.7rem;
  padding: 1rem;
}

.hero-metrics dt {
  color: rgba(255, 253, 250, 0.62);
  font-size: 0.84rem;
  font-weight: 800;
}

.hero-metrics dd {
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.6;
  margin: 0.28rem 0 0;
}

.value-strip {
  background: var(--green-deep);
  color: var(--white);
  margin-top: -0.1rem;
  padding: 1.35rem clamp(1.25rem, 3vw, 3rem);
}

.value-strip p,
footer p {
  margin: 0 auto;
  max-width: 1240px;
}

.value-strip p {
  font-size: 1.2rem;
  font-weight: 800;
}

.services,
.method,
.contact {
  margin-inline: auto;
  max-width: 1240px;
  padding-inline: clamp(1.25rem, 3vw, 3rem);
}

.services {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section-heading {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: minmax(0, 760px);
  margin-bottom: clamp(1.7rem, 4vw, 3rem);
}

h2 {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 0;
}

.service-grid {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid article {
  border-inline-start: 1px solid var(--line);
  min-height: 21rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.service-grid article:last-child {
  border-inline-end: 1px solid var(--line);
}

.service-index {
  color: var(--green);
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 900;
  margin-bottom: clamp(2.4rem, 7vw, 5rem);
}

h3 {
  font-size: 1.58rem;
  font-weight: 900;
  margin-bottom: 0.8rem;
}

.service-grid p,
.steps span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  line-height: 2;
}

.method {
  background: var(--white);
  border-radius: 8px;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  margin-bottom: clamp(3rem, 7vw, 6rem);
  padding-block: clamp(2rem, 5vw, 4rem);
}

.method .section-heading {
  margin-bottom: 0;
}

.steps {
  counter-reset: item;
  display: grid;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.35rem;
  min-height: 8rem;
  padding: 1.35rem 0 1.35rem 4.5rem;
  position: relative;
}

.steps li::before {
  background: var(--cloud);
  border-radius: 7px;
  color: var(--green-deep);
  content: "0" counter(item);
  counter-increment: item;
  display: grid;
  font-weight: 900;
  height: 3rem;
  inset: 1.5rem auto auto 0;
  place-items: center;
  position: absolute;
  width: 3rem;
}

.steps strong {
  font-size: 1.18rem;
  font-weight: 900;
}

.contact {
  align-items: center;
  background: #172a24;
  border-radius: 8px;
  color: var(--white);
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  justify-content: space-between;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(2rem, 5vw, 4rem);
}

.contact h2 {
  max-width: 760px;
}

.contact .button {
  flex: 0 0 auto;
  max-width: 100%;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  padding: 1.3rem clamp(1.25rem, 3vw, 3rem) 2rem;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 9.5rem;
  }

  h1 {
    font-size: 4.4rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-copy {
    font-size: 1.2rem;
  }

  .hero-media {
    object-position: 38% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 18, 14, 0.34), rgba(5, 18, 14, 0.88) 48%, rgba(5, 18, 14, 0.96)),
      linear-gradient(90deg, rgba(5, 18, 14, 0.38), rgba(5, 18, 14, 0.72));
  }

  .hero-metrics,
  .service-grid,
  .method {
    grid-template-columns: 1fr;
  }

  .hero-metrics div,
  .service-grid article {
    min-height: auto;
  }

  .service-grid article,
  .service-grid article:last-child {
    border-inline-end: 0;
    border-inline-start: 0;
    border-bottom: 1px solid var(--line);
  }

  .method,
  .contact {
    border-radius: 0;
  }

  .contact {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  nav a:last-child {
    padding-inline: 0.7rem;
  }

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

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.82rem;
  }

  h3 {
    font-size: 1.35rem;
  }

  .steps li {
    padding-inline-start: 0;
    padding-top: 5.2rem;
  }

  .steps li::before {
    inset-inline-start: 0;
  }
}
