/* =========================================================
   Online Concept · prosta wersja strony głównej
   Układ jak na marszalstudio.pl: mało tekstu, proste nagłówki,
   zdjęcia firm, karty usług i odnośniki do podstron.
   Plik dokłada się do style.css: są tu tylko nowe bloki
   i palety kolorów do porównania (bez beżu).
   ========================================================= */

/* ---------- Palety: kolor akcentu ustawia atrybut data-kolor na <html> (domyślnie musztardowy żółty) ----------
   --acc-dark to akcent na ciemnej karcie briefu (jaśniejszy, żeby był czytelny) */
:root, :root[data-kolor="zolty"] {
  --accent: #d4a017; --accent-2: #bb8d14; --accent-soft: #f7eed5; --on-accent: #16171b;
  --brand: #7a1d26; --on-brand: #fff;
  --acc-dark: #d4a017; --on-acc-dark: #16171b;
  --glow: 212, 160, 23; --wine: #7a1d26;
}
:root[data-kolor="bordo"] {
  --accent: #7a1d26; --accent-2: #5f1520; --accent-soft: #f9e8eb; --on-accent: #fff;
  --brand: #7a1d26; --on-brand: #fff;
  --acc-dark: #f2a6b3; --on-acc-dark: #16171b;
  --glow: 242, 166, 179; --wine: #7a1d26;
}
:root[data-kolor="fiolet"] {
  --accent: #6c5ce7; --accent-2: #5847d6; --accent-soft: #efecff; --on-accent: #fff;
  --brand: #6c5ce7; --on-brand: #fff;
  --acc-dark: #b4abff; --on-acc-dark: #16171b;
  --glow: 180, 171, 255; --wine: #5847d6;
}
:root[data-kolor="niebieski"] {
  --accent: #2563eb; --accent-2: #1d4fd8; --accent-soft: #e8efff; --on-accent: #fff;
  --brand: #2563eb; --on-brand: #fff;
  --acc-dark: #8fb2ff; --on-acc-dark: #16171b;
  --glow: 143, 178, 255; --wine: #1d4fd8;
}
:root[data-kolor="zielony"] {
  --accent: #2fcf7a; --accent-2: #1fb866; --accent-soft: #e0f8eb; --on-accent: #16171b;
  --brand: #16171b; --on-brand: #2fcf7a;
  --acc-dark: #2fcf7a; --on-acc-dark: #16171b;
  --glow: 47, 207, 122; --wine: #137a45;
}
:root[data-kolor="koral"] {
  --accent: #ff6f4f; --accent-2: #f25633; --accent-soft: #ffe9e3; --on-accent: #16171b;
  --brand: #16171b; --on-brand: #ff6f4f;
  --acc-dark: #ff8a6f; --on-acc-dark: #16171b;
  --glow: 255, 111, 79; --wine: #c23f22;
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Rytm i nagłówki: prościej i spokojniej ---------- */
.ph-sec { padding: clamp(64px, 8vw, 112px) 0; }
.prosta .ph-sec { background: none; }
.prosta .ph-sec--gray, .prosta .faq { background: var(--bg-2); }
.prosta .branches { background: var(--bg-2); }
.prosta .h2 { font-weight: 760; font-size: clamp(32px, 4vw, 54px); line-height: 1.06; letter-spacing: -.035em; }
.prosta .sec-top { margin-bottom: clamp(28px, 4vw, 48px); }
.nav__mark { background: var(--brand); color: var(--on-brand); }
.ph-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }

