/* ==========================================================================
   FAQs page (design coordinates: 1rem = 10px at 1728px)
   Hero = shared .hero-box (md). Accordion = shared component, restyled here.
   ========================================================================== */

/* ---------- 02 FAQ library ---------- */
.faq-lib { position: relative; padding: 12rem 0 15rem;
	background: radial-gradient(60.48rem 98.64rem at 17.28rem 98.64rem, rgba(110, 194, 227, .2), transparent),
		radial-gradient(60.48rem 82.2rem at 155.52rem 16.44rem, rgba(249, 112, 20, .16), transparent),
		#fff; }
.faq-lib__tools { display: flex; flex-direction: column; align-items: center; gap: 2.8rem; }

/* Search pill */
.faq-search { display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: 86rem; max-width: 100%; padding: 1rem 1rem 1rem 2.8rem; background: #fff; border-radius: 80px; box-shadow: 0 1.6rem 4rem rgba(5, 20, 51, .1); transition: box-shadow .5s var(--ease-out), translate .5s var(--ease-out); }
.faq-search:focus-within { box-shadow: 0 2rem 5rem rgba(5, 20, 51, .14), 0 0 0 4px rgba(249, 112, 21, .14); translate: 0 -2px; }
.faq-search__field { position: relative; display: flex; align-items: center; gap: 1.4rem; flex: 1; min-width: 0; }
.faq-search__icon { position: relative; width: 2rem; height: 2rem; flex: none; transition: transform .6s var(--ease-out); }
.faq-search__icon img { position: absolute; left: -6.25%; top: -6.25%; width: 110.67%; height: 110.67%; max-width: none; }
.faq-search:focus-within .faq-search__icon { transform: rotate(-12deg) scale(1.1); }
.faq-search input { flex: 1; min-width: 0; padding: 0; border: 0; background: none; outline: 0; font-size: var(--t-body-lg); line-height: 2.8rem; color: var(--text-strong); }
.faq-search input::placeholder { color: var(--text-strong); opacity: .45; }
.faq-search input::-webkit-search-cancel-button { display: none; }
.faq-search__clear { position: relative; width: 2.8rem; height: 2.8rem; flex: none; border-radius: 50%; background: var(--grey-50); transition: background .3s, transform .5s var(--ease-out); }
.faq-search__clear i { position: absolute; left: 50%; top: 50%; width: 1.2rem; height: 2px; background: var(--text-strong); transform: translate(-50%, -50%) rotate(45deg); }
.faq-search__clear i + i { transform: translate(-50%, -50%) rotate(-45deg); }
.faq-search__clear:hover { background: var(--orange-50); transform: rotate(90deg); }
.faq-search__btn { flex: none; }

/* Topic chips */
.faq-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.faq-chip { position: relative; overflow: hidden; isolation: isolate; padding: 1rem 2rem; border-radius: 80px; border: 1px solid rgba(0, 0, 0, .08); background: rgba(255, 255, 255, .8); font-family: var(--f-head); font-weight: 600; font-size: max(1.6rem, 14px); line-height: 2rem; letter-spacing: -.005em; color: var(--text-strong); white-space: nowrap; transition: color .45s var(--ease-out), border-color .45s, translate .5s var(--ease-out); }
/* Orange fill rises from the bottom on hover / when active */
.faq-chip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--orange); border-radius: inherit; clip-path: inset(100% 0 0 0 round 80px); transition: clip-path .55s var(--ease-out); }
.faq-chip:hover { border-color: var(--orange); translate: 0 -2px; }
.faq-chip.is-active { color: #fff; border-color: var(--orange); }
.faq-chip.is-active::before { clip-path: inset(0 0 0 0 round 80px); }
.faq-chip span { position: relative; }

/* Groups */
.faq-lib__groups { width: 96rem; max-width: calc(100% - 4rem); margin: 7.2rem auto 0; display: flex; flex-direction: column; gap: 5.6rem; }
.faq-group[hidden] { display: none; }
.faq-group__title { display: flex; align-items: center; gap: 1.2rem; padding-bottom: 1.6rem; font-size: 3.2rem; line-height: 3.5rem; letter-spacing: -.02em; color: var(--text-strong); }
.faq-group__count { font-size: max(2rem, 15px); line-height: 2.6rem; letter-spacing: -.01em; color: var(--orange); font-variant-numeric: tabular-nums; }

/* Accordion restyle (light, design 02 FAQ Library) */
.faq-lib .accordion__item { border-bottom: 1px solid rgba(0, 0, 0, .1); background: transparent; box-shadow: 0 0 0 rgba(5, 20, 51, 0); transition: background .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .4s; }
.faq-lib .accordion__item[hidden] { display: none; }
.faq-lib .accordion__item::before { background: var(--orange); }
.faq-lib .accordion__q button { padding: 2.4rem 0; color: var(--text-strong); transition: padding .6s var(--ease-out), color .3s; }
.faq-lib .accordion__item:not(.is-open):hover .accordion__q button { padding-left: 1.2rem; color: var(--orange); }
.faq-lib .accordion__item.is-open { background: rgba(255, 255, 255, .9); box-shadow: 0 1.2rem 3rem rgba(5, 20, 51, .07); border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.faq-lib .accordion__item.is-open .accordion__q button { padding: 2.4rem 2.8rem 2.4rem 3.1rem; }
.faq-lib .accordion__icon { width: 1.4rem; height: 1.4rem; }
.faq-lib .accordion__item:not(.is-open):hover .accordion__icon { transform: rotate(90deg); transition: transform .5s var(--ease-out); }
.faq-lib .accordion__inner { padding: 0 2.8rem 2.4rem 3.1rem; font-size: var(--t-body); line-height: 2.4rem; color: rgba(31, 41, 55, .8); }
.faq-lib mark { background: linear-gradient(transparent 55%, rgba(249, 112, 21, .28) 55%); color: inherit; padding: 0 .1em; }

.faq-lib__empty { padding: 4rem 0; text-align: center; font-size: var(--t-body-lg); line-height: 2.8rem; color: var(--text-body); }
.faq-lib__empty[hidden] { display: none; }

/* ---------- 03 Still have questions ---------- */
.still-q { padding: 14rem 0 15rem; color: #fff; background: radial-gradient(77.76rem 49.84rem at 50% 50%, rgba(249, 112, 20, .14), transparent), var(--canvas); }
.still-q__head { text-align: center; }
.still-q__head .eyebrow { margin-bottom: 1.2rem; }
.still-q__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; margin-top: 6.4rem; }
.still-card { position: relative; display: flex; flex-direction: column; height: 26rem; padding: 3.9rem; overflow: hidden; isolation: isolate; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: translate .7s var(--ease-out), border-color .5s; }
.still-card--orange { padding: 4rem; border: 0; background: linear-gradient(148.88deg, #f97014 0%, #bf4d08 71.43%); }
/* Fill sweeps in diagonally on hover (45° like the brand mark) */
.still-card__fill { position: absolute; inset: 0; z-index: -1; background: linear-gradient(148.88deg, rgba(249, 112, 20, .9) 0%, rgba(191, 77, 8, .9) 100%); clip-path: polygon(0 100%, 0 100%, 0 100%); transition: clip-path .8s var(--ease-io); }
.still-card--orange .still-card__fill { background: linear-gradient(148.88deg, #ff8a3d 0%, #d65a0c 80%); }
.still-card:hover { translate: 0 -.8rem; border-color: rgba(249, 112, 21, .6); }
.still-card:hover .still-card__fill { clip-path: polygon(0 -100%, 200% 100%, 0 100%); }
.still-card__label { font-weight: 600; font-size: var(--t-small); line-height: 2rem; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); transition: color .4s; }
.still-card--orange .still-card__label, .still-card:hover .still-card__label { color: #fff; }
.still-card__value { margin-top: 1.6rem; font-family: var(--f-head); font-weight: 600; font-size: 3rem; line-height: 3.3rem; letter-spacing: -.02em; }
.still-card__value--sm { font-size: 2.4rem; line-height: 3rem; }
.still-card__sub { margin-top: auto; font-size: var(--t-body); line-height: 2.4rem; color: var(--text-muted-inv); transition: color .4s; }
.still-card--orange .still-card__sub, .still-card:hover .still-card__sub { color: #fff; }
.still-card__arrow { position: absolute; right: 3.9rem; top: 3.9rem; width: 2.2rem; height: 2.2rem; transition: transform .6s var(--ease-out); }
.still-card--orange .still-card__arrow { right: 4rem; top: 4rem; }
.still-card__arrow svg { width: 100%; height: 100%; overflow: visible; }
.still-card:hover .still-card__arrow { transform: translate(.6rem, -.6rem) scale(1.15); }

/* ---------- Mobile ---------- */
@media (max-width: 1023px) {
	.faq-lib { padding: 6rem 0 8rem; }
	.faq-lib__tools { padding: 0 2rem; gap: 2rem; }
	.faq-search { padding: .8rem .8rem .8rem 2rem; }
	.faq-search input { font-size: 15px; }
	.faq-search__btn { padding: 1.3rem 2.2rem; }
	.faq-chips { flex-wrap: nowrap; justify-content: flex-start; width: calc(100% + 4rem); margin: 0 -2rem; padding: 0 2rem .4rem; overflow-x: auto; scrollbar-width: none; }
	.faq-chips::-webkit-scrollbar { display: none; }
	.faq-chip { font-size: 14px; }
	.faq-lib__groups { margin-top: 4.8rem; gap: 4rem; }
	.faq-group__title { font-size: 26px; line-height: 1.2; }
	.faq-lib .accordion__q button { padding: 2rem 0; font-size: 17px; line-height: 1.35; }
	.faq-lib .accordion__item.is-open .accordion__q button { padding: 2rem 2rem 2rem 2.3rem; }
	.faq-lib .accordion__inner { padding: 0 2rem 2rem 2.3rem; }

	.still-q { padding: 8rem 0; }
	.still-q__cards { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; margin-top: 4rem; }
	.still-card, .still-card--orange { height: auto; min-height: 20rem; padding: 2.8rem; }
	.still-card__arrow, .still-card--orange .still-card__arrow { right: 2.8rem; top: 2.8rem; }
	.still-card__value { font-size: 26px; line-height: 1.2; }
	.still-card__value--sm { font-size: 21px; }
	.still-card__sub { padding-top: 3.2rem; }
}
@media (max-width: 600px) {
	.faq-search__btn { display: none; }
}
