/* Services page: FAQ block (mobile only; matches homepage FAQ look) */

.services-faq-section {
    display: none;
}

:root {
    --glass-bg-light: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.7) 100%
    );
    --glass-border-light: 1px solid rgba(255, 255, 255, 0.74);
    --glass-shadow-light: 0 18px 40px rgba(3, 12, 24, 0.12), 0 4px 12px rgba(3, 12, 24, 0.06);
    --light-text: #102335;
    --light-muted: #5f7387;
}

.glass-panel-light {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    --gx: 22%;
    --gy: 0%;
    background: var(--glass-bg);
    backdrop-filter: blur(18px) saturate(165%);
    -webkit-backdrop-filter: blur(18px) saturate(165%);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 18px;
}

.glass-panel-light > * {
    position: relative;
    z-index: 1;
}

.glass-panel-light::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(
            140% 110% at var(--gx) var(--gy),
            rgba(255, 255, 255, 0.36) 0%,
            rgba(255, 255, 255, 0.18) 14%,
            rgba(255, 255, 255, 0.06) 28%,
            transparent 58%
        ),
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 40%);
    opacity: 0.92;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 0;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

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

.faq-question-left {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
}

.faq-question-left svg {
    color: var(--primary-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.faq-question-left span {
    display: block;
    min-width: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.22;
    color: var(--text);
    overflow-wrap: anywhere;
}

.faq-toggle {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 153, 153, 0.1);
    border: 1px solid rgba(0, 153, 153, 0.2);
    color: var(--primary-light);
    display: grid;
    place-items: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
    background: rgba(0, 153, 153, 0.14);
}

.faq-item.open {
    box-shadow: var(--glass-shadow), 0 10px 22px rgba(0, 0, 0, 0.18);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
    padding: 0 16px;
}

.faq-item.open .faq-answer {
    max-height: 280px;
    opacity: 1;
    padding: 0 16px 16px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.75;
    padding-left: 26px;
}

@media (max-width: 768px) {
    .services-faq-section {
        display: block;
    }

    .services-faq-section.section-light {
        background: transparent !important;
        border: none;
        box-shadow: none;
    }

    .services-faq-section .section-container > div:first-child {
        margin-bottom: 22px;
    }

    .services-faq-section .section-title {
        line-height: 1.08;
        letter-spacing: -0.02em;
        font-size: clamp(32px, 8.6vw, 44px);
        margin-top: 10px;
        text-align: center;
        color: var(--text);
    }

    .services-faq-section .section-label {
        justify-content: center;
        color: var(--primary-light);
    }
}

@media (min-width: 769px) {
    .services-faq-section {
        display: none !important;
    }

    .footer-faq-mobile-only {
        display: none;
    }
}
