/* Archilink — SSS (referans tasarım) */
.faq-page,
.faq-page *,
.faq-page *::before,
.faq-page *::after {
  box-sizing: border-box;
}

.faq-page {
  --fp-max: var(--arch-public-shell, min(1400px, calc(100vw - 96px)));
  --fp-ink: #09090b;
  --fp-muted: #71717a;
  --fp-subtle: #a1a1aa;
  --fp-line: #e4e4e7;
  --fp-soft: #f4f4f5;
  --fp-panel: #f5f5f4;
  --fp-badge: #f5ebe3;
  --fp-white: #ffffff;
  --fp-r-sm: 10px;
  --fp-r-md: 16px;
  --fp-r-lg: 22px;
  --fp-r-xl: 32px;
  --fp-r-hero: clamp(28px, 3vw, 40px);
  --fp-frame-border: rgba(9, 9, 11, 0.1);
  --fp-frame-ring: rgba(9, 9, 11, 0.05);
  --fp-frame-radius: 20px;
  --fp-section-gap: clamp(48px, 6vw, 80px);
  min-height: 100vh;
  padding: calc(18px + 64px + 28px) 0 0;
  background: var(--fp-white);
  color: var(--fp-ink);
  font-family: "Cosmica", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.faq-page a {
  color: inherit;
  text-decoration: none;
}

.faq-page button {
  font: inherit;
}

.faq-page__shell {
  width: var(--fp-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--fp-section-gap);
}

/* ─── Hero ───────────────────────────────────── */
.faq-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 1;
  max-height: min(480px, 42vw);
  padding: clamp(32px, 4vw, 48px);
  display: flex;
  align-items: flex-end;
  border-radius: var(--fp-r-hero);
  color: #fff;
}

.faq-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.faq-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.08) 0%, rgba(9, 9, 11, 0.55) 100%);
}

.faq-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.faq-hero__title {
  margin: 0;
  font-size: clamp(40px, 4.8vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.faq-hero__lead {
  margin: 14px 0 0;
  max-width: 520px;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

/* ─── Main FAQ (intro + accordion) ───────────── */
.faq-main {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.35fr);
  gap: clamp(32px, 4.5vw, 56px);
  align-items: start;
}

.faq-main__eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fp-muted);
}

.faq-main__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.faq-main__text {
  margin: 16px 0 0;
  max-width: 360px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fp-muted);
}

.faq-support-card {
  margin-top: 28px;
  padding: 22px 20px;
  border-radius: var(--fp-r-lg);
  background: var(--fp-badge);
  border: 1px solid rgba(87, 83, 78, 0.08);
}

.faq-support-card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 11px;
  background: rgba(9, 9, 11, 0.06);
  color: var(--fp-ink);
}

.faq-support-card__icon svg {
  width: 18px;
  height: 18px;
}

.faq-support-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.faq-support-card__text {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #57534e;
}

.faq-main__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid #d4d4d8;
  border-radius: 999px;
  background: var(--fp-white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: border-color 0.18s ease, transform 0.12s ease;
}

.faq-main__cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.faq-main__cta:hover {
  border-color: #a1a1aa;
}

.faq-main__cta:active {
  transform: scale(0.985);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-r-md);
  background: var(--fp-white);
  box-shadow: 0 1px 2px rgba(9, 9, 11, 0.03);
  overflow: hidden;
}

.faq-item[open] {
  border-color: #d4d4d8;
  box-shadow: 0 2px 8px rgba(9, 9, 11, 0.05);
}

.faq-item__summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 18px 18px 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--fp-subtle);
  font-variant-numeric: tabular-nums;
}

.faq-item__question {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--fp-ink);
}

.faq-item__toggle {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--fp-line);
  color: var(--fp-muted);
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.faq-item__toggle svg {
  width: 14px;
  height: 14px;
}

.faq-item__toggle .faq-item__icon-minus {
  display: none;
}

.faq-item[open] .faq-item__toggle {
  background: var(--fp-soft);
  border-color: #d4d4d8;
}

.faq-item[open] .faq-item__toggle .faq-item__icon-plus {
  display: none;
}

.faq-item[open] .faq-item__toggle .faq-item__icon-minus {
  display: block;
}

.faq-item__answer {
  padding: 0 18px 18px 46px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--fp-muted);
}

.faq-item__answer p {
  margin: 0;
}

