/* GLAM – strona platformy. Ten sam język co strona studia (apps/web/src/site/site.css): dużo powietrza,
   cienkie linie zamiast kart, żadnych cieni, jasne nagłówki z wyciszoną drugą częścią.
   Ruch i materiały według apple-design: reakcja przy wciśnięciu, sprężyny bez odbicia, pasek jako materiał. */
:root {
  --bg: #f3f0ea;
  --surface: #fbfaf7;
  --soft: #e9e4da;
  --brand: #9b8570;
  --ink: #1b1715;
  --muted: #6a6157;
  --line: #e0dacf;
  --radius: 28px;
  --site-w: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  /* Rytm: blisko w grupie, daleko między sekcjami (ok. 1:3). */
  --gap-section: clamp(6rem, 12vw, 10.5rem);
  --gap-head: clamp(2.5rem, 4.5vw, 4rem);
  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'Rethink Sans', system-ui, sans-serif;
  /* Sprężyna krytycznie tłumiona (tłumienie 1.0, odpowiedź 0.4 s) – domyślna dla całej strony. */
  --spring: cubic-bezier(0.32, 0.72, 0, 1);
  --spring-dur: 0.55s;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1rem; line-height: 1.6; letter-spacing: 0.002em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }

/* ——— Typografia: tracking i interlinia zależne od rozmiaru ——— */
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 7.4vw, 6rem); line-height: 0.96; letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.02; letter-spacing: -0.04em; }
h3 { font-size: 1.12rem; line-height: 1.3; font-weight: 500; letter-spacing: -0.012em; }
/* Druga część nagłówka: ten sam krój, wyciszony kolor – jak na stronie studia. */
h1 b, h2 b { font-weight: inherit; color: var(--muted); }
h1 b { display: block; }
.eyebrow { font-family: var(--font-head); font-size: 0.75rem; font-weight: 500; line-height: 1; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.55; color: var(--muted); max-width: 30em; }
.small { font-size: 0.9rem; }
.muted { color: var(--muted); }
.note { font-size: 0.78rem; line-height: 1.4; letter-spacing: 0.01em; color: var(--muted); }
.link { font-family: var(--font-head); font-size: 0.95rem; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; white-space: nowrap; }
.link:hover { text-decoration-thickness: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--site-w), 100%); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { width: min(820px, 100%); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem; }
.wordmark { font-family: var(--font-head); font-weight: 600; font-size: 1.45rem; letter-spacing: -0.05em; line-height: 1; text-decoration: none; }
.wordmark.sm { font-size: 1.2rem; }

/* ——— Przyciski: reakcja w chwili wciśnięcia, powrót sprężyną ——— */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.75rem 1.6rem; border-radius: 999px; border: 0; background: var(--ink); color: var(--bg); font-family: var(--font-head); font-weight: 500; font-size: 0.98rem; letter-spacing: 0.005em; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: transform var(--spring-dur) var(--spring), opacity 0.2s; }
.btn:active { transform: scale(0.97); transition-duration: 80ms; }
@media (hover: hover) { .btn:hover { opacity: 0.86; } }
.btn.sm { min-height: 2.5rem; padding: 0.5rem 1.15rem; font-size: 0.9rem; }
.btn.block { width: 100%; }

/* ——— Nawigacja: zawsze materiał, krawędź przewijania zamiast kreski ——— */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); }
.nav::after { content: ''; position: absolute; inset: 100% 0 auto; height: 24px; pointer-events: none; background: linear-gradient(var(--bg), transparent); opacity: 0; transition: opacity 0.3s; }
.nav.scrolled::after { opacity: 0.9; }
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 4.5rem; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { text-decoration: none; font-family: var(--font-head); font-size: 0.9rem; color: var(--muted); transition: color 0.25s; }
.nav-links a:hover, .nav-links a[aria-current='true'] { color: var(--ink); }
.nav-inner .btn { justify-self: end; }

