/* =========================================================
   ABS Global — FAQs page (faqs.html)
   Page-specific styles. Builds on assets/css/style.css
   (hero + breadcrumbs follow the services/about treatment)
   ========================================================= */

/* ---------- Page hero (FAQ artwork, crumbs + title + intro) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46vh;
  overflow: hidden;
  padding: 96px 0 84px;
  background: #0c2540;
  color: #fff;
  text-align: center;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('../img/faqs/faq-hero.jpg') center / cover no-repeat;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(2, 10, 20, .9) 0%, rgba(2, 10, 20, .74) 100%);
  opacity: .52;
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 940px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-hero h1 {
  max-width: 860px;
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.05rem, 3.9vw, 3.3rem);
  line-height: 1.16;
  letter-spacing: .002em;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 6px 40px rgba(2, 12, 24, .35);
}
.page-hero__sub {
  max-width: 660px;
  margin: 18px 0 0;
  font-size: .95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .75);
  text-wrap: pretty;
}

/* ---------- Breadcrumbs (matches about/services hero) ---------- */
.crumbs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-bottom: 16px;
  font-size: .78rem;
  color: rgba(255, 255, 255, .62);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .55);
}
.crumbs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .75);
  transition: color .2s;
}
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 13px; height: 13px; }
.crumbs__sep { color: rgba(255, 255, 255, .32); display: inline-flex; }
.crumbs [aria-current="page"] { color: #fff; font-weight: 600; }

/* ---------- FAQ list ---------- */
.faqs-section { overflow: hidden; }
.faqs-section .section-head { margin-bottom: clamp(28px, 3.6vw, 44px); }

.faqs-list {
  width: min(100%, 880px);
  margin-inline: auto;
  display: grid;
  gap: 14px;
}

/* accordion item (same component as the service detail page) */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: border-color .3s, box-shadow .3s;
}
.faq-item[open] {
  border-color: var(--brand-200);
  box-shadow: 0 24px 48px -34px rgba(13, 35, 58, .4);
}
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
  border-radius: var(--radius-lg);
}
.faq-item__num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--brand-100);
  border-radius: 11px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.faq-item__q {
  flex: 1;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}
.faq-item__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.faq-item__icon svg { width: 15px; height: 15px; }
.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.faq-item__a { padding: 0 22px 22px 72px; }
.faq-item__a p {
  margin: 0;
  font-size: .98rem;
  line-height: 1.8;
  color: var(--muted);
}

.faqs-more {
  width: min(100%, 880px);
  margin: clamp(24px, 3vw, 34px) auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: .95rem;
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .page-hero { padding: 74px 0 66px; }
  .faqs-hero { padding: 82px 0 72px; }
  .page-hero__inner { width: calc(100% - 36px); }
  .faq-item summary { gap: 12px; padding: 16px; }
  .faq-item__num { width: 30px; height: 30px; border-radius: 9px; font-size: .72rem; }
  .faq-item__q { font-size: .96rem; }
  .faq-item__a { padding: 0 16px 18px; }
}
