/* ==========================================================================
   Section: product-faq (Figma 15:480)
   Native <details> accordion. Roboto per design (available on PDP via
   single-product.css @font-face, weights 400–700).
   ========================================================================== */

.sec-faq {
    background: #fbf7f8;
    font-family: 'Roboto', var(--font-sans);
    color: var(--c-ink);
}

.faq__inner {
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 96px var(--pad-x);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}

/* Head */
.faq__head {
    max-width: 768px;
    text-align: center;
}

.faq__title {
    margin: 0;
    font-weight: 700;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.4;
}

.faq__subtitle {
    margin: 24px 0 0;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
}

/* Accordion list — top border per item + bottom border on the list gives
   a divider above each question and a line under the last answer. */
.faq__list {
    width: 100%;
    max-width: 768px;
    border-bottom: 1px solid var(--c-ink);
}

.faq__item {
    border-top: 1px solid var(--c-ink);
}

.faq__q {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
    cursor: pointer;
    list-style: none;
}

.faq__q::-webkit-details-marker {
    display: none;
}

.faq__q-text {
    flex: 1 1 0;
    min-width: 0;
    font-weight: 700;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.5;
}

.faq__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    transition: transform 0.25s ease;
}

.faq__icon svg {
    width: 24px;
    height: 24px;
}

.faq__item[open] .faq__icon {
    transform: rotate(180deg);
}

/* Answer */
.faq__a {
    padding-bottom: 24px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
}

.faq__item[open] .faq__a {
    animation: faq-open 0.25s ease;
}

.faq__a > :first-child { margin-top: 0; }
.faq__a > :last-child { margin-bottom: 0; }

.faq__a p {
    margin: 0 0 12px;
}

.faq__a ul,
.faq__a ol {
    margin: 0 0 12px;
    padding-left: 1.4em;
}

.faq__a a {
    color: var(--c-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq__a a:hover,
.faq__a a:focus-visible {
    text-decoration: none;
}

.faq__a strong {
    font-weight: 600;
}

@keyframes faq-open {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: none; }
}

/* Contact CTA */
.faq__contact {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.faq__contact-title {
    margin: 0;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
}

.faq__contact-sub {
    margin: 16px 0 0;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
}

.faq__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 1px solid var(--c-primary);
    border-radius: 100px;
    background: transparent;
    color: var(--c-primary);
    font-size: 16px;
    line-height: 1.5;
    transition: background 0.15s ease, color 0.15s ease;
}

.faq__btn:hover,
.faq__btn:focus-visible {
    background: var(--c-primary);
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .faq__icon { transition: none; }
    .faq__item[open] .faq__a { animation: none; }
}

@media (max-width: 1023px) {
    .faq__inner {
        padding-block: 56px;
        gap: 48px;
    }
}
