[data-faq-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-faq-reveal].faq-visible {
  opacity: 1;
  transform: translateY(0);
}


@keyframes faqFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes faqSlideLeft {
  from { opacity: 0; transform: translateX(-80px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes faqLineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes faqBgZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

@keyframes faqFloat {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(var(--tx, 40px), var(--ty, -40px)); }
}

.faq-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.faq-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.faq-hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: faqBgZoom 12s ease-out forwards;
}

.faq-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(37, 44, 55, 0.5)  0%,
      rgba(37, 44, 55, 0.8) 60%,
      rgba(37, 44, 55, 0.95) 100%
    );
}

.faq-hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 55% 45% at 50% 65%,
    rgba(193, 203, 184, 0.08) 0%,
    transparent 65%
  );
}

.faq-hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.faq-hero__particle {
  position: absolute;
  border-radius: 50%;
  background: var(--sage);
  animation: faqFloat var(--dur, 10s) var(--del, 0s) ease-in-out infinite alternate;
  pointer-events: none;
}

.faq-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: clamp(7rem, 14vw, 11rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.faq-hero__label {
  display: inline-block;
  font-family: 'Thirsty Rough', Georgia, serif;
  font-size: clamp(1.25rem, 1vw + 0.85rem, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--sage);
  margin-bottom: 1.25rem;
  animation: faqFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.faq-hero__headline {
  font-family: 'Geared Slab', 'Roboto Slab', Georgia, serif;
  font-size: clamp(2.5rem, 5vw + 0.75rem, 4.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1rem;
  animation: faqSlideLeft 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.faq-hero__headline em {
  font-family: 'Thirsty Rough', Georgia, serif;
  font-style: normal;
  font-weight: 700;
  color: var(--sage);
}

.faq-hero__subtitle {
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.95rem, 1.1vw + 0.4rem, 1.15rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  max-width: 480px;
  margin-inline: auto;
  animation: faqFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.faq-hero__line {
  width: 48px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  margin: 1.75rem auto 0;
  transform-origin: center;
  animation: faqLineGrow 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
  opacity: 0.6;
}


.faq-main {
  background: var(--white);
  padding-block: clamp(5rem, 9vw, 8rem);
}

.faq-main > .container {
  max-width: 740px;
}

.faq-main__header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.faq-main__headline {
  font-family: 'Geared Slab', 'Roboto Slab', Georgia, serif;
  font-size: clamp(2.25rem, 3.5vw + 0.5rem, 3.5rem);
  font-weight: 800;
  color: var(--shark);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.faq-main__sub {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: var(--shark-60);
  text-align: center;
}

.faq-main__list {
  border-top: 1px solid var(--shark-15);
}

.faq-item {
  border-bottom: 1px solid var(--shark-15);
  transition: background 0.3s;
}

.faq-item--open {
  background: var(--white, #fff);
  border-radius: 8px;
  margin-inline: -1rem;
  padding-inline: 1rem;
  border-bottom-color: transparent;
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-item__trigger span {
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--shark);
  transition: color 0.25s;
  line-height: 1.4;
}

@media (hover: hover) { .faq-item__trigger:hover span {
  color: var(--sage);
} }

.faq-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--shark-60);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s;
}

.faq-item--open .faq-item__icon {
  transform: rotate(45deg);
  color: var(--sage);
}

.faq-item--open .faq-item__trigger span {
  color: var(--sage);
}

.faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.faq-item--open .faq-item__body {
  grid-template-rows: 1fr;
}

.faq-item__body > p {
  min-height: 0;
  overflow: hidden;
  padding-bottom: 0;
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  color: var(--shark-60);
  line-height: 1.8;
  transition: padding-bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
  opacity: 0;
}

.faq-item--open .faq-item__body > p {
  padding-bottom: 1.25rem;
  opacity: 1;
}


.faq-cta-section {
  background: var(--white);
  padding-bottom: clamp(5rem, 9vw, 8rem);
  padding-top: 0;
}

.faq-cta-section > .container {
  max-width: 740px;
}

.faq-cta-box {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--off-white);
  border-radius: 16px;
  border: 1px solid var(--shark-08);
  transition: box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) { .faq-cta-box:hover {
  box-shadow: 0 12px 40px rgba(37, 44, 55, 0.06);
} }

.faq-cta-box__headline {
  font-family: 'Geared Slab', 'Roboto Slab', Georgia, serif;
  font-size: clamp(1.4rem, 2vw + 0.4rem, 1.85rem);
  font-weight: 800;
  color: var(--shark);
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.faq-cta-box__text {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: var(--shark-60);
  margin-bottom: 1.5rem;
}

.faq-cta-box__actions .btn--primary {
  background: var(--shark);
  color: var(--white);
  border: 2px solid var(--shark);
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.7rem 1.75rem;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) { .faq-cta-box__actions .btn--primary:hover {
  background: var(--cobalt);
  border-color: var(--cobalt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(41, 51, 186, 0.25);
} }


@media (max-width: 768px) {
  .faq-hero { min-height: 42vh; }
  .faq-hero__headline { font-size: clamp(1.8rem, 8vw, 2.75rem); }

  .faq-main > .container,
  .faq-cta-section > .container {
    max-width: 100%;
  }

  .faq-item--open {
    margin-inline: -0.5rem;
    padding-inline: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-faq-reveal] {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .faq-hero__label,
  .faq-hero__headline,
  .faq-hero__subtitle,
  .faq-hero__line {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .faq-hero__bg-image { animation: none; }
  .faq-hero__particle { animation: none; }
  .faq-item__icon { transition: none; }
  .faq-item__body { transition: none; }
  .faq-item__body > p { transition: none; }
}