/* ===== FAQ — Anil Ambulance ===== */
.ah-faq {
    --ah-navy: #0b2545; --ah-red: #e0182d; --ah-red-dark: #b80f21; --ah-green: #1fa855;
    --ah-ink: #0f1d33; --ah-muted: #5b6b82; --ah-line: #e3e9f1;
    position: relative; overflow: hidden; padding: 56px 0; font-family: 'Montserrat', sans-serif; color: var(--ah-muted);
}
.ah-faq {
    background:
        radial-gradient(480px 320px at 0% 20%, rgba(224, 24, 45, .06), transparent 70%),
        radial-gradient(520px 360px at 100% 90%, rgba(26, 115, 232, .06), transparent 70%),
        #fff;
}
.ah-faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }

/* ---- Intro ---- */
.ah-faq-intro { position: sticky; top: 110px; }
.ah-faq-eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    color: var(--ah-red); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.ah-faq-eyebrow::before { content: ""; width: 36px; height: 2px; border-radius: 2px; background: var(--ah-red); }
.ah-faq-title {
    margin: 14px 0 0; color: var(--ah-ink); font-size: clamp(28px, 2.8vw, 40px); font-weight: 800; line-height: 1.18; letter-spacing: -.02em;
}
.ah-faq-title span { display: block; color: var(--ah-red); }
.ah-faq-lead { margin: 16px 0 0 !important; font-size: 15.5px; line-height: 1.7; max-width: 440px; }
.ah-faq-rate { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.ah-faq-rate-g {
    flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
    background: #fff; border: 1px solid var(--ah-line); box-shadow: 0 8px 18px -12px rgba(15, 29, 51, .35);
}
.ah-faq-rate strong { display: block; color: var(--ah-ink); font-size: 15px; font-weight: 800; line-height: 1.2; }
.ah-faq-rate strong em { font-style: normal; color: #fbbc04; letter-spacing: 1px; margin-left: 2px; }
.ah-faq-rate > span:last-child { font-size: 13px; font-weight: 600; line-height: 1.4; }

.ah-faq-help {
    position: relative; overflow: hidden; margin-top: 30px; padding: 28px; border-radius: 20px; color: #a9b6c9;
    background:
        radial-gradient(300px 200px at 100% 0%, rgba(224, 24, 45, .22), transparent 70%),
        #0b1d36;
}
.ah-faq-help > * { position: relative; z-index: 1; }
.ah-faq-help::after {
    content: ""; position: absolute; top: -50px; right: -50px; width: 140px; height: 140px; border-radius: 50%;
    border: 18px solid rgba(255, 255, 255, .05); pointer-events: none;
}
.ah-faq-help-ic {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--ah-red), var(--ah-red-dark)); color: #fff; font-size: 22px;
    box-shadow: 0 12px 24px -12px rgba(224, 24, 45, .9);
}
.ah-faq-help-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ah-faq-live {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 30px;
    background: rgba(31, 168, 85, .14); border: 1px solid rgba(31, 168, 85, .35);
    color: #5fd68e; font-size: 12px; font-weight: 700; letter-spacing: .02em;
}
.ah-faq-live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; }
.ah-faq-live i::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; background: #2ecc71;
    animation: ahFaqPing 1.8s ease-out infinite;
}
@keyframes ahFaqPing { from { transform: scale(1); opacity: .7; } to { transform: scale(2.8); opacity: 0; } }
.ah-faq-help p a { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ah-faq-help p a:hover { text-decoration: underline; }
.ah-faq-help h3 { margin: 18px 0 0; color: #fff; font-size: 20px; font-weight: 700; }
.ah-faq-help p { margin: 6px 0 0 !important; font-size: 14.5px; line-height: 1.6; }
.ah-faq-help-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.ah-faq-btn {
    height: 50px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; transition: transform .2s ease, filter .2s ease;
}
.ah-faq-btn--call { background: linear-gradient(135deg, var(--ah-red), var(--ah-red-dark)); }
.ah-faq-btn--wa { background: var(--ah-green); }
.ah-faq-btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.06); }
.ah-faq-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---- Accordion ---- */
.ah-faq-list { display: grid; gap: 14px; }
.ah-faq-item {
    position: relative; overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid var(--ah-line);
    box-shadow: 0 6px 18px -14px rgba(15, 29, 51, .3);
    transition: border-color .25s ease, box-shadow .25s ease;
}
.ah-faq-item::before {
    content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, var(--ah-red), var(--ah-red-dark));
    transform: scaleY(0); transition: transform .3s ease;
}
.ah-faq-item[open]::before { transform: scaleY(1); }
.ah-faq-item:hover { border-color: #cfd9e6; }
.ah-faq-q:hover .ah-faq-n { background: #fbd9dd; }
.ah-faq-q:hover .ah-faq-tg { border-color: var(--ah-red); transform: rotate(90deg); }
.ah-faq-item[open] .ah-faq-q:hover .ah-faq-tg { transform: none; }
.ah-faq-q:hover > span:nth-child(2) { color: var(--ah-red); }
.ah-faq-item[open] .ah-faq-q:hover > span:nth-child(2) { color: var(--ah-ink); }
.ah-faq-item[open] { border-color: rgba(224, 24, 45, .35); box-shadow: 0 18px 40px -24px rgba(224, 24, 45, .45); }
.ah-faq-q {
    display: flex; align-items: center; gap: 18px; padding: 18px 22px; cursor: pointer; list-style: none;
    color: var(--ah-ink); font-size: 17px; font-weight: 700; line-height: 1.4; border-radius: 18px;
}
.ah-faq-q::-webkit-details-marker { display: none; }
.ah-faq-q:focus-visible { outline: 2px solid var(--ah-red); outline-offset: 2px; }
.ah-faq-n {
    flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
    background: #fdecee; color: var(--ah-red); font-size: 15px; font-weight: 800;
    transition: background .25s ease, color .25s ease;
}
.ah-faq-item[open] .ah-faq-n { background: linear-gradient(135deg, var(--ah-red), var(--ah-red-dark)); color: #fff; }
.ah-faq-q > span:nth-child(2) { flex: 1; transition: color .2s ease; }
.ah-faq-tg {
    flex: none; position: relative; width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid var(--ah-line); background: #fff; transition: background .25s ease, border-color .25s ease, transform .3s ease;
}
.ah-faq-tg::before, .ah-faq-tg::after {
    content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; border-radius: 2px;
    background: var(--ah-ink); transform: translate(-50%, -50%); transition: transform .25s ease, background .25s ease;
}
.ah-faq-tg::after { transform: translate(-50%, -50%) rotate(90deg); }
.ah-faq-item[open] .ah-faq-tg { background: var(--ah-navy); border-color: var(--ah-navy); }
.ah-faq-item[open] .ah-faq-tg::before, .ah-faq-item[open] .ah-faq-tg::after { background: #fff; }
.ah-faq-item[open] .ah-faq-tg::after { transform: translate(-50%, -50%) rotate(0deg); }
.ah-faq-a { padding: 0 22px 22px 86px; }
.ah-faq-a p { padding-top: 14px; border-top: 1px dashed #e6ebf2; }
.ah-faq-a p { margin: 0 !important; font-size: 15px; line-height: 1.75; }
.ah-faq-a a { color: var(--ah-red); font-weight: 700; text-decoration: none; white-space: nowrap; }
.ah-faq-a a:hover { text-decoration: underline; }

/* smooth open where supported */
@supports (interpolate-size: allow-keywords) {
    .ah-faq-list { interpolate-size: allow-keywords; }
    .ah-faq-item::details-content { height: 0; overflow: clip; transition: height .3s ease, content-visibility .3s allow-discrete; }
    .ah-faq-item[open]::details-content { height: auto; }
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .ah-faq { padding: 48px 0; }
    .ah-faq-grid { grid-template-columns: 1fr; gap: 32px; }
    .ah-faq-intro { position: static; display: contents; }
    .ah-faq-head { order: 1; }
    .ah-faq-list { order: 2; }
    .ah-faq-help { order: 3; margin-top: 0; }
    .ah-faq-lead { max-width: none; }
}
@media (max-width: 575.98px) {
    .ah-faq { padding: 40px 0; }
    .ah-faq-grid { gap: 24px; }
    .ah-faq-list { gap: 10px; }
    .ah-faq-q { gap: 12px; padding: 14px 14px; font-size: 15px; }
    .ah-faq-a p { padding-top: 12px; }
    .ah-faq-n { width: 38px; height: 38px; font-size: 13.5px; border-radius: 10px; }
    .ah-faq-tg { width: 32px; height: 32px; }
    .ah-faq-tg::before, .ah-faq-tg::after { width: 12px; }
    .ah-faq-a { padding: 0 16px 18px 16px; }
    .ah-faq-a p { font-size: 14px; }
    .ah-faq-help { padding: 22px; }
    .ah-faq-btn { height: 48px; font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
    .ah-faq *, .ah-faq *::before, .ah-faq *::after, .ah-faq-item::details-content { transition: none !important; animation: none !important; }
}
