/* Balanced full-width homepage disclosures with a centered mobile layout. */
.proof-preview-section,
.client-feedback-disclosure-section {
  padding-inline: clamp(22px, 3.2vw, 52px);
}

.proof-preview-section {
  padding-bottom: 22px;
}

.client-feedback-disclosure-section {
  padding-top: 10px;
}

.proofs-disclosure-heading,
.client-feedback-disclosure-heading {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

.section-disclosure-toggle {
  display: grid;
  width: 100%;
  min-height: 126px;
  grid-template-columns: minmax(310px, 0.95fr) minmax(300px, 1.05fr) 54px;
  gap: clamp(24px, 3vw, 46px);
  align-items: center;
  padding: 26px clamp(20px, 2.2vw, 34px);
  border: 0;
  border-radius: 24px;
  color: #16876a;
  background: transparent;
  box-shadow: none;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.section-disclosure-toggle:hover {
  background: rgba(31, 157, 119, 0.055);
  box-shadow: inset 0 0 0 1px rgba(22, 135, 106, 0.08);
  transform: translateY(-2px);
}

.section-disclosure-toggle:focus-visible {
  outline: 3px solid rgba(22, 135, 106, 0.25);
  outline-offset: 4px;
}

.section-disclosure-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 16px;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-heading-signal {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border-radius: 50%;
  background: #ef4f47;
  box-shadow: 0 0 0 0 rgba(239, 79, 71, 0.28);
  animation: sectionSignalRedToGreen 2.8s cubic-bezier(0.2, 0.74, 0.28, 1) infinite;
}

@keyframes sectionSignalRedToGreen {
  0% {
    transform: scale(0.68);
    background: #ef4f47;
    box-shadow: 0 0 0 0 rgba(239, 79, 71, 0.3);
  }
  58% {
    transform: scale(1.05);
    background: #ef4f47;
    box-shadow: 0 0 0 8px rgba(239, 79, 71, 0.08);
  }
  82% {
    transform: scale(1.28);
    background: #17a178;
    box-shadow: 0 0 0 12px rgba(23, 161, 120, 0.08);
  }
  100% {
    transform: scale(1.48);
    background: #17a178;
    box-shadow: 0 0 0 17px rgba(23, 161, 120, 0);
  }
}

.section-disclosure-summary {
  display: grid;
  min-width: 0;
  gap: 7px;
  color: #526c64;
}

.section-disclosure-summary strong {
  color: #184d3f;
  font-size: clamp(15px, 1.25vw, 19px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-disclosure-summary small {
  color: #667b75;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.section-disclosure-arrow {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  justify-self: end;
  border: 1px solid rgba(22, 135, 106, 0.28);
  border-radius: 50%;
  color: #16876a;
  font-family: Inter, system-ui, sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-2px) rotate(0deg);
  transition: transform 360ms ease, background-color 360ms ease;
}

.section-disclosure-toggle[aria-expanded="true"] .section-disclosure-arrow {
  transform: translateY(2px) rotate(180deg);
  background: rgba(22, 135, 106, 0.08);
}

.section-collapsible {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-14px);
  transition:
    max-height 620ms cubic-bezier(0.22, 0.78, 0.24, 1),
    opacity 300ms ease,
    transform 460ms cubic-bezier(0.22, 0.78, 0.24, 1);
}

.section-collapsible.is-open {
  max-height: 6000px;
  opacity: 1;
  transform: translateY(0);
}

.proofs-collapsible-heading,
.client-feedback-collapsible.is-open {
  margin-top: 30px;
}

.client-feedback-disclosure-section .client-feedback-section {
  margin: 0;
}

.client-feedback-collapsible:not(.is-open) .client-feedback-track {
  animation-play-state: paused;
}

@media (max-width: 760px) {
  .proof-preview-section,
  .client-feedback-disclosure-section {
    padding-inline: 16px;
  }

  .proof-preview-section {
    padding-bottom: 14px;
  }

  .client-feedback-disclosure-section {
    padding-top: 8px;
  }

  .section-disclosure-toggle {
    min-height: 0;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 13px;
    padding: 24px 16px 22px;
    border-radius: 22px;
    text-align: center;
  }

  .section-disclosure-title {
    justify-content: center;
    gap: 12px;
    max-width: 100%;
    font-size: clamp(23px, 6.5vw, 27px);
    line-height: 1;
    white-space: normal;
  }

  .section-disclosure-summary {
    justify-items: center;
    gap: 5px;
    max-width: 310px;
  }

  .section-disclosure-summary strong {
    font-size: 15px;
    line-height: 1.25;
  }

  .section-disclosure-summary small {
    font-size: 12px;
    line-height: 1.4;
  }

  .section-disclosure-arrow {
    width: 40px;
    height: 40px;
    justify-self: center;
    margin-top: 2px;
    font-size: 23px;
  }

  .proofs-collapsible-heading,
  .client-feedback-collapsible.is-open {
    margin-top: 22px;
  }

  .client-feedback-disclosure-section .client-feedback-section {
    border-radius: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-heading-signal {
    animation: none;
    transform: none;
    background: #ef4f47;
    box-shadow: 0 0 0 7px rgba(239, 79, 71, 0.1);
  }

  .section-collapsible,
  .section-disclosure-arrow,
  .section-disclosure-toggle {
    transition-duration: 1ms;
  }
}
