/* Angel Tree Services overrides */

:root {
  --ats-green: #287228;
  --ats-green-dark: #1f5a22;
  --ats-green-deep: #163f19;
  --ats-green-soft: #f6fbf2;
  --ats-green-soft-strong: #ffffff;
  --ats-green-border: rgba(47, 125, 50, 0.18);
  --ats-green-shadow: rgba(20, 72, 24, 0.1);
}

.ats-credential-link {
  color: inherit;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color 180ms ease;
}

.ats-credential-link:hover,
.ats-credential-link:focus-visible {
  text-decoration-color: currentColor;
}

.ats-mobile-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.ats-home-mobile-menu {
  display: none;
}

@media (min-width: 1101px) {
  /* The brand already links home, so the exported Home item can yield room to
     the new public-site destinations without wrapping the legacy header. */
  #header .header-nav-item--homepage {
    display: none;
  }

  #header .header-title-nav-wrapper {
    flex: 1 1 auto;
    min-width: 0;
  }

  #header .header-title {
    flex: 0 1 clamp(240px, 27vw, 350px);
    width: auto;
  }

  #header .header-nav {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  #header .header-nav-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: clamp(16px, 1.8vw, 26px);
  }

  #header .header-nav-item {
    flex: 0 0 auto;
    margin: 0;
    white-space: nowrap;
  }

  #header .header-actions {
    flex: 0 0 auto;
    width: auto;
    margin-left: clamp(14px, 2vw, 28px);
  }
}

/* Use the same compact navigation as interior pages before desktop links crowd. */
@media (min-width: 801px) and (max-width: 1100px) {
  #header { display: none !important; }

  body .ats-mobile-header {
    position: fixed;
    inset: 0 0 auto;
    height: calc(56px + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 63, 25, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    z-index: 99999;
  }

  .ats-mobile-header img { width: 28px; height: 28px; object-fit: contain; }
  .ats-mobile-header span { color: #fff; font-size: 15px; font-weight: 600; }
}

@media (min-width: 1101px) and (max-width: 1280px) {
  #header .header-title { flex: 0 0 350px; }
  #header .header-nav-list { gap: 16px; }
  #header .header-nav-item a { white-space: nowrap; font-size: 0.9rem; }
  #header .header-actions { margin-left: 16px; }
}

@media (max-width: 1100px) {
  .ats-home-mobile-menu {
    position: absolute;
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    right: 12px;
    display: block;
    color: #fff;
  }

  .ats-home-mobile-menu summary {
    box-sizing: border-box;
    min-height: 44px;
    padding: 8px 13px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.78rem;
    line-height: 1.4;
    font-weight: 700;
    list-style: none;
    white-space: nowrap;
  }

  .ats-home-mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .ats-home-mobile-menu nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 12px;
    width: min(260px, calc(100vw - 24px));
    padding: 10px;
    max-height: 70vh;
    max-height: min(70dvh, calc(100dvh - 120px));
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 18px;
    background: rgba(22, 63, 25, 0.98);
    box-shadow: 0 18px 40px rgba(8, 42, 12, 0.28);
  }

  .ats-home-mobile-menu nav a {
    min-height: 44px;
    box-sizing: border-box;
    padding: 11px 13px;
    display: flex;
    align-items: center;
    border-radius: 11px;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
  }

  .ats-home-mobile-menu nav a:hover,
  .ats-home-mobile-menu nav a:focus-visible {
    background: rgba(255, 255, 255, 0.12);
  }

  .ats-home-mobile-menu nav .ats-mobile-nav__estimate {
    justify-content: center;
    min-height: 48px;
    margin-top: 8px;
    background: #fff;
    color: var(--ats-green-deep);
    font-weight: 700;
  }

  .ats-home-mobile-menu nav .ats-mobile-nav__estimate:is(:hover, :focus-visible) {
    background: var(--ats-green-soft);
    color: var(--ats-green-deep);
  }

  .ats-home-mobile-menu .ats-mobile-nav__more {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }

  .ats-home-mobile-menu .ats-mobile-nav__more p {
    margin: 0 13px 4px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.875rem;
    font-weight: 600;
  }

  .ats-home-mobile-menu .ats-mobile-nav__more a {
    font-size: 0.85rem;
    font-weight: 500;
  }
}

/* Hero background: selected flowering-tree photograph, with static responsive sources. */
#top .section-background {
  background-image: url("assets/versioned/photo-flowering-tree-1600.59405093d2.webp");
  background-image: -webkit-image-set(
    url("assets/versioned/photo-flowering-tree-1600.d1c22c4f11.avif") 1x,
    url("assets/versioned/photo-flowering-tree-1600.59405093d2.webp") 1x
  );
  background-image: image-set(
    url("assets/versioned/photo-flowering-tree-1600.d1c22c4f11.avif") type("image/avif"),
    url("assets/versioned/photo-flowering-tree-1600.59405093d2.webp") type("image/webp")
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#top .section-background-content,
#top .background-image-fx {
  display: none !important;
}

/* Preserve the former generative service-section texture without its runtime. */
#about .section-background {
  background-color: #2f9d33;
  background-image:
    radial-gradient(92% 62% at 50% 112%, rgba(13, 118, 22, 0.9) 0 48%, transparent 49%),
    radial-gradient(94% 72% at 50% 74%, rgba(20, 126, 27, 0.78) 0 50%, transparent 51%),
    radial-gradient(94% 78% at 50% 34%, rgba(24, 135, 31, 0.7) 0 50%, transparent 51%),
    linear-gradient(135deg, #35aa39 0%, #2b9c31 52%, #35aa39 100%);
  background-size: cover;
}

#about .section-background-content,
#about .background-pause-button {
  display: none !important;
}

/* Hero headline: single underline + sizing */
#top h1,
#top h1 * {
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

#top h1::before,
#top h1::after,
#top .sqsrte-text-highlight::before,
#top .sqsrte-text-highlight::after {
  content: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

#top .sqsrte-text-highlight {
  background-image: none !important;
}

#top .TextShape-node {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

#top .sqsrte-scaled-text-container,
#top h1 {
  text-align: center;
}

#top .ats-hero-eyebrow {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(13px, 1.2vw, 17px);
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

#top .ats-mobile-hero-eyebrow {
  margin: 4px 0 10px;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

#top .sqsrte-scaled-text {
  position: relative;
  display: inline-block;
  padding-bottom: 0.15em;
  font-size: clamp(56px, 7.8vw, 112px) !important;
}

#top .sqsrte-scaled-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  border-bottom: 0.1em solid #fff;
  transform: scaleX(0);
  transform-origin: left;
  animation: ats-underline-draw 0.8s cubic-bezier(0.19, 1, 0.22, 1) 0s forwards;
}

@keyframes ats-underline-draw {
  to {
    transform: scaleX(1);
  }
}

/* Contact: single underline for heading */
#contact .TextShape-node[data-text-attribute-id="ff476eda-ccb1-4978-ae55-8be7a835ef1b"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

#contact .sqsrte-scaled-text {
  position: relative;
  display: inline-block;
  padding-bottom: 0.15em;
}

#contact .sqsrte-scaled-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  border-bottom: 0.1em solid #fff;
  transform: scaleX(0);
  transform-origin: left;
  animation: ats-underline-draw 0.8s cubic-bezier(0.19, 1, 0.22, 1) 0s forwards;
}

/* Contact: single underline for phone number */
#contact .TextShape-node[data-text-attribute-id="6d57e739-535e-4dd5-8af3-1c6110ef3e5a"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

#contact a[href^="tel:"] {
  position: relative;
  display: inline-block;
  padding-bottom: 0.08em;
}