/* ---------- Menu na komputerze: rozwijane grupy jak w sklepie ---------- */
.pn { align-items: center; }
.pn__item { position: relative; }
.pn .pn__top { display: inline-flex; align-items: center; gap: 7px; }
.pn__top--drop::after {
  content: ""; width: 7px; height: 7px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease);
}
.pn__item:hover .pn__top, .pn__item:focus-within .pn__top { background: var(--bg-2); color: var(--text); }
.pn__item:hover .pn__top--drop::after, .pn__item:focus-within .pn__top--drop::after { transform: translateY(1px) rotate(-135deg); }
.pn__drop {
  position: absolute; top: calc(100% + 10px); left: -10px; z-index: 5;
  display: grid; grid-template-columns: repeat(2, minmax(230px, 1fr)); gap: 4px; width: max-content;
  padding: 10px; border-radius: 22px; background: #fff;
  box-shadow: 0 0 0 1px var(--border), 0 30px 60px -28px rgba(22, 23, 27, .45);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
}
.pn__item:nth-child(n+3) .pn__drop { left: auto; right: -10px; }
.pn__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.pn__item:hover .pn__drop, .pn__item:focus-within .pn__drop { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
.pn .pn__drop a {
  display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 14px; color: var(--text); white-space: normal;
}
.pn .pn__drop a:hover { background: var(--bg-2); }
.pn__drop .ico { grid-row: span 2; width: 38px; height: 38px; border-radius: 12px; }
.pn__drop b { font-weight: 650; font-size: 15.5px; line-height: 1.25; }
.pn__drop small { font-size: 13.5px; line-height: 1.3; color: var(--text-3); }

/* ---------- Pierwszy ekran: tekst po lewej, kolumny zdjęć po prawej ---------- */
.ph-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 80px); text-align: left; }
.ph-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.ph-hero .hero__in { align-items: flex-start; }
.ph-hero .hero__title { font-size: clamp(40px, 4.4vw, 66px); line-height: 1.02; letter-spacing: -.045em; }
.ph-hero__sub { margin-top: 20px; max-width: 36ch; font-size: clamp(18px, 1.5vw, 21px); color: var(--text-2); }
.ph-badge {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 24px;
  padding: 7px 16px 7px 7px; border-radius: 16px; background: var(--accent-soft);
  font-size: 15.5px; line-height: 1.3;
}
.ph-badge i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--accent); color: var(--on-accent); }
.ph-badge svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ph-badge b { font-weight: 750; }
.ph-hero .hero__checks { margin-top: 24px; gap: 10px; font-size: clamp(16.5px, 1.3vw, 18px); }
.ph-hero .hero__cta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

