/* ================================================================
   URTAXI - FAQ CONDUCTORES PREMIUM
   ================================================================= */


/* ================================================================
   FAQ — FONDO PRINCIPAL + CAPA OSCURA
   ================================================================= */

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

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.64) 0%,
            rgba(0, 0, 0, 0.56) 45%,
            rgba(0, 0, 0, 0.64) 100%
        ),
        var(--faq-bg-image);

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    color: #fff;
}


/* ================================================================
   CONTAINER
   ================================================================= */

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

    max-width: 1180px;
}


/* ================================================================
   HEADER
   ================================================================= */

.urt-faq__header {
    max-width: 780px;
    margin: 20px auto 38px;

    text-align: center;
}


.urt-faq__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 15px;

    color: #fff;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;

    opacity: .82;
}


.urt-faq__eyebrow::before,
.urt-faq__eyebrow::after {
    content: "";

    width: 24px;
    height: 1px;

    background: currentColor;

    opacity: .65;
}


.urt-faq__title {
    margin: 0;

    color: #fff;

    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -.025em;
    font-weight: 800;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, .35);
}


.urt-faq__title span {
    display: block;

    color: #fff;

    font-weight: 400;
}


.urt-faq__intro {
    max-width: 690px;

    margin: 18px auto 0;

    color: #fff;

    font-size: 16px;
    line-height: 1.7;

    opacity: .78;

    text-shadow:
        0 1px 8px rgba(0, 0, 0, .35);
}


/* ================================================================
   SEARCH
   ================================================================= */

.urt-faq-search {
    max-width: 760px;

    margin: 0 auto 35px;
}


.urt-faq-search__box {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 62px;

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

    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: 17px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, .15),
        0 2px 5px rgba(0, 0, 0, .06);

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


.urt-faq-search__box:focus-within {
    border-color: rgba(255, 198, 26, .90);

    box-shadow:
        0 14px 40px rgba(0, 0, 0, .18),
        0 0 0 4px rgba(255, 198, 26, .14);
}


.urt-faq-search__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    flex: 0 0 58px;

    color: #222;
}


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

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;

    opacity: .55;
}


.urt-faq-search__input {
    width: 100%;
    height: 60px;

    padding: 0 45px 0 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: #222;

    font-size: 15px;
}


.urt-faq-search__input::placeholder {
    color: #555;

    opacity: .60;
}


.urt-faq-search__clear {
    position: absolute;
    right: 15px;

    width: 30px;
    height: 30px;

    border: 0;
    border-radius: 50%;

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

    color: #222;

    cursor: pointer;

    font-size: 20px;
    line-height: 1;
}


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

    margin-top: 9px;

    color: #fff;

    text-align: center;

    font-size: 12px;

    opacity: .72;
}


/* ================================================================
   CATEGORIES
   ================================================================= */

.urt-faq-categories {
    display: grid;

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

    gap: 10px;

    margin-bottom: 28px;
}


.urt-faq-category {
    position: relative;

    display: flex;
    align-items: center;

    gap: 11px;

    min-height: 78px;

    padding: 12px 13px;

    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 15px;

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

    color: #1d1d1d;

    cursor: pointer;

    text-align: left;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, .08);

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


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

    background: #fff;

    color: #111;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, .14);
}


.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.is-active::before {
    content: "";

    position: absolute;

    left: 0;
    top: 14px;
    bottom: 14px;

    width: 3px;

    border-radius: 0 3px 3px 0;

    background: #FFC61A;
}


.urt-faq-category__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 39px;
    height: 39px;

    flex: 0 0 39px;

    border-radius: 11px;

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

    color: #222;

    font-size: 19px;
}


.urt-faq-category__body {
    display: flex;
    flex-direction: column;

    gap: 3px;

    min-width: 0;
}


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

    font-size: 18px;
    line-height: 1.2;
    font-weight: 750;
}


.urt-faq-category__body small {
    color: #555;

    font-size: 15px;
    line-height: 1.3;

    opacity: .75;
}


.urt-faq-category__count {
    margin-left: auto;

    align-self: flex-start;

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

    padding: 0 6px;

    border-radius: 20px;

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

    color: #444;

    font-size: 13px;

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

    opacity: .80;
}


/* ================================================================
   PANELS
   ================================================================= */

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


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

    animation: urtFaqPanelIn .28s ease both;
}


@keyframes urtFaqPanelIn {

    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ================================================================
   PANEL HEADER
   ================================================================= */

.urt-faq-panel__top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 14px;
}


.urt-faq-panel__top > div {
    display: flex;
    align-items: center;

    gap: 13px;
}


