.faq-section {
    position: relative;
    padding: 90px 0;
    background: radial-gradient(circle at 20% 20%, rgba(64, 176, 182, 0.08), transparent 40%),
        radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.05), transparent 30%),
        #ffffff;
    overflow: visible;
    --faq-panel-height: clamp(680px, 90vh, 1100px);
}

.faq-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(64, 176, 182, 0.06));
    pointer-events: none;
    mix-blend-mode: screen;
}

.faq-visual-card {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
    background: #121721;
    isolation: isolate;
}

.faq-sticky {
    position: static;
    top: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: var(--faq-panel-height);
    align-self: stretch;
}

.faq-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05) brightness(0.8);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.faq-visual-card:hover .faq-image {
    transform: scale(1.03);
}

.faq-contact-card {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(15, 18, 24, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
}

.faq-contact-card-mobile {
    position: static;
    margin-top: 18px;
    margin-left: auto;
    margin-right: auto;
    align-self: center;
    justify-content: center;
    text-align: left;
}

.faq-cta-card {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 2px;
    background: rgb(15 15 15);
    border: 1px solid rgba(249, 194, 27, 0.28);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.faq-cta-title {
    margin: 0 0 10px;
    color: #f9c41b;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.faq-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
}

.faq-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 18px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
    font-size: 15px !important;
    gap: 8px !important;
    letter-spacing: 0.15px !important;
    text-transform: none !important;
    line-height: 1.1 !important;
    height: 52px !important;
}

.faq-cta-btn.primary {
    background: linear-gradient(135deg, #f9c41b, #f7a600);
    color: #0f1218;
    box-shadow: 0 10px 25px rgba(249, 196, 27, 0.35);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.faq-cta-btn.ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #f7f8fa;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.faq-cta-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #1ebe5d);
    color: #042b18;
    border: 1px solid rgba(0, 0, 0, 0.18);
}

.faq-cta-btn.email {
    background: linear-gradient(135deg, #4da3ff, #1f82f0);
    color: #0c1f33;
    border: 1px solid rgba(0, 0, 0, 0.16);
}

.faq-email-text {
    color: #ffffff !important;
}

.faq-email-icon {
    color: #ffffff !important;
}

.faq-cta-btn.chat {
    background: linear-gradient(135deg, #191d25, #0f131c);
    color: #f9c41b;
    border: 1px solid rgba(249, 196, 27, 0.32);
}

.faq-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.faq-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f9c41b, #f9c205);
    color: #0f1218;
    font-size: 20px;
}

.faq-contact-label {
    margin: 0;
    color: #dce7ef;
    font-size: 13px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.faq-contact-phone {
    color: #f9c31b;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
}

.faq-content {
    position: relative;
    padding: 32px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgb(6 6 6 / 92%), rgb(0 0 0 / 92%));
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-height: var(--faq-panel-height);
    overflow-y: auto;
    height: var(--faq-panel-height);
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgb(253 194 0);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-size: 12px;
}

.faq-badge i {
    font-size: 10px;
}

.faq-title {
    color: #fff;
    margin: 16px 0 20px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.4px;
}

.faq-title em {
    color: #fdc51a;
    font-style: normal;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.faq-card {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-card:hover {
    border-color: rgba(64, 176, 182, 0.45);
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    background: transparent;
    border: none;
    color: #dfe7f1;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.faq-question:focus,
.faq-question:focus-visible,
.faq-question:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.faq-question span:first-child {
    flex: 1;
}

.faq-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgb(253 197 26);
    color: #ffffff;
    font-weight: 900;
    font-size: 15px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 18px 0;
    color: #9fb2c6;
    line-height: 1.6;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-card.open .faq-answer {
    max-height: 400px;
    padding: 0 18px 16px;
}

.faq-card.open .faq-question {
    color: #ffffff;
}

.faq-card.open {
    border-color: rgb(253 194 0);
    background: rgb(0 0 0 / 67%);
}

.faq-footnote {
    margin-top: 14px;
    color: #8ea3bc;
    font-size: 14px;
}

.faq-row-bottom {
    align-items: stretch !important;
}

.faq-row-bottom>[class*="col-"] {
    display: flex;
}

@media (max-width: 991px) {
    .faq-section {
        padding: 70px 0;
        --faq-panel-height: auto;
    }

    .faq-content {
        margin-top: 28px;
        padding: 24px;
        max-height: none;
        overflow: visible;
    }

    .faq-sticky {
        height: auto;
    }

    .faq-row-bottom>[class*="col-"] {
        display: block;
    }

    .faq-content {
        height: auto;
        max-height: none;
    }

    .faq-contact-card {
        display: none;
    }

    .faq-contact-card-mobile {
        display: flex;
        width: fit-content;
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .faq-contact-card-mobile {
        display: none;
    }
}

@media (min-width: 992px) {
    .faq-sticky {
        height: var(--faq-panel-height);
    }

    .faq-visual-card {
        flex: 1 1 auto;
        height: 100%;
    }

    .faq-cta-card {
        margin-top: auto;
    }

    .faq-content {
        height: var(--faq-panel-height);
        display: flex;
        flex-direction: column;
    }

    /* Center CTA buttons horizontally inside the card on desktop */
    .faq-cta-actions {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .faq-question {
        padding: 14px 16px;
        font-size: 15px;
    }

    .faq-answer {
        font-size: 14px;
    }
}

/* Mobile: make WhatsApp + Email equal-width on the top row and center Chat below */
@media (max-width: 767px) {
    .faq-cta-actions {
        justify-content: center;
        gap: 10px;
        align-items: stretch;
    }

    .faq-cta-actions > .faq-cta-btn:not(.chat) {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
        box-sizing: border-box;
    }

    .faq-cta-actions > .faq-cta-btn.chat {
        flex: 0 0 100%;
        max-width: 320px;
        margin: 10px auto 0;
        display: inline-flex !important;
        justify-content: center !important;
    }

    .faq-cta-btn {
        height: 48px !important;
        padding: 10px 12px !important;
        font-size: 15px !important;
    }
}