#contact a[href^="tel:"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  border-bottom: 0.08em solid #fff;
  transform: scaleX(0);
  transform-origin: left;
  animation: ats-underline-draw 0.8s cubic-bezier(0.19, 1, 0.22, 1) 0s forwards;
}

/* Netlify form honeypot */
.ats-contact-form .ats-honeypot {
  display: none;
}

.ats-form-success {
  display: none;
  margin: 0 0 22px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 2px solid var(--ats-green);
  background: rgba(251, 255, 248, 0.96);
  color: var(--ats-green-dark);
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

body.ats-form-submitted .ats-form-success {
  display: block;
}

/* Contact form refresh */
#contact {
  min-height: auto !important;
  margin-top: -8px;
  padding-top: 0 !important;
}

#contact .content-wrapper {
  padding-top: 42px;
  padding-bottom: 8px;
}

#contact .content {
  align-items: flex-start;
}

#contact [data-fluid-engine="true"] {
  align-content: start;
}

#contact .fe-64c362560a930470b1afb1ef {
  row-gap: 8px !important;
}

#contact .ats-contact-form-block .sqs-block-content {
  max-width: 980px;
  margin: 0 auto;
}

#contact .ats-form-intro {
  max-width: 760px;
  margin: 0 auto 18px;
  text-align: center;
}

#contact .ats-form-eyebrow {
  display: none;
}

#contact .ats-form-intro h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: clamp(1.9rem, 2.45vw, 2.55rem);
  line-height: 1.08;
}

#contact .ats-form-lede {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  line-height: 1.56;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

#contact .ats-form-discount {
  max-width: 42rem;
  margin: 14px auto 0;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.56;
}

#contact .ats-form-discount strong {
  font-weight: 700;
}

#contact .ats-form-discount-details {
  margin-top: 12px;
  color: #fff;
  text-align: left;
}

#contact .ats-form-discount-details summary {
  display: list-item;
  list-style: disclosure-closed inside;
  text-align: center;
  min-height: 44px;
  box-sizing: border-box;
  padding-block: 10px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

#contact .ats-form-discount-details[open] summary {
  list-style-type: disclosure-open;
}

#contact .ats-form-discount-details summary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

#contact .ats-form-discount-details .ats-form-discount {
  margin: 4px 0 12px;
  max-width: 100%;
}

#contact .ats-form-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ats-green-dark);
  font-size: 0.95rem;
  font-weight: 600;
}

#contact .ats-form-urgent {
  margin: 10px 0 0;
  color: #ffffff;
  font-size: 0.97rem;
  font-weight: 600;
  text-align: center;
}

#contact .ats-form-urgent a {
  color: #ffffff;
}

#contact .fe-block-577c25637a863c64b65c .sqs-html-content {
  max-width: 34rem;
  margin: 0 auto;
  display: grid;
  gap: 6px;
  justify-items: center;
}

#contact .fe-block-577c25637a863c64b65c h3,
#contact .fe-block-577c25637a863c64b65c p,
#contact .fe-block-577c25637a863c64b65c a {
  width: 100%;
  text-align: center !important;
}

#contact .fe-block-577c25637a863c64b65c .sqsrte-scaled-text-container,
#contact .fe-block-577c25637a863c64b65c .TextShape-node[data-text-attribute-id="ff476eda-ccb1-4978-ae55-8be7a835ef1b"] {
  display: none !important;
}

#contact .fe-block-577c25637a863c64b65c p {
  color: rgba(255, 255, 255, 0.84);
  margin: 0;
}

#contact .fe-block-577c25637a863c64b65c h3 {
  margin: 0;
}

#contact .fe-block-577c25637a863c64b65c h3 a {
  width: auto;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
}

#contact .fe-block-577c25637a863c64b65c a[href^="mailto:"] {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

#contact .fe-block-577c25637a863c64b65c a[href^="mailto:"] > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

#contact .fe-block-577c25637a863c64b65c p:last-child {
  max-width: 32rem;
  font-size: 0.98rem;
  line-height: 1.56;
}

#contact .fe-block-577c25637a863c64b65c a[href^="tel:"] {
  display: inline-flex;
  justify-content: center;
  width: auto;
}

#contact .ats-contact-form-block .form-wrapper {
  padding: clamp(22px, 2.35vw, 30px);
  border: 1px solid var(--ats-green-border);
  border-radius: 26px;
  background: rgba(250, 252, 248, 0.96);
  box-shadow: 0 14px 30px rgba(20, 50, 25, 0.1);
}

#contact .ats-contact-form .field-list {
  display: grid;
  gap: 14px;
}

#contact .ats-form-error-summary {
  display: block;
  margin: 0 0 6px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 2px solid #b94545;
  background: rgba(255, 244, 244, 0.98);
  color: #7b1f1f;
  font-weight: 600;
}

#contact .ats-form-error-summary[hidden] {
  display: none;
}

#contact .ats-form-server-status {
  margin: 12px 0 0;
  border: 1px solid rgba(85, 126, 89, 0.3);
  border-radius: 14px;
  padding: 11px 13px;
  background: rgba(238, 247, 237, 0.95);
  color: var(--ats-green-deep);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.45;
}

#contact .ats-form-server-status[hidden] {
  display: none;
}

#contact .ats-form-server-status.error {
  border-color: rgba(185, 69, 69, 0.48);
  background: rgba(255, 244, 244, 0.96);
  color: #8e2323;
}

#contact .ats-estimate-draft {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-block: 0 18px;
  color: var(--ats-green-deep);
}

#contact .ats-estimate-draft[hidden],
#contact [data-draft-clear][hidden] {
  display: none;
}

#contact [data-draft-status] {
  flex: 1 1 240px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

#contact [data-draft-clear] {
  min-height: 48px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

#contact [data-draft-clear]:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

#contact [data-draft-clear]:disabled {
  opacity: 0.6;
  cursor: wait;
}

#contact .ats-contact-form .field-list > * {
  min-width: 0;
}

#contact .ats-form-row,
#contact .ats-commercial-fields {
  display: grid;
  gap: 14px;
}

#contact .ats-contact-form .form-item {
  margin: 0;
}

#contact .ats-contact-form .form-input-effects {
  display: none;
}

#contact .ats-contact-form .title,
#contact .ats-contact-form legend.title {
  display: block;
  margin-bottom: 6px;
  color: var(--ats-green-deep);
  font-weight: 700;
}

#contact .ats-contact-form .SP08ZLkhAnk2Rqaf {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

#contact .ats-contact-form .form-item.required .SP08ZLkhAnk2Rqaf > span:first-child::after,
#contact #ats-customer-type legend .SP08ZLkhAnk2Rqaf > span:first-child::after {
  content: " *";
  color: var(--ats-green);
  font-weight: 700;
}

#contact .ats-contact-form .description {
  color: var(--ats-green-deep);
  opacity: 1;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

#contact .ats-contact-form .ngonnDl0lqs7ZArA,
#contact .ats-contact-form .v_0IUsD4COI2tjj9,
#contact .ats-contact-form .qj2U4ppWTRohr5rP,
#contact .ats-contact-form .ats-select-input {
  width: 100%;
  min-height: 54px;
  padding: 14px 17px;
  border: 2px solid rgba(85, 126, 89, 0.22);
  border-radius: 18px;
  background: #fff;
  color: var(--ats-green-deep);
  font-size: max(16px, 0.98rem);
  line-height: 1.45;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

#contact .ats-contact-form .ngonnDl0lqs7ZArA::placeholder,
#contact .ats-contact-form .v_0IUsD4COI2tjj9::placeholder,
#contact .ats-contact-form .qj2U4ppWTRohr5rP::placeholder {
  color: #728774;
}

