/* =========================================================
   SERVICE DETAIL PAGE — FAQ SECTION
   Built on native <details>/<summary>, so every question is
   keyboard accessible and the list still opens with no
   JavaScript. The icon is a CSS-drawn plus that rotates into
   a minus, avoiding an extra asset.
   ========================================================= */

.sd-faq {
  background: #ffffff;
  padding: clamp(44px, 5.5vw, 84px) 0;
}

/* ---------- Head ---------- */

.sd-faq-head {
  max-width: 660px;
  margin: 0 0 clamp(24px, 3vw, 40px);

  padding-bottom: clamp(16px, 2vw, 24px);

  border-bottom: 1px solid #d6dbe9;
}

.sd-faq-head .sd-section-title {
  margin: 0 0 14px;
  max-width: 15ch;
}

.sd-faq-note {
  margin: 0;
  max-width: 42ch;

  font-family: "Inter", sans-serif;
  font-size: 15.5px;
  line-height: 1.65;

  color: #5a5a64;
}

/* ---------- List ---------- */

.sd-faq-list {
  border-top: 1px solid #d6dbe9;
}

.sd-faq-item {
  border-bottom: 1px solid #d6dbe9;
}

.sd-faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;

  padding: clamp(20px, 2.4vw, 30px) 0;

  font-family: "Geist", "Inter", sans-serif;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;

  color: #17173a;
  text-wrap: balance;

  cursor: pointer;
  list-style: none;

  transition: color 0.2s ease;
}

.sd-faq-q::-webkit-details-marker {
  display: none;
}

/* Keeps the native disclosure triangle away in Firefox too. */
.sd-faq-item summary {
  list-style: none;
}

.sd-faq-q:hover {
  color: #4a6cf7;
}

.sd-faq-q:focus-visible {
  outline: 2px solid #4a6cf7;
  outline-offset: 4px;
  border-radius: 3px;
}

/* ---------- Plus / minus icon ---------- */

.sd-faq-icon {
  position: relative;

  flex: 0 0 auto;

  width: 16px;
  height: 16px;
  margin-top: 5px;

  color: #17173a;
}

.sd-faq-icon::before,
.sd-faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  background: currentColor;

  transform: translate(-50%, -50%);
}

.sd-faq-icon::before {
  width: 100%;
  height: 1.5px;
}

.sd-faq-icon::after {
  width: 1.5px;
  height: 100%;

  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Open state: the vertical arm collapses, leaving a minus. */
.sd-faq-item[open] .sd-faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.sd-faq-item[open] .sd-faq-q {
  color: #4a6cf7;
}

/* ---------- Answer ---------- */

.sd-faq-a {
  padding: 0 60px clamp(24px, 3vw, 36px) 0;
}

.sd-faq-a p {
  margin: 0;
  max-width: 68ch;

  font-family: "Inter", sans-serif;
  font-size: 16.5px;
  line-height: 1.7;

  color: #4c4c58;
}

/* ---------- Responsive ---------- */

@media (max-width: 620px) {
  .sd-faq-q {
    gap: 18px;
  }

  .sd-faq-a {
    padding-right: 0;
  }

  .sd-faq-a p {
    font-size: 15.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sd-faq-q,
  .sd-faq-icon::after {
    transition: none;
  }
}