.ph-cols {
  position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  height: clamp(520px, 46vw, 680px); overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
}
.ph-col { min-width: 0; animation: phUp 70s linear infinite; }
.ph-col:nth-child(2) { animation-name: phDown; animation-duration: 82s; }
.ph-col:nth-child(3) { animation-duration: 94s; }
.ph-set { display: flex; flex-direction: column; gap: 14px; padding-bottom: 14px; }
@keyframes phUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes phDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.ph-tile { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: var(--bg-2); }
.ph-tile img { width: 100%; height: auto; aspect-ratio: var(--ar); object-fit: cover; }
.ph-tile .pill { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 6px 12px 6px 8px; font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.ph-tile .pill i { width: 14px; height: 14px; box-shadow: inset 0 0 0 3.5px #fff, 0 0 0 1px var(--accent); }
.js .ph-cols { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease) .25s, transform .9s var(--ease) .25s; }
.js .is-ready .ph-cols { opacity: 1; transform: none; }
.ph-hero .hero__stats { margin-top: clamp(36px, 4.5vw, 64px); }
.ph-hero .hero__stats li > span { font-size: 14px; }

/* ---------- Usługi: zdjęcie, plakietka, cena i „+” do wyceny ---------- */
.ph-cards .card__img img { object-position: center; }
.ph-flag {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  padding: 7px 13px; border-radius: 99px; background: var(--accent); color: var(--on-accent);
  font-size: 13.5px; font-weight: 700; line-height: 1.2; box-shadow: 0 8px 18px -10px rgba(22, 23, 27, .5);
}

/* ---------- Dwie kolumny: rolka albo telefon + tekst ---------- */
.ph-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ph-split--rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.ph-split__text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.ph-split__text .sub { margin-top: 18px; }
.ph-split__text .sub + .sub { margin-top: 12px; }

.ph-reel {
  position: relative; justify-self: center; width: min(100%, 340px); aspect-ratio: 9 / 16; margin: 0;
  border-radius: 32px; overflow: hidden; background: var(--ink); color: #fff;
  box-shadow: 0 40px 70px -40px rgba(22, 23, 27, .55);
}
.ph-reel img, .ph-reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-reel::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(10, 11, 14, .78)); }
.ph-reel__tag { position: absolute; left: 16px; top: 16px; z-index: 1; padding: 6px 12px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 700; }
.ph-reel__play {
  position: absolute; left: 50%; top: 46%; z-index: 1; width: 68px; height: 68px; margin: -34px 0 0 -34px;
  border-radius: 50%; background: rgba(255, 255, 255, .9); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5);
}
.ph-reel__play::before { content: ""; position: absolute; left: 27px; top: 22px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--text); }
button.ph-reel__play { border: 0; padding: 0; cursor: pointer; transition: transform .2s; }
button.ph-reel__play:hover { transform: scale(1.06); }
.ph-reel__play:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.ph-reel.is-playing::after, .ph-reel.is-playing .ph-reel__play, .ph-reel.is-playing figcaption { display: none; }
.ph-reel figcaption { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.ph-reel figcaption b { font-size: 22px; font-weight: 750; line-height: 1.15; letter-spacing: -.02em; }
.ph-reel figcaption span { font-size: 14px; opacity: .85; }

/* ---------- Cztery kroki ---------- */
.ph-steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ph-step { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 24px; border-radius: var(--radius); background: var(--bg-2); }
.ph-step__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 760; font-size: 18px; }
.ph-step h3 { margin-top: 8px; font-weight: 740; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.ph-step p { color: var(--text-2); font-size: 16px; }
.ph-mini { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font-size: 13.5px; font-weight: 620; }
.ph-mini__chip, .ph-mini__url { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 99px; background: #fff; white-space: nowrap; }
.ph-mini__bar { flex: 1 1 100%; height: 6px; border-radius: 6px; background: #fff; overflow: hidden; }
.ph-mini__bar i { display: block; width: 30%; height: 100%; border-radius: inherit; background: var(--accent); }
.ph-mini__price { padding: 7px 12px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-weight: 760; white-space: nowrap; }
.ph-mini__dots { display: inline-flex; gap: 6px; padding: 7px 10px; border-radius: 99px; background: #fff; }
.ph-mini__dots i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); }

/* ---------- Branże: kafelek „Inna branża?” w kolorze akcentu ---------- */
.prosta .branch--any { color: var(--on-accent); }
.prosta .branch--any span { color: inherit; opacity: .82; }

/* ---------- Cennik: zakładki jak w sklepie ---------- */
.ph-tabs__list { display: flex; gap: 8px; margin: 0 calc(-1 * var(--gutter)) 18px; padding: 2px var(--gutter); overflow-x: auto; scrollbar-width: none; }
.ph-tabs__list::-webkit-scrollbar { display: none; }
.ph-tabs__list button { flex: none; padding: 12px 20px; border-radius: 99px; background: var(--bg-2); color: var(--text-2); font-weight: 650; font-size: 15.5px; white-space: nowrap; transition: background .2s, color .2s; }
.ph-tabs__list button:hover { color: var(--text); background: var(--bg-3); }
.ph-tabs__list button[aria-selected="true"] { background: var(--text); color: #fff; }
.ph-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(22px, 3.5vw, 44px); border-radius: 32px; background: var(--bg-2);
}
.ph-panel__text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.ph-panel__badge { padding: 6px 12px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ph-panel h3 { font-weight: 780; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.03em; }
.ph-panel__price { display: flex; flex-direction: column; }
.ph-panel__price small { font-size: 14px; font-weight: 560; color: var(--text-3); }
.ph-panel__price b { font-weight: 820; font-size: clamp(36px, 4vw, 54px); line-height: 1.05; letter-spacing: -.045em; }
.ph-panel__text > p { color: var(--text-2); max-width: 46ch; }
.ph-panel .ph-actions { margin-top: 8px; }
.ph-panel__img { margin: 0; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: var(--bg-3); }
.ph-panel__img img { width: 100%; height: 100%; object-fit: cover; }
.ph-note { margin-top: 18px; font-size: 14.5px; color: var(--text-3); }

.ph-ticks { display: flex; flex-direction: column; gap: 10px; }
.ph-ticks li { position: relative; padding-left: 34px; }
.ph-ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); }
.ph-ticks li::after { content: ""; position: absolute; left: 8px; top: 6px; width: 6px; height: 11px; border: solid var(--on-accent); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }
.ph-split__text .ph-ticks { margin-top: 24px; }

/* ---------- Google: wynik wyszukiwania w telefonie ---------- */
.ph-phone { justify-self: center; width: min(100%, 380px); padding: 11px; border-radius: 46px; background: #16171b; box-shadow: 0 40px 80px -40px rgba(22, 23, 27, .6); }
.ph-phone__screen { padding: 12px 12px 16px; border-radius: 36px; background: #fff; overflow: hidden; }
.ph-phone__notch { width: 92px; height: 24px; margin: 0 auto 14px; border-radius: 99px; background: #16171b; }
.ph-phone .serp { position: static; padding: 0; border-radius: 0; box-shadow: none; }
.ph-phone .serp__res b { font-size: 18px; }

/* ---------- O mnie: krótko ---------- */
.ph-about .about__photo {
  width: min(100%, 420px); justify-self: center; aspect-ratio: 1;
  background: radial-gradient(70% 55% at 28% 22%, rgba(var(--glow), .55), transparent 70%), radial-gradient(70% 70% at 88% 92%, rgba(var(--glow), .3), transparent 70%), var(--accent-soft);
}
.ph-about .about__facts { margin-top: 26px; }
.ph-about .btn { margin-top: 26px; }

/* ---------- Brief: na ciemnej karcie jaśniejszy akcent ---------- */
.prosta .brief { padding: clamp(48px, 6vw, 88px) 0; scroll-margin-top: 0; }
.prosta .contact__title { font-size: clamp(40px, 6vw, 88px); line-height: .98; }
.brief__card { --accent: var(--acc-dark); --accent-2: var(--acc-dark); --on-accent: var(--on-acc-dark); --blush: var(--acc-dark); }
/* cena w podsumowaniu briefu bywa długa (sklep + opieka): łamie się zamiast wychodzić poza kartę */
.brief__summary-head .mono { flex: none; }
.prosta .brief__price { min-width: 0; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.2; text-align: right; white-space: normal; }

/* ---------- Przełącznik kolorów (tylko do porównania) ---------- */
.kolory {
  position: fixed; right: 16px; top: 50%; z-index: 125; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 8px; border-radius: 99px; background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 40px -14px rgba(22, 23, 27, .4), 0 0 0 1px var(--border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.kolory__toggle { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 2px 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); }
.kolory__toggle i { width: 32px; height: 32px; border-radius: 50%; background: conic-gradient(#d4a017 0 60deg, #7a1d26 0 120deg, #6c5ce7 0 180deg, #2563eb 0 240deg, #2fcf7a 0 300deg, #ff6f4f 0); box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--border); }
.kolory__list { display: flex; flex-direction: column; gap: 8px; }
.kolory__list button { width: 32px; height: 32px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(22, 23, 27, .12); transition: transform .2s var(--ease); }
.kolory__list button:hover { transform: scale(1.1); }
.kolory__list button[aria-checked="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--text); }
.kolory:not(.is-open) .kolory__list { display: none; }
.kolory__name { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); padding: 6px 12px; border-radius: 99px; background: var(--text); color: #fff; font-size: 13px; font-weight: 650; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s; }
.kolory.is-told .kolory__name { opacity: 1; }
.menu-open .kolory { opacity: 0; visibility: hidden; }

/* =========================================================
   Podstrony: usługi, poradniki i polityka prywatności
   (generuje je tools/podstrony.py z tools/podstrony.json)
   ========================================================= */
.sp-hero { padding: clamp(24px, 3.5vw, 48px) 0 clamp(48px, 6vw, 80px); text-align: left; }
.sp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.sp-hero__grid--solo { grid-template-columns: minmax(0, 1fr); }
.sp-hero .hero__in { align-items: flex-start; }
.sp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 14px; color: var(--text-3); }
.sp-crumbs a { text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; }
.sp-crumbs a:hover { color: var(--text); text-decoration-color: var(--accent-2); }
.sp-title { font-weight: 800; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.04em; max-width: 20ch; }
.sp-hero__grid--solo .sp-title { max-width: 24ch; }
.sp-lead { margin-top: 20px; max-width: 58ch; font-size: clamp(17px, 1.45vw, 20px); color: var(--text-2); }
.sp-date { margin-top: 18px; font-size: 14px; color: var(--text-3); }
.sp-hero__img { margin: 0; aspect-ratio: 4 / 3.4; border-radius: 32px; overflow: hidden; background: var(--bg-2); }
.sp-hero__img img { width: 100%; height: 100%; object-fit: cover; }

.sp-split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.sp-split .sub { margin-top: 0; }
.prosta .sp-split .h2 { font-size: clamp(28px, 2.8vw, 40px); }
.prosta .sp-steps-sec .h2 { max-width: 24ch; font-size: clamp(28px, 3.2vw, 46px); }
.sp-points { display: grid; gap: 12px; margin-top: 28px; }
.sp-points li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 20px; border-radius: 20px; background: #fff; }
.ph-sec--gray .sp-points li { background: #fff; }
.sp-points li > span, .sp-checks li > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 760; }
.sp-points p, .sp-checks p { padding-top: 7px; color: var(--text-2); }
.sp-points b { font-weight: 700; color: var(--text); }
/* sekcja „Strony z AI” na stronie głównej: tekst pod nagłówkiem, punkty obok */
.ph-ai .sp-split .sub { margin-top: 18px; }
.ph-ai .ph-actions { margin-top: 28px; }
.sp-steps .ph-step h3 { margin-top: 10px; font-size: 20px; }

.sp-related { display: grid; gap: clamp(36px, 5vw, 56px); }
.sp-related--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sp-related .h2 { font-size: clamp(26px, 2.6vw, 36px); }
.sp-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sp-related--2 .sp-links { grid-template-columns: minmax(0, 1fr); }
.sp-link { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 140px; padding: 22px 24px; border-radius: 22px; background: var(--bg-2); transition: background .2s, transform .3s var(--ease); }
.sp-related--2 .sp-link { min-height: 0; flex-direction: row; align-items: center; }
.sp-link b { font-weight: 720; font-size: 19px; line-height: 1.25; letter-spacing: -.015em; }
.sp-link span { display: inline-flex; align-items: center; gap: 10px; flex: none; font-weight: 650; font-size: 15px; color: var(--text-2); }
.sp-link:hover { background: var(--bg-3); transform: translateY(-2px); }
.sp-link:hover .arrow { transform: translateX(4px); }

.sp-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding: clamp(28px, 4.5vw, 56px); border-radius: 32px; background: var(--accent); color: var(--on-accent); }
.sp-cta > div { flex: 1 1 420px; min-width: 0; }
.sp-cta h2 { font-weight: 780; font-size: clamp(28px, 3vw, 42px); line-height: 1.1; letter-spacing: -.03em; }
.sp-cta p { margin-top: 12px; max-width: 56ch; font-size: 17.5px; opacity: .85; }

.sp-answer { padding-top: 0; }
.sp-answer__card { display: flex; flex-direction: column; gap: 10px; max-width: 900px; padding: clamp(24px, 3.5vw, 40px); border-radius: 28px; background: var(--accent-soft); }
.sp-answer__card .eyebrow { margin-bottom: 0; color: var(--text-2); }
.sp-answer__card p:last-child { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; }

.sp-article { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.sp-toc { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 22px; background: var(--bg-2); font-size: 15px; }
.sp-toc__title { margin-bottom: 6px; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.sp-toc a { padding: 6px 0; color: var(--text-2); line-height: 1.35; }
.sp-toc a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.sp-body { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 56px); max-width: 72ch; }
.sp-body > section { scroll-margin-top: 96px; }
.sp-body h2 { font-weight: 760; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -.03em; }
.sp-body p { margin-top: 14px; color: var(--text-2); font-size: 17.5px; }
.sp-body .ph-ticks { margin-top: 20px; }
.sp-body ul:not(.ph-ticks) { margin-top: 14px; padding-left: 22px; list-style: disc; color: var(--text-2); }
.sp-body ul:not(.ph-ticks) li + li { margin-top: 8px; }
.sp-body a { text-decoration: underline; text-underline-offset: 3px; }
.sp-body .meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.sp-body .meta div { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 16px; background: var(--bg-2); font-weight: 600; }
.sp-body .meta span { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.sp-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sp-checks li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 20px; border-radius: 20px; background: var(--bg-2); }

.prosta .faq.faq--white { background: none; }
.ph-sec--gray .sp-checks li, .ph-sec--gray .sp-link { background: #fff; }
.ph-sec--gray .sp-link:hover { background: var(--bg-3); }
.sp-404 { padding: clamp(64px, 10vw, 140px) 0; text-align: center; }
.sp-404 .sp-title { margin: 0 auto; }
.sp-404 .sp-lead { margin-inline: auto; }
.sp-404 .ph-actions { justify-content: center; }

/* ---------- Responsywność ---------- */
/* Menu ma sześć pozycji (z „Strony z AI”). Poniżej 1280 px nie mieści się obok logo, więc jest przycisk menu. */
@media (max-width: 1279px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
}
@media (max-width: 1120px) {
  .ph-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* brief ma tylko trzy krótkie kroki: na telefonie najpierw pytania, podgląd pod nimi */
  .prosta .brief__side { order: 1; }
}
@media (max-width: 960px) {
  .ph-hero__grid, .ph-split, .ph-split--rev, .ph-panel { grid-template-columns: minmax(0, 1fr); }
  .sp-hero__grid, .sp-split, .sp-related--2, .sp-article { grid-template-columns: minmax(0, 1fr); }
  .sp-hero__img { aspect-ratio: 16 / 9; }
  .sp-links { grid-template-columns: minmax(0, 1fr); }
  .sp-link { min-height: 0; flex-direction: row; align-items: center; }
  .sp-toc { position: relative; top: 0; }
  .sp-checks { grid-template-columns: minmax(0, 1fr); }
  .ph-cols { height: 440px; }
  .ph-split--rev > .ph-phone { order: 2; }
  .ph-reel { width: min(100%, 280px); }
  .ph-panel__img { order: -1; aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  .ph-hero .hero__cta { flex-direction: column; align-items: stretch; }
  .ph-hero .hero__cta .more { align-self: center; }
  .ph-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; height: 380px; }
  .ph-col:nth-child(3) { display: none; }
  .ph-set { gap: 10px; padding-bottom: 10px; }
  .ph-tile { border-radius: 18px; }
  .ph-tile .pill { left: 8px; bottom: 8px; font-size: 11.5px; padding: 5px 10px 5px 7px; }
  .ph-badge { font-size: 14.5px; }
  .ph-steps__list { grid-template-columns: minmax(0, 1fr); }
  .ph-actions .btn { width: 100%; }
  .sp-link { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sp-body .meta { grid-template-columns: minmax(0, 1fr); }
  .sp-cta .btn { width: 100%; }
  .ph-actions { gap: 14px 22px; }
  .ph-phone { width: 100%; max-width: 340px; }
  .kolory { top: auto; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); right: 10px; padding: 6px; transform: none; }
  .prosta .branch--any span { display: none; }
  .kolory__toggle i, .kolory__list button { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .ph-col { animation: none !important; }
  .js .ph-cols { opacity: 1; transform: none; }
}
