/* shared/faq — original snippet 23 */
.sc-faq-container * {
    padding: 0;
    box-sizing: border-box;
}

.sc-faq-container {
    --sc-main-blue:  #3F78BD;
    --sc-dark-blue:  #2c5484;
    --sc-white-blue: #ecf2f8;
    --sc-main-green: #44A347;
    font-family: "Outfit", sans-serif;
    line-height: 1.6;
}

.sc-faq-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.sc-faq-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Header */
.sc-faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.sc-faq-tagline {
    color: var(--sc-verde);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.sc-faq-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--sc-azul);
}

.sc-faq-title .highlight {
    color: var(--sc-verde);
}

/* Accordion list */
.sc-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Single item */
.sc-faq-item {
    background: var(--sc-white-blue);
    border-radius: 14px;
    overflow: hidden;
}

/* Question button */
.sc-faq-question {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.4rem 1.75rem;
    text-align: left;
    font-family: "Outfit", sans-serif;
}

.sc-faq-question-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sc-azul-dark);
    line-height: 1.35;
}

/* Plus / minus icon */
.sc-faq-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--sc-azul);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.sc-faq-icon::before,
.sc-faq-icon::after {
    content: '';
    position: absolute;
    background: #ffffff;
    border-radius: 2px;
}

.sc-faq-icon {
    position: relative;
}

.sc-faq-icon::before {
    width: 14px;
    height: 2px;
}

.sc-faq-icon::after {
    width: 2px;
    height: 14px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Open state */
.sc-faq-item.is-open .sc-faq-icon {
    background: var(--sc-azul-dark);
}

.sc-faq-item.is-open .sc-faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

/* Answer panel */
.sc-faq-answer {
    max-height: none;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.sc-faq-answer-inner {
    padding: 0 1.75rem 1.5rem 1.75rem;
    font-size: 1.15rem;
    color: #5a6c7d;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    .sc-faq-section { padding: 60px 0; }
    .sc-faq-question { padding: 1.2rem 1.25rem; }
    .sc-faq-answer-inner { padding: 0 1.25rem 1.25rem 1.25rem; }
    .sc-faq-question-text { font-size: 1rem; }
}

/* Answers remain readable if JavaScript is unavailable. */
.sc-faq-container.is-enhanced .sc-faq-answer { max-height: 0; }
.sc-faq-question:focus-visible { outline: 3px solid var(--sc-azul); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .sc-faq-answer, .sc-faq-icon::after { transition: none; } }