#contact .ats-contact-form .qj2U4ppWTRohr5rP {
  min-height: 144px;
  resize: vertical;
}

#contact .ats-contact-form .qj2U4ppWTRohr5rP::placeholder {
  color: var(--ats-green-dark);
  opacity: 1;
}

#contact .ats-contact-form .ats-select-input {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ats-green) 50%),
    linear-gradient(135deg, var(--ats-green) 50%, transparent 50%);
  background-position:
    calc(100% - 24px) calc(50% - 3px),
    calc(100% - 18px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

#contact .ats-contact-form .ngonnDl0lqs7ZArA:focus,
#contact .ats-contact-form .v_0IUsD4COI2tjj9:focus,
#contact .ats-contact-form .qj2U4ppWTRohr5rP:focus,
#contact .ats-contact-form .ats-select-input:focus {
  border-color: var(--ats-green);
  box-shadow: 0 0 0 4px rgba(85, 126, 89, 0.14);
  outline: none;
}

#contact .ats-contact-form [aria-invalid="true"] {
  border-color: #b94545 !important;
  box-shadow: 0 0 0 4px rgba(185, 69, 69, 0.12) !important;
}

#contact .ats-field-help {
  margin: 6px 0 0;
  color: rgba(71, 103, 75, 0.88);
  font-size: 0.87rem;
  line-height: 1.42;
}

#contact #ats-customer-type .ats-field-help {
  display: none;
}

#contact .ats-field-error {
  margin: 8px 0 0;
  color: #8e2323;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

#contact .ats-segmented-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#contact .ats-segmented-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#contact .ats-segmented-option {
  position: relative;
  min-width: 0;
}

#contact .ats-segmented-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#contact .ats-segmented-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(85, 126, 89, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--ats-green-dark);
  font-size: 0.94rem;
  font-weight: 700;
  text-align: center;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

#contact .ats-segmented-option input:checked + span {
  border-color: var(--ats-green);
  background: var(--ats-green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(85, 126, 89, 0.18);
}

#contact .ats-segmented-option:hover span {
  border-color: rgba(47, 125, 50, 0.42);
  color: var(--ats-green);
  box-shadow: 0 12px 24px rgba(20, 50, 25, 0.08);
}

#contact .ats-segmented-option:hover input:checked + span,
#contact .ats-segmented-option input:checked + span:focus-visible {
  border-color: #237223;
  background: #237223;
  color: #fff;
  box-shadow: 0 14px 28px rgba(20, 50, 25, 0.16);
}

#contact .ats-segmented-option input:focus-visible + span {
  box-shadow: 0 0 0 4px rgba(85, 126, 89, 0.16);
}

#contact .ats-commercial-fields[hidden] {
  display: none !important;
}

#contact .ats-commercial-fields {
  display: grid;
  gap: 14px;
}

#contact #ats-updates-opt-in {
  margin-top: 0;
}

#contact .ats-contact-form .ats-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin: 0;
  margin-bottom: 0;
  padding: 2px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #325637 !important;
  font-weight: 500 !important;
}

#contact .ats-checkbox-input {
  margin-top: 0.15em;
  width: 18px;
  height: 18px;
  accent-color: var(--ats-green);
  flex: 0 0 auto;
}

#contact .ats-checkbox-label span {
  color: #325637;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.42;
}

#contact .ats-contact-form .form-button-wrapper--align-center {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  justify-content: stretch;
  margin-top: 6px;
}

#contact .ats-contact-form .form-submit-button {
  width: 100%;
  margin: 0;
}

#contact .form-submit-button-label {
  display: inline;
}

#contact .form-submit-button-state {
  display: none;
}

#contact .ats-contact-form.is-submitting .form-submit-button,
#contact .ats-contact-form .form-submit-button[disabled] {
  opacity: 0.78;
  cursor: progress;
}

#contact .ats-contact-form.is-submitting .form-submit-button-label {
  display: none;
}

#contact .ats-contact-form.is-submitting .form-submit-button-state {
  display: inline-flex;
}

#contact .ats-form-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 11px 16px;
  border: 1px solid rgba(47, 125, 50, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #245427;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  min-width: 0;
  align-self: center;
}

#contact .ats-estimate-context {
  margin-top: 14px;
}

#contact .ats-estimate-context[hidden] {
  display: none;
}

/* Both actions share the existing primary-button type and full row width. */
#contact .ats-contact-form .form-submit-button,
#contact .ats-form-secondary-action {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  font-family: var(--primary-button-font-font-family, "Poppins", sans-serif);
  font-style: var(--primary-button-font-font-style, normal);
  font-weight: var(--primary-button-font-font-weight, 500);
  font-size: calc((var(--primary-button-font-font-size-value, 1.5) - 1) * 1.2vw + 1rem);
  line-height: var(--primary-button-font-line-height, 1.2em);
  letter-spacing: var(--primary-button-font-letter-spacing, 0.02em);
  padding: var(--primary-button-padding-y, 0.8em) var(--primary-button-padding-x, 0.5em) !important;
  border-width: 2px;
  white-space: normal;
}

#contact .ats-form-secondary-action:hover,
#contact .ats-form-secondary-action:focus-visible {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ats-green);
  border-color: rgba(47, 125, 50, 0.38);
  box-shadow: 0 12px 28px rgba(20, 50, 25, 0.12);
}

#contact .ats-form-footer-note {
  margin: 6px auto 0;
  color: rgba(71, 109, 73, 0.86);
  font-size: 0.84rem;
  line-height: 1.5;
  text-align: center;
}

:root {
  --ats-ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ats-ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
}

#top .sqs-button-element--primary,
#contact .form-submit-button,
#contact .ats-form-secondary-action,
#contact .ats-segmented-option span,
#about .list-item-content__button,
#about .list-section-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    box-shadow 220ms var(--ats-ease-out-quart),
    background-color 220ms var(--ats-ease-out-quart),
    border-color 220ms var(--ats-ease-out-quart),
    color 220ms var(--ats-ease-out-quart);
}

#top .sqs-button-element--primary::before,
#contact .form-submit-button::before,
#contact .ats-form-secondary-action::before,
#contact .ats-segmented-option span::before,
#about .list-item-content__button::before,
#about .list-section-button::before {
  content: none;
}

#top .sqs-button-element--primary:hover,
#top .sqs-button-element--primary:focus-visible,
#contact .form-submit-button:hover,
#contact .form-submit-button:focus-visible,
#contact .ats-form-secondary-action:hover,
#contact .ats-form-secondary-action:focus-visible,
#contact .ats-segmented-option:hover span,
#contact .ats-segmented-option input:focus-visible + span,
#about .list-item-content__button:hover,
#about .list-item-content__button:focus-visible,
#about .list-section-button:hover,
#about .list-section-button:focus-visible {
  transition-duration: 220ms;
}

#top .sqs-button-element--primary {
  background: #fff !important;
  color: var(--ats-green) !important;
  border-color: rgba(47, 125, 50, 0.24) !important;
  box-shadow: 0 10px 28px rgba(20, 50, 25, 0.08);
}

#top .sqs-button-element--primary:hover {
  background: var(--ats-green) !important;
  color: #fff !important;
  border-color: var(--ats-green) !important;
  box-shadow: 0 14px 32px rgba(20, 50, 25, 0.14);
}

#contact .form-submit-button {
  background: #ffffff !important;
  color: var(--ats-green) !important;
  border: 2px solid rgba(47, 125, 50, 0.34) !important;
  box-shadow: 0 10px 28px rgba(20, 50, 25, 0.08);
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

