/* FAQs page (faqs.php) — page-only layout on top of theme.css.
   .ph-crumbs and .ph-pagehero h1 em are shared with about/testimonials: candidates for theme.css. */

/* ---------- breadcrumb + hero type ---------- */
.ph-pagehero .ph-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: 0 0 var(--ph-s-4) !important; font-size: var(--ph-fs-sm); color: var(--ph-on-red-soft); }
.ph-pagehero .ph-crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: #fff !important; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 4px; }
.ph-pagehero .ph-crumbs i { font-size: .7rem; opacity: .8; }
.ph-pagehero .ph-hero__eyebrow { font-size: var(--ph-fs-xs); max-width: none; }
.ph-pagehero h1 { font-variation-settings: "SOFT" 50, "WONK" 1; line-height: 1.02; letter-spacing: -0.025em; }
.ph-pagehero h1 em { font-style: italic; font-weight: 500; color: #fff; }

/* ---------- centred hero ---------- */
.ph-fq-hero { text-align: center; padding-bottom: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.ph-fq-hero .ph-crumbs { justify-content: center; max-width: none; }
.ph-fq-hero h1 { margin-inline: auto; max-width: 16ch; }
.ph-fq-hero p { margin-inline: auto; }
.ph-fq-hero .ph-hero__rays { right: auto; left: 50%; transform: translateX(-50%); top: -35%; }
.ph-fq-topics { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: var(--ph-s-6) !important; }
.ph-fq-topics a {
    display: inline-flex; align-items: center; gap: .5em;
    min-height: 44px;
    padding: .4em 1.1em;
    border-radius: var(--ph-r-pill);
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.4);
    color: #fff !important;
    font-weight: 600;
    font-size: var(--ph-fs-sm);
    transition: background-color .2s, color .2s;
}
.ph-fq-topics a:hover { background: #fff; color: var(--ph-red-700) !important; }
.ph-fq-topics a span { font-family: var(--ph-font-display); font-weight: 700; opacity: .8; }

/* ---------- layout: sticky aside + questions ---------- */
.ph-fq-layout { display: grid; gap: var(--ph-s-7); }
@media (min-width: 992px) {
    .ph-fq-layout { grid-template-columns: .78fr 1.22fr; gap: var(--ph-s-8); align-items: start; }
    .ph-fq-aside { position: sticky; top: calc(var(--ph-header-h) + 1.5rem); }
}
.ph-fq-aside .ph-h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); }
.ph-fq-help { margin-top: var(--ph-s-5); }
.ph-fq-help .ph-btn-row { margin-top: var(--ph-s-4); }
@media (max-width: 991.98px) { .ph-fq-help { display: none; } } /* phones get the full CTA below instead */

.ph-fq-group + .ph-fq-group { margin-top: var(--ph-s-7); }
.ph-fq-group__title {
    display: flex; align-items: baseline; gap: .75rem;
    font-size: var(--ph-fs-h3);
    padding-bottom: var(--ph-s-3);
    margin-bottom: var(--ph-s-4) !important;
    border-bottom: 1px solid var(--ph-line);
}
.ph-fq-group__title small {
    font-family: var(--ph-font-body);
    font-size: var(--ph-fs-xs);
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ph-red-700);
}

/* question row: number + icon + text, then the plus from theme.css */
.ph-fq-q__num {
    flex: none;
    font-family: var(--ph-font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ph-red-700);
    min-width: 1.6em;
}
.ph-fq-q__icon { width: 40px; height: 40px; font-size: 1rem; }
@media (max-width: 419.98px) { .ph-fq-q__icon { display: none; } }
.ph-fq-q__text { flex: 1; }
.ph-faq__q { justify-content: flex-start; }
.ph-faq__q::after { margin-left: auto; }
.ph-faq__item[open] { border-color: var(--ph-red); }
.ph-faq__item[open] .ph-faq__q { color: var(--ph-red-700); }
.ph-faq__a { padding-left: calc(var(--ph-s-5) + 1.6em + var(--ph-s-4)); }
@media (max-width: 559.98px) {
    .ph-faq__q { padding-inline: var(--ph-s-4); gap: var(--ph-s-3); }
    .ph-faq__a { padding: 0 var(--ph-s-4) var(--ph-s-4) calc(var(--ph-s-4) + 1.6em + var(--ph-s-3)); }
}

/* ---------- still have questions ---------- */
.ph-fq-cta { display: grid; gap: var(--ph-s-6); align-items: center; }
@media (min-width: 992px) { .ph-fq-cta { grid-template-columns: 1.1fr .9fr; gap: var(--ph-s-7); } }
.ph-fq-ways { display: grid; gap: var(--ph-s-3); position: relative; }
.ph-fq-way {
    display: flex; align-items: center; gap: var(--ph-s-4);
    min-height: 72px;
    padding: var(--ph-s-3) var(--ph-s-4);
    background: var(--ph-paper);
    border-radius: var(--ph-r-md);
    color: var(--ph-ink) !important;
    box-shadow: var(--ph-shadow-sm);
    transition: transform .2s var(--ph-ease), box-shadow .2s;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.ph-fq-way:hover { transform: translateX(4px); box-shadow: var(--ph-shadow-md); }
.ph-fq-way strong { display: block; font-size: 1.05rem; }
.ph-fq-way small { display: block; color: var(--ph-muted); font-size: var(--ph-fs-sm); }
.ph-fq-way > i:last-child { margin-left: auto; color: var(--ph-red); }
.ph-fq-way--wa .ph-icon-badge { background: #E3F3EA; color: var(--ph-whatsapp); }
@media (max-width: 479.98px) {
    .ph-fq-cta { padding: var(--ph-s-6) var(--ph-s-4); }
    .ph-fq-way { gap: var(--ph-s-3); padding-inline: var(--ph-s-3); }
    .ph-fq-way > i:last-child { display: none; }
    .ph-fq-way small { font-size: var(--ph-fs-xs); overflow-wrap: normal; }
}
