@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --ink: #171a17;
  --muted: #656b65;
  --green: #2cab1c;
  --green-dark: #18820f;
  --paper: #f7f8f6;
  --white: #fff;
  --line: #e4e8e2;
  --font-body: "DM Sans", sans-serif;
  --font-heading: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  z-index: 5;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  color: var(--white);
  background: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgb(23 26 23 / 6%);
  background: rgb(255 255 255 / 90%);
}

.header-content,
.site-header nav,
.hero-actions,
.footer-content {
  display: flex;
  align-items: center;
}

.header-content {
  min-height: 90px;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex: 0 1 190px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header nav {
  gap: 34px;
  font-size: 14px;
  font-weight: 600;
}

.site-header nav a,
.footer-content a {
  text-decoration: none;
}

.site-header nav a:hover,
.footer-content a:hover {
  color: var(--green-dark);
}

.site-header nav .nav-contact {
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 595px;
  padding: 105px 0 76px;
  background: var(--paper);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

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

h1,
h2,
h3 {
  font-family: var(--font-heading);
}

h1 {
  max-width: 720px;
  margin-bottom: 23px;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.11;
}

h1 span {
  color: var(--green);
}

.hero-copy {
  max-width: 580px;
  margin-bottom: 31px;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 20px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

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

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

.button-primary:hover {
  background: #126b0a;
}

.text-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  margin-left: 6px;
  color: var(--green-dark);
}

.hero-note {
  display: flex;
  max-width: 440px;
  align-items: center;
  gap: 13px;
  margin-top: 75px;
  color: var(--muted);
  font-size: 13px;
}

.hero-note p {
  margin: 0;
}

.note-mark {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border: 1px solid #cfe7c9;
  border-radius: 50%;
  color: var(--green-dark);
  font-family: var(--font-heading);
  font-weight: 800;
}

.hero-decoration {
  position: absolute;
  top: 85px;
  right: max(calc((100vw - 1200px) / 2 - 20px), 0px);
  width: min(43vw, 505px);
  aspect-ratio: 1;
  opacity: 0.9;
}

.decoration-orbit {
  position: absolute;
  inset: 12%;
  border: 1px solid #dfe9dc;
  border-radius: 50%;
}

.orbit-two {
  inset: 25%;
  border-color: #d3e2d0;
}

.decoration-core {
  position: absolute;
  inset: 38%;
  border: 1px solid #b8d7b1;
  border-radius: 50%;
  background: radial-gradient(circle, #f8fff6 0 25%, #e8f5e5 26% 100%);
  box-shadow: 0 0 0 24px rgb(44 171 28 / 5%), 0 0 0 55px rgb(44 171 28 / 3%);
}

.decoration-dot {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px #acd5a5;
}

.dot-one {
  top: 20%;
  left: 27%;
}

.dot-two {
  top: 44%;
  right: 12%;
  width: 19px;
  height: 19px;
}

.dot-three {
  bottom: 17%;
  left: 52%;
  width: 9px;
  height: 9px;
}

.section {
  padding: 100px 0;
}

.section-heading {
  max-width: 660px;
  margin-bottom: 46px;
}

.section-heading h2,
.about-copy h2,
.approach h2,
.contact h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.section-heading > p:last-child,
.about-copy > p:not(.eyebrow),
.contact-layout > div > p:last-child {
  color: var(--muted);
}

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

.service-card {
  position: relative;
  min-height: 340px;
  padding: 29px 27px 25px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}

.service-card:hover {
  border-color: #b6dcae;
}

.service-number {
  position: absolute;
  top: 28px;
  right: 27px;
  color: #a4aaa2;
  font-size: 12px;
  font-weight: 700;
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 25px;
  place-items: center;
  border-radius: 7px;
  color: var(--green-dark);
  background: #eef7eb;
  font-family: monospace;
  font-size: 17px;
  font-weight: 700;
}

.service-icon-mobile {
  font-size: 25px;
}

.service-icon-architecture {
  font-size: 26px;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.service-card p {
  min-height: 70px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 4px 8px;
  border-radius: 3px;
  color: #4b5748;
  background: #f2f5f0;
  font-size: 11px;
  font-weight: 600;
}

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

.about-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 90px;
}

.about-mark {
  position: relative;
  display: flex;
  min-height: 310px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #e1e9de;
  border-radius: 8px;
  background:
    linear-gradient(135deg, transparent 49.8%, #e6ece3 50%, transparent 50.2%),
    linear-gradient(45deg, transparent 49.8%, #e6ece3 50%, transparent 50.2%),
    #f9fbf8;
}

.about-mark-i {
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  border: 1px solid #c9e2c4;
  border-radius: 50%;
  color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 18px rgb(44 171 28 / 5%), 0 0 0 42px rgb(44 171 28 / 3%);
  font-family: var(--font-heading);
  font-size: 76px;
  font-weight: 700;
  line-height: 1;
}

.about-mark-lines {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 45px;
  height: 45px;
  border-top: 2px solid #acd5a5;
  border-right: 2px solid #acd5a5;
}

.about-mark-caption {
  position: absolute;
  bottom: 23px;
  left: 25px;
  color: #7d8779;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.7;
}

.about-copy h2 {
  max-width: 580px;
}

.about-copy > p:not(.eyebrow) {
  margin-bottom: 15px;
  font-size: 15px;
}

.about-copy .text-link {
  display: inline-block;
  margin-top: 8px;
}

.approach {
  color: var(--white);
  background: #172019;
}

.approach-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr;
  align-items: end;
  gap: 90px;
}

.approach .eyebrow {
  color: #8ad77d;
}

.approach h2 {
  max-width: 660px;
  margin-bottom: 0;
}

.approach-details p {
  margin-bottom: 24px;
  color: #c1c9c0;
  font-size: 15px;
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.button-light:hover {
  background: #eaf5e7;
}

.contact {
  background: #f2f8f0;
}

.contact-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.contact h2 {
  max-width: 580px;
  margin-bottom: 12px;
}

.contact-layout > div > p:last-child {
  margin-bottom: 0;
}

.contact-email {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 15px;
  color: var(--green-dark);
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  text-decoration: none;
}

.contact-email span {
  font-family: var(--font-body);
  font-size: 18px;
}

.site-footer {
  padding: 29px 0;
  background: var(--white);
}

.footer-content {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 25px;
  color: var(--muted);
  font-size: 12px;
}

.footer-content p {
  margin: 0;
}

.footer-brand {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
}

.footer-brand span {
  display: block;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
}

.copyright {
  color: #7b817a;
}

:focus-visible {
  outline: 3px solid #57bb49;
  outline-offset: 4px;
}

@media (max-width: 800px) {
  .hero {
    min-height: 560px;
    padding-top: 90px;
  }

  .hero-decoration {
    top: 195px;
    right: -100px;
    width: 410px;
    opacity: 0.5;
  }

  .hero-content {
    max-width: 680px;
  }

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

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

  .service-card p {
    min-height: 0;
  }

  .about-layout {
    gap: 45px;
  }

  .approach-layout {
    grid-template-columns: 1fr 0.8fr;
    gap: 40px;
  }

  .contact-layout {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 36px, 1120px);
  }

  .header-content {
    min-height: 75px;
    gap: 16px;
  }

  .brand {
    flex-basis: 145px;
  }

  .site-header nav {
    gap: 15px;
    font-size: 12px;
  }

  .site-header nav a:first-child,
  .site-header nav a:nth-child(2) {
    display: none;
  }

  .site-header nav .nav-contact {
    padding: 9px 11px;
  }

  .hero {
    min-height: 575px;
    padding: 76px 0 45px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 55px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-note {
    margin-top: 54px;
  }

  .hero-decoration {
    top: 280px;
    right: -190px;
    width: 380px;
    opacity: 0.38;
  }

  .section {
    padding: 75px 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .service-card {
    padding: 25px 22px;
  }

  .about-layout,
  .approach-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-mark {
    min-height: 245px;
  }

  .approach-details p {
    margin-bottom: 20px;
  }

  .contact-email {
    font-size: 18px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

