/* FAQ przed końcowym CTA, plakietka iOS w hero, notka pod karuzelą map */

/* ---------- hero: iOS ---------- */
.pmx-hero .ios { margin: 12px 0 0; color: rgba(236, 230, 221, .62); font-size: 13px; line-height: 1.3; }
.pmx-hero.intro:not(.go) .ios { opacity: 0; }
.pmx-hero.go .ios { animation: pmh-rise .42s var(--ease) 1.85s both; }

/* ---------- karuzela: katalog rośnie ---------- */
.maps-3d-note {
  max-width: 52ch;
  margin: 28px auto 0;
  color: var(--pm-muted);
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
  text-wrap: balance;
}

/* ---------- FAQ ---------- */
.pm-faq {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(32px, 6vh, 64px) 32px var(--pm-gap);
  scroll-margin-top: 40px;
  interpolate-size: allow-keywords;
}
/* tło strony w tym miejscu jest jasne (złota mgła u góry ekranu): delikatne przyciemnienie z miękkimi brzegami,
   żeby pomarańczowa etykieta i szary tekst miały kontrast */
.pm-faq::before {
  position: absolute;
  z-index: -1;
  inset: -80px 0;
  background: rgba(14, 14, 15, .55);
  content: "";
  pointer-events: none;
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
}
.pm-faq-shell {
  display: grid;
  width: min(100%, 1080px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.pm-faq-head { position: sticky; top: calc(var(--pm-nav-h, 70px) + 48px); }
.pm-faq-kicker {
  display: inline-flex;
  margin: 0 0 16px;
  align-items: center;
  gap: 12px;
  color: #e5823a;
  font-family: "Instrument Sans", Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.pm-faq-kicker::before { width: 24px; height: 1px; background: currentColor; content: ""; opacity: .7; }
.pm-faq-head h2 {
  margin: 0;
  color: var(--pm-text);
  font-family: "Instrument Sans", Inter, system-ui, sans-serif;
  font-size: clamp(34px, 3.3vw, 46px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.pm-faq-lede { margin: 16px 0 0; max-width: 30ch; color: var(--pm-muted); font-size: 16px; line-height: 1.6; }

.pm-faq-list { border-bottom: 1px solid var(--pm-line); }
.pm-faq-item { border-top: 1px solid var(--pm-line); }
.pm-faq-item summary {
  display: flex;
  padding: 22px 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--pm-text);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.005em;
  list-style: none;
  cursor: pointer;
  transition: color .2s ease;
}
.pm-faq-item summary::-webkit-details-marker { display: none; }
.pm-faq-item summary:hover { color: #fff; }
.pm-faq-item summary:focus-visible { outline: 2px solid #ed9452; outline-offset: 4px; border-radius: 4px; }
/* plus zamieniający się w minus */
.pm-faq-item summary i {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid var(--pm-frame);
  border-radius: 50%;
  transition: border-color .2s ease, background .2s ease;
}
.pm-faq-item summary i::before,
.pm-faq-item summary i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  margin: -.75px 0 0 -5.5px;
  border-radius: 1px;
  background: #ed9452;
  content: "";
  transition: transform .3s cubic-bezier(.2, .75, .25, 1);
}
.pm-faq-item summary i::after { transform: rotate(90deg); }
.pm-faq-item[open] summary i { border-color: rgba(237, 148, 82, .5); background: rgba(239, 116, 53, .08); }
.pm-faq-item[open] summary i::after { transform: rotate(0deg); }
.pm-faq-item summary:hover i { border-color: rgba(237, 148, 82, .5); }

.pm-faq-a p { margin: 0; padding: 0 54px 24px 0; max-width: 64ch; color: var(--pm-muted); font-size: 16px; line-height: 1.65; }
/* płynne rozwijanie tam, gdzie przeglądarka to obsługuje; gdzie nie – po prostu się otwiera */
.pm-faq-item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size .35s cubic-bezier(.2, .75, .25, 1), content-visibility .35s allow-discrete;
}
.pm-faq-item[open]::details-content { block-size: auto; }

@media (max-width: 860px) {
  .pm-faq { padding: 24px 20px 72px; }
  .pm-faq-shell { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pm-faq-head { position: static; }
  .pm-faq-head h2 { font-size: 32px; }
  .pm-faq-item summary { padding: 18px 0; font-size: 17px; }
  .pm-faq-a p { padding-right: 0; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .pm-faq-item::details-content { transition: none; }
}
