/* =========================================================================
   arche-help-shell.css · Powłoka centrum pomocy ARCHE
   Wspólne dla widoków 01-07: ścieżka, układ z bocznym menu, nagłówek widoku, pas kontaktowy.
   Progi (szerokość .arche-help): telefon < 700 · tablet 700-1199 · desktop ≥ 1200 (makieta 1440).
   Pas kontaktowy przechodzi w układ dwukolumnowy od 850.
   Interlinia: px tam, gdzie makieta ją ustala; „normal” tam, gdzie makieta jej nie podaje
   (Poppins zaokrąglany do pikseli urządzenia, patrz SPEC §7).
   Obrysowane kółka: box-sizing content-box jak w makiecie (obramowanie dolicza się do wymiaru).
   ========================================================================= */
.arche-help { container: arche-help / inline-size; width: 100%; background: var(--arche-white); font-family: var(--arche-font); color: var(--arche-ink); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
.arche-help *, .arche-help *::before, .arche-help *::after { box-sizing: border-box; }
.arche-help :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote) { margin: 0; }
.arche-help :where(ul, ol) { padding: 0; list-style: none; }
.arche-help :where(li) { margin: 0; }
.arche-help :where(a) { color: var(--arche-navy); text-decoration: none; }
.arche-help :where(button, input, select, textarea) { font-family: var(--arche-font); }
.arche-help svg { display: block; flex: none; }
.arche-help :where(a, button, summary, [tabindex]):focus-visible { outline: 2px solid var(--arche-navy); outline-offset: 2px; }
.arche-help ::placeholder { color: var(--arche-ink-placeholder); opacity: 1; }
.arche-help .arche-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 00.01 Ścieżka */
.arche-help .arche-help__crumbs { background: var(--arche-cream); }
.arche-help .arche-help__crumbs-in { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; max-width: var(--arche-max); margin: 0 auto; padding: 12px 16px; font: 400 12.5px/20px var(--arche-font); color: var(--arche-ink-muted); }
.arche-help .arche-help__crumb { color: var(--arche-ink-muted); text-decoration: none; transition: color var(--arche-dur) ease; }
.arche-help .arche-help__crumb:hover { color: var(--arche-copper); }
.arche-help .arche-help__crumb-sep { color: var(--arche-dashed); }
.arche-help .arche-help__crumb-current { color: var(--arche-ink); }

/* Układ: boczne menu + treść */
.arche-help .arche-help__layout { max-width: var(--arche-max); margin: 0 auto; }
.arche-help .arche-help__main { display: flex; flex-direction: column; min-width: 0; padding: 24px 16px 48px; }

/* 00.02 Boczne menu (telefon i tablet: rozwijane pod ścieżką) */
.arche-help .arche-help__side { border-bottom: 1px solid var(--arche-line); }
.arche-help .arche-help__side-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 60px; margin: 0; padding: 10px 16px; border: 0; border-radius: 0; background: var(--arche-white); box-shadow: none; color: var(--arche-ink); text-align: left; text-transform: none; letter-spacing: 0; cursor: pointer; }
.arche-help .arche-help__side-toggle-text { display: flex; flex-direction: column; gap: 2px; }
.arche-help .arche-help__side-toggle-label { font: 500 11px/normal var(--arche-font); letter-spacing: .14em; text-transform: uppercase; color: var(--arche-ink-muted); }
.arche-help .arche-help__side-toggle-current { font: 500 15px/20.25px var(--arche-font); color: var(--arche-ink); }
.arche-help .arche-help__side-toggle-icon { display: flex; flex: 0 0 36px; align-items: center; justify-content: center; box-sizing: content-box; height: 36px; border: 1px solid var(--arche-line-strong); border-radius: 50%; color: var(--arche-ink); transition: transform var(--arche-dur-mid) ease; }
.arche-help .arche-help__side-toggle[aria-expanded="true"] .arche-help__side-toggle-icon { transform: rotate(180deg); }
.arche-help .arche-help__side-panel { display: flex; flex-direction: column; gap: 16px; padding: 4px 16px 20px; }
.arche-help .arche-help__side-panel[hidden] { display: none; }