/* ——— Hero ——— */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-top: clamp(3rem, 8vw, 7rem); }
.hero-copy .eyebrow { margin-bottom: 1.75rem; }
.hero-copy .lead { margin-top: 1.75rem; }
.hero-copy .row { margin-top: 2.5rem; }
.facts { list-style: none; margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 34rem; }
.facts li { display: grid; gap: 0.5rem; padding-right: 1rem; }
.facts li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.facts b { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: lining-nums tabular-nums; }
.facts span { font-family: var(--font-head); font-size: 0.7rem; line-height: 1.5; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.hero-visual { display: grid; place-items: center; }

/* ——— Telefon: bez cienia, ramka w kolorze tuszu ——— */
.phone { width: 288px; height: 588px; border-radius: 46px; border: 8px solid var(--ink); background: var(--bg); overflow: hidden; display: flex; flex-direction: column; font-size: 13px; line-height: 1.4; position: relative; }
.phone::before { content: ''; position: absolute; top: 8px; left: 50%; translate: -50% 0; width: 86px; height: 24px; border-radius: 999px; background: var(--ink); }
.ph-top { display: flex; justify-content: space-between; align-items: center; padding: 44px 14px 6px; }
.ph-chip { display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px 3px 3px; border-radius: 999px; background: var(--surface); font-family: var(--font-head); font-weight: 500; }
.ph-logo, .ph-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-family: var(--font-head); font-weight: 500; font-size: 12px; }
.ph-avatar { width: 30px; height: 30px; }
.ph-body { padding: 8px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; }
.ph-hello { font-family: var(--font-head); font-size: 21px; letter-spacing: -0.03em; margin: 2px 2px 6px; }
.ph-hello b { font-weight: inherit; color: var(--muted); }
.ph-card { background: var(--surface); border-radius: 20px; padding: 14px; }
.ph-card.soft { background: var(--soft); }
/* Jak ClassCover w aplikacji: zdjęcie na całą kartę, lekkie przyciemnienie, tekst na dole, status w rogu. */
.ph-card.photo { position: relative; isolation: isolate; overflow: hidden; flex: 1; min-height: 0; padding: 0; color: #fff; background: #2a2420; }
.ph-card.photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgb(18 14 12 / 0.36); }
.ph-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
/* Rozmycie zanikające ku górze, z aplikacji (.cover-blur): CSS nie zmienia siły blur w obrębie elementu, więc
   warstwy o podwajanym rozmyciu leżą w zachodzących pasach maski. Karta nie może mieć mask/opacity/filter,
   a warstwy mają własne zaokrąglenie, bo overflow: hidden nie przycina backdrop-filter. */
