/* =========================================================
   URTAXI — FAQ GENÉRICO
   CSS PRINCIPAL
   ========================================================= */

.urt-faq {
    position: relative;
    overflow: hidden;

    background-color: #151515;
    background-image: var(--faq-bg-image);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    color: #222;
    padding-bottom: 20px;
}


.urt-faq__overlay {
    position: absolute;
    inset: 0;

    z-index: 0;

    background: rgba(0, 0, 0, .62);

    pointer-events: none;
}


.urt-faq__container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1180px;

    margin-left: auto;
    margin-right: auto;

    box-sizing: border-box;
}


/* =========================================================
   CABECERA
   ========================================================= */

.urt-faq__header {
    position: relative;
    z-index: 2;

    width: 100%;

    margin: 0 auto;

    padding: 28px 0 18px;

    text-align: center;
}


.urt-faq__eyebrow {
    display: block;

    margin: 0 0 14px;

    color: rgba(255,255,255,.72);

    font-family: "Poppins", sans-serif;

    font-size: 13px;
    font-weight: 700;

    line-height: 1.2;

    letter-spacing: .8px;

    text-transform: uppercase;
}


.urt-faq__title {
    position: relative;
    z-index: 1;

    margin: 0;

    color: #fff;

    font-family: "Poppins", sans-serif;

    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;

    line-height: 1.28;
}


.urt-faq__title span {
    color: #f5c400;
}


.urt-faq__intro {
    position: relative;
    z-index: 1;

    max-width: 760px;

    margin: 9px auto 0;

    color: rgba(255,255,255,.78);

    font-family: "Open Sans", Arial, sans-serif;

    font-size: 17px;

    line-height: 1.55;
}


/* =========================================================
   BUSCADOR
   ========================================================= */

.urt-faq-search {
    position: relative;
    z-index: 3;

    width: min(760px, 100%);

    margin: 0 auto 26px;
}


.urt-faq-search__box {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;

    min-height: 50px;

    box-sizing: border-box;

    border-radius: 15px;

    background: rgba(255,255,255,.97);

    box-shadow:
        0 8px 30px rgba(0,0,0,.16);
}


.urt-faq-search__icon {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 48px;

    width: 48px;
    height: 50px;
}


.urt-faq-search__icon svg {
    width: 18px;
    height: 18px;

    fill: none;

    stroke: #777;

    stroke-width: 1.8;

    stroke-linecap: round;
}


.urt-faq-search__input {
    flex: 1 1 auto;

    min-width: 0;

    height: 50px;

    padding: 0 44px 0 0;

    border: 0;

    outline: 0;

    background: transparent;

    color: #222;

    font-family: "Open Sans", Arial, sans-serif;

    font-size: 15px;
}


.urt-faq-search__input::placeholder {
    color: rgba(32,32,32,.48);
}


.urt-faq-search__clear {
    position: absolute;

    top: 50%;
    right: 12px;

    width: 28px;
    height: 28px;

    transform: translateY(-50%);

    border: 0;

    border-radius: 50%;

    background: rgba(0,0,0,.06);

    color: #555;

    cursor: pointer;
}


.urt-faq-search__result {
    min-height: 18px;

    margin-top: 7px;

    color: rgba(255,255,255,.75);

    font-family: "Open Sans", Arial, sans-serif;

    font-size: 11px;

    text-align: center;
}


/* =========================================================
   CATEGORÍAS
   ========================================================= */

.urt-faq-categories {
    position: relative;
    z-index: 3;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 10px;

    width: 100%;

    margin: 0 auto 28px;

    padding: 0;

    counter-reset: faq-category;
}


.urt-faq-category {
    position: relative;

    display: flex;
    align-items: center;

    min-width: 0;

    width: 100%;

    box-sizing: border-box;

    padding: 12px 10px;

    border: 3px solid rgba(255,255,255,.55);

    border-radius: 14px;

    background: rgba(255,255,255,.94);

    color: #202020;

    text-align: left;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


.urt-faq-category:hover {
    transform: translateY(-2px);

    background: #fff;
}


.urt-faq-category.is-active {
    background: #fff;
    color: #161616;
    border-color: #FFC61A;
    box-shadow:
        0 10px 28px rgba(0, 0, 0, .15),
        0 0 0 1px rgba(255, 198, 26, .12);
}


.urt-faq-category__icon {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 39px;

    width: 39px;
    height: 39px;

    margin-right: 9px;

    border-radius: 11px;

    background: rgba(0,0,0,.055);

    font-family:
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Noto Color Emoji",
        sans-serif;

    font-size: 19px;

    line-height: 1;
}


.urt-faq-category__body {
    display: flex;

    flex: 1 1 auto;

    min-width: 0;

    flex-direction: column;
}


.urt-faq-category__index {
    display: block;

    margin-bottom: 3px;

    color: rgba(32,32,32,.45);

    font-family: "Poppins", sans-serif;

    font-size: 8px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: .25px;
}


.urt-faq-category__body strong {
    display: block;

    font-family: "Poppins", sans-serif;

    font-size: 18px;
    font-weight: 800;

    line-height: 1.15;
}


.urt-faq-category__body small {
    display: block;

    margin-top: 4px;

    color: rgba(32,32,32,.62);

    font-family: "Open Sans", Arial, sans-serif;

    font-size: 15px;
    font-weight: 500;

    line-height: 1.22;
}


.urt-faq-category__count {
    display: flex;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    min-width: 22px;
    height: 22px;

    margin-left: 7px;

    border-radius: 50%;

    background: rgba(0,0,0,.1);

    color: rgba(32,32,32,.55);

    font-family: "Open Sans", Arial, sans-serif;

    font-size: 13px;
    font-weight: 600;

    line-height: 1;
}


.urt-faq-category__mobile-count {
    display: none;
}


.urt-faq-category-nav__fade {
    display: none;
}


/* =========================================================
   PANELES
   ========================================================= */

.urt-faq-panels {
    position: relative;
    z-index: 2;
}


.urt-faq-panel {
    display: none;
}


.urt-faq-panel.is-active {
    display: block;
}


.urt-faq-panel__top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin: 0 0 16px;
}


