/* Service page FAQ: ONE component for every service page.
   Markup and content are generated from data/service-faqs.js by
   scripts/build-service-faqs.js; behaviour is js/service-faq.js.
   Same row, +/- disclosure and reveal as the homepage FAQ thread (index.html,
   .home-faq-*), in the light Apple grouped-list take the service pages use:
   neutral ground, one white sheet, hairline dividers, a round 44px control. */
.svc-faq {
    padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 4rem);
    background: #f5f5f7;
    color: #1d1d1f;
}
.svc-faq-inner {
    width: min(860px, 100%);
    margin: 0 auto;
}
.svc-faq-title {
    margin: 0;
    font-size: clamp(2.1rem, 4.4vw, 3.6rem);
    font-weight: 740;
    line-height: 1.02;
    letter-spacing: -0.01em;
    text-align: center;
    color: #1d1d1f;
}
.svc-faq-sub {
    margin: 0.9rem auto 0;
    max-width: 560px;
    color: #6e6e73;
    font-size: 1.1rem;
    line-height: 1.55;
    text-align: center;
}
.svc-faq-list {
    margin-top: clamp(1.8rem, 3.4vw, 2.8rem);
    border-radius: 28px;
    background: #fff;
    overflow: hidden;
}
.svc-faq-item + .svc-faq-item .svc-faq-q {
    box-shadow: inset 0 1px 0 rgba(0,0,0,0.08);
}
.svc-faq-head {
    margin: 0;
    font: inherit;
}
.svc-faq-q {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    min-height: 72px;
    padding: 1.05rem 1.25rem 1.05rem 1.6rem;
    border: 0;
    background: none;
    color: #1d1d1f;
    font: inherit;
    font-size: clamp(1.04rem, 1.5vw, 1.18rem);
    font-weight: 640;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.svc-faq-text {
    flex: 1 1 auto;
    min-width: 0;
}
/* The +/- cue: the homepage control on the light Apple Settings fill. */
.svc-faq-icon {
    position: relative;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #e8e8ed;
    color: #1d1d1f;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.svc-faq-icon i {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 2px;
    background: currentColor;
}
.svc-faq-icon i:first-child {
    width: 15px;
    height: 2.5px;
    transform: translate(-50%, -50%);
}
.svc-faq-icon i:last-child {
    width: 2.5px;
    height: 15px;
    transform: translate(-50%, -50%);
    transition: transform 0.18s ease;
}
.svc-faq-item.is-open .svc-faq-icon {
    background: rgba(0,113,227,0.12);
    color: #0071e3;
}
.svc-faq-item.is-open .svc-faq-icon i:last-child {
    transform: translate(-50%, -50%) scaleY(0);
}
@media (hover: hover) and (pointer: fine) {
    .svc-faq-q:hover .svc-faq-icon {
        background: #dcdce1;
        transform: translateY(-1px);
    }
    .svc-faq-item.is-open .svc-faq-q:hover .svc-faq-icon {
        background: rgba(0,113,227,0.18);
    }
}
.svc-faq-q:focus-visible {
    outline: none;
}
.svc-faq-q:focus-visible .svc-faq-icon {
    box-shadow: 0 0 0 3px rgba(0,113,227,0.45);
}
/* Answers collapse only once the script is ready, so without JS every
   answer stays readable. The script sets the open height in px. */
.svc-faq.is-ready .svc-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.16,1,0.3,1);
}
.svc-faq-a p {
    max-width: 680px;
    margin: 0;
    padding: 0 4.5rem 1.4rem 1.6rem;
    color: #424245;
    font-size: 1.02rem;
    line-height: 1.62;
}
.svc-faq.is-ready .svc-faq-a p {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease 0.05s, transform 0.45s cubic-bezier(0.16,1,0.3,1) 0.05s;
}
.svc-faq.is-ready .svc-faq-item.is-open .svc-faq-a p {
    opacity: 1;
    transform: none;
}
.svc-faq-more {
    margin: 1.6rem 0 0;
    color: #6e6e73;
    font-size: 1rem;
    text-align: center;
}
.svc-faq-more a {
    color: #0071e3;
    font-weight: 600;
    text-decoration: none;
}
.svc-faq-more a:hover {
    text-decoration: underline;
}
@media (max-width: 680px) {
    .svc-faq {
        padding: 4rem 1rem;
    }
    .svc-faq-title {
        font-size: clamp(1.9rem, 7vw, 2.5rem);
    }
    .svc-faq-sub {
        font-size: 1rem;
    }
    .svc-faq-list {
        border-radius: 22px;
    }
    .svc-faq-q {
        gap: 0.85rem;
        min-height: 64px;
        padding: 0.9rem 0.9rem 0.9rem 1.15rem;
        font-size: 1.02rem;
    }
    .svc-faq-a p {
        padding: 0 1.15rem 1.2rem;
        font-size: 0.98rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .svc-faq.is-ready .svc-faq-a,
    .svc-faq.is-ready .svc-faq-a p,
    .svc-faq-icon,
    .svc-faq-icon i:last-child {
        transition: none;
    }
}