/* ─── More help band ─────────────────────────── */
.faq-more {
  padding: clamp(32px, 4vw, 44px);
  border-radius: var(--fp-frame-radius);
  background: var(--fp-panel);
  border: 1px solid var(--fp-frame-border);
  box-shadow: 0 0 0 1px var(--fp-frame-ring);
}

.faq-more__head {
  max-width: 560px;
  margin: 0 auto 28px;
  text-align: center;
}

.faq-more__title {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.faq-more__lead {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fp-muted);
}

.faq-more__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.faq-more-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 24px 22px 20px;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-r-lg);
  background: var(--fp-white);
  box-shadow: 0 1px 2px rgba(9, 9, 11, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.faq-more-card:hover {
  border-color: #d4d4d8;
  box-shadow: 0 4px 14px rgba(9, 9, 11, 0.06);
}

.faq-more-card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 11px;
  background: var(--fp-ink);
  color: #fff;
}

.faq-more-card__icon svg {
  width: 18px;
  height: 18px;
}

.faq-more-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.faq-more-card__desc {
  margin: 8px 0 0;
  flex: 1;
  font-size: 13px;
  line-height: 1.6;
  color: var(--fp-muted);
}

.faq-more-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fp-ink);
}

.faq-more-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}

.faq-more-card:hover .faq-more-card__link svg {
  transform: translateX(2px);
}

/* ─── Reach band (referans: metin | iletişim + foto) ─ */
.faq-reach {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  align-items: stretch;
  width: 100%;
  border-radius: var(--fp-frame-radius);
  background: var(--fp-panel);
  border: 1px solid var(--fp-frame-border);
  box-shadow: 0 0 0 1px var(--fp-frame-ring);
  overflow: hidden;
  min-height: clamp(300px, 32vw, 360px);
}

.faq-reach__main {
  min-width: 0;
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--fp-panel);
}

.faq-reach__title {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.faq-reach__text {
  margin: 12px 0 0;
  max-width: 480px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--fp-muted);
}

.faq-reach__rail {
  display: grid;
  grid-template-columns: minmax(200px, max-content) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-width: 0;
  min-height: 100%;
  background: var(--fp-panel);
}

.faq-reach__contact {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 3vw, 40px) clamp(20px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  min-width: 0;
  background: var(--fp-panel);
}

.faq-reach-contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.faq-reach-contact-row__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  color: var(--fp-ink);
}

.faq-reach-contact-row__icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.faq-reach-contact-row__body {
  min-width: 0;
}

.faq-reach-contact-row__label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--fp-subtle);
}

.faq-reach-contact-row__value {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--fp-ink);
  overflow-wrap: anywhere;
}

.faq-reach-contact-row--phone .faq-reach-contact-row__value,
.faq-reach-contact-row--phone .faq-reach-contact-row__value a {
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.faq-reach__media {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  height: 100%;
  min-height: clamp(300px, 32vw, 360px);
  min-width: 0;
  align-self: stretch;
  overflow: hidden;
  background: var(--fp-panel);
}

.faq-reach__media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.faq-reach__media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(38%, 180px);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--fp-panel) 0%,
    rgba(245, 245, 244, 0.94) 40%,
    transparent 100%
  );
}

/* ─── Footer spacing ─────────────────────────── */
.faq-page > .arch-footer {
  margin-top: 0;
  width: 100%;
}

.faq-page__footer-spacer {
  height: clamp(48px, 6vw, 72px);
}

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 1080px) {
  .faq-main {
    grid-template-columns: 1fr;
  }

  .faq-main__text {
    max-width: none;
  }

  .faq-more__grid {
    grid-template-columns: 1fr;
  }

  .faq-reach {
    grid-template-columns: 1fr;
  }

  .faq-reach__main {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .faq-reach__rail {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  }

  .faq-reach__media {
    min-height: 240px;
  }

  .faq-reach__media-img {
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  .faq-hero {
    aspect-ratio: 16 / 9;
    max-height: none;
    min-height: 200px;
  }

  .faq-hero__media {
    object-fit: cover;
    object-position: center 40%;
  }

  .faq-item__answer {
    padding-left: 18px;
  }

  .faq-reach__rail {
    grid-template-columns: 1fr;
  }

  .faq-reach__contact {
    padding-bottom: 20px;
  }

  .faq-reach__media {
    min-height: 220px;
  }

  .faq-reach__media-img {
    min-height: 220px;
  }
}
