/* AC Bilişim – FAQ page: red band with segmented tabs, questions as a large-type
   list (same language as the services index on about-us). */

.fq { --fq-ink: #1d1f22; --fq-mute: #5d6166; --fq-line: rgba(29, 31, 34, 0.14); --fq-red: #cc0933;
  font-family: "Helvetica Now Display", Arial, sans-serif; }
.fq *, .fq *::before, .fq *::after { box-sizing: border-box; }
.fq-wrap { max-width: 87.5rem; margin: 0 auto; padding: 0 2rem; }

/* ---------- red band ---------- */
.fq-top { background: var(--fq-red); color: #fff; padding: 10rem 0 3.5rem; }
.fq-top h1 { margin: 0 0 1rem; font-size: clamp(3rem, 6vw, 5.5rem); line-height: 0.95; letter-spacing: -0.045em; font-weight: 500; }
.fq-lead { margin: 0 0 3rem; max-width: 34rem; font-size: 1.2rem; line-height: 1.5; color: rgba(255, 255, 255, 0.8); }

/* segmented tabs */
.fq-tabs { display: inline-flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.35rem; border-radius: 999px;
  background: rgba(0, 0, 0, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.fq-tab { display: inline-flex; align-items: center; gap: 0.6rem; height: 3rem; padding: 0 0.75rem 0 1.35rem;
  border: 0; border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: 1rem; font-weight: 500;
  cursor: pointer; transition: background-color 0.25s ease, color 0.25s ease; }
.fq-tab:hover { background: rgba(255, 255, 255, 0.12); }
.fq-tab[aria-selected="true"] { background: #fff; color: var(--fq-red); }
.fq-count { min-width: 1.7rem; height: 1.7rem; padding: 0 0.45rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.18); font-size: 0.8rem; font-weight: 600; }
.fq-tab[aria-selected="true"] .fq-count { background: var(--fq-red); color: #fff; }
.fq-tab:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---------- questions ---------- */
.fq-body { background: #f4f4f3; color: var(--fq-ink); padding: 6rem 0 7rem; }
.fq-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 4rem; align-items: start; }
.fq-panel[hidden] { display: none; }
.fq-head { position: sticky; top: 7rem; }
.fq-head h2 { margin: 0 0 1rem; font-size: clamp(2rem, 3vw, 3rem); line-height: 1; letter-spacing: -0.035em; font-weight: 500; color: var(--fq-ink); }
.fq-head p { margin: 0; max-width: 20rem; font-size: 1.05rem; line-height: 1.55; color: var(--fq-mute); }
.fq-head .fq-help { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--fq-line); }
.fq-head .fq-help a { color: var(--fq-red); text-decoration: underline; text-underline-offset: 3px; }

.fq-list { border-top: 1px solid var(--fq-line); }
.fq-item { border-bottom: 1px solid var(--fq-line); }
.fq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem;
  padding: 1.6rem 1.25rem; margin: 0 -1.25rem; border-radius: 18px; transition: background-color 0.25s ease, color 0.25s ease; }
.fq-item summary::-webkit-details-marker { display: none; }
.fq-q { font-size: clamp(1.3rem, 2vw, 1.85rem); line-height: 1.2; letter-spacing: -0.025em; font-weight: 500; }
.fq-ico { position: relative; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--fq-line);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.25s ease, border-color 0.25s ease; }
.fq-ico::before, .fq-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1rem; height: 2px; margin: -1px 0 0 -0.5rem;
  background: currentColor; border-radius: 2px; }
.fq-ico::after { transform: rotate(90deg); }

.fq-item summary:hover, .fq-item summary:focus-visible { background: var(--fq-red); color: #fff; outline: none; }
.fq-item summary:hover .fq-ico, .fq-item summary:focus-visible .fq-ico { background: #fff; border-color: #fff; color: var(--fq-red); }

.fq-item[open] summary { color: var(--fq-red); }
.fq-item[open] summary:hover { color: #fff; }
.fq-item[open] .fq-ico { transform: rotate(45deg); background: var(--fq-red); border-color: var(--fq-red); color: #fff; }
.fq-item[open] summary:hover .fq-ico { background: #fff; color: var(--fq-red); }
.fq-a { margin: 0 -1.25rem 1rem; padding: 0 1.25rem 1.5rem; }
.fq-a p { margin: 0; max-width: 46rem; font-size: 1.05rem; line-height: 1.65; color: var(--fq-mute); }
.fq-a a { color: var(--fq-red); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .fq-top { padding-top: 8rem; }
  .fq-wrap { padding: 0 1.5rem; }
  .fq-panel { grid-template-columns: 1fr; gap: 2rem; }
  .fq-head { position: static; }
  .fq-body { padding: 4rem 0 5rem; }
}
@media (max-width: 767px) {
  .fq-wrap { padding: 0 1rem; }
  .fq-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; border-radius: 22px; scrollbar-width: none; }
  .fq-tabs::-webkit-scrollbar { display: none; }
  .fq-tab { flex: none; height: 2.75rem; padding-left: 1.1rem; }
  .fq-item summary { padding: 1.25rem 0.75rem; margin: 0 -0.75rem; gap: 1rem; }
  .fq-a { margin: 0 -0.75rem 0.75rem; padding: 0 0.75rem 1.25rem; }
  .fq-ico { width: 2.5rem; height: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) { .fq * { transition: none !important; } }
