/* Light production-inspired details live in existing section gutters.
   They never change the page width or cover copy, media or controls. */
.service-intro,
.crew-section,
.inquiry-section {
  position: relative;
}

.service-intro::before,
.crew-section::before,
.inquiry-section::before {
  content: "";
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.service-intro::before,
.inquiry-section::before {
  height: 40px;
  background: url('./assets/section-wave-lines.svg') center / 100% 100% no-repeat;
  opacity: .44;
}

.service-intro::before {
  top: 10px;
  right: 0;
  width: min(650px, 52%);
}

.crew-section::before {
  top: 18px;
  right: 5%;
  width: 214px;
  height: 30px;
  background: url('./assets/mark-outline.svg') 0 50% / 58px 30px repeat-x;
  opacity: .3;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}

.inquiry-section::before {
  top: 16px;
  left: 0;
  width: min(760px, 58%);
  transform: scaleX(-1);
  opacity: .33;
}

/* A compact question index: three paired rows on desktop, one column on
   phones. Answers remain native details, with comfortable touch targets. */
.faq-section.section {
  padding-block: 40px;
}

.faq-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.faq-layout h2 {
  max-width: none;
  font-size: clamp(28px, 2.5vw, 32px);
  line-height: 1.16;
  letter-spacing: -.035em;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  align-items: start;
}

.faq-list details,
.faq-list details:first-child {
  min-width: 0;
  padding: 0;
  border-bottom: 1px solid var(--rule);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
  padding: 12px 0;
  font-size: 17px;
  line-height: 1.4;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  flex: 0 0 18px;
  color: var(--accent-strong);
  font: 22px/1 Arial, Helvetica, sans-serif;
  text-align: center;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 32px 18px 0;
  font-size: 14px;
  line-height: 1.65;
  max-width: 68ch;
}

@media (max-width: 767px) {
  .service-intro::before {
    top: 6px;
    width: 64%;
    height: 27px;
  }

  .crew-section::before {
    top: 9px;
    right: 6%;
    width: 164px;
    height: 24px;
    background-size: 46px 24px;
    opacity: .27;
  }

  .inquiry-section::before {
    top: 9px;
    width: 76%;
    height: 30px;
  }

  .faq-section.section { padding-block: 24px; }
  .faq-layout { gap: 12px; }
  .faq-list { grid-template-columns: minmax(0, 1fr); }
  .faq-list summary { min-height: 46px; padding-block: 10px; font-size: 16px; }
  .faq-list p { padding-right: 20px; }
}

@media print {
  .service-intro::before,
  .crew-section::before,
  .inquiry-section::before { display: none; }
  .faq-section.section { padding-block: 24px; }
  .faq-list details { break-inside: avoid; }
}