.urt-faq-panel__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    border-radius: 13px;

    background: #fff;

    color: #222;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, .14);

    font-size: 22px;
}


.urt-faq-panel__kicker {
    display: block;

    margin-bottom: 2px;

    color: #fff;

    font-size: 17px;
    font-weight: 800;
    letter-spacing: .14em;

    opacity: .70;
}


.urt-faq-panel__top h3 {
    margin: 0;

    color: #fff;

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

    text-shadow:
        0 1px 8px rgba(0, 0, 0, .30);
}


.urt-faq-panel__count {
    color: #fff;

    font-size: 11px;

    opacity: .72;
}


/* ================================================================
   LIST
   ================================================================= */

.urt-faq-list {
    display: flex;
    flex-direction: column;

    gap: 8px;
}


/* ================================================================
   ITEM
   ================================================================= */

.urt-faq-item {
    overflow: hidden;

    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 13px;

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

    color: #202020;

    box-shadow:
        0 4px 16px rgba(0, 0, 0, .07);

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


.urt-faq-item:hover {
    border-color: rgba(0, 0, 0, .15);

    box-shadow:
        0 7px 22px rgba(0, 0, 0, .10);
}


.urt-faq-item.is-open {
    border-color: rgba(255, 198, 26, .70);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .12);
}


/* ================================================================
   QUESTION
   ================================================================= */

.urt-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    width: 100%;

    padding: 19px 20px;

    border: 0;

    background: transparent;

    color: #202020;

    cursor: pointer;

    text-align: left;
}


.urt-faq-question__text {
    color: #202020;

    font-size: 18px;
    font-weight: 650;
    line-height: 1.45;
}


.urt-faq-question__arrow {
    position: relative;

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

    width: 29px;
    height: 29px;

    flex: 0 0 29px;

    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 50%;

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

    color: #333;

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease;
}


.urt-faq-question__arrow::before,
.urt-faq-question__arrow::after {
    content: "";

    position: absolute;

    width: 9px;
    height: 1px;

    background: currentColor;
}


.urt-faq-question__arrow::after {
    transform: rotate(90deg);
}


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

    background: #FFC61A;

    color: #000;

    border-color: #FFC61A;
}


/* ================================================================
   ANSWER
   ================================================================= */

.urt-faq-answer {
    display: grid;

    grid-template-rows: 0fr;

    transition:
        grid-template-rows .28s ease;
}


.urt-faq-answer__inner {
    overflow: hidden;
}


.urt-faq-answer__inner p {
    margin: 0;

    padding: 0 20px;

    color: #444;

    font-size: 16px;
    line-height: 1.75;

    opacity: .88;
}


.urt-faq-item.is-open .urt-faq-answer {
    grid-template-rows: 1fr;
}


.urt-faq-item.is-open .urt-faq-answer__inner p {
    padding-bottom: 20px;
}


/* ================================================================
   SEARCH MODE
   ================================================================= */

.urt-faq.is-searching .urt-faq-categories {
    display: none;
}


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


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


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


.urt-faq.is-searching .urt-faq-panel__top {
    margin-top: 10px;
}


/* ================================================================
   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;

    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;
}


/* ================================================================
   MOBILE — TABLET
   ================================================================= */

@media (max-width: 900px) {

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

}


/* ================================================================
   MOBILE
   ================================================================= */

@media (max-width: 640px) {

    .urt-faq {
        padding: 65px 15px;

        background-position: center center;
    }


    .urt-faq__header {
        margin-bottom: 28px;
    }


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


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


    .urt-faq-categories {
        display: flex;

        overflow-x: auto;

        gap: 8px;

        margin-right: -15px;

        padding-right: 15px;
        padding-bottom: 7px;

        scrollbar-width: thin;
    }


    .urt-faq-category {
        flex: 0 0 190px;

        min-height: 68px;
    }


    .urt-faq-category__body small {
        display: none;
    }


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


    .urt-faq-panel__top {
        align-items: flex-start;
    }


    .urt-faq-panel__icon {
        width: 41px;
        height: 41px;

        flex-basis: 41px;
    }


    .urt-faq-panel__top h3 {
        font-size: 18px;
    }


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


    .urt-faq-question {
        padding: 17px 15px;
    }


    .urt-faq-question__text {
        font-size: 13.5px;
    }


    .urt-faq-answer__inner p {
        padding-left: 15px;
        padding-right: 15px;

        font-size: 13px;
    }


    .urt-faq-item.is-open .urt-faq-answer__inner p {
        padding-bottom: 17px;
    }


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


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


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

        justify-content: center;
    }

}