/* H2 Pure Life — FAQ page styles
 * Hero · Categorised accordions · CTA band
 */

/* ---------- Hero ---------- */
.faq-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: clamp(72px, 10vw, 120px);
  padding-bottom: clamp(64px, 9vw, 110px);
  background: var(--dark);
}
.faq-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(0, 230, 204, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 90% 50% at 50% 0%, rgba(0, 230, 204, 0.05) 0%, transparent 70%);
}
.faq-hero__inner {
  position: relative;
  z-index: 1;
}
.faq-hero__eyebrow {
  color: var(--teal);
  margin-bottom: 16px;
}
.faq-hero__h1 {
  color: #f0f4f4;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 0 0 18px;
}
.faq-hero__sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto;
}
.faq-hero__rule {
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  margin: 36px auto 22px;
}
.faq-hero__support {
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.faq-hero__support svg {
  flex-shrink: 0;
  color: var(--teal);
}

/* ---------- FAQ body ---------- */
.faq-body {
  background: #f7f8f7;
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(72px, 10vw, 120px);
}
.faq-body__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Category */
.faq-cat {
  margin-top: 56px;
}
.faq-cat:first-of-type {
  margin-top: 0;
}
.faq-cat__label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-readable);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #D0D8D8;
}

/* FAQ accordion item */
.faq-item {
  border-bottom: 1px solid #D0D8D8;
  background: var(--white);
  border-left: 2px solid transparent;
  transition: border-left-color var(--tx) var(--ease), background-color var(--tx) var(--ease);
  animation: faqFadeUp 0.45s var(--ease) both;
}
.faq-item:nth-of-type(1) { animation-delay: 0.00s; }
.faq-item:nth-of-type(2) { animation-delay: 0.05s; }
.faq-item:nth-of-type(3) { animation-delay: 0.10s; }
.faq-item:nth-of-type(4) { animation-delay: 0.15s; }
.faq-item:nth-of-type(5) { animation-delay: 0.20s; }
.faq-item:nth-of-type(6) { animation-delay: 0.25s; }
.faq-item:nth-of-type(7),
.faq-item:nth-of-type(8),
.faq-item:nth-of-type(9),
.faq-item:nth-of-type(10),
.faq-item:nth-of-type(11) { animation-delay: 0.30s; }

.faq-item[open] {
  border-left-color: var(--teal);
  background: #FFFFFF;
}

@keyframes faqFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item { animation: none; }
}

/* Question (summary) */
.faq-item__q {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 22px 24px;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  color: #0A1F1F;
  cursor: pointer;
  transition: color var(--tx) var(--ease);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { color: var(--teal-deep); }
.faq-item__q:focus-visible {
  outline: 2px solid var(--teal-deep);
  outline-offset: -2px;
}

/* Chevron icon — pseudo-element on the icon span */
.faq-item__icon {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #D0D8D8;
  background: var(--white);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: #5a7070;
  top: 50%;
  left: 50%;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
/* Horizontal bar */
.faq-item__icon::before {
  width: 10px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}
/* Vertical bar — collapses on open */
.faq-item__icon::after {
  width: 1.5px;
  height: 10px;
  transform: translate(-50%, -50%) scaleY(1);
}
.faq-item[open] .faq-item__icon {
  border-color: var(--teal);
  background: rgba(0, 230, 204, 0.08);
}
.faq-item[open] .faq-item__icon::before { background: var(--teal-readable); }
.faq-item[open] .faq-item__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  background: var(--teal-readable);
}

/* Answer */
.faq-item__a {
  padding: 0 42px 26px 24px;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.7;
  color: #2c3e3e;
}
.faq-item__a p {
  margin: 0 0 0.9em;
}
.faq-item__a p:last-child { margin-bottom: 0; }

/* Quiet trust note (Safety question) */
.faq-item__divider {
  width: 60px;
  height: 1px;
  background: #D0D8D8;
  margin: 18px 0 14px;
}
.faq-item__note {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  color: #5a7070;
}
.faq-item__note em { color: #5a7070; font-style: italic; }

/* ---------- CTA band ---------- */
.faq-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
  background: var(--dark);
}
.faq-cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0, 230, 204, 0.12) 0%, transparent 70%);
}
.faq-cta__inner {
  position: relative;
  z-index: 1;
}
.faq-cta__h2 {
  color: #f0f4f4;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 14px;
}
.faq-cta__h2 em { color: var(--teal); font-style: italic; }
.faq-cta__sub {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto 48px;
}
.faq-cta__buttons {
  display: flex;
  justify-content: center;
  margin: 0;
}
@media (max-width: 768px) {
  .faq-cta__buttons .btn { padding: 16px 28px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .faq-item__q {
    padding: 20px 18px 20px 18px;
    font-size: 16px;
  }
  .faq-item__a {
    padding: 0 18px 22px 18px;
    font-size: 15.5px;
  }
  .faq-item__icon { width: 26px; height: 26px; }
  .faq-cat { margin-top: 44px; }
}

@media (max-width: 480px) {
  .faq-hero__support {
    font-size: 0.8rem;
    align-items: flex-start;
    text-align: left;
  }
}