.ph-blur { --blur: 16px; --fade: 0.5; position: absolute; inset: 45% 0 0; z-index: -1; pointer-events: none; border-radius: 0 0 20px 20px; background: linear-gradient(to top, rgb(18 14 12 / var(--fade)) 0%, rgb(18 14 12 / calc(var(--fade) * 0.72)) 25%, rgb(18 14 12 / calc(var(--fade) * 0.36)) 55%, rgb(18 14 12 / calc(var(--fade) * 0.1)) 80%, transparent); }
.ph-blur > i { --step: 16.667%; position: absolute; inset: 0; border-radius: inherit; backdrop-filter: blur(calc(var(--blur) * var(--k))); -webkit-backdrop-filter: blur(calc(var(--blur) * var(--k))); mask-image: linear-gradient(to bottom, transparent calc(var(--n) * var(--step)), #000 calc((var(--n) + 1) * var(--step)), #000 calc((var(--n) + 2) * var(--step)), transparent calc((var(--n) + 3) * var(--step))); -webkit-mask-image: linear-gradient(to bottom, transparent calc(var(--n) * var(--step)), #000 calc((var(--n) + 1) * var(--step)), #000 calc((var(--n) + 2) * var(--step)), transparent calc((var(--n) + 3) * var(--step))); }
.ph-blur > i:nth-child(1) { --n: 0; --k: 0.03125; }
.ph-blur > i:nth-child(2) { --n: 1; --k: 0.0625; }
.ph-blur > i:nth-child(3) { --n: 2; --k: 0.125; }
.ph-blur > i:nth-child(4) { --n: 3; --k: 0.25; }
.ph-blur > i:nth-child(5) { --n: 4; --k: 0.5; }
.ph-blur > i:nth-child(6) { --n: 5; --k: 1; }
.ph-badge { position: absolute; top: 10px; right: 10px; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--font-head); font-size: 10px; }
.ph-cover-body { position: absolute; left: 16px; right: 16px; bottom: 16px; text-shadow: 0 1px 14px rgb(0 0 0 / 0.28); }
.ph-card.photo .ph-label { color: inherit; opacity: 0.9; margin-bottom: 4px; }
.ph-card.photo .ph-title { font-size: 23px; font-weight: 400; line-height: 1.08; letter-spacing: -0.02em; }
.ph-card.photo .ph-meta { color: inherit; opacity: 0.92; font-size: 12px; margin-top: 5px; }
.ph-label, .m-label { font-family: var(--font-head); font-size: 9.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 6px; }
.ph-meter { display: flex; align-items: baseline; gap: 6px; }
.ph-meter b { font-family: var(--font-head); font-weight: 400; font-size: 32px; line-height: 1; letter-spacing: -0.04em; }
.ph-meter em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 11px; }
.ph-bar { height: 3px; border-radius: 3px; background: var(--soft); margin-top: 12px; overflow: hidden; }
.ph-bar i { display: block; height: 100%; background: var(--ink); }
.ph-title { font-family: var(--font-head); font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.ph-meta { color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.ph-tabbar { margin: auto 10px 12px; display: grid; grid-template-columns: repeat(5, 1fr); padding: 4px; border-radius: 999px; background: var(--surface); font-family: var(--font-head); font-size: 8.5px; color: var(--muted); text-align: center; }
.ph-tabbar span { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 0 6px; border-radius: 999px; font-weight: 500; }
.ph-tabbar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ph-tabbar .on { background: var(--soft); color: var(--ink); }

/* ——— Sekcje ——— */
.section { padding-top: var(--gap-section); }
.head { display: grid; gap: 1.5rem; margin-bottom: var(--gap-head); max-width: 46rem; }
.head .eyebrow { margin-bottom: -0.25rem; }

/* ——— Zakładki: przełącznik z przesuwanym wskaźnikiem (rusza z bieżącej pozycji, więc da się go przerwać) ——— */
.tabs { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--soft) 70%, var(--bg)); margin-bottom: 2rem; }
.tabs-ind { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--ink); transition: transform var(--spring-dur) var(--spring), width var(--spring-dur) var(--spring); }
.tabs button { position: relative; z-index: 1; border: 0; background: transparent; padding: 0.65rem 1.4rem; border-radius: 999px; font-family: var(--font-head); font-size: 0.94rem; font-weight: 500; color: var(--muted); cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: color 0.3s var(--spring), transform var(--spring-dur) var(--spring); }
.tabs button:hover { color: var(--ink); }
.tabs button:active { transform: scale(0.96); transition-duration: 0.3s, 80ms; }
.tabs button[aria-selected='true'] { color: var(--bg); }
.no-js .tabs button[aria-selected='true'] { background: var(--ink); }

.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.panel[hidden] { display: none; }
.panel.entering { animation: panel-in 0.45s var(--spring); }
@keyframes panel-in { from { opacity: 0; } }
.panel-copy { display: grid; gap: 1.75rem; }
.panel-copy h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.1; font-weight: 400; letter-spacing: -0.03em; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 0.9rem 0; border-top: 1px solid var(--line); color: var(--muted); line-height: 1.5; }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list b { color: var(--ink); font-weight: 500; }
.panel-visual { display: grid; place-items: center; aspect-ratio: 5 / 4; background: var(--soft); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); }

