/* =========================================================
   AMPSY CONSULTANCY - GLOBAL FAQ STYLE
   Master design based on the homepage FAQ
   Use with the shared .fq-* FAQ HTML structure
   ========================================================= */

.fq-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
    padding: 100px 80px;
    font-family: 'Manrope', sans-serif;
}

.fq-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 560px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,43,43,.07) 0%, rgba(212,43,43,0) 70%);
    pointer-events: none;
}

.fq-dotgrid {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 280px;
    height: 280px;
    background-image: radial-gradient(#0a1628 1px, transparent 1px);
    background-size: 18px 18px;
    -webkit-mask-image: radial-gradient(circle at bottom right, #000 0%, transparent 75%);
    mask-image: radial-gradient(circle at bottom right, #000 0%, transparent 75%);
    opacity: .06;
    pointer-events: none;
}

.fq-section .container {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
}

.fq-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
    transition-delay: var(--d, 0s);
}

.fq-reveal.fq-in-view {
    opacity: 1;
    transform: translateY(0);
}

.fq-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.fq-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.fq-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d42b2b;
    box-shadow: 0 0 0 4px rgba(212,43,43,.15);
}

.fq-eyebrow-text {
    color: #d42b2b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.fq-title {
    color: #0a1628;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 12px;
    letter-spacing: -.01em;
}

.fq-desc {
    color: #6B7280;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.fq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fq-item {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.fq-item.fq-open {
    border-color: rgba(212,43,43,.25);
    box-shadow: 0 10px 26px rgba(10,22,40,.06);
}

.fq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 22px;
    cursor: pointer;
    color: #0a1628;
    font-size: 15.5px;
    font-weight: 700;
    font-family: inherit;
    line-height: 1.5;
    transition: color .3s ease;
}

.fq-q span {
    flex: 1;
}

.fq-item.fq-open .fq-q {
    color: #d42b2b;
}

.fq-icon {
    flex: none;
    width: 20px;
    height: 20px;
    color: #d42b2b;
    transition: transform .35s cubic-bezier(.22,1,.36,1);
}

.fq-item.fq-open .fq-icon {
    transform: rotate(135deg);
}

.fq-a-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.22,1,.36,1);
}

.fq-a {
    color: #4B5563;
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.75;
    margin: 0;
    padding: 0 22px 22px;
}

/* Tablet */
@media (max-width: 1200px) {
    .fq-section {
        padding: 90px 40px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .fq-section {
        padding: 70px 20px;
    }

    .fq-header {
        margin-bottom: 34px;
    }

    .fq-title {
        font-size: 25px;
    }

    .fq-desc {
        font-size: 14px;
    }

    .fq-q {
        font-size: 14px;
        padding: 16px 18px;
    }

    .fq-a {
        font-size: 13.5px;
        padding: 0 18px 18px;
    }

    .fq-list {
        gap: 12px;
    }
}

/* Small mobile */
@media (max-width: 420px) {
    .fq-section {
        padding: 60px 14px;
    }

    .fq-title {
        font-size: 23px;
    }
}