#contact .form-submit-button .form-submit-button-label,
#contact .form-submit-button .form-submit-button-state,
#contact .form-submit-button .form-submit-button-state span {
  color: inherit !important;
}

#contact .form-submit-button:hover,
#contact .form-submit-button:focus-visible {
  background: rgba(246, 251, 242, 0.98) !important;
  color: var(--ats-green-dark) !important;
  border-color: rgba(47, 125, 50, 0.48) !important;
  box-shadow: 0 14px 30px rgba(20, 50, 25, 0.12);
}

#contact .form-submit-button:focus-visible {
  outline: none;
}

#about .list-item-content__button,
#about .list-section-button {
  background: var(--ats-green) !important;
  color: #fff !important;
  border: 2px solid rgba(47, 125, 50, 0.28) !important;
  box-shadow: 0 10px 28px rgba(20, 50, 25, 0.08);
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

#about .list-item-content__button:hover,
#about .list-section-button:hover,
#about .list-item-content__button:focus-visible,
#about .list-section-button:focus-visible {
  background: rgba(255, 255, 255, 0.97) !important;
  color: var(--ats-green) !important;
  border-color: var(--ats-green) !important;
  box-shadow: 0 12px 30px rgba(20, 50, 25, 0.12);
}

/* Keep service actions aligned when approved descriptions wrap differently. */
@media (min-width: 576px) {
  #about .user-items-list-item-container {
    align-items: stretch;
  }
}

#about .user-items-list-item-container .list-item-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
}

#about .user-items-list-item-container .list-item-content__button-wrapper {
  width: 100%;
  margin-top: auto;
}

#about .user-items-list-item-container .list-item-content__button-container {
  width: 100%;
}

#about .user-items-list-item-container .ats-service-explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: min(100%, 300px);
  min-height: 56px;
  padding: 12px 20px;
  font-size: 16px !important;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

#about .ats-service-explore:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

/* Direct service choices stay within the existing Tree Service card. */
#about .ats-home-tree-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  min-width: 0;
  margin: 20px 0 12px;
  text-align: left;
}

#about .ats-home-tree-links a {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-width: 0;
  min-height: 44px;
  padding: 6px 0;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

#about .ats-home-tree-links a:hover {
  color: var(--ats-green-soft);
  text-decoration-thickness: 2px;
}

#about .ats-home-tree-links a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html,
  html:focus-within {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  #top .sqs-button-element--primary,
  #contact .form-submit-button,
  #contact .ats-form-secondary-action,
  #contact .ats-segmented-option span,
  #about .list-item-content__button,
  #about .list-section-button {
    transition-duration: 0.01ms !important;
  }

  #top .sqs-button-element--primary::before,
  #contact .form-submit-button::before,
  #contact .ats-form-secondary-action::before,
  #contact .ats-segmented-option span::before,
  #about .list-item-content__button::before,
  #about .list-section-button::before {
    content: none;
  }
}

@media (min-width: 768px) {
  #contact {
    margin-top: -18px;
  }

  #contact .content-wrapper {
    padding-top: 40px;
    padding-bottom: 0;
  }

  #contact .fe-64c362560a930470b1afb1ef {
    row-gap: 10px !important;
  }

  #contact .fe-block-577c25637a863c64b65c {
    grid-area: 15 / 5 / 17 / 23 !important;
  }

  #contact .fe-block-2afadb6b76b4a7a16415 {
    grid-area: 2 / 4 / 15 / 24 !important;
  }

  #contact .ats-form-row--identity {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #contact .ats-form-row--decision {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: end;
  }

  #contact .ats-commercial-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #contact .ats-contact-form .form-button-wrapper--align-center {
    grid-template-columns: minmax(0, 1fr);
  }

  #contact .ats-form-secondary-action {
    white-space: normal;
  }

  #contact .ats-form-footer-note {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  #contact .ats-contact-form .qj2U4ppWTRohr5rP {
    min-height: 116px;
  }
}

/* Hero trust: keep native placement, but make CTA the main event */
#top .fe-block-yui_3_17_2_1_1696576397695_1658 {
  position: relative;
  z-index: 6;
  text-align: center;
  grid-column: 1 / -1 !important;
  justify-self: center;
  margin-bottom: 48px;
}

#top .fe-block-yui_3_17_2_1_1696576397695_1658 .sqs-block {
  width: 100%;
}

#top .fe-block-yui_3_17_2_1_1696576397695_1658 .sqs-block-content,
#top .fe-block-yui_3_17_2_1_1696576397695_1658 .sqs-block-alignment-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#top .ats-hero-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 14px 18px 16px;
  border-radius: 28px;
  background: rgba(24, 53, 27, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#top .ats-hero-trust-label {
  margin: 0;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

#top .ats-hero-proof-detail,
.ats-mobile-proof-detail {
  margin: -2px 0 2px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#top .ats-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: fit-content;
  margin: 0 auto;
}

#top .ats-badge-row .ats-isa-badge {
  height: 160px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(12, 46, 14, 0.08));
}

/* Move the divider down to sit below the badges */
#top .section-divider-display {
  transform: translateY(85px);
}

@media (max-width: 640px) {
  #contact {
    margin-top: -6px;
  }

  #contact .content-wrapper {
    padding-top: 28px;
    padding-bottom: 6px;
  }

  #contact .fe-64c362560a930470b1afb1ef {
    row-gap: 8px !important;
  }

  #contact .fe-block-577c25637a863c64b65c {
    grid-area: 13 / 2 / 15 / 10 !important;
  }

  #contact .fe-block-2afadb6b76b4a7a16415 {
    grid-area: 2 / 2 / 13 / 10 !important;
  }

  #contact .ats-form-success,
  #contact .ats-form-intro,
  #contact .ats-contact-form-block .form-wrapper {
    margin-left: 0;
    margin-right: 0;
  }

  #contact .ats-form-meta {
    gap: 8px;
  }

  #contact .ats-contact-form-block .form-wrapper {
    padding: 20px 16px;
    border-radius: 20px;
  }

  #contact .ats-contact-form .field-list {
    gap: 14px;
  }

  #contact .ats-form-row,
  #contact .ats-commercial-fields {
    gap: 14px;
  }

  #contact .ats-segmented-options {
    grid-template-columns: 1fr;
  }

  #contact .ats-contact-form .form-submit-button {
    width: 100%;
  }

  #contact .ats-form-secondary-action {
    width: 100%;
  }

  #contact .ats-form-footer-note {
    text-align: center;
  }

  #top .ats-hero-trust {
    gap: 6px;
    padding: 10px 12px 12px;
    border-radius: 22px;
  }

  #top .ats-hero-trust-label {
    font-size: 0.8rem;
  }

  #top .ats-badge-row {
    gap: 10px;
  }

  #top .ats-badge-row .ats-isa-badge {
    height: 116px;
  }
}

/* Keep divider stroke behind badges */
#top .section-divider-display,
#top .section-divider-svg-clip,
#top .section-divider-svg-stroke {
  z-index: 4 !important;
}

/* Homepage process and urgent-service guidance */
.ats-home-guidance {
  position: relative;
  z-index: 5;
  padding: clamp(56px, 7vw, 96px) max(24px, 5vw) clamp(38px, 4vw, 52px);
  background: var(--ats-green-soft);
  color: var(--ats-green-deep);
}

.ats-home-guidance,
.ats-home-guidance * {
  opacity: 1 !important;
  transform: none !important;
}

/* Replace the exported fixed-row contact grid with natural document flow. */
#contact .fe-64c362560a930470b1afb1ef {
  display: flex !important;
  flex-direction: column;
  gap: 30px !important;
  height: auto !important;
  grid-template-rows: none !important;
}