.urt-faq-panel__top > div:first-child {
    display: flex;

    align-items: center;

    min-width: 0;
}


.urt-faq-panel__icon {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    margin-right: 8px;

    border-radius: 10px;

    background: #fff;

    font-family:
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Noto Color Emoji",
        sans-serif;

    font-size: 18px;
}


.urt-faq-panel__kicker {
    display: block;

    color: rgba(255,255,255,.8);

    font-family: "Poppins", sans-serif;

    font-size: 15px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: .5px;
}


.urt-faq-panel h3 {
    margin: 3px 0 0;

    color: #fff;

    font-family: "Poppins", sans-serif;

    font-size: 20px;
    font-weight: 800;

    line-height: 1.1;
}


.urt-faq-panel__count {
    color: rgba(255,255,255,.78);

    font-family: "Open Sans", Arial, sans-serif;

    font-size: 15px;
    font-weight: 500;

    white-space: nowrap;
}


.urt-faq-list {
    display: flex;

    flex-direction: column;

    gap: 7px;
}


.urt-faq-item {
    overflow: hidden;

    border-radius: 10px;

    background: rgba(255,255,255,.94);

    box-shadow:
        0 2px 10px rgba(0,0,0,.08);
}


.urt-faq-question {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;

    min-height: 48px;

    padding: 19px 20px;

    box-sizing: border-box;

    border: 0;

    background: transparent;

    color: #202020;

    font-family: "Poppins", sans-serif;

    text-align: left;

    cursor: pointer;
}


.urt-faq-question__text {
    flex: 1 1 auto;

    min-width: 0;

    padding-right: 12px;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.35;
}


/* =========================================================
   ICONO + / X
   ========================================================= */

.urt-faq-question__arrow {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 24px;

    width: 24px;
    height: 24px;

    border-radius: 50%;

    background: rgba(0,0,0,.14);

    color: rgba(32,32,32,.72);

    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}


.urt-faq-question__arrow span::before {
    content: "+";

    color: currentColor;

    font-size: 24px;
    font-weight: 500;

    line-height: 1;

    transition:
        color .2s ease;
}


/* =========================================================
   ESTADO ABIERTO — + SE CONVIERTE EN X
   ========================================================= */

.urt-faq-item.is-open
.urt-faq-question__arrow {
    transform: rotate(45deg);

    background: #FFC61A;

    color: #000000;

    border-color: #FFC61A;
}


.urt-faq-item.is-open
.urt-faq-question__arrow span::before {
    content: "+";

    color: #000000;
}


/* =========================================================
   RESPUESTAS
   ========================================================= */

.urt-faq-answer {
    display: none;

    border-top:
        1px solid rgba(0,0,0,.07);

    background:
        rgba(255,255,255,.98);
}


.urt-faq-item.is-open
.urt-faq-answer {
    display: block;
}


.urt-faq-answer__inner {
    box-sizing: border-box;

    width: 100%;

    padding: 17px 22px 20px;

    color: #222;

    font-family:
        "Open Sans",
        Arial,
        sans-serif;

    font-size: 16px;
    font-weight: 400;

    line-height: 1.65;

    text-align: left;

    overflow-wrap: break-word;
}


.urt-faq-answer__inner p {
    margin: 0 0 11px;
}


.urt-faq-answer__inner p:last-child {
    margin-bottom: 0;
}


.urt-faq-answer__inner strong {
    color: #202020;

    font-weight: 700;
}


.urt-faq-answer__inner em {
    font-style: italic;
}


.urt-faq-answer__inner a {
    color: #9a7600;

    font-weight: 600;

    text-decoration: underline;

    text-underline-offset: 2px;
}


.urt-faq-answer__inner ul,
.urt-faq-answer__inner ol {
    margin: 9px 0 12px;

    padding-left: 22px;
}


.urt-faq-answer__inner li {
    margin-bottom: 5px;
}


.urt-faq-answer__inner li:last-child {
    margin-bottom: 0;
}


