/* Página de preguntas frecuentes: estructura inspirada en la referencia del cliente. */
.bio-faq-page {
    max-width: 1180px !important;
    padding-bottom: 72px !important;
}

.bio-faq-page,
.bio-faq-page * {
    box-sizing: border-box;
}

.bio-faq-page .bio-faq-hero {
    align-items: stretch;
    background-color: #075d82;
    background-image: linear-gradient(90deg, rgba(6, 45, 77, .98) 0%, rgba(7, 93, 130, .9) 38%, rgba(7, 93, 130, .34) 70%, rgba(7, 93, 130, .08) 100%), url('./assets/faq-hero.jpg');
    background-position: center, center right;
    background-size: cover;
    color: #fff;
    display: flex;
    min-height: 226px;
    margin: 0 calc(50% - 50vw) 16px;
    overflow: hidden;
    padding: 42px max(24px, calc((100vw - 1180px) / 2 + 22px));
    position: relative;
}

.bio-faq-hero__copy {
    max-width: 570px;
    position: relative;
    z-index: 2;
}

.bio-faq-page .bio-faq-hero .bio-eyebrow {
    color: #d6f4ff;
    font-size: 12px;
    letter-spacing: .18em;
    margin: 0 0 8px;
}

.bio-faq-page .bio-faq-hero h1 {
    color: #fff;
    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.05;
    margin: 0 0 12px;
}

.bio-faq-page .bio-faq-hero p:not(.bio-eyebrow) {
    color: #fff;
    font-size: 17px;
    line-height: 1.45;
    margin: 0;
    max-width: 500px;
}

.bio-faq-hero__art {
    bottom: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    width: 52%;
}

.bio-faq-hero__circle {
    border: 2px solid rgba(212, 246, 255, .7);
    border-radius: 50%;
    position: absolute;
}

.bio-faq-hero__circle--large {
    background: rgba(255, 255, 255, .14);
    height: 250px;
    left: 4%;
    top: 28px;
    width: 250px;
}

.bio-faq-hero__circle--small {
    background: rgba(255, 255, 255, .82);
    height: 124px;
    left: 25%;
    top: 87px;
    width: 124px;
}

.bio-faq-hero__bottle {
    display: none;
    border-radius: 14px 14px 8px 8px;
    bottom: -26px;
    box-shadow: 0 14px 25px rgba(0, 31, 59, .25);
    height: 170px;
    position: absolute;
    width: 82px;
}

.bio-faq-hero__bottle::before {
    border-radius: 7px 7px 2px 2px;
    content: "";
    height: 25px;
    left: 12px;
    position: absolute;
    top: -20px;
    width: 58px;
}

.bio-faq-hero__bottle::after {
    background: rgba(255, 220, 93, .92);
    content: "";
    height: 18px;
    left: 10px;
    position: absolute;
    top: 78px;
    width: 62px;
}