/* Makiety w panelach – płasko, bez cieni */
.mock { width: min(340px, 100%); background: var(--surface); border-radius: 22px; padding: 1.25rem; display: grid; gap: 0.6rem; }
.mock.center { justify-items: center; gap: 0.9rem; width: auto; }
.m-label.top { margin-top: 0.75rem; }
.m-row { display: flex; justify-content: space-between; align-items: baseline; padding: 0.65rem 0; border-top: 1px solid var(--line); font-family: var(--font-head); font-size: 0.95rem; }
.m-row small { color: var(--muted); font-size: 0.8rem; }
.m-head { font-family: var(--font-head); font-size: 1.25rem; letter-spacing: -0.03em; }
.m-head b { font-weight: inherit; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-family: var(--font-head); font-size: 0.8rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.kpis div { background: var(--bg); border-radius: 14px; padding: 10px 12px; display: grid; gap: 2px; }
.kpis small { color: var(--muted); font-size: 0.68rem; }
.kpis b { font-family: var(--font-head); font-weight: 400; font-size: 1.45rem; letter-spacing: -0.04em; line-height: 1.1; }
.bars { display: flex; gap: 6px; align-items: flex-end; height: 96px; margin-top: 6px; }
.bars i { flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: var(--soft); }
.bars i.on { background: var(--ink); }
.bars-legend { display: flex; gap: 6px; font-family: var(--font-head); font-size: 0.66rem; color: var(--muted); }
.bars-legend span { flex: 1; text-align: center; }
.qr { width: 196px; height: 196px; padding: 14px; background: var(--bg); border-radius: 20px; display: grid; grid-template-columns: repeat(21, 1fr); gap: 1px; }
.qr i { border-radius: 1.5px; transition: background 0.4s; }
.qr i.on { background: var(--ink); }
[data-qr-sec] { font-variant-numeric: tabular-nums; }

.swatches { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; }
.swatches button { width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--line); cursor: pointer; padding: 0; background: linear-gradient(135deg, var(--c1) 50%, var(--c2) 50%); -webkit-tap-highlight-color: transparent; transition: transform var(--spring-dur) var(--spring); }
.swatches button:active { transform: scale(0.9); transition-duration: 80ms; }
.swatches button[aria-checked='true'] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--ink); }
.swatches .note { margin-left: 0.4rem; }
.brand { --b-bg: #f3f0ea; --b-surface: #fbfaf7; --b-soft: #e6e1d6; --b-brand: #9b8570; --b-ink: #1b1715; --b-muted: #5e554c;
  width: min(360px, 100%); background: var(--b-bg); color: var(--b-ink); border-radius: 22px; padding: 12px; display: grid; gap: 10px; }
.brand, .brand * { transition: background 0.5s, color 0.5s; }
.b-hero { border-radius: 16px; padding: 2.25rem 1.25rem 1.5rem; background: var(--b-soft); display: grid; justify-items: center; text-align: center; }
.b-logo { width: 44px; height: 44px; border-radius: 50%; background: var(--b-brand); color: var(--b-surface); display: grid; place-items: center; font-family: var(--font-head); font-weight: 500; font-size: 1.2rem; margin-bottom: 0.75rem; }
.b-name { font-family: var(--font-head); font-size: 1.7rem; font-weight: 400; letter-spacing: -0.04em; line-height: 1.1; }
.b-tag { color: var(--b-muted); font-size: 0.9rem; }
.b-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.b-card { background: var(--b-surface); border-radius: 14px; padding: 12px; display: grid; }
.b-card small { color: var(--b-muted); font-size: 0.72rem; }
.b-card b { font-family: var(--font-head); font-weight: 500; font-size: 0.98rem; }
.b-btn { justify-self: center; margin: 2px 0 6px; padding: 10px 24px; border-radius: 999px; background: var(--b-ink); color: var(--b-bg); font-family: var(--font-head); font-weight: 500; font-size: 0.9rem; }

