/*
  shr-faq-page-v3.css — FAQ 2026 (native) page-specific components.
  (v3 = the new native template; the legacy editor-content file is
  shr-faq-page.css, kept only as a revert fallback.)
  Loaded only on landing-pages/template-faq-2026.php (dep: shr-sections).
  Everything structural (sections, kickers, rules, h2, blueprint frames +
  corner marks, hover-lift, scroll-reveal, buttons) is reused from
  shr-sections.css / shr-shared.css. Only the genuinely unique bits live
  here — all scoped under .shr-faq. The accordion + filter-tab markup
  (.shr-faq-tab / .shr-faq-group / .shr-faq-item*) intentionally keeps the
  same class names as the legacy page so the existing JS in functions.php
  (shr_enqueue_faq_page_js, keyed on is_page('faq')) works unmodified.
*/

/* ═══════════ Hero — same recipe as Learn Paper Shredder / Security
   Levels: diagonal navy gradient + falling-paper strips (multiply-blended)
   + fading red baseline. Buyer-guide/reference-style page, distinct from
   the light hero used on About/Contact/Why Buy/Why Shred/Request Quote. ═══════════ */
.shr-faq-hero {
	position: relative;
	background: linear-gradient(135deg, #060a11 0%, #1e3654 50%, #060a11 100%);
	overflow: hidden;
}
.shr-faq-hero::before {
	content: '';
	position: absolute; inset: 0;
	background: url('assets/no-index/paper-shredder-falling-1.webp') center / cover no-repeat;
	mix-blend-mode: multiply;
	opacity: .55;
	z-index: 0;
}
.shr-faq-hero::after {
	content: '';
	position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
	background: linear-gradient(90deg, transparent 0%, var(--s2u-red) 50%, transparent 100%);
	box-shadow: 0 0 18px 2px rgba(230, 57, 70, .55);
	z-index: 2;
}
.shr-faq-hero .s2u-kicker { color: var(--s2u-red); }
.shr-faq-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.shr-faq-hero__title {
	font-family: var(--s2u-font-heading); font-weight: 600;
	font-size: clamp(30px, 3.8vw, 48px); line-height: 1.12; letter-spacing: .01em;
	text-transform: uppercase; color: #fff; margin: 18px 0 20px;
}
.shr-faq-hero__lead { font-size: 16.5px; line-height: 1.6; color: rgba(255, 255, 255, .72); max-width: 58ch; margin: 0; }

.shr-faq-hero__stats { display: flex; flex-direction: column; gap: 10px; }
.shr-faq-hero__stat {
	display: flex; align-items: center; gap: 14px;
	padding: 12px 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12);
}
.shr-faq-hero__stat-icon {
	flex-shrink: 0; width: 36px; height: 36px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(230, 57, 70, .15); border: 1px solid rgba(230, 57, 70, .3); color: var(--s2u-red);
}
.shr-faq-hero__stat-icon svg { width: 18px; height: 18px; }
.shr-faq-hero__stat-text { display: flex; flex-direction: column; gap: 2px; }
.shr-faq-hero__stat-label { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .4); }
.shr-faq-hero__stat-value { font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .88); }