.arche-help .arche-help__search { position: relative; display: block; margin: 0; }
.arche-help .arche-help__search-icon { position: absolute; top: 16px; left: 14px; color: var(--arche-ink-muted); pointer-events: none; }
.arche-help .arche-help__search-input { display: block; width: 100%; height: 48px; margin: 0; padding: 0 14px 0 40px; border: 1px solid var(--arche-line-strong); border-radius: var(--arche-radius); background: var(--arche-white); box-shadow: none; font: 400 16px/normal var(--arche-font); color: var(--arche-ink); outline: none; transition: border-color var(--arche-dur) ease; -webkit-appearance: none; appearance: none; }
.arche-help .arche-help__search-input::-webkit-search-decoration, .arche-help .arche-help__search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.arche-help .arche-help__search-input:focus { border-color: var(--arche-ink); box-shadow: none; }

.arche-help .arche-help__nav { display: flex; flex-direction: column; gap: 16px; }
.arche-help .arche-help__side-title { display: none; }
.arche-help .arche-help__nav-list { display: flex; flex-direction: column; border-top: 1px solid var(--arche-ink); }
.arche-help .arche-help__nav-item { display: flex; flex-direction: column; margin: 0; border-bottom: 1px solid var(--arche-line); }
.arche-help .arche-help__nav-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; font: 400 15px/normal var(--arche-font); color: var(--arche-ink); text-decoration: none; transition: color var(--arche-dur) ease, padding-left var(--arche-dur) ease; }
.arche-help .arche-help__nav-link:hover { color: var(--arche-copper); padding-left: 4px; }
.arche-help .arche-help__nav-link--anc { font-weight: 600; }
.arche-help .arche-help__nav-link--anc:hover { padding-left: 0; }
.arche-help .arche-help__nav-link--cur, .arche-help .arche-help__nav-link--cur:hover { padding-left: 0; font-weight: 600; color: var(--arche-navy); }
.arche-help .arche-help__subnav { display: flex; flex-direction: column; margin: -2px 0 12px 2px; padding-left: 14px; border-left: 1px solid var(--arche-line); }
.arche-help .arche-help__subnav-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; font: 400 14px/19.6px var(--arche-font); color: var(--arche-ink-muted); text-decoration: none; transition: color var(--arche-dur) ease, padding-left var(--arche-dur) ease; }
.arche-help .arche-help__subnav-link:hover { color: var(--arche-copper); padding-left: 4px; }
.arche-help .arche-help__subnav-link--cur, .arche-help .arche-help__subnav-link--cur:hover { padding-left: 0; font-weight: 500; color: var(--arche-navy); }

/* Nagłówek widoku */
.arche-help .arche-help__eyebrow { font: 500 11.5px/normal var(--arche-font); letter-spacing: .14em; text-transform: uppercase; color: var(--arche-ink-muted); }
.arche-help .arche-help__h1 { margin: 10px 0 0; font: 300 30px/33px var(--arche-font); letter-spacing: -.01em; text-transform: none; color: var(--arche-ink); }
.arche-help .arche-help__lead { margin: 12px 0 0; font: 400 15px/24.75px var(--arche-font); color: var(--arche-ink-muted); text-wrap: pretty; }

/* 00.03 Pas kontaktowy */
.arche-help .arche-help__cta { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 20px; margin-top: 40px; padding: 24px 20px; border-radius: var(--arche-radius-md); background-color: var(--arche-navy); background-image: linear-gradient(110deg, var(--arche-navy) 35%, var(--arche-navy-deep) 100%); }
.arche-help .arche-help__cta-rings { position: absolute; inset: 0; pointer-events: none; background-image: repeating-radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0) 0 31px, var(--arche-ring) 31px 32px); }
.arche-help .arche-help__cta-body { position: relative; }
.arche-help .arche-help__cta-eyebrow { font: 600 13px/normal var(--arche-font); letter-spacing: .16em; text-transform: uppercase; color: var(--arche-sand); }
.arche-help .arche-help__cta-title { margin: 8px 0 0; font: 300 24px/30px var(--arche-font); letter-spacing: 0; text-transform: none; color: var(--arche-white); text-wrap: balance; }
.arche-help .arche-help__cta-text { margin: 10px 0 0; font: 400 14.5px/23.2px var(--arche-font); color: var(--arche-cream); text-wrap: pretty; }
.arche-help .arche-help__cta-actions { position: relative; display: flex; flex-direction: column; gap: 8px; }
.arche-help .arche-help__cta-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border: 1px solid transparent; border-radius: var(--arche-radius); font: 500 13px/normal var(--arche-font); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background-color var(--arche-dur) ease, border-color var(--arche-dur) ease; }
.arche-help .arche-help__cta-btn--primary { border-color: var(--arche-cream); background: var(--arche-cream); color: var(--arche-navy-deep); }
.arche-help .arche-help__cta-btn--primary:hover { border-color: var(--arche-sand); background: var(--arche-sand); color: var(--arche-navy-deep); }
.arche-help .arche-help__cta-btn--ghost { border-color: var(--arche-on-navy-line); background: transparent; color: var(--arche-white); }
.arche-help .arche-help__cta-btn--ghost:hover { border-color: var(--arche-white); color: var(--arche-white); }

