/* --- FAQ Section --- */
.faq-section {
  position: relative;
  width: 100%;
  height: auto;
  overflow: visible;
  background: #f5f5f6;
  margin-top: -1px;
  padding: clamp(76px, 8vw, 112px) 0 clamp(88px, 9vw, 128px);
}

.faq-stage {
  position: relative;
  width: min(calc(100% - var(--content-gutter-desktop)), var(--content-wide));
  height: auto;
  margin: 0 auto;
  background: transparent;
}

.faq-eyebrow {
  position: absolute;
  left: 78px;
  top: 100px;
  margin: 0;
  color: var(--lime);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.faq-title {
  position: static;
  width: min(100%, 1180px);
  margin: 0 auto;
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(44px, 4.1vw, 64px);
  font-weight: var(--section-title-weight);
  letter-spacing: var(--section-title-spacing);
  line-height: var(--section-title-line);
  text-align: center;
}

.faq-title span {
  color: var(--lime);
}

.faq-container {
  position: static;
  width: min(100%, 1280px);
  margin: 42px auto 0;
  display: block;
}

.faq-list {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* FAQ rows — start invisible for stagger animation; JS adds .faq-row--visible */
.faq-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 480ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 480ms cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-row.faq-row--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Vertical timeline line segments between circles */
.faq-row:not(:last-child)::after {
  display: none !important;
}

/* Active green line below the active node */
.faq-row:has(.faq-timeline-node.is-active):not(:last-child)::after {
  display: none !important;
}

.faq-row:last-of-type::after {
  display: none !important;
}

.faq-timeline-node {
  display: none !important;
}

.faq-timeline-node.is-active {
  border-color: var(--lime);
  color: var(--lime);
  background: rgb(var(--lime-rgb) / 0.05);
  box-shadow: 0 0 0 4px rgb(var(--lime-rgb) / 0.08);
}

.faq-item {
  flex: 1;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: none;
  border: 0;
  overflow: hidden;
  transition: 
    border-color 300ms var(--ease-out),
    transform 160ms var(--ease-out);
}

.faq-item:active {
  transform: scale(0.99);
}

.faq-item.is-open {
  box-shadow: none;
}

.faq-trigger {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 20px 12px 32px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 150ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .faq-trigger:hover {
    background-color: #fafafa;
  }

  .faq-trigger:hover .faq-chevron-icon {
    background-color: #ededed;
  }
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: -3px;
}

.faq-question {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.faq-chevron-icon {
  position: relative;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  border-radius: 50%;
  background-color: #f7f7f7;
  transition:
    color 180ms var(--ease-out),
    background-color 180ms var(--ease-out);
}

.faq-chevron-icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.faq-plus-vertical {
  transform-origin: center;
  transition:
    opacity 160ms var(--ease-out),
    transform 220ms var(--ease-out);
}

.faq-item.is-open .faq-chevron-icon {
  color: var(--ink);
  background-color: #f1f1f1;
}

.faq-item.is-open .faq-plus-vertical {
  opacity: 0;
  transform: scaleY(0.25);
}

.faq-item.is-open .faq-trigger {
  background-color: #ffffff;
}

.faq-content-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms var(--ease-out);
}

.faq-item.is-open .faq-content-wrap {
  grid-template-rows: 1fr;
}

.faq-content {
  overflow: hidden;
  /* Fade the answer text when the accordion opens */
  opacity: 0;
  transition: opacity 300ms cubic-bezier(0.23, 1, 0.32, 1) 80ms;
}

.faq-item.is-open .faq-content {
  opacity: 1;
}

.faq-content p {
  margin: 0;
  padding: 18px 32px 28px;
  font-size: 17px;
  line-height: 1.62;
  color: #3a3a3a;
}

.faq-mobile-contact-card {
  display: none;
}

/*
 * The rental page uses a 0.75 body zoom on desktop. Compensate inside FAQ so
 * its controls have the same real on-screen size as the unscaled service FAQ.
 */
@media (min-width: 769px) {
  body:not(.service-page-body) .faq-section {
    padding: clamp(101px, 10.67vw, 149px) 0 clamp(117px, 12vw, 171px);
  }

  body:not(.service-page-body) .faq-stage {
    width: calc(1845px * var(--scene-scale));
  }

  body:not(.service-page-body) .faq-title {
    font-size: clamp(59px, 5.47vw, 85px);
  }

  body:not(.service-page-body) .faq-container {
    width: 100%;
    margin-top: 56px;
  }

  body:not(.service-page-body) .faq-trigger {
    min-height: 96px;
    padding: 16px 27px 16px 43px;
  }

  body:not(.service-page-body) .faq-question {
    font-size: 28px;
  }

  body:not(.service-page-body) .faq-chevron-icon {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  body:not(.service-page-body) .faq-content p {
    padding: 24px 43px 37px;
    font-size: 23px;
  }
}