/* ═══════════ Category filter tabs ═══════════ */
.shr-faq-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.shr-faq-tab {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 18px; font-family: var(--s2u-font-body); font-size: 13.5px; font-weight: 600;
	color: var(--s2u-neutral-700); background: #fff; border: 1px solid var(--s2u-divider);
	cursor: pointer; user-select: none; transition: border-color .16s ease, color .16s ease;
}
.shr-faq-tab svg { width: 15px; height: 15px; flex-shrink: 0; }
.shr-faq-tab:hover { border-color: var(--s2u-red); color: var(--s2u-red); }
.shr-faq-tab.active { background: var(--s2u-red); border-color: var(--s2u-red); color: #fff; }
.shr-faq-tab__count {
	font-size: 11px; font-weight: 600; background: var(--s2u-accent-100); color: var(--s2u-neutral-700);
	border-radius: 999px; padding: 1px 8px;
}
.shr-faq-tab.active .shr-faq-tab__count { background: rgba(255, 255, 255, .25); color: #fff; }

/* ═══════════ FAQ groups + accordion ═══════════ */
.shr-faq-group { margin-bottom: 36px; }
.shr-faq-group.hidden { display: none; }
.shr-faq-group__header {
	display: flex; align-items: center; gap: 14px; margin-bottom: 16px;
	padding-bottom: 14px; border-bottom: 1px solid var(--s2u-divider); position: relative;
}
.shr-faq-group__header::after {
	content: ''; position: absolute; bottom: -1px; left: 0; width: 60px; height: 2px; background: var(--s2u-red);
}
.shr-faq-group__icon {
	flex-shrink: 0; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
	background: var(--s2u-accent-100); color: var(--s2u-accent-700); border: 1px solid var(--s2u-divider);
}
.shr-faq-group__icon svg { width: 18px; height: 18px; }
.shr-faq-group__title { font-family: var(--s2u-font-heading); font-weight: 600; font-size: 20px; text-transform: uppercase; color: var(--s2u-text); margin: 0; }
.shr-faq-group__count {
	margin-left: auto; font-size: 12px; font-weight: 600; color: var(--s2u-red);
	background: rgba(230, 57, 70, .08); border: 1px solid rgba(230, 57, 70, .2); border-radius: 999px; padding: 3px 10px;
}

.shr-faq-list { display: flex; flex-direction: column; gap: 10px; }
.shr-faq-item { background: #fff; border: 1px solid var(--s2u-divider); scroll-margin-top: 24px; transition: border-color .18s ease, box-shadow .18s ease; }
.shr-faq-item.open { border-color: var(--s2u-red); box-shadow: 0 4px 20px rgba(230, 57, 70, .1); }
.shr-faq-item__h { margin: 0; font-weight: inherit; }

.shr-faq-item__trigger {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 18px 22px; background: none; border: none; cursor: pointer; text-align: left;
	font-family: var(--s2u-font-body); transition: background .15s ease;
}
.shr-faq-item__trigger:hover { background: var(--s2u-accent-100); }
.shr-faq-item.open .shr-faq-item__trigger { background: rgba(230, 57, 70, .05); }
.shr-faq-item__question { font-size: 15px; font-weight: 600; color: var(--s2u-text); line-height: 1.4; flex: 1; }
.shr-faq-item.open .shr-faq-item__question { color: var(--s2u-red); }

.shr-faq-item__chevron {
	flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
	background: var(--s2u-accent-100); border: 1px solid var(--s2u-divider);
	display: flex; align-items: center; justify-content: center;
	transition: background .2s ease, border-color .2s ease;
}
.shr-faq-item__chevron svg { width: 13px; height: 13px; stroke: var(--s2u-neutral-700); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s ease, transform .3s ease; }
.shr-faq-item.open .shr-faq-item__chevron { background: var(--s2u-red); border-color: var(--s2u-red); }
.shr-faq-item.open .shr-faq-item__chevron svg { stroke: #fff; transform: rotate(180deg); }

.shr-faq-item__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.shr-faq-item.open .shr-faq-item__body { grid-template-rows: 1fr; }
.shr-faq-item__body-inner { overflow: hidden; }
.shr-faq-item__answer {
	padding: 16px 22px 20px; font-size: 14.5px; line-height: 1.75; color: var(--s2u-neutral-700);
	border-top: 1px solid var(--s2u-divider);
}
.shr-faq-item__answer p { margin: 0 0 10px; }
.shr-faq-item__answer p:last-of-type { margin-bottom: 0; }
.shr-faq-item__answer ul { padding-left: 20px; margin: 8px 0; }
.shr-faq-item__answer li { margin-bottom: 6px; line-height: 1.7; }
.shr-faq-item__answer strong { color: var(--s2u-text); font-weight: 700; }
.shr-faq-item__answer a { color: var(--s2u-accent-700); font-weight: 700; text-decoration: none; }
.shr-faq-item__answer a:hover { color: var(--s2u-red); text-decoration: underline; }
/* Category links are sometimes authored as <a><strong>…</strong></a> — force
   the nested strong to inherit the link colour/weight instead of resetting to
   the generic strong colour, so every inline product link renders consistently
   regardless of which tag nests which. */
.shr-faq-item__answer a strong { color: inherit; font-weight: inherit; }

.shr-faq-item__footer {
	margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--s2u-divider);
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.shr-faq-item__helpful { font-size: 12.5px; color: var(--s2u-neutral-500); }
.shr-faq-item__contact-link { font-size: 12.5px; font-weight: 600; color: var(--s2u-red); text-decoration: none; }
.shr-faq-item__contact-link:hover { text-decoration: underline; }

/* ═══════════ CTA band (dark) ═══════════ */
.shr-faq-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.shr-faq-cta__text { flex: 1 1 420px; }
.shr-faq-cta__text .s2u-h2 { margin-bottom: 10px; }
.shr-faq-cta__text p { font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .72); margin: 0; max-width: 60ch; }
.shr-faq-cta__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ═══════════ Responsive ═══════════ */
@media (max-width: 1000px) {
	.shr-faq-hero__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.shr-faq-hero__stats { flex-direction: row; flex-wrap: wrap; }
	.shr-faq-hero__stat { flex: 1 1 160px; min-width: 0; }
	.shr-faq-item__trigger { padding: 14px 16px; }
	.shr-faq-item__answer { padding: 14px 16px 16px; }
}