@container arche-help (min-width: 700px) {
  .arche-help .arche-help__crumbs-in { padding: 14px 32px; }
  .arche-help .arche-help__side-toggle { padding: 10px 32px; }
  .arche-help .arche-help__side-panel { padding: 4px 32px 24px; }
  .arche-help .arche-help__main { padding: 32px 32px 64px; }
}

@container arche-help (min-width: 850px) {
  .arche-help .arche-help__cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; margin-top: 56px; padding: 40px 44px; }
  .arche-help .arche-help__cta-rings { background-image: repeating-radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0) 0 47px, var(--arche-ring) 47px 48px); }
  .arche-help .arche-help__cta-eyebrow { font: 600 14px/normal var(--arche-font); }
  .arche-help .arche-help__cta-title { margin-top: 10px; font: 300 30px/36px var(--arche-font); }
  .arche-help .arche-help__cta-text { max-width: 540px; font: 400 15px/24.75px var(--arche-font); }
  .arche-help .arche-help__cta-actions { gap: 10px; min-width: 268px; }
  .arche-help .arche-help__cta-btn--ghost { white-space: nowrap; }
}

@container arche-help (min-width: 1200px) {
  .arche-help .arche-help__crumbs-in { gap: 10px; padding: 20px 40px; font: 400 13px/19.5px var(--arche-font); }
  .arche-help .arche-help__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 72px; align-items: start; padding: 36px 40px 104px; }
  .arche-help .arche-help__main { padding: 0; }

  .arche-help .arche-help__side { position: sticky; top: var(--arche-sticky-top); border-bottom: 0; }
  .arche-help .arche-help__side-toggle { display: none; }
  .arche-help .arche-help__side-panel, .arche-help .arche-help__side-panel[hidden] { display: flex; gap: 28px; padding: 0; }
  .arche-help .arche-help__search-icon { top: 15px; }
  .arche-help .arche-help__search-input { height: 46px; font: 400 14px/normal var(--arche-font); }
  .arche-help .arche-help__nav { gap: 0; }
  .arche-help .arche-help__side-title { display: block; padding-bottom: 12px; font: 500 12px/normal var(--arche-font); letter-spacing: .16em; text-transform: uppercase; color: var(--arche-ink-muted); }
  .arche-help .arche-help__nav-link { min-height: 50px; padding-top: 12px; padding-bottom: 12px; font: 400 14.5px/20.3px var(--arche-font); }
  .arche-help .arche-help__nav-link--anc, .arche-help .arche-help__nav-link--cur { font-weight: 600; }
  .arche-help .arche-help__nav-list--extra { margin-top: 28px; }
  .arche-help .arche-help__nav-list--extra .arche-help__nav-link { min-height: 50px; padding-top: 0; padding-bottom: 0; font: 400 14.5px/normal var(--arche-font); }
  .arche-help .arche-help__nav-list--extra .arche-help__nav-link--cur { font-weight: 600; }
  .arche-help .arche-help__subnav { margin: -2px 0 14px 2px; }
  .arche-help .arche-help__subnav-link { align-items: baseline; min-height: 0; padding: 7px 0; font: 400 13.5px/19.575px var(--arche-font); }
  .arche-help .arche-help__subnav-link--cur { font-weight: 500; }

  .arche-help .arche-help__eyebrow { font: 500 12px/normal var(--arche-font); letter-spacing: .16em; }
  .arche-help .arche-help__h1 { margin-top: 14px; font: 300 48px/51.84px var(--arche-font); letter-spacing: -.015em; }
  .arche-help .arche-help__lead { max-width: 860px; margin-top: 16px; font: 400 17px/28.9px var(--arche-font); }
  .arche-help .arche-help__lead--narrow { max-width: 820px; }

  .arche-help .arche-help__cta { max-width: 1028px; margin-top: 72px; }
}
