/* =========================================================
   HYRO TECHNOLOGIES FZE
   FAQ SECTION
   File: /assets/css/faq.css
========================================================= */

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

    padding: 100px 0 105px;

    background:
        radial-gradient(circle at 7% 12%, rgba(229,43,135,.07), transparent 28%),
        radial-gradient(circle at 94% 88%, rgba(132,87,232,.08), transparent 30%),
        #ffffff;
}

.faq-section::before {
    content: "";

    position: absolute;
    top: -150px;
    right: -120px;

    width: 330px;
    height: 330px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        rgba(229,43,135,.07),
        rgba(132,87,232,.11)
    );

    pointer-events: none;
}

.faq-section .container {
    position: relative;
    z-index: 2;
}

/* Heading */

.faq-heading {
    max-width: 800px;
    margin: 0 auto 46px;
    text-align: center;
}

.faq-heading .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 14px;

    color: #d62f83;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.faq-heading .eyebrow::before,
.faq-heading .eyebrow::after {
    content: "";

    width: 24px;
    height: 2px;

    border-radius: 20px;

    background: linear-gradient(
        90deg,
        #e52b87,
        #8b63f5
    );
}

.faq-heading h2 {
    margin: 0;

    color: #182033;

    font-size: clamp(36px, 4.3vw, 52px);
    line-height: 1.14;

    letter-spacing: -1.7px;
}

.faq-heading h2 span {
    color: transparent;

    background: linear-gradient(
        100deg,
        #df2b83,
        #8b60eb
    );

    -webkit-background-clip: text;
    background-clip: text;
}

.faq-heading p {
    max-width: 700px;

    margin: 18px auto 0;

    color: #667085;

    font-size: 16px;
    line-height: 1.8;
}

/* FAQ Container */

.faq-wrap {
    max-width: 900px;
    margin: 0 auto;
}

/* FAQ Item */

.faq-item {
    margin: 14px 0;

    background: linear-gradient(
        145deg,
        #ffffff,
        #fcfaff
    );

    border: 1px solid #e5e5ee;
    border-radius: 18px;

    box-shadow:
        0 10px 28px rgba(31,40,70,.05);

    overflow: hidden;
}

.faq-item summary {
    position: relative;

    padding: 21px 58px 21px 23px;

    color: #182033;

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

    cursor: pointer;

    list-style: none;
}

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

.faq-item summary::after {
    content: "+";

    position: absolute;
    top: 50%;
    right: 22px;

    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    transform: translateY(-50%);

    color: #ffffff;

    background: linear-gradient(
        135deg,
        #e52b87,
        #855fea
    );

    border-radius: 50%;

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

    transition:
        transform .22s ease,
        background .22s ease;
}

.faq-item[open] summary::after {
    content: "−";

    transform:
        translateY(-50%)
        rotate(180deg);
}

.faq-answer {
    padding: 0 23px 22px;

    color: #667085;

    font-size: 14px;
    line-height: 1.8;
}

.faq-item[open] {
    border-color: rgba(214,47,131,.22);

    box-shadow:
        0 16px 38px rgba(97,63,130,.08);
}

/* Product highlight items */

.faq-item.gym-faq {
    border-left: 4px solid #8c71e8;
}

.faq-item.spa-faq {
    border-left: 4px solid #e52b87;
}

.faq-item.accounting-faq {
    border-left: 4px solid #20b358;
}

/* Bottom CTA */

.faq-cta {
    margin-top: 40px;
    padding: 28px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    color: #ffffff;

    background: linear-gradient(
        120deg,
        #e42b86 0%,
        #c63bad 52%,
        #805eea 100%
    );

    border-radius: 22px;

    box-shadow:
        0 20px 48px rgba(165,60,178,.22);
}

.faq-cta h3 {
    margin: 0 0 7px;

    color: #ffffff;

    font-size: 22px;
}

.faq-cta p {
    margin: 0;

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

    font-size: 14px;
    line-height: 1.7;
}

.faq-cta-actions {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

/* Tablet */

@media (max-width: 980px) {

    .faq-section {
        padding: 84px 0 90px;
    }

    .faq-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Mobile */

@media (max-width: 640px) {

    .faq-section {
        padding: 68px 0 74px;
    }

    .faq-heading h2 {
        font-size: 35px;
        letter-spacing: -.9px;
    }

    .faq-item summary {
        padding: 19px 55px 19px 19px;
    }

    .faq-answer {
        padding: 0 19px 20px;
    }

    .faq-cta {
        padding: 25px 22px;
    }

    .faq-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .faq-cta-actions .btn {
        width: 100%;
    }
}


/* =========================================================
   FINAL CTA CONTACT ICON FIX
   Keeps icon styling separate from contact text
========================================================= */

.final-contact-option {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Text wrapper only */

.final-contact-option > span:not(.final-contact-icon) {
    display: block;
    margin: 0;
    color: #667085;
    font-size: 12px;
}

.final-contact-option > span:not(.final-contact-icon) > strong {
    display: block;
    margin-bottom: 3px;

    color: #182033;

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

.final-contact-option > span:not(.final-contact-icon) > span {
    display: block;
    margin: 0;

    color: #667085;

    font-size: 12px;
}


/* =========================================================
   ICON BASE
========================================================= */

.final-contact-option .final-contact-icon {
    width: 54px;
    height: 54px;

    min-width: 54px;
    min-height: 54px;

    flex: 0 0 54px;

    margin: 0;

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

    border-radius: 16px;

    color: #ffffff !important;

    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 700 !important;

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


/* WhatsApp */

.final-contact-option .final-contact-icon.whatsapp {
    background: linear-gradient(
        135deg,
        #20b358,
        #67cf73
    );
}


/* Phone */

.final-contact-option .final-contact-icon.phone {
    background: linear-gradient(
        135deg,
        #e52b87,
        #8a60ea
    );
}


/* Email */

.final-contact-option .final-contact-icon.email {
    background: linear-gradient(
        135deg,
        #6b6ff2,
        #8a60ea
    );
}


/* Hover */

.final-contact-option:hover .final-contact-icon {
    transform: scale(1.06);

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