/* ——— Dlaczego GLAM: cienka linia nad każdym punktem, bez kart ——— */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.5rem, 4vw, 3.5rem) clamp(2rem, 4vw, 4rem); }
.item { display: grid; gap: 0.6rem; align-content: start; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.item p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; max-width: 26em; }

/* ——— Kroki: jak „Pierwszy raz u nas?” na stronie studia ——— */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.steps li { display: grid; gap: 0.6rem; align-content: start; padding: clamp(1.4rem, 2.6vw, 2rem); border-radius: var(--radius); background: color-mix(in srgb, var(--soft) 55%, var(--bg)); }
.steps span { font-family: var(--font-head); font-weight: 300; font-size: clamp(2rem, 3.2vw, 2.6rem); line-height: 1; letter-spacing: -0.04em; color: var(--brand); margin-bottom: 1.25rem; }
.steps b { font-family: var(--font-head); font-weight: 500; font-size: 1.12rem; letter-spacing: -0.012em; }
.steps p { color: var(--muted); font-size: 0.94rem; line-height: 1.55; }

/* ——— Pytania ——— */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.4rem 2.5rem 1.4rem 0; position: relative; font-family: var(--font-head); font-size: 1.1rem; letter-spacing: -0.012em; -webkit-tap-highlight-color: transparent; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 1px; background: var(--ink); transition: transform var(--spring-dur) var(--spring); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 2.5rem 1.6rem 0; color: var(--muted); line-height: 1.6; max-width: 36em; }

/* ——— Kontakt: miękka płaszczyzna jak .site-plane ——— */
.cta { background: var(--soft); border-radius: var(--radius); padding: clamp(2rem, 6vw, 5rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.cta-copy { display: grid; gap: 1.5rem; }
.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: 0.5rem; font-family: var(--font-head); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.form input { font: inherit; font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--surface); border: 1px solid transparent; border-radius: 16px; padding: 0.8rem 1rem; min-height: 3rem; width: 100%; transition: border-color 0.2s; }
.form input:focus { outline: none; border-color: var(--ink); }
.form [aria-invalid='true'] { border-color: #b4553f; }
.form .btn { margin-top: 0.5rem; }
.form-note { font-size: 0.85rem; color: var(--muted); min-height: 1.3em; }
.form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn[disabled] { opacity: 0.6; cursor: progress; }

.footer { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: var(--gap-section); padding-top: 2rem; padding-bottom: 2.5rem; border-top: 1px solid var(--line); }
.footer-links { display: flex; gap: 2rem; margin-left: auto; }
.footer-links a { font-family: var(--font-head); font-size: 0.88rem; color: var(--muted); text-decoration: none; transition: color 0.25s; }
.footer-links a:hover { color: var(--ink); }

/* ——— Dostępność: mniej ruchu, mniej przezroczystości, większy kontrast ——— */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .panel.entering { animation: none; }
  .tabs-ind { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: #4a433c; --line: #b9b0a3; }
}

/* ——— Tablet ——— */
@media (max-width: 960px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero, .panel, .cta { grid-template-columns: 1fr; }
  .hero-visual { padding-top: 1rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel-visual { aspect-ratio: auto; min-height: 22rem; }
}
/* ——— Telefon ——— */
@media (max-width: 560px) {
  .phone { width: 268px; height: 548px; }
  .ph-card.photo .ph-meta { font-size: 11px; }
  .facts li + li { padding-left: 1rem; }
  .tabs { display: grid; width: 100%; }
  .tabs button { padding: 0.65rem 0.25rem; font-size: 0.88rem; }
  .panel-visual { min-height: 20rem; padding: 1.25rem; }
  .grid, .steps, .form-row { grid-template-columns: 1fr; }
  .cta { padding: 2rem 1.25rem; }
  .footer-links { margin-left: 0; width: 100%; order: 3; gap: 1.5rem; }
}