.urt-faq-answer__inner br + br {
    display: block;

    content: "";

    margin-top: 5px;
}


.urt-faq-item.is-search-hidden {
    display: none;
}


.urt-faq-panel.is-search-hidden {
    display: none;
}


/* =========================================================
   CTA
   ========================================================= */

.urt-faq-cta {
    display: flex;

    align-items: center;

    gap: 17px;

    margin-top: 40px;

    padding: 20px 21px;

    border:
        1px solid rgba(255, 198, 26, .35);

    border-radius: 17px;

    background:
        linear-gradient(
            100deg,
            rgba(255, 198, 26, .18),
            rgba(255, 198, 26, .07)
        );
}


.urt-faq-cta__mark {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 47px;
    height: 47px;

    flex: 0 0 47px;

    border-radius: 13px;

    background: #FFC61A;

    color: #000;

    font-size: 22px;
}


.urt-faq-cta__content {
    display: flex;

    flex-direction: column;

    gap: 4px;

    flex: 1;
}


.urt-faq-cta__content span {
    color: #fff;

    font-size: 16px;

    opacity: .72;
}


.urt-faq-cta__content strong {
    color: #fff;

    font-size: 16px;
}


.urt-faq-cta__button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 45px;

    padding: 0 19px;

    border-radius: 10px;

    background: #FFC61A;

    color: #000;

    text-decoration: none;

    font-size: 16px;
    font-weight: 750;

    white-space: nowrap;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.urt-faq-cta__button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 18px rgba(0, 0, 0, .16);
}


.urt-faq-cta__button span {
    font-size: 18px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .urt-faq-categories {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    .urt-faq__container {
        max-width: 100%;

        padding-left: 15px;
        padding-right: 15px;
    }


    .urt-faq__header {
        padding: 22px 0 15px;
    }


    .urt-faq__title {
        font-size: 27px;
    }


    .urt-faq__intro {
        font-size: 18px;
    }


    .urt-faq-search {
        width: 100%;

        margin-bottom: 18px;
    }


    .urt-faq-categories {
        display: flex;

        flex-wrap: nowrap;

        align-items: stretch;

        gap: 10px;

        width: 100%;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x mandatory;

        scroll-behavior: smooth;

        scrollbar-width: none;

        -ms-overflow-style: none;

        padding: 0 1px 40px;

        margin-bottom: 0;
    }


    .urt-faq-categories::-webkit-scrollbar {
        display: none;
    }


    .urt-faq-category {
        flex: 0 0 82%;

        width: 82%;

        min-height: 104px;

        scroll-snap-align: start;

        padding: 11px 10px;
    }


    .urt-faq-category__count {
        display: none;
    }


    .urt-faq-category__mobile-count {
        display: block;

        margin-top: 5px;

        color: rgba(32,32,32,.58);

        font-family:
            "Open Sans",
            Arial,
            sans-serif;

        font-size: 12px;
        font-weight: 500;

        line-height: 1.2;

        letter-spacing: .1px;
    }


    .urt-faq-category__body strong {
        font-size: 22px;
    }


    .urt-faq-category__body small {
        font-size: 17px;
    }


    .urt-faq-panel__top {
        margin-bottom: 20px;
    }


    .urt-faq-answer__inner {
        padding: 15px 16px 18px;

        font-size: 19px;

        line-height: 1.25;
        letter-spacing: 0.5px;
    }


    .urt-faq-question {
        min-height: 46px;

        padding: 18px 20px;
    }


    .urt-faq-question__text {
        font-size: 19px;

        line-height: 1.3;
    }


    /* ---------------------------------------------------------
       CTA MOBILE
       --------------------------------------------------------- */

    .urt-faq-cta {
        flex-wrap: wrap;

        gap: 14px;

        margin-top: 30px;

        padding: 17px;
    }


    .urt-faq-cta__content {
        flex-basis:
            calc(100% - 61px);
    }


    .urt-faq-cta__content span {
        font-size: 14px;
    }


    .urt-faq-cta__content strong {
        font-size: 14px;
    }


    .urt-faq-cta__button {
        width: 100%;

        min-height: 45px;

        justify-content: center;
    }

}


/* =========================================================
   CARRUSEL DE CATEGORÍAS — PAGINACIÓN
   ========================================================= */

.urt-faq-category-pagination {
    position: relative;

    left: auto;
    bottom: auto;

    display: none;

    width: 100%;

    margin: 9px auto 17px;

    text-align: center;

    transform: none;

    z-index: 10;
}


.urt-faq-category-pagination
.swiper-pagination-bullet {
    display: inline-block;

    width: 7px;
    height: 7px;

    margin: 0 4px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background:
        rgba(255,255,255,.42);

    opacity: 1;

    cursor: pointer;

    transition:
        width .2s ease,
        background .2s ease,
        transform .2s ease;
}


.urt-faq-category-pagination
.swiper-pagination-bullet-active {
    width: 20px;

    border-radius: 99px;

    background: #f5c400;
}


@media (max-width: 767px) {

    .urt-faq-category-pagination {
        display: block;
    }

}