#top .ats-home-hero-actions {
  display: contents;
}

#top .ats-home-hero-call {
  display: none;
}

@media (max-width: 800px) {
  #top .ats-home-hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
    gap: 10px;
    width: min(100%, 560px);
    margin: 20px auto 18px;
  }

  #top .ats-home-hero-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: auto;
    min-height: 48px;
    margin: 0;
    padding: 10px 8px;
    border-radius: 999px;
    font-size: clamp(14px, 2.4vw, 17px);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
  }

  #top .ats-home-hero-call {
    border: 2px solid #fff;
    background: var(--ats-green-deep);
    color: #fff;
    text-decoration: none;
  }

  #top .ats-home-hero-call:hover {
    background: var(--ats-green-dark);
  }

  #top .ats-home-hero-actions a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
  }
}

/* The homepage's quick actions stay active through 800px. */
@media (min-width: 768px) and (max-width: 800px) {
  body.homepage #ats-consent,
  body.homepage .ats-consent-feedback[data-warning] {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - 108px - env(safe-area-inset-bottom, 0px));
  }
}

#about .section-background {
  background: var(--ats-green-soft);
}

#about .ats-home-services {
  width: min(100%, 1120px);
  margin-inline: auto;
  padding-block: clamp(36px, 6vw, 76px);
}

#about .ats-home-services h2 {
  margin: 0 0 20px;
  color: var(--ats-green-deep);
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1.15;
}

#about .ats-home-service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(14px, 2vw, 24px);
}

#about .ats-home-service-card {
  box-sizing: border-box;
  min-width: 0;
  padding: clamp(16px, 2.1vw, 28px);
  border-radius: 16px;
}

#about .ats-home-service-card--tree {
  background: var(--ats-green-deep);
  color: #fff;
}

#about .ats-home-service-card--landscaping {
  border: 1px solid var(--ats-green-border);
  background: var(--ats-green-soft);
  color: var(--ats-green-deep);
}

#about .ats-home-service-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(96px, 12vw, 148px);
  align-items: start;
  gap: clamp(12px, 1.6vw, 22px);
}

#about .ats-home-service-intro h3 {
  margin: 0 0 8px;
  color: inherit;
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.18;
}

#about .ats-home-service-intro p {
  margin: 0 0 8px;
  color: inherit;
  line-height: 1.48;
}

#about .ats-home-service-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  object-fit: cover;
}

#about .ats-home-service-explore,
#about .ats-home-service-links a {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
  color: inherit;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#about .ats-home-service-explore:focus-visible,
#about .ats-home-service-links a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

#about .ats-home-service-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgb(255 255 255 / 35%);
}

@media (min-width: 901px) {
  #about .ats-home-service-intro p {
    min-height: 3lh;
  }
}

@media (max-width: 900px) {
  #about .ats-home-service-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  #about .ats-home-service-intro {
    grid-template-columns: minmax(0, 1fr) 92px;
  }
}