#contact .fe-64c362560a930470b1afb1ef > .fe-block {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
}

#contact .fe-block-2afadb6b76b4a7a16415 {
  order: 1;
}

#contact .fe-block-577c25637a863c64b65c {
  order: 2;
}

.ats-home-guidance__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(38px, 5vw, 64px);
}

.ats-home-guidance__wave {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 3;
  height: 96px;
  pointer-events: none;
}

.ats-home-project {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}

.ats-home-project__photo {
  min-width: 0;
  margin: 0;
}

.ats-home-project__photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.ats-home-project__photo figcaption {
  margin-top: 10px;
  color: #3f6542;
  font-size: 0.875rem;
  line-height: 1.55;
}

.ats-home-project__copy h2 {
  margin: 0;
  color: var(--ats-green-deep);
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  letter-spacing: -0.025em;
  line-height: 1.13;
}

.ats-home-project__copy > p {
  margin: 16px 0 0;
  color: #3f6542;
  font-size: 1.04rem;
  line-height: 1.65;
}

.ats-home-project__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 22px;
}

.ats-home-project__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.4;
}

.ats-home-project__view {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ats-green-dark);
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.ats-home-project__view:hover {
  background: var(--ats-green-deep);
  color: #fff;
}

.ats-home-project__estimate {
  color: var(--ats-green-dark);
  text-decoration-line: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 5px;
}

.ats-home-project__actions a:focus-visible {
  outline: 3px solid var(--ats-green-dark);
  outline-offset: 4px;
}

