/* ViriHub FAQ surface: semantic, compact and consistent with the live dark theme. */
.vh-faq {
  min-height: 100vh;
  padding: clamp(7rem, 11vw, 10rem) 1rem clamp(4rem, 8vw, 7rem);
  color: #f4f7f8;
  background:
    radial-gradient(circle at 82% 4%, rgba(0, 198, 168, 0.12), transparent 28rem),
    #0b0c0f;
}

.vh-faq__shell {
  width: min(100%, 72rem);
  margin: 0 auto;
}

.vh-faq__breadcrumb {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: clamp(2.25rem, 5vw, 4.5rem);
  color: #8e9aa3;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vh-faq__breadcrumb a {
  color: #b7c1c8;
  text-decoration: none;
}

.vh-faq__breadcrumb a:hover,
.vh-faq__breadcrumb a:focus-visible {
  color: #00c6a8;
}

.vh-faq__hero {
  max-width: 54rem;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.vh-faq__eyebrow {
  margin: 0 0 1.25rem;
  color: #00c6a8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.vh-faq__hero h1 {
  max-width: 48rem;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.vh-faq__intro {
  max-width: 46rem;
  margin: 1.75rem 0 0;
  color: #aeb8bf;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.75;
}

.vh-faq__groups {
  display: grid;
  gap: clamp(4rem, 8vw, 6.5rem);
}

.vh-faq__group {
  display: grid;
  grid-template-columns: minmax(12rem, 0.38fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}

.vh-faq__group > h2 {
  position: sticky;
  top: 7rem;
  margin: 0;
  color: #dfe5e8;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.35;
}

.vh-faq__list {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.vh-faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.vh-faq__item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.5rem;
  gap: 1.5rem;
  align-items: center;
  padding: 1.65rem 0;
  color: #f4f7f8;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 500;
  line-height: 1.55;
  cursor: pointer;
  list-style: none;
}

.vh-faq__item summary::-webkit-details-marker {
  display: none;
}

.vh-faq__item summary:hover,
.vh-faq__item summary:focus-visible {
  color: #00c6a8;
}

.vh-faq__item summary:focus-visible {
  outline: 2px solid #00c6a8;
  outline-offset: 0.45rem;
}

.vh-faq__icon {
  position: relative;
  width: 1.15rem;
  height: 1.15rem;
}

.vh-faq__icon::before,
.vh-faq__icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.vh-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.vh-faq__item[open] .vh-faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.vh-faq__answer {
  max-width: 49rem;
  padding: 0 3rem 1.75rem 0;
}

.vh-faq__answer p {
  margin: 0;
  color: #aeb8bf;
  font-size: 1rem;
  line-height: 1.82;
}

.vh-faq__cta {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(5rem, 10vw, 9rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid rgba(0, 198, 168, 0.3);
  background: linear-gradient(135deg, rgba(0, 198, 168, 0.1), rgba(255, 255, 255, 0.025));
}

.vh-faq__cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 500;
}

.vh-faq__cta p {
  max-width: 42rem;
  margin: 0.75rem 0 0;
  color: #aeb8bf;
  line-height: 1.7;
}

.vh-faq__cta > a {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.75rem;
  align-items: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.25rem;
  color: #07120f;
  font-weight: 700;
  text-decoration: none;
  background: #00c6a8;
}

.vh-faq__cta > a:hover,
.vh-faq__cta > a:focus-visible {
  background: #61e5d0;
}

.vh-faq__cta > a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .vh-faq {
    padding-top: 6.5rem;
  }

  .vh-faq__group {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .vh-faq__group > h2 {
    position: static;
  }

  .vh-faq__item summary {
    gap: 1rem;
    padding: 1.4rem 0;
  }

  .vh-faq__answer {
    padding-right: 0;
  }

  .vh-faq__cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vh-faq__icon::before,
  .vh-faq__icon::after {
    transition: none;
  }
}