.bio-faq-hero__bottle--amber {
    background: linear-gradient(90deg, #4f1d10, #a75424 46%, #42150d);
    right: 17%;
}

.bio-faq-hero__bottle--amber::before {
    background: #162432;
}

.bio-faq-hero__bottle--white {
    background: linear-gradient(90deg, #d8e2e6, #fff 48%, #c5d0d6);
    border-radius: 15px 15px 10px 10px;
    bottom: -34px;
    height: 145px;
    right: 4%;
    width: 110px;
}

.bio-faq-hero__bottle--white::before {
    background: #123c91;
    left: 19px;
    width: 72px;
}

.bio-faq-hero__bottle--white::after {
    background: #1d5de0;
    left: 12px;
    width: 86px;
}

.bio-faq-toolbar {
    margin: 0 auto 24px;
    max-width: 1080px;
}

.bio-faq-search {
    align-items: center;
    border: 1px solid #c8dceb;
    border-radius: 999px;
    display: flex;
    gap: 12px;
    min-height: 42px;
    padding: 0 16px;
}

.bio-faq-search svg {
    fill: none;
    flex: 0 0 19px;
    height: 19px;
    stroke: #0879d1;
    stroke-linecap: round;
    stroke-width: 2;
    width: 19px;
}

.bio-faq-search input {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #1b3674;
    flex: 1;
    font-size: 13px;
    min-height: 38px;
    outline: 0 !important;
    padding: 7px 0 !important;
}

.bio-faq-search input::placeholder {
    color: #6b80b1;
}

.bio-faq-categories {
    align-items: stretch;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-top: 10px;
}

.bio-faq-categories button {
    align-items: center;
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    color: #0b2c83;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    gap: 7px;
    justify-content: flex-start;
    line-height: 1.15;
    min-height: 112px;
    padding: 0 4px 9px;
    text-align: center;
}

.bio-faq-categories button.is-active,
.bio-faq-categories button:hover {
    border-bottom-color: #1688df;
}

.bio-faq-categories button:hover,
.bio-faq-categories button:focus,
.bio-faq-categories button:focus-visible,
.bio-faq-categories button.is-active {
    background: transparent !important;
    color: #0b2c83 !important;
    outline-color: #1688df;
}

.bio-faq-category-icon,
.bio-faq-card__icon {
    align-items: center;
    border-radius: 50%;
    display: flex;
    justify-content: center;
}

.bio-faq-category-icon {
    height: 62px;
    width: 62px;
}

.bio-faq-category-icon svg,
.bio-faq-card__icon svg {
    fill: none;
    height: 34px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 34px;
}

.bio-faq-category-icon--blue,
.bio-faq-card--blue .bio-faq-card__icon { background: #e5f3ff; color: #087de0; }
.bio-faq-category-icon--green,
.bio-faq-card--green .bio-faq-card__icon { background: #e1f8f2; color: #04a581; }
.bio-faq-category-icon--sky,
.bio-faq-card--sky .bio-faq-card__icon { background: #e3f3ff; color: #087de0; }
.bio-faq-category-icon--violet,
.bio-faq-card--violet .bio-faq-card__icon { background: #efedff; color: #6457dc; }
.bio-faq-category-icon--amber,
.bio-faq-card--amber .bio-faq-card__icon { background: #fff1dc; color: #b46b05; }
.bio-faq-category-icon--teal,
.bio-faq-card--teal .bio-faq-card__icon { background: #e0f7f2; color: #00a49e; }

.bio-faq-grid {
    display: grid;
    gap: 24px 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1080px;
}

.bio-faq-card {
    background: #fff;
    border: 1px solid #d9eaf3;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(20, 75, 98, .04);
    min-width: 0;
    overflow: hidden;
}

.bio-faq-card__header {
    align-items: center;
    display: flex;
    gap: 16px;
    min-height: 98px;
    padding: 16px 18px 13px;
}

.bio-faq-card--blue .bio-faq-card__header { background: #e8f5ff; }
.bio-faq-card--green .bio-faq-card__header { background: #eaf9f5; }
.bio-faq-card--sky .bio-faq-card__header { background: #eaf6ff; }
.bio-faq-card--violet .bio-faq-card__header { background: #f1efff; }
.bio-faq-card--amber .bio-faq-card__header { background: #fff7e9; }
.bio-faq-card--teal .bio-faq-card__header { background: #eaf9f5; }

.bio-faq-card__icon {
    flex: 0 0 56px;
    height: 56px;
    width: 56px;
}

.bio-faq-card__icon svg {
    height: 32px;
    width: 32px;
}

.bio-faq-card__header h2 {
    color: #092d86;
    font-size: 20px;
    line-height: 1.15;
    margin: 0 0 5px;
}

.bio-faq-card__header p {
    color: #6079a6;
    font-size: 13px;
    line-height: 1.35;
    margin: 0;
}

.bio-faq-items {
    background: #fff;
    padding: 0 14px;
}

.bio-faq-items details {
    border-top: 1px solid #dce8f1;
    margin: 0;
    padding: 0;
}

.bio-faq-items details:first-child {
    border-top: 0;
}

.bio-faq-items summary {
    color: #183a79;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    list-style: none;
    min-height: 38px;
    padding: 11px 30px 10px 4px;
    position: relative;
}

.bio-faq-items summary::-webkit-details-marker {
    display: none;
}

.bio-faq-items summary::after {
    border-bottom: 2px solid #087de0;
    border-right: 2px solid #087de0;
    content: "";
    height: 7px;
    position: absolute;
    right: 6px;
    top: 13px;
    transform: rotate(45deg);
    transition: transform .18s ease;
    width: 7px;
}

.bio-faq-items details[open] summary::after {
    top: 16px;
    transform: rotate(225deg);
}

.bio-faq-items details > p {
    color: #5f718c;
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
    padding: 0 4px 13px;
}

.bio-faq-items details > p + p {
    padding-top: 0;
}

.bio-faq-items a {
    color: #087de0;
    font-weight: 700;
}

.bio-faq-card[hidden],
.bio-faq-items [data-faq-item][hidden] {
    display: none !important;
}

.bio-faq-empty {
    color: #5f718c;
    font-size: 15px;
    margin: 34px auto;
    max-width: 1080px;
    text-align: center;
}

.bio-faq-page .bio-back-link {
    margin-top: 34px;
}

.bio-faq-page .screen-reader-text {
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

@media (max-width: 760px) {
    .bio-faq-page .bio-faq-hero {
        min-height: 270px;
        padding: 38px 24px;
    }

    .bio-faq-hero__art {
        opacity: .55;
        right: -18%;
        width: 70%;
    }

    .bio-faq-page .bio-faq-hero h1 {
        font-size: 36px;
    }

    .bio-faq-page .bio-faq-hero p:not(.bio-eyebrow) {
        font-size: 16px;
        max-width: 330px;
    }

    .bio-faq-categories {
        gap: 4px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bio-faq-categories button {
        font-size: 11px;
        min-height: 100px;
    }

    .bio-faq-category-icon {
        height: 52px;
        width: 52px;
    }

    .bio-faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .bio-faq-page .bio-faq-hero {
        margin-bottom: 14px;
    }

    .bio-faq-card__header {
        align-items: flex-start;
    }

    .bio-faq-card__header h2 {
        font-size: 18px;
    }

    .bio-faq-card__header p,
    .bio-faq-items summary,
    .bio-faq-items details > p {
        font-size: 12px;
    }
}
