:root {
  --ink: #17202b;
  --muted: #5b6675;
  --paper: #f7f9fb;
  --surface: #ffffff;
  --line: #dfe6ec;
  --teal: #008b8f;
  --green: #4f7a5f;
  --gold: #c27a2c;
  --footer: #111820;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-image: url("assets/hero-development.png");
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 14, 20, 0.86) 0%, rgba(9, 14, 20, 0.68) 42%, rgba(9, 14, 20, 0.38) 100%),
    linear-gradient(0deg, rgba(9, 14, 20, 0.35), rgba(9, 14, 20, 0.1));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero h1 {
  max-width: 1120px;
  margin: 0;
  font-size: 48px;
  line-height: 1.12;
  font-weight: 760;
  letter-spacing: 0;
  text-wrap: balance;
}

.services {
  padding: 72px 0 56px;
  background: var(--paper);
}

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

.service-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(23, 32, 43, 0.08);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e9eef2;
}

.service-card__body {
  min-height: 164px;
  padding: 24px;
}

.service-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.request-line {
  margin: 48px 0 0;
  padding: 26px 28px;
  border-left: 6px solid var(--gold);
  background: #fff;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 650;
  white-space: nowrap;
  box-shadow: 0 16px 40px rgba(23, 32, 43, 0.07);
}

.experience {
  padding: 72px 0 86px;
  background: #fff;
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
}

.experience-media img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 22px 56px rgba(23, 32, 43, 0.14);
}

.experience-copy {
  max-width: 620px;
}

.experience-copy h2 {
  margin: 0 0 24px;
  font-size: 42px;
  line-height: 1.16;
  letter-spacing: 0;
}

.experience-copy p {
  margin: 0 0 18px;
  color: #344152;
  font-size: 18px;
  line-height: 1.72;
}

.experience-copy p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding: 34px 0;
  background: var(--footer);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.55;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

.site-footer span {
  display: inline-block;
  margin-left: 18px;
}

.site-footer a {
  color: #8ee3dc;
}

@media (max-width: 940px) {
  .hero {
    min-height: 480px;
    background-position: 58% center;
  }

  .hero h1 {
    font-size: 40px;
  }

  .services-grid,
  .experience-grid {
    grid-template-columns: 1fr;
  }

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

  .request-line {
    white-space: normal;
  }

  .experience-media img {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .section-inner,
  .hero__content {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    min-height: 430px;
    background-position: 64% center;
  }

  .hero h1 {
    font-size: 31px;
    line-height: 1.18;
  }

  .services,
  .experience {
    padding: 44px 0;
  }

  .services-grid {
    gap: 18px;
  }

  .service-card__body {
    padding: 20px;
  }

  .service-card h2 {
    font-size: 22px;
  }

  .service-card p {
    font-size: 16px;
  }

  .request-line {
    margin-top: 28px;
    padding: 20px;
    font-size: 20px;
  }

  .experience-grid {
    gap: 30px;
  }

  .experience-media img {
    min-height: 280px;
  }

  .experience-copy h2 {
    font-size: 31px;
  }

  .experience-copy p {
    font-size: 16px;
    line-height: 1.68;
  }

  .site-footer span {
    display: block;
    margin: 8px 0 0;
  }
}
