/* =========================================================
   BEROVIO — FAQ
   Public informational FAQ page.
   ========================================================= */
.berovio-faq-page {
    --bf-blue: var(--berovio-blue, #0064f8);
    --bf-blue-dark: var(--berovio-blue-dark, #004fc7);
    --bf-green: var(--berovio-green, #009468);
    --bf-ink: #0e1623;
    --bf-hero: #203a54;
    --bf-muted: #657181;
    --bf-line: #e1e8ef;
    --bf-soft-blue: #f3f7fc;
    --bf-soft-green: #f2faf6;
    --bf-white: #fff;
    --bf-gutter: clamp(16px, 3vw, 32px);
    --bf-section: clamp(62px, 7vw, 94px);
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    color: var(--bf-ink);
    background: #fff;
    font-family: inherit;
    line-height: 1.6;
    overflow: clip;
}

.berovio-faq-page *,
.berovio-faq-page *::before,
.berovio-faq-page *::after { box-sizing: border-box; }

.berovio-faq-page .berovio-faq-container {
    width: min(1320px, 100%);
    margin-inline: auto;
    padding-inline: var(--bf-gutter);
}

.berovio-faq-page :is(h1, h2, h3, p) { overflow-wrap: break-word; }

.berovio-faq-eyebrow {
    margin: 0 0 10px;
    color: var(--bf-blue);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: .115em;
    text-transform: uppercase;
}

/* HERO */
.berovio-faq-hero {
    position: relative;
    padding: clamp(58px, 7vw, 94px) 0 clamp(58px, 7vw, 90px);
    background: var(--bf-hero);
    color: #fff;
}

.berovio-faq-hero::before {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--bf-blue) 0 68%, var(--bf-green) 68% 100%);
    content: '';
}

.berovio-faq-hero-grid {
    display: grid;
    gap: clamp(34px, 5vw, 76px);
    align-items: center;
}

.berovio-faq-hero-copy { min-width: 0; }

.berovio-faq-hero .berovio-faq-eyebrow { color: #91beff; }

.berovio-faq-hero h1 {
    max-width: 780px;
    margin: 0;
    color: #fff;
    font-size: clamp(39px, 5.2vw, 66px);
    font-weight: 820;
    line-height: 1;
    letter-spacing: -.052em;
    text-wrap: balance;
}

.berovio-faq-lead {
    max-width: 670px;
    margin: 22px 0 0;
    color: #c6d0db;
    font-size: clamp(15px, 1.45vw, 18px);
    line-height: 1.7;
}

.berovio-faq-hero-actions,
.berovio-faq-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.berovio-faq-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 17px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
    transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.berovio-faq-button:hover { transform: translateY(-1px); }
.berovio-faq-button:focus-visible { outline: 3px solid rgba(0, 100, 248, .35); outline-offset: 3px; }

.berovio-faq-button.is-primary {
    border-color: var(--bf-blue);
    background: var(--bf-blue);
    color: #fff;
    box-shadow: 0 9px 22px rgba(0, 100, 248, .2);
}

.berovio-faq-button.is-primary:hover { border-color: var(--bf-blue-dark); background: var(--bf-blue-dark); color: #fff; }

.berovio-faq-button.is-secondary {
    border-color: rgba(255, 255, 255, .26);
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.berovio-faq-button.is-secondary:hover { border-color: rgba(255, 255, 255, .44); background: rgba(255, 255, 255, .1); color: #fff; }

.berovio-faq-button.is-light {
    border-color: #cdd8e3;
    background: #fff;
    color: #354456;
}

.berovio-faq-button.is-light:hover { border-color: #aebed0; background: #f7f9fc; color: var(--bf-blue-dark); }

.berovio-faq-topic-card {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 2.8vw, 32px);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 20px;
    background: rgba(255, 255, 255, .055);
    box-shadow: 0 18px 46px rgba(7, 18, 31, .14);
}

.berovio-faq-topic-card::before {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--bf-blue) 0 68%, var(--bf-green) 68% 100%);
    content: '';
}

.berovio-faq-topic-kicker {
    margin: 0 0 15px;
    color: #91beff;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: .1em;
}

.berovio-faq-topic-nav { display: grid; gap: 0; }

.berovio-faq-topic-nav a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 47px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    color: #e7edf4;
    text-decoration: none;
}

.berovio-faq-topic-nav a:last-child { border-bottom: 0; }
.berovio-faq-topic-nav a:hover { color: #fff; }
.berovio-faq-topic-nav a:focus-visible { outline: 3px solid rgba(0, 100, 248, .42); outline-offset: 2px; }

.berovio-faq-topic-nav span {
    color: #7fb2fa;
    font-size: 12px;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}

.berovio-faq-topic-nav strong {
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .035em;
}

/* FAQ SECTIONS */
.berovio-faq-section {
    padding-block: var(--bf-section);
    scroll-margin-top: 24px;
}

.berovio-faq-section.is-white { background: #fff; }
.berovio-faq-section.is-soft-blue { border-block: 1px solid #e1eaf4; background: var(--bf-soft-blue); }
.berovio-faq-section.is-soft-green { border-block: 1px solid #deeee5; background: var(--bf-soft-green); }
.berovio-faq-section.is-dark-accent { border-block: 1px solid #dbe6f0; background: #f7f9fc; }

.berovio-faq-section-grid {
    display: grid;
    gap: 34px;
}

.berovio-faq-section-copy { min-width: 0; }

.berovio-faq-section-number {
    display: inline-block;
    margin: 0 0 17px;
    color: #c1ccd8;
    font-size: 34px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.05em;
    font-variant-numeric: tabular-nums;
}

.berovio-faq-section-copy h2,
.berovio-faq-final h2 {
    max-width: 650px;
    margin: 0;
    color: var(--bf-ink);
    font-size: clamp(29px, 3vw, 40px);
    font-weight: 820;
    line-height: 1.12;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.berovio-faq-section-copy > p:not(.berovio-faq-eyebrow) {
    max-width: 520px;
    margin: 17px 0 0;
    color: var(--bf-muted);
    font-size: 14px;
    line-height: 1.72;
}

.berovio-faq-list {
    min-width: 0;
    border-top: 1px solid var(--bf-line);
}

.berovio-faq-item {
    margin: 0;
    border-bottom: 1px solid var(--bf-line);
}

.berovio-faq-item summary {
    position: relative;
    padding: 20px 42px 20px 0;
    color: var(--bf-ink);
    font-size: 15px;
    font-weight: 780;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
    transition: color .15s ease;
}

.berovio-faq-item summary::-webkit-details-marker { display: none; }

.berovio-faq-item summary::after {
    position: absolute;
    top: 17px;
    right: 1px;
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #edf3f9;
    color: var(--bf-blue-dark);
    font-size: 18px;
    font-weight: 650;
    line-height: 1;
    content: '+';
}

.berovio-faq-item[open] summary::after { content: '\2212'; }
.berovio-faq-item summary:hover { color: var(--bf-blue-dark); }
.berovio-faq-item summary:focus-visible { outline: 3px solid rgba(0, 100, 248, .26); outline-offset: 3px; border-radius: 6px; }

.berovio-faq-answer {
    max-width: 820px;
    padding: 0 42px 22px 0;
    color: var(--bf-muted);
    font-size: 14px;
    line-height: 1.75;
}

.berovio-faq-answer p { margin: 0; }
.berovio-faq-answer strong { color: #354456; font-weight: 800; }
.berovio-faq-answer a { color: var(--bf-blue-dark); font-weight: 750; text-underline-offset: 3px; }
.berovio-faq-answer a:hover { color: var(--bf-blue); }

/* FINAL */
.berovio-faq-final {
    position: relative;
    padding-block: clamp(58px, 7vw, 88px);
    background: var(--bf-hero);
    color: #fff;
}

.berovio-faq-final::before {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--bf-blue) 0 68%, var(--bf-green) 68% 100%);
    content: '';
}

.berovio-faq-final-inner {
    display: grid;
    gap: 26px;
    align-items: end;
}

.berovio-faq-final .berovio-faq-eyebrow { color: #91beff; }
.berovio-faq-final h2 { color: #fff; max-width: 760px; }

.berovio-faq-final p:not(.berovio-faq-eyebrow) {
    max-width: 650px;
    margin: 15px 0 0;
    color: #c5d0db;
    font-size: 14px;
    line-height: 1.7;
}

.berovio-faq-final-actions { margin-top: 0; }

/* RESPONSIVE */
@media (min-width: 900px) {
    .berovio-faq-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); }
    .berovio-faq-section-grid { grid-template-columns: minmax(260px, .68fr) minmax(0, 1.32fr); gap: clamp(54px, 7vw, 100px); align-items: start; }
    .berovio-faq-section-copy { position: sticky; top: 32px; }
    .berovio-faq-final-inner { grid-template-columns: minmax(0, 1fr) auto; }
    .berovio-faq-final-actions { justify-content: flex-end; }
}

@media (max-width: 599px) {
    .berovio-faq-page { --bf-section: 54px; }
    .berovio-faq-hero { padding-top: 48px; padding-bottom: 50px; }
    .berovio-faq-hero h1 { font-size: clamp(36px, 10.5vw, 45px); }
    .berovio-faq-topic-card { border-radius: 17px; }
    .berovio-faq-topic-nav a { min-height: 44px; }
    .berovio-faq-section-number { margin-bottom: 13px; font-size: 29px; }
    .berovio-faq-item summary { padding-block: 18px; font-size: 14px; }
    .berovio-faq-answer { padding-bottom: 20px; font-size: 13.5px; }
    .berovio-faq-button { min-height: 44px; padding-inline: 14px; }
}