@media (max-width: 800px) {
  .ats-home-project {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

.ats-home-guidance__wave--top {
  top: -90px;
}

.ats-home-guidance__wave--bottom {
  bottom: -90px;
}

.ats-home-guidance__wave svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ats-home-guidance__wave-fill {
  fill: var(--ats-green-soft);
}

.ats-home-guidance__wave-stroke {
  fill: none;
  stroke: rgba(255, 255, 255, 0.98);
  stroke-width: 10;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

/* The custom entrance wave replaces the exported divider stroke at this boundary. */
#about > .section-divider-display .section-divider-svg-stroke {
  opacity: 0 !important;
}

#contact .content-wrapper {
  padding-top: 104px;
}

.ats-section-eyebrow {
  margin: 0 0 10px;
  color: #237223;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ats-home-recognition-strip {
  position: relative;
  z-index: 7;
  padding: clamp(28px, 4vw, 44px) 24px;
  border-top: 1px solid rgba(47, 125, 50, 0.2);
  border-bottom: 1px solid rgba(47, 125, 50, 0.24);
  background: #f6fbf2;
  color: var(--ats-green-deep);
}

.ats-home-recognition-strip__inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ats-home-recognition-strip a {
  min-width: 0;
  padding: 4px clamp(22px, 3vw, 42px);
  display: grid;
  align-content: center;
  gap: 7px;
  border-right: 1px solid rgba(47, 125, 50, 0.2);
  color: inherit;
  text-decoration: none;
}

.ats-home-recognition-strip a:first-child {
  padding-left: 0;
}

.ats-home-recognition-strip a:last-child {
  padding-right: 0;
  border-right: 0;
}

.ats-home-recognition-strip span {
  color: #237223;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ats-home-recognition-strip strong {
  color: var(--ats-green-deep);
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  line-height: 1.35;
}

.ats-home-recognition-strip a:hover strong,
.ats-home-recognition-strip a:focus-visible strong {
  text-decoration: underline;
  text-decoration-color: rgba(31, 90, 34, 0.45);
  text-underline-offset: 5px;
}

.ats-home-recognition {
  padding-bottom: clamp(42px, 5vw, 62px);
  border-bottom: 1px solid rgba(47, 125, 50, 0.22);
}

.ats-home-recognition__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.ats-home-recognition h2 {
  max-width: 780px;
  margin: 0;
  color: var(--ats-green-deep);
  font-size: clamp(2.15rem, 4vw, 4rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.ats-home-recognition__all {
  flex: 0 0 auto;
  padding-bottom: 5px;
  color: var(--ats-green-dark);
  font-weight: 750;
  text-decoration-color: rgba(31, 90, 34, 0.42);
  text-underline-offset: 5px;
}

.ats-home-recognition__metrics {
  margin-top: clamp(30px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(47, 125, 50, 0.22);
  border-bottom: 1px solid rgba(47, 125, 50, 0.22);
}

.ats-home-recognition__metrics--secondary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ats-home-recognition__metrics article {
  min-width: 0;
  padding: clamp(24px, 3vw, 34px);
  border-right: 1px solid rgba(47, 125, 50, 0.18);
}

.ats-home-recognition__metrics article:last-child {
  border-right: 0;
}

.ats-home-recognition__metrics p {
  margin: 0;
}

.ats-home-recognition__platform {
  color: #237223;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ats-home-recognition__value {
  margin-top: 10px !important;
  color: var(--ats-green-deep);
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  font-weight: 650;
  line-height: 1;
}

.ats-home-recognition__value + p {
  margin-top: 8px !important;
  color: #466748;
  line-height: 1.55;
}

.ats-home-recognition__metrics a {
  display: inline-block;
  margin-top: 18px;
  color: var(--ats-green-dark);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration-color: rgba(31, 90, 34, 0.4);
  text-underline-offset: 5px;
}

.ats-home-testimonial {
  margin-top: clamp(30px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
  background: var(--ats-green-deep);
  color: #fff;
}

.ats-home-testimonial picture,
.ats-home-testimonial img {
  width: 100%;
  height: 100%;
}

.ats-home-testimonial picture {
  display: block;
}

.ats-home-testimonial img {
  min-height: 310px;
  object-fit: cover;
  object-position: center;
}

.ats-home-testimonial blockquote {
  margin: 0;
  padding: clamp(30px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ats-home-testimonial blockquote > p {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 2.8vw, 2.45rem);
  font-weight: 520;
  line-height: 1.35;
}

.ats-home-testimonial blockquote footer {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.ats-home-testimonial cite {
  color: #fff;
  font-style: normal;
  font-weight: 800;
}

.ats-home-testimonial blockquote footer a {
  flex-basis: 100%;
  width: fit-content;
  color: #fff;
  font-weight: 750;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  text-underline-offset: 5px;
}

.ats-home-recognition__community {
  margin: 20px 0 0;
  color: #466748;
  font-size: 0.94rem;
  line-height: 1.55;
  text-align: right;
}

.ats-home-recognition__community a {
  color: var(--ats-green-dark);
  font-weight: 700;
  text-decoration-color: rgba(31, 90, 34, 0.38);
  text-underline-offset: 5px;
}

.ats-form-trust {
  margin: 18px 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.ats-form-trust a {
  color: inherit;
  font-weight: 750;
  text-decoration-color: currentColor;
  text-underline-offset: 4px;
}

/* Pre-hire FAQ: wide editorial disclosures before the estimate form. */
.ats-home-faq {
  position: relative;
  z-index: 4;
  padding: clamp(72px, 7vw, 104px) max(24px, 5vw) clamp(80px, 8vw, 116px);
  border-top: 1px solid rgba(47, 125, 50, 0.16);
  border-bottom: 1px solid rgba(47, 125, 50, 0.18);
  background: var(--ats-green-soft);
  color: var(--ats-green-deep);
}

.ats-home-faq__inner {
  width: min(1200px, 100%);
  margin-inline: auto;
}

.ats-home-faq__header {
  max-width: 880px;
  margin: 0 auto clamp(38px, 5vw, 58px);
  text-align: center;
}

.ats-home-faq__eyebrow {
  margin: 0 0 14px !important;
  color: #237223 !important;
  font-size: 0.8rem !important;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4 !important;
  text-transform: uppercase;
}

.ats-home-faq__header h2 {
  margin: 0;
  color: var(--ats-green-deep);
  font-size: clamp(2.55rem, 4.6vw, 4.65rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1;
}

.ats-home-faq__header > p:last-child {
  max-width: 70ch;
  margin: 22px auto 0;
  color: #3f6542;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.65;
}

.ats-home-faq__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(34px, 5vw, 72px);
}

.ats-home-faq__column {
  min-width: 0;
  border-bottom: 1px solid rgba(47, 125, 50, 0.28);
}

.ats-home-faq details {
  border-top: 1px solid rgba(47, 125, 50, 0.28);
  background: transparent;
  transition: background-color 180ms ease;
}

.ats-home-faq details[open] {
  background: rgba(255, 255, 255, 0.5);
}

.ats-home-faq summary {
  min-height: 92px;
  padding: 20px clamp(8px, 1.2vw, 16px);
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 24px;
  gap: clamp(10px, 1.5vw, 18px);
  align-items: center;
  color: var(--ats-green-deep);
  cursor: pointer;
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  font-weight: 720;
  line-height: 1.35;
  list-style: none;
}

.ats-home-faq summary::-webkit-details-marker {
  display: none;
}

.ats-home-faq summary::before {
  content: attr(data-faq-number);
  color: var(--ats-green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ats-home-faq__indicator {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  color: var(--ats-green);
  justify-self: center;
}

.ats-home-faq__indicator::before,
.ats-home-faq__indicator::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.ats-home-faq__indicator::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.ats-home-faq details[open] .ats-home-faq__indicator::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.ats-home-faq summary:hover {
  color: var(--ats-green);
}

.ats-home-faq summary:focus-visible {
  border-radius: 10px;
  outline: 3px solid rgba(47, 142, 47, 0.42);
  outline-offset: -3px;
}

.ats-home-faq__answer {
  padding: 0 clamp(42px, 4vw, 60px) 30px;
}

.ats-home-faq__answer p {
  margin: 0;
  color: #3f6542;
  font-size: 0.98rem;
  line-height: 1.68;
}

.ats-home-faq__answer a {
  color: var(--ats-green-dark);
  font-weight: 700;
  text-decoration-color: rgba(47, 125, 50, 0.46);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.ats-home-faq__answer a:hover,
.ats-home-faq__answer a:focus-visible {
  color: var(--ats-green);
  text-decoration-color: currentColor;
}

.ats-home-footer-trust {
  padding: 28px max(24px, calc((100vw - 1200px) / 2));
  border-top: 1px solid rgba(47, 125, 50, 0.24);
  border-bottom: 1px solid rgba(47, 125, 50, 0.2);
  background: #f4f8ee;
  color: var(--ats-green-deep);
}

.ats-home-footer-trust > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ats-home-footer-trust p {
  margin: 0;
  font-weight: 750;
  line-height: 1.5;
}

.ats-home-footer-trust nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.ats-home-footer-trust a {
  color: inherit;
  text-decoration-color: rgba(31, 90, 34, 0.4);
  text-underline-offset: 5px;
}

.ats-process h2,
.ats-emergency h2 {
  margin: 0;
  color: var(--ats-green-deep);
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.08;
}

.ats-process__steps {
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  counter-reset: ats-process;
  border-top: 1px solid rgba(47, 125, 50, 0.22);
  border-bottom: 1px solid rgba(47, 125, 50, 0.22);
}

.ats-process__steps li {
  counter-increment: ats-process;
  min-width: 0;
  padding: 24px clamp(18px, 2.2vw, 28px);
  border-right: 1px solid rgba(47, 125, 50, 0.18);
}

.ats-process__steps li:nth-child(3n) {
  border-right: 0;
}

.ats-process__steps li:nth-child(-n + 3) {
  border-bottom: 1px solid rgba(47, 125, 50, 0.18);
}

.ats-process__steps li::before {
  content: "0" counter(ats-process);
  display: block;
  margin-bottom: 14px;
  color: var(--ats-green);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.ats-process__steps strong,
.ats-process__steps span {
  display: block;
}

.ats-process__steps strong {
  margin-bottom: 7px;
  color: var(--ats-green-deep);
  font-size: 1rem;
  line-height: 1.3;
}

.ats-process__steps span {
  color: #466748;
  font-size: 0.93rem;
  line-height: 1.55;
}

.ats-emergency {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background: var(--ats-green-deep);
  color: #fff;
  box-shadow: 0 18px 44px rgba(20, 63, 25, 0.14);
}

.ats-emergency .ats-section-eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.ats-emergency h2 {
  color: #fff;
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
}

.ats-emergency p:not(.ats-section-eyebrow) {
  max-width: 780px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.65;
}

.ats-emergency__actions {
  display: grid;
  gap: 10px;
  min-width: 220px;
}

.ats-emergency__actions a {
  display: inline-flex;
  min-height: 52px;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.ats-emergency-call {
  background: #fff;
  color: var(--ats-green-deep);
}

.ats-emergency-estimate {
  background: transparent;
  color: #fff;
}

.ats-emergency__actions a:hover,
.ats-emergency__actions a:focus-visible {
  background: var(--ats-green);
  border-color: var(--ats-green);
  color: #fff;
}

/* Optional contact preferences stay lightweight inside the estimate form. */
#contact .ats-optional-preferences {
  min-width: 0;
  margin: 0;
  color: var(--ats-green-deep);
}

#contact .ats-optional-preferences > summary {
  display: list-item;
  box-sizing: border-box;
  min-height: 44px;
  padding-block: 10px;
  list-style: disclosure-closed inside;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

#contact .ats-optional-preferences[open] > summary {
  margin-bottom: 12px;
  list-style-type: disclosure-open;
}

#contact .ats-optional-preferences > summary:focus-visible {
  outline: 3px solid var(--ats-green-deep);
  outline-offset: 3px;
}

#contact .ats-optional-preferences__fields {
  display: grid;
  gap: 16px;
  padding-bottom: 4px;
}

#contact .ats-job-details {
  min-width: 0;
  border: 1px solid var(--ats-green-border);
  border-radius: 16px;
  background: var(--ats-green-soft);
  color: var(--ats-green-deep);
}

#contact .ats-job-details[hidden] {
  display: none;
}

#contact .ats-job-details > summary {
  display: list-item;
  min-height: 48px;
  box-sizing: border-box;
  padding: 12px 14px;
  list-style: disclosure-closed inside;
  border-radius: inherit;
  cursor: pointer;
  font-weight: 650;
  line-height: 1.5;
}

#contact .ats-job-details[open] > summary {
  list-style-type: disclosure-open;
}

#contact .ats-job-details__optional {
  margin-inline-start: 6px;
  color: var(--ats-green-dark);
  font-size: 0.82rem;
  font-weight: 500;
}

#contact .ats-job-details__body {
  padding: 2px 14px 14px;
}

#contact .ats-job-details__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

#contact .ats-job-details__fields label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
  font-weight: 650;
}

#contact .ats-job-details .ats-select-input {
  min-width: 0;
  min-height: 48px;
  padding-block: 9px;
  border-radius: 12px;
}

#contact .ats-job-details__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 13px;
}

#contact .ats-job-details__actions button {
  min-height: 48px;
  padding: 8px 16px;
  border: 1px solid var(--ats-green-dark);
  border-radius: 999px;
  background: #fff;
  color: var(--ats-green-deep);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

#contact .ats-job-details__actions button:hover {
  background: var(--ats-green-deep);
  color: #fff;
}

