﻿/* Block: faq-section */
/* ── FAQ ── */

.faq-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #fff;
}

.faq-section__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.faq-section__title {
  margin: 0 0 0.75rem;
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}

.faq-section__lead {
  max-width: 620px;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.faq-section__lead a {
  color: var(--color-teal-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-section__lead a:hover {
  color: var(--color-navy);
}

.faq-section__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.25rem);
  max-width: 1080px;
  margin: 0 auto;
}

.faq-item {
  --faq-accent: var(--color-mint);
  border-radius: 2px;
  background: #fafbfc;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    background 0.35s ease,
    box-shadow 0.25s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 46, 74, 0.06);
}

.faq-item[open] {
  background: var(--faq-accent);
  box-shadow: 0 10px 24px rgba(26, 46, 74, 0.08);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s ease;
}

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

.faq-item__question-text {
  flex: 1;
  min-width: 0;
}

.faq-item__arrow {
  flex-shrink: 0;
  display: block;
  width: 20px;
  height: 20px;
  opacity: 0.55;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s ease;
}

.faq-item[open] .faq-item__arrow {
  transform: rotate(180deg);
  opacity: 0.9;
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 1.25rem;
  transition:
    grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] .faq-item__answer {
  grid-template-rows: 1fr;
  padding: 0 1.25rem 1.1rem;
}

.faq-item__answer-inner {
  overflow: hidden;
}

.faq-item__answer-inner p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.35s ease 0.05s,
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.05s;
}

.faq-item[open] .faq-item__answer-inner p {
  opacity: 1;
  transform: translateY(0);
}

.faq-item--mint {
  --faq-accent: var(--color-mint);
}

.faq-item--pink {
  --faq-accent: var(--color-pink);
}

.faq-item--yellow {
  --faq-accent: var(--color-yellow);
}

.faq-item--blue {
  --faq-accent: var(--color-blue);
}

.faq-item--teal {
  --faq-accent: var(--color-teal);
}

.faq-item--coral {
  --faq-accent: var(--color-coral);
}

/* ── Newsletter ── */