#contact .ats-job-details > summary:focus-visible,
#contact .ats-job-details__actions button:focus-visible {
  outline: 3px solid var(--ats-green-deep);
  outline-offset: 3px;
}

#contact .ats-job-details__status {
  flex: 1 1 180px;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

#contact .ats-job-details__status:empty {
  flex-grow: 0;
  flex-basis: 0;
}

@media (max-width: 640px) {
  #contact .ats-job-details__fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

#contact .ats-contact-preference {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

#contact .ats-contact-preference__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#contact .ats-contact-preference legend .description {
  display: inline;
  margin-left: 6px;
}

#contact .ats-contact-preference__options label {
  position: relative;
  cursor: pointer;
}

#contact .ats-contact-preference__options input {
  position: absolute;
  opacity: 0;
}

#contact .ats-contact-preference__options span {
  display: inline-flex;
  min-height: 44px;
  padding: 8px 15px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47, 125, 50, 0.24);
  border-radius: 999px;
  background: #fff;
  color: var(--ats-green-dark);
  font-size: 0.88rem;
  font-weight: 650;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

#contact .ats-contact-preference__options input:checked + span {
  border-color: var(--ats-green);
  background: var(--ats-green);
  color: #fff;
}

#contact .ats-contact-preference__options input:focus-visible + span {
  box-shadow: 0 0 0 4px rgba(47, 142, 47, 0.18);
}

#contact .ats-hazard-check {
  padding: 10px 12px;
  border: 1px solid rgba(47, 125, 50, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.52);
}

.ats-mobile-actions {
  display: none;
}

@media (max-width: 800px) {
  #top {
    padding-top: 0 !important;
  }

  #top .section-background {
    background-image: url("assets/versioned/photo-flowering-tree-900.fcef3e54ef.webp");
    background-image: -webkit-image-set(
      url("assets/versioned/photo-flowering-tree-900.e02d755556.avif") 1x,
      url("assets/versioned/photo-flowering-tree-900.fcef3e54ef.webp") 1x
    );
    background-image: image-set(
      url("assets/versioned/photo-flowering-tree-900.e02d755556.avif") type("image/avif"),
      url("assets/versioned/photo-flowering-tree-900.fcef3e54ef.webp") type("image/webp")
    );
  }

  #top .content {
    display: none !important;
  }

  #top .ats-mobile-hero {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Keep the introduction and one clear action ahead of repeated proof. */
  #top .ats-mobile-hero-underline,
  #top .ats-mobile-proof-detail,
  #top .ats-mobile-badges {
    display: none;
  }

  #top .ats-mobile-hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
  }

  #top .ats-mobile-trust {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  #top .ats-mobile-trust-label {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1.5;
    text-transform: none;
  }

  #top .ats-mobile-trust-label a {
    display: inline-block;
    min-height: 44px;
    padding-block: 4px;
    box-sizing: border-box;
    text-decoration: underline;
  }

  .ats-home-guidance {
    padding: 52px 20px 36px;
  }

  .ats-home-guidance__wave--top {
    top: -62px;
  }

  .ats-home-guidance__wave--bottom {
    bottom: -62px;
  }

  .ats-home-guidance__wave {
    height: 68px;
  }

  .ats-home-guidance__wave-stroke {
    stroke-width: 7;
  }

  #contact .content-wrapper {
    padding-top: 76px;
  }

  .ats-process__steps {
    grid-template-columns: 1fr;
  }

  .ats-home-recognition__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .ats-home-recognition-strip {
    padding: 10px 20px;
  }

  .ats-home-recognition-strip__inner {
    grid-template-columns: 1fr;
  }

  .ats-home-recognition-strip a,
  .ats-home-recognition-strip a:first-child,
  .ats-home-recognition-strip a:last-child {
    min-height: 72px;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(47, 125, 50, 0.18);
  }

  .ats-home-recognition-strip a:last-child {
    border-bottom: 0;
  }

  .ats-home-recognition__metrics,
  .ats-home-recognition__metrics--secondary {
    grid-template-columns: 1fr;
  }

  .ats-home-recognition__metrics article {
    border-right: 0;
    border-bottom: 1px solid rgba(47, 125, 50, 0.18);
  }

  .ats-home-recognition__metrics article:last-child {
    border-bottom: 0;
  }

  .ats-home-recognition__community {
    text-align: left;
  }

  .ats-home-testimonial {
    grid-template-columns: 1fr;
  }

  .ats-home-testimonial picture,
  .ats-home-testimonial img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .ats-home-footer-trust > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .ats-home-faq {
    padding: 62px 20px 74px;
  }

  .ats-home-faq__header {
    margin-bottom: 34px;
    text-align: left;
  }

  .ats-home-faq__header h2 {
    font-size: clamp(2.3rem, 10.5vw, 3.15rem);
    line-height: 1;
  }

  .ats-home-faq__header > p:last-child {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.6;
  }

  .ats-home-faq__list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ats-home-faq__column:first-child {
    border-bottom: 0;
  }

  .ats-home-faq summary {
    min-height: 78px;
    padding: 18px 4px;
    grid-template-columns: 30px minmax(0, 1fr) 24px;
    gap: 10px;
    font-size: 1.02rem;
  }

  .ats-home-faq__answer {
    padding: 0 38px 26px;
  }

  .ats-home-faq__answer p {
    font-size: 0.97rem;
    line-height: 1.68;
  }

  .ats-process__steps li,
  .ats-process__steps li:nth-child(3n),
  .ats-process__steps li:nth-child(-n + 3) {
    border-right: 0;
    border-bottom: 1px solid rgba(47, 125, 50, 0.18);
  }

  .ats-process__steps li:last-child {
    border-bottom: 0;
  }

  .ats-emergency {
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }

  .ats-emergency__actions {
    min-width: 0;
  }

  #contact .ats-contact-preference__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #contact .ats-contact-preference__options span {
    width: 100%;
  }

  body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  .ats-mobile-actions {
    position: fixed;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    z-index: 99998;
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    background: rgba(22, 63, 25, 0.9);
    box-shadow: 0 14px 34px rgba(12, 46, 14, 0.24);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .ats-mobile-actions.is-hidden {
    visibility: hidden;
    opacity: 0;
    transform: translateY(calc(100% + 24px));
    pointer-events: none;
  }

  .ats-mobile-actions a {
    display: inline-flex;
    min-height: 48px;
    padding: 10px 14px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
  }

  .ats-mobile-actions__estimate {
    background: #fff;
    color: var(--ats-green-dark) !important;
  }
}

/* Keep text readable over photographs and the legacy green section palette. */
#top .section-background-overlay {
  background-color: rgba(8, 35, 12, 0.68) !important;
  opacity: 1 !important;
}

#contact .section-background,
#footer-sections .section-background {
  background-color: var(--ats-green-dark) !important;
}

/* The exported divider stroke crossed the contact text at narrow widths. */
#contact .section-divider-display {
  display: none;
}

#contact .section-border {
  clip-path: none !important;
}

.ats-mobile-cta,
#contact .form-submit-button,
#contact .ats-field-help,
#contact .ats-form-footer-note {
  color: var(--ats-green-dark) !important;
}

.ats-mobile-cta:hover,
.ats-mobile-cta:focus-visible,
#about .list-item-content__button,
#about .list-section-button,
#contact .ats-segmented-option input:checked + span,
#contact .ats-contact-preference__options input:checked + span {
  background: var(--ats-green-dark) !important;
  border-color: var(--ats-green-dark) !important;
  color: #fff !important;
}

#footer-sections a {
  color: #fff !important;
}

/* Static footer content stays visible without the exported animation/grid. */
#footer-sections .ats-home-footer {
  padding: 48px 24px;
  background: var(--ats-green-dark);
  color: #fff;
  font: 400 16px/1.6 "Poppins", sans-serif;
}

.ats-home-footer__inner,
.ats-home-footer-links {
  width: min(1200px, 100%);
  margin-inline: auto;
}

.ats-home-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 220px;
  gap: 48px;
  align-items: start;
}

#footer-sections h2 {
  margin: 0 0 12px;
  color: inherit;
  font: 700 18px/1.4 "Poppins", sans-serif;
  letter-spacing: normal;
}

#footer-sections p,
#footer-sections ul {
  margin: 0;
}

#footer-sections ul {
  padding: 0;
  list-style: none;
}

#footer-sections .ats-home-footer__contact ul {
  margin-top: 12px;
}

#footer-sections a,
#footer-sections .ats-privacy-settings {
  box-sizing: border-box;
  min-height: 44px;
  padding-block: 8px;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

#footer-sections a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-decoration: underline;
}

#footer-sections a:hover,
#footer-sections .ats-privacy-settings:hover {
  text-decoration-thickness: 2px;
}

#footer-sections a:focus-visible,
#footer-sections .ats-privacy-settings:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
  border-radius: 2px;
}

#footer-sections .mn-widget-member-logo {
  width: 160px;
  max-width: 100%;
  height: auto;
}

#footer-sections .ats-home-footer-links {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 14px;
}

.ats-home-footer-links .ats-privacy-settings {
  margin-left: 16px;
}

@media (max-width: 959px) {
  .ats-home-footer__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
  }

  .ats-home-footer__chamber {
    grid-column: 1 / -1;
    justify-self: center;
    width: 220px;
  }
}

@media (max-width: 599px) {
  #footer-sections .ats-home-footer {
    padding: 36px 24px;
  }

  .ats-home-footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .ats-home-footer__chamber {
    justify-self: start;
  }

  #footer-sections #mni-membership-638313265276444260 {
    text-align: start;
  }
}

#contact .form-submit-button:focus-visible,
#contact .ats-contact-form input:focus-visible,
#contact .ats-contact-form select:focus-visible,
#contact .ats-contact-form textarea:focus-visible,
#contact .ats-segmented-option input:focus-visible + span,
#contact .ats-contact-preference__options input:focus-visible + span {
  outline: 3px solid var(--ats-green-deep);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #fff;
}

/* Let enlarged text set the height without forcing grid tracks wider. */
.ats-home-guidance__inner > *,
.ats-home-project > *,
.ats-home-recognition > *,
.ats-home-recognition__heading > *,
.ats-home-recognition__metrics > *,
.ats-home-coverage__inner > *,
.ats-home-footer__inner > * {
  min-width: 0;
}

#contact .fe-block-577c25637a863c64b65c .sqs-html-content {
  grid-template-columns: minmax(0, 1fr);
}

#contact .fe-block-577c25637a863c64b65c h3,
#contact .fe-block-577c25637a863c64b65c h3 a {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

#top .ats-mobile-hero-content,
#about,
.ats-home-guidance,
.ats-home-faq,
.ats-home-coverage,
#contact,
.ats-home-footer-trust {
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  /* Keep enlarged branding and Menu in separate tracks, in document flow. */
  body.homepage {
    padding-top: 0 !important;
  }

  body.homepage .ats-mobile-header {
    position: sticky !important;
    top: 0;
    height: auto !important;
    min-height: calc(56px + env(safe-area-inset-top, 0px));
    box-sizing: border-box;
    padding: calc(6px + env(safe-area-inset-top, 0px)) 12px 6px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 12px;
    align-items: center;
  }

  .ats-mobile-header__brand {
    min-width: 0;
  }

  body.homepage .ats-mobile-header img {
    flex: 0 0 28px;
    width: 28px;
  }

  body.homepage .ats-mobile-header span {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.3;
  }

  body.homepage .ats-home-mobile-menu {
    position: static;
    top: auto;
    right: auto;
  }
}

@media (max-width: 800px) {
  /* Use the quieter incumbent surface and real photos instead of a tall band. */
  #about .section-background {
    background: var(--ats-green-soft);
  }

  #about .content-wrapper {
    padding: 0 20px !important;
  }

  #about .user-items-list {
    padding-block: 28px 36px !important;
  }

  #about .list-section-title {
    padding-bottom: 24px !important;
  }

  #about .list-section-title p {
    margin: 0;
    color: var(--ats-green-deep);
    font-size: 18px;
    line-height: 1.5;
    text-align: left;
  }

  #about .list-section-title p + p {
    margin-top: 8px;
    font-size: 16px;
  }

  #about .user-items-list-item-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px !important;
    padding: 0;
  }

  #about .list-item {
    display: grid;
    grid-template-columns: clamp(80px, 25vw, 112px) minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    padding: 24px 0 0 !important;
    border-top: 1px solid var(--ats-green-border);
    background: transparent !important;
    min-width: 0;
  }

  #about .list-item-media {
    width: 100% !important;
    margin: 0 !important;
  }

  #about .list-item-media-inner {
    width: 100% !important;
    height: auto !important;
    padding-bottom: 0 !important;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
  }

  #about .list-image {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #about .list-item-content,
  #about .list-item-content__text-wrapper {
    min-width: 0;
    text-align: left;
  }

  /* Flatten only the generic tree-content wrapper so its links can use the
     full row. The two existing Explore buttons keep matching column widths. */
  #about .ats-home-tree-card .list-item-content {
    display: contents;
  }

  #about .ats-home-tree-card .list-item-content__text-wrapper,
  #about .ats-home-tree-card .list-item-content__button-wrapper {
    grid-column: 2;
  }

  #about .ats-home-tree-links {
    grid-column: 1 / -1;
    margin: 0;
  }

  #about .ats-home-tree-links a {
    color: var(--ats-green-deep);
  }

  #about .ats-home-tree-links a:hover {
    color: var(--ats-green);
  }

  #about .ats-home-tree-links a:focus-visible {
    outline-color: var(--ats-green-deep);
  }

  #about .user-items-list-item-container .list-item-content__title {
    margin: 0;
    color: var(--ats-green-deep);
    font-size: 24px !important;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
  }

  #about .list-item-content__description {
    margin-top: 10px !important;
    text-align: left;
  }

  #about .list-item-content__description p {
    margin: 0;
    color: #3f6542;
    font-size: 16px;
    line-height: 1.5;
  }

  #about .list-item-content__button-wrapper {
    margin-top: 16px !important;
  }

  #about .list-item-content__button-container {
    margin-top: 0 !important;
  }

  #about .user-items-list-item-container .ats-service-explore {
    width: 100%;
    padding-inline: 12px;
  }

  #about .ats-service-explore:focus-visible {
    outline-color: var(--ats-green-deep);
  }

  /* Both service rows already carry direct Explore links. */
  #about .list-section-button-container,
  #about > .section-divider-display {
    display: none;
  }

  #contact .ats-form-intro {
    margin: 0 12px 16px;
    text-align: left;
  }

  #contact .ats-form-lede,
  #contact .ats-form-urgent {
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
  }

  #contact .ats-form-trust {
    display: none;
  }

  #contact .ats-form-discount-details {
    margin-top: 4px;
  }
}

/* The contact block and urgent phone action share the mobile tap-area floor. */
@media (max-width: 960px) {
  #contact .fe-block-577c25637a863c64b65c :is(a[href^="tel:"], a[href^="mailto:"]),
  #contact .ats-form-urgent a {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    padding-block: 8px;
    overflow-wrap: anywhere;
  }
}
