/* Mockup LP SAP AI – wspólna struktura. Wariant C (wariant-c.css) nadpisuje zmienne i dodaje własny charakter. */

:root {
  --font: Graphik, Arial, Helvetica, sans-serif;
  --bg: #FFFFFF;
  --bg-alt: #F3F5F7;
  --surface: #FFFFFF;
  --surface-2: #F3F5F7;
  --text: #282E36;
  --heading: #282E36;
  --muted: #5D6A76;
  --line: #DDE2E6;
  --accent: #1596D1;
  --accent-hover: #1182B6;
  --on-accent: #FFFFFF;
  --accent-soft: #E8F4FA;
  --radius: 8px;
  --radius-btn: 6px;
  --header-bg: rgba(255, 255, 255, .96);
  --header-h: 68px;
  --maxw: 1200px;
  --gutter: 24px;
  --sec-pad: 104px;
  --h1: clamp(2.25rem, 4.6vw, 3.75rem);
  --h2: clamp(1.75rem, 3vw, 2.5rem);
  --h1-weight: 700;
  --h2-weight: 700;
  --tracking-head: -0.015em;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
/* 6.11: nagłówki łamią się w linie podobnej długości – bez pojedynczego słowa w ostatniej linii */
h1, h2, h3 { text-wrap: balance; }
h1, h2, h3 { font-family: var(--font-head, var(--font)); color: var(--heading); margin: 0; letter-spacing: var(--tracking-head); }
h1 { font-size: var(--h1); line-height: 1.08; font-weight: var(--h1-weight); }
h2 { font-size: var(--h2); line-height: 1.15; font-weight: var(--h2-weight); }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
ul, ol { margin: 0; padding: 0; }
sup { font-size: .65em; line-height: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* --- Uwagi recenzenckie (nie są częścią projektu) ------------------------ */
.note { display: inline; padding: 1px 6px; border-radius: 3px; background: #FFF4D6; color: #7A4B00; font: 600 11px/1.5 Arial, sans-serif; letter-spacing: 0; text-transform: none; vertical-align: middle; white-space: normal; }
.fill { background: rgba(227, 160, 8, .16); box-shadow: 0 0 0 1px rgba(227, 160, 8, .35); border-radius: 2px; }
.hide-notes .note { display: none; }
.hide-notes .fill { background: none; box-shadow: none; }

/* --- Nagłówek ---------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.site-header__in { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { display: block; flex-shrink: 0; }
.brand .logo { width: 150px; height: auto; }
.logo--on-dark { display: none; }
.anchors { display: flex; gap: 24px; margin-left: auto; }
.anchors a { color: var(--text); text-decoration: none; font-size: 15px; opacity: .85; }
.anchors a:hover { color: var(--accent); opacity: 1; }
/* 10.11: w nagłówku pogrubiony link sekcji, którą właśnie czytasz, z niebieską kreską pod spodem */
.anchors a { position: relative; display: inline-flex; flex-direction: column; align-items: center; }
.anchors a::before { content: attr(data-label); height: 0; overflow: hidden; visibility: hidden; font-weight: 700; } /* rezerwuje szerokość pogrubionego tekstu – menu nie skacze */
.anchors a.is-active { font-weight: 700; opacity: 1; }
.anchors a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--accent); }
.site-header__cta { flex-shrink: 0; }

/* --- Przyciski i linki ------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 2px solid transparent; border-radius: var(--radius-btn); font: 600 16px/1.2 var(--font); text-decoration: none; text-align: center; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--secondary { background: transparent; color: var(--heading); border-color: currentColor; }
.btn--secondary:hover { color: var(--accent); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 16px 32px; font-size: 17px; }
.btn--block { width: 100%; }
.link-arrow { display: inline; /* 6.11: strzałka zostaje przy ostatnim słowie (wcześniej inline-flex – na telefonie odklejała się na prawą krawędź) */ padding: 0; border: 0; background: none; color: var(--accent); font: 600 16px/1.4 var(--font); text-decoration: none; cursor: pointer; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* --- Typografia sekcji ------------------------------------------------- */
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.sec__num { display: none; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--muted); max-width: 640px; }
.intro { font-size: 1.1rem; color: var(--muted); max-width: 720px; margin-top: 20px; }
.footnotes { margin-top: 32px; font-size: 13px; line-height: 1.55; color: var(--muted); max-width: 900px; }
.footnotes a { color: inherit; text-decoration: underline; text-underline-offset: 2px; transition: color .2s ease; } /* 10.11: linki do źródeł */
.footnotes a:hover, .footnotes a:focus-visible { color: var(--accent); }

/* --- Placeholdery ------------------------------------------------------ */
.ph { display: grid; place-content: center; gap: 4px; text-align: center; border: 1px dashed currentColor; color: var(--muted); font-size: 14px; background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(133, 143, 152, .08) 12px 24px); }
.ph small { font-size: 12px; opacity: .8; }
.ph--photo { aspect-ratio: 4 / 3.4; border-radius: var(--radius); }
.ph--logo { width: 120px; height: 40px; font-size: 12px; border-radius: 4px; }
.ph--badge { width: 56px; height: 56px; font-size: 10px; border-radius: 50%; }
.ph--avatar { width: 64px; height: 64px; flex-shrink: 0; font-size: 11px; border-radius: 50%; }

/* --- S1 Hero ----------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 56px; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__art { display: none; position: absolute; right: -5%; top: 0; width: 70%; height: 100%; } /* linie w tle – widoczne tylko w archiwalnym A; w C usunięte 6.11 */
.hero__in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin: 32px 0 20px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; font-size: 14px; color: var(--muted); }
.hero__meta span::before { content: "✓"; margin-right: 6px; color: var(--accent); font-weight: 700; }
.trust { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line); list-style: none; }
.trust li { display: flex; flex-direction: column; gap: 2px; }
.trust__k { font-family: var(--font-head, var(--font)); font-size: 1.5rem; line-height: 1.2; color: var(--heading); }
.trust__v { font-size: 14px; color: var(--muted); }

/* --- Sekcje ------------------------------------------------------------ */
.sec { padding: var(--sec-pad) 0; }
.sec__head { max-width: 820px; margin-bottom: 56px; }

/* S2 oś czasu */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; counter-reset: tl; }
.tl { position: relative; padding: 32px 24px 0 0; border-top: 3px solid var(--line); }
.tl::before { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 3px solid var(--line); }
.tl--now { border-top-color: var(--accent); }
.tl--now::before, .tl--key::before { border-color: var(--accent); background: var(--accent); }
.tl__when { margin-bottom: 4px; font-family: var(--font-head, var(--font)); font-size: 1.35rem; font-weight: 700; color: var(--heading); }
.tl__title { margin-bottom: 10px; font-size: 1rem; color: var(--accent); }
.tl p:last-child { font-size: 15px; color: var(--muted); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; margin-top: 56px; }
.sec__text { font-size: 1.15rem; }
.callout { padding: 28px; border-radius: var(--radius); background: var(--surface-2); }
.callout__stats { display: flex; gap: 32px; margin-bottom: 12px; }
.callout__stats span { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.callout__stats strong { font-family: var(--font-head, var(--font)); font-size: 2.5rem; line-height: 1.1; color: var(--accent); }
.callout p:last-child { margin: 0; font-size: 15px; }

/* S3 ścieżki */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path { display: flex; flex-direction: column; padding: 36px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.path__tag { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.path__tag span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); letter-spacing: 0; }
.path h3 { font-size: 1.5rem; margin-bottom: 20px; }
.path .btn { margin-top: auto; align-self: flex-start; }
.path .checks { margin-bottom: 28px; }
/* 10.11: dwie drogi wyraźniej – rozwidlenie nad kartami, „albo” między nimi, obie zbiegają się w celu pod nimi */
.paths__fork { grid-column: 1 / -1; position: relative; height: 76px; }
.paths__fork span { position: absolute; left: 50%; top: 0; transform: translateX(-50%); padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 600; color: var(--heading); white-space: nowrap; }
.paths__fork::before { content: ""; position: absolute; left: calc((100% - 88px) / 4); right: calc((100% - 88px) / 4); top: 50px; bottom: 0; border: 2px solid var(--accent); border-bottom: 0; border-radius: 14px 14px 0 0; opacity: .5; }
.paths__fork::after { content: ""; position: absolute; left: calc(50% - 1px); top: 34px; width: 2px; height: 16px; background: var(--accent); opacity: .5; }
.paths__or { display: flex; align-items: center; justify-content: center; width: 56px; }
.paths__or span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #3C4652; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 6px 18px rgba(40, 46, 54, .18); }
.path { overflow: hidden; }
.path__head { margin: -36px -36px 24px; padding: 28px 36px 22px; border-bottom: 1px solid var(--line); }
.path--cloud .path__head { background: var(--accent-soft); }
.path--step .path__head { background: var(--surface-2); }
.path__head h3 { margin-bottom: 0; }
.path__head .path__tag span { width: 36px; height: 36px; font-size: 18px; }
.paths__goal { grid-column: 1 / -1; position: relative; height: 86px; }
.paths__goal::before { content: ""; position: absolute; left: calc((100% - 88px) / 4); right: calc((100% - 88px) / 4); top: 0; height: 26px; border: 2px solid var(--accent); border-top: 0; border-radius: 0 0 14px 14px; opacity: .5; }
.paths__goal::after { content: ""; position: absolute; left: calc(50% - 1px); top: 26px; width: 2px; height: 20px; background: var(--accent); opacity: .5; }
.paths__goal span { position: absolute; left: 50%; top: 46px; transform: translateX(-50%); padding: 8px 20px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 15px; font-weight: 600; white-space: nowrap; }
@media (min-width: 761px) { .paths { grid-template-columns: 1fr auto 1fr; gap: 0 16px; } }
@media (max-width: 760px) {
  .paths { gap: 0; }
  .paths__fork { height: auto; margin-bottom: 16px; text-align: center; }
  .paths__fork span { position: static; display: inline-block; transform: none; white-space: normal; }
  .paths__fork::before, .paths__fork::after, .paths__goal::before { display: none; }
  .paths__or { width: auto; margin: 16px 0; }
  .paths__or span { width: 48px; height: 48px; font-size: 12px; }
  .path__head { margin: -24px -24px 20px; padding: 20px 24px 18px; }
  .paths__goal { height: 66px; }
  .paths__goal::after { left: calc(50% - 1px); top: 0; height: 24px; }
  .paths__goal span { top: 24px; }
}
.paths__note { margin-top: 24px; font-size: 1.15rem; text-align: center; color: var(--heading); }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231596D1' stroke-width='3'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.partner { display: flex; align-items: center; gap: 40px; margin-top: 56px; padding: 28px 32px; border-radius: var(--radius); background: var(--surface-2); }
.partner__logos { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.partner__logos .logo { width: 130px; height: auto; }
.partner__logos .partner__logo { width: auto; height: 36px; }
.partner__sep { width: 1px; height: 40px; background: var(--muted); opacity: .5; }
.partner p { margin: 0; font-size: 15px; color: var(--muted); }

/* S4 AI */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; list-style: none; }
.levels li { position: relative; padding: 24px; border-radius: var(--radius); background: var(--surface-2); }
.levels li:not(:last-child)::after { content: "→"; position: absolute; right: -19px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 20px; }
.levels__n { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 12px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); font-weight: 700; }
.levels h3 { margin-bottom: 6px; }
.levels p { margin: 0; font-size: 15px; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tile { padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.tile__status { margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.tile__status--planned { color: var(--muted); }
.tile h3 { font-size: 1.35rem; margin-bottom: 16px; }
.tile dl { margin: 0; display: grid; gap: 4px; }
.tile dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tile dd { margin: 0 0 12px; }
.tile dd:last-child { margin: 0; font-weight: 600; color: var(--heading); }
/* Podświetlenie kafli po najechaniu (6.11.2026) */
.levels li, .tiles .tile { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.levels li:hover, .tiles .tile:hover { transform: translateY(-4px); box-shadow: inset 0 3px 0 var(--accent), 0 16px 36px rgba(40, 46, 54, .14); }
.levels__n { transition: background-color .2s ease, color .2s ease; }
.levels li:hover .levels__n { background: var(--accent); color: #fff; }
@media (prefers-reduced-motion: reduce) { .levels li:hover, .tiles .tile:hover { transform: none; } }
/* 6.11: telefon – sekcja „AI w SAP” zwarta: 3 kroki w jednej karcie, kafle z mniejszymi odstępami */
@media (max-width: 600px) {
  ol.levels { gap: 0; margin-bottom: 20px; border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: 0 1px 2px rgba(40, 46, 54, .06); }
  .levels li { display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; padding: 16px 20px; border-radius: 0; }
  .levels li + li { border-top: 1px solid var(--line); }
  .levels li:not(:last-child)::after { display: none; }
  .levels__n { grid-row: span 2; margin: 0; }
  .levels h3 { margin: 4px 0 2px; font-size: 1.05rem; }
  .levels p { font-size: 14px; }
  .levels li:hover, .tiles .tile:hover { transform: none; }
  .levels li:hover { box-shadow: none; }
  .tiles { gap: 12px; }
  .tiles .tile { padding: 20px; }
  .tile__status { margin-bottom: 6px; }
  .tile h3 { margin-bottom: 10px; font-size: 1.2rem; }
  .tile dd { margin-bottom: 8px; }
}
/* 6.11: telefon – wszystkie przyciski (poza małym w nagłówku) na całą szerokość i tej samej wysokości */
@media (max-width: 600px) {
  .btn:not(.btn--sm) { display: flex; width: 100%; min-height: 56px; align-self: stretch; }
}
/* 6.11: telefon – pola do kliknięcia min. 44 px; logo, LinkedIn i „Informacja o przetwarzaniu…” bez zmiany wyglądu, przy telefonie/e-mailu i w stopce nieco większe odstępy */
@media (max-width: 600px) {
  .brand, .person__in, .rodo summary { position: relative; }
  .brand::before, .person__in::before, .rodo summary::before { content: ""; position: absolute; left: -8px; right: -8px; top: 50%; height: 44px; transform: translateY(-50%); }
  .direct { gap: 0; }
  .direct a { display: flex; align-items: center; min-height: 44px; }
  .site-footer__links { gap: 0; }
  .site-footer__links a { display: flex; align-items: center; min-height: 44px; }
}
/* 6.11: telefon – więcej miejsca na pytania w FAQ */
@media (max-width: 600px) {
  .faq__item summary { gap: 12px; }
  .faq__item summary::after { width: 28px; height: 28px; }
  .hero .lead { font-size: 17px; } /* 6.11: lead w hero 5 linii zamiast 6 – film wyżej */
  section.hero { padding-top: 20px; } /* 6.11: mniejszy odstęp pod nagłówkiem (było 48 px) */
}
/* 6.11: przycisk „do góry” – pojawia się po przewinięciu i jedzie z ekranem; na telefonie nad przyciskiem „Umów konsultację” */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 55; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(10, 14, 20, .28); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease, visibility .2s, background-color .2s ease; }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover, .to-top:focus-visible { background: var(--accent-hover); }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) { .to-top { right: 16px; bottom: 14px; } a.sticky-cta { right: 76px; } } /* telefon: obok przycisku „Umów konsultację”, nie nad treścią */
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
/* 10.11: spis treści po lewej – na szerokich ekranach karta z nazwami sekcji, na laptopach pasek kropek (nazwa po najechaniu); na telefonie i tablecie ukryty */
.toc { display: none; }
@media (min-width: 1340px) {
  .toc { display: block; position: fixed; left: 14px; top: calc(var(--header-h) + 28px); z-index: 40; font-family: var(--font); }
  .toc__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .toc__list { display: grid; gap: 2px; margin: 0; padding: 8px 6px; list-style: none; border-radius: 999px; background: rgba(255, 255, 255, .94); box-shadow: 0 6px 20px rgba(10, 14, 20, .18); }
  .toc a { position: relative; display: flex; align-items: center; gap: 10px; padding: 7px; border-radius: 6px; color: #5D6A76; font-size: 13px; line-height: 1.3; text-decoration: none; }
  .toc a::before { content: ""; flex-shrink: 0; width: 10px; height: 10px; border: 2px solid #B6C0C9; border-radius: 50%; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
  .toc a:hover::before, .toc a:focus-visible::before { border-color: var(--accent); }
  .toc a.is-active::before { background: var(--accent); border-color: var(--accent); transform: scale(1.15); }
  .toc__t { position: absolute; left: calc(100% + 10px); top: 50%; padding: 5px 10px; border-radius: 4px; background: #282E36; color: #fff; white-space: nowrap; opacity: 0; visibility: hidden; transform: translate(-4px, -50%); transition: opacity .15s ease, transform .15s ease, visibility .15s; pointer-events: none; }
  .toc a:hover .toc__t, .toc a:focus-visible .toc__t { opacity: 1; visibility: visible; transform: translate(0, -50%); }
}
@media (min-width: 1640px) {
  .toc { left: 24px; width: 196px; }
  .toc__title { position: static; width: auto; height: auto; overflow: visible; clip: auto; margin: 0 0 8px; padding: 0 14px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #5D6A76; }
  .toc { padding-top: 14px; border-radius: 8px; background: rgba(255, 255, 255, .96); box-shadow: 0 6px 20px rgba(10, 14, 20, .18); }
  .toc__list { padding: 0 6px 10px; border-radius: 0; background: none; box-shadow: none; }
  .toc a { padding: 6px 8px; }
  .toc a:hover { background: #F3F5F7; color: #282E36; }
  .toc a.is-active { color: #282E36; font-weight: 600; }
  .toc__t { position: static; padding: 0; background: none; color: inherit; white-space: normal; opacity: 1; visibility: visible; transform: none; }
  .toc a:hover .toc__t, .toc a:focus-visible .toc__t { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .toc a::before, .toc__t { transition: none; } }
/* 6.11: formularz w okienku po kliknięciu przycisków CTA (sekcja Kontakt na dole zostaje bez zmian) */
.has-modal, .has-modal body { overflow: hidden; }
.form-modal { position: fixed; inset: 0; z-index: 150; overflow-y: auto; padding: 48px 16px; background: rgba(10, 14, 20, .72); opacity: 0; transition: opacity .2s ease; }
.form-modal[hidden] { display: none; }
.form-modal.is-open { opacity: 1; }
.form-modal__box { position: relative; max-width: 680px; margin: 0 auto; padding: 36px; border-radius: var(--radius); background: #fff; color: #2E363F; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); outline: none; transform: translateY(12px); transition: transform .2s ease; }
.form-modal.is-open .form-modal__box { transform: none; }
.form-modal__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #F3F5F7; color: #282E36; font: 28px/1 var(--font); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.form-modal__close:hover, .form-modal__close:focus-visible { background: var(--accent); color: #fff; }
.form-modal__avatars { display: flex; margin: 0 0 16px; }
.form-modal__avatars img { width: 44px; height: 44px; margin-left: -10px; border: 2px solid #fff; border-radius: 50%; object-fit: cover; object-position: center top; }
.form-modal__avatars img:first-child { margin-left: 0; }
.form-modal__head h2 { margin: 0 52px 8px 0; font-size: 1.6rem; line-height: 1.25; color: #282E36; }
.form-modal__head p { margin: 0 0 24px; font-size: 15px; color: #5D6A76; }
.form-modal .form-wrap .form, .form-modal .form-wrap .form-done { padding: 0; border: 0; border-radius: 0; box-shadow: none; }
@media (max-width: 600px) {
  .form-modal { padding: 0; }
  .form-modal__box { min-height: 100%; padding: 20px 16px 32px; border-radius: 0; }
  .form-modal__head h2 { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) { .form-modal, .form-modal__box { transition: none; } }
.faq__item h3 { transition: color .2s ease; }
.faq__item summary::after { transition: transform .2s, background-color .2s ease, border-color .2s ease, color .2s ease; }
.faq__item summary:hover h3 { color: var(--accent); }
.faq__item summary:hover::after { background: var(--accent); border-color: var(--accent); color: #fff; }

/* S5 Dlaczego my */
.proofs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 48px; }
.proof__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); }
.proof__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.proof h3 { margin-bottom: 8px; }
.proof p { margin: 0; color: var(--muted); }
/* Bezpieczeństwo danych – podział odpowiedzialności Westernacher / SAP (23.11) */
.proof__duo { display: grid; gap: 10px; margin: 16px 0 0; }
.proof__duo > div { padding: 12px 16px; border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; background: var(--accent-soft); }
.proof__duo dt { margin: 0 0 2px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--heading); }
.proof__duo dd { margin: 0; color: var(--text); font-size: 15px; line-height: 1.55; }
.proof p.proof__src { margin-top: 10px; font-size: 13px; }
.proof__src a { color: inherit; text-decoration: underline; text-underline-offset: 2px; transition: color .2s ease; }
.proof__src a:hover, .proof__src a:focus-visible { color: var(--accent); }
.why-split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; margin-top: 72px; } /* 6.11: wyrównanie do góry (wcześniej center) */
.principles h3 { margin-bottom: 20px; font-size: 1.4rem; }
.principles ul { list-style: none; display: grid; gap: 16px; counter-reset: pr; }
.principles li { position: relative; padding-left: 44px; counter-increment: pr; }
.principles li::before { content: counter(pr, decimal-leading-zero); position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.video { margin: 0; }
.video__ph { position: relative; display: grid; place-content: center; justify-items: center; gap: 8px; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 0; border-radius: var(--radius); background: linear-gradient(180deg, rgba(10, 14, 20, .55) 0%, rgba(10, 14, 20, .35) 45%, rgba(10, 14, 20, .8) 100%), radial-gradient(55% 75% at 82% 12%, rgba(21, 150, 209, .3), transparent 60%), url("video/ai-now-2026-okladka.jpg") center / cover no-repeat, #0A0E14; color: #fff; font: 600 16px var(--font); text-align: center; cursor: pointer; }
.video__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #92CCEA; }
.video__brand { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
.video__brand b { color: #1596D1; }
.video__tagline { font-size: 15px; font-weight: 400; opacity: .9; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.video__play { display: grid; place-items: center; width: 84px; height: 84px; margin: 10px 0 2px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 10px rgba(21, 150, 209, .18), 0 0 40px rgba(21, 150, 209, .6); transition: transform .2s; animation: video-pulse 2.4s ease-in-out infinite; }
.video__play svg { width: 32px; fill: #fff; margin-left: 5px; }
.video__ph:hover .video__play, .video__ph:focus-visible .video__play { transform: scale(1.08); }
.video__label { font-size: 16px; font-weight: 600; }
.video__meta { font-size: 13px; font-weight: 400; opacity: .7; }
@keyframes video-pulse { 0%, 100% { box-shadow: 0 0 0 10px rgba(21, 150, 209, .18), 0 0 40px rgba(21, 150, 209, .6); } 50% { box-shadow: 0 0 0 18px rgba(21, 150, 209, .08), 0 0 60px rgba(21, 150, 209, .7); } }
@media (prefers-reduced-motion: reduce) { .video__play { animation: none; } }
@media (max-width: 600px) { .video__tagline, .video__meta, .video__eyebrow { display: none; } .video__play { width: 60px; height: 60px; margin: 6px 0 0; } .video__play svg { width: 24px; margin-left: 4px; } }
.video__ph.is-playing .video__play { background: #5D6A76; }
.video__el { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #000; }
.video figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }
.video figcaption strong { display: block; color: var(--heading); }
.badges { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); list-style: none; }
.ainow { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 48px; padding: 32px; border-radius: var(--radius); background: var(--surface-2); }
.ainow__eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.ainow__title { margin: 0 0 8px; font-size: 1.5rem; }
.ainow p { margin: 0 0 6px; color: var(--muted); }
.ainow__text { flex: 1 1 auto; max-width: 600px; }
.ainow .btn { flex-shrink: 0; }
.badges li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; color: var(--heading); }
/* 6.11: trzy odznaki równo na całą szerokość, każda z podpisem (nazwa + co oznacza) */
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 40px; }
.badges li { gap: 16px; }
.badges__txt { display: flex; flex-direction: column; gap: 2px; font-weight: 400; font-size: 14px; color: var(--muted); }
.badges__txt b { font-size: 15px; font-weight: 600; color: var(--heading); }
@media (max-width: 760px) { .badges { grid-template-columns: 1fr; } }
.badge-img { display: block; height: 56px; width: auto; padding: 6px 10px; background: #fff; border-radius: 4px; }

/* S6 Pierwszy krok */
.journey { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: start; }
.step--featured { padding: 40px; border-radius: var(--radius); background: var(--surface); border: 2px solid var(--accent); }
.step__n { margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.step--featured h3 { font-size: 1.6rem; margin-bottom: 16px; }
.step__facts { display: flex; flex-wrap: wrap; gap: 8px; }
.step__facts span { padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--heading); font-size: 14px; }
.step--featured .checks { margin: 0 0 20px; }
.step__free { font-weight: 600; color: var(--heading); }
.next-steps { padding: 8px 0; }
.next-steps__title { font-weight: 600; color: var(--heading); }
.next-steps ol { list-style: none; display: grid; gap: 0; }
.next-steps li { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.next-steps li:last-child { border-bottom: 0; }
.next-steps__n { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); font-weight: 700; }
.next-steps h3 { margin-bottom: 4px; font-size: 1.1rem; }
.next-steps p { margin: 0; font-size: 15px; color: var(--muted); }

/* S7 FAQ */
.faq { display: grid; gap: 0; max-width: 900px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); color: var(--accent); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item h3 { flex: 1; font-size: 1.1rem; font-weight: 600; text-wrap: pretty; } /* 6.11: bez „balance” – na telefonie pytania łamały się w wąskie linie */
.faq__a { padding: 0 56px 20px 0; color: var(--muted); }
/* 23.11: źródło pod odpowiedzią FAQ – jak przypisy */
.faq__src { margin-top: 8px; font-size: 13px; }
.faq__src a { color: inherit; text-decoration: underline; text-underline-offset: 2px; transition: color .2s ease; }
.faq__src a:hover, .faq__src a:focus-visible { color: var(--accent); }

/* S8 Kontakt */
.contact { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: start; }
.contact__main h2 { margin-bottom: 0; }
.contact__main .intro { margin-bottom: 32px; }
.form { padding: 36px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--heading); }
.req { color: var(--accent); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: calc(var(--radius-btn) - 2px); background: var(--bg); color: var(--text); font: 16px/1.4 var(--font); }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(21, 150, 209, .2); }
.field [aria-invalid="true"] { border-color: #C2410C; }
.field__err { min-height: 0; margin: 0; font-size: 13px; color: #C2410C; }
.field__err:empty { display: none; }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; margin-bottom: 24px; }
.field--check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--accent); }
.field--check label { font-weight: 400; font-size: 14px; }
.field--check .field__err { grid-column: 2; }
.form__small { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.rodo { margin-top: 8px; font-size: 13px; color: var(--muted); }
.rodo summary { cursor: pointer; font-weight: 600; color: var(--heading); }
.rodo__body p { margin: 8px 0 0; line-height: 1.5; }
.form__path { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 10px 14px; border-radius: 6px; background: var(--accent-soft); font-size: 14px; color: var(--heading); }
.form__path[hidden] { display: none; }
.form__path-clear { margin-left: auto; border: 0; background: none; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.form-done { padding: 48px 36px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.form-done__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--accent); }
.form-done__icon svg { width: 32px; fill: none; stroke: #fff; stroke-width: 2.5; }
.form-done h3 { font-size: 1.6rem; margin-bottom: 12px; }
.contact__side { padding-top: 8px; }
.people__title { font-size: 1.3rem; margin-bottom: 8px; }
.people { list-style: none; display: grid; gap: 16px; margin: 16px 0 32px; }
.person { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--surface-2); }
.person p { margin: 0; }
.person__name { font-weight: 600; color: var(--heading); }
.person__role { font-size: 14px; color: var(--accent); }
.person__line { margin-top: 4px !important; font-size: 14px; color: var(--muted); }
.person__in { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; }
.person__photo { width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; object-fit: cover; object-position: center top; }
/* Karty ekspertów: podświetlenie po najechaniu (6.11.2026) */
.person { transition: background-color .2s ease, box-shadow .2s ease; }
.person__photo { transition: box-shadow .2s ease; }
.person:hover { box-shadow: inset 3px 0 0 var(--accent), 0 10px 24px rgba(40, 46, 54, .10); }
.person:hover .person__photo { box-shadow: 0 0 0 3px var(--accent); }
.direct { display: grid; gap: 4px; }
.direct__title { margin: 0 0 8px; font-size: 1.3rem; font-weight: 600; color: var(--heading); } /* 6.11: jak „Z kim porozmawiasz” */
.direct__name { margin: 0; font-size: 1.1rem; color: var(--muted); } /* 6.11: ta sama wielkość co telefon i e-mail */
.direct a { justify-self: start; font-size: 1.1rem; color: var(--heading); text-decoration: none; }
.direct p { margin: 4px 0 0; }

/* --- Stopka ------------------------------------------------------------ */
.site-footer { padding: 56px 0 96px; background: var(--bg-alt); font-size: 14px; color: var(--muted); }
.site-footer__in { display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: start; }
.site-footer__brand .logo { width: 170px; height: auto; }
.site-footer__links { display: flex; flex-direction: column; gap: 6px; }
.site-footer__links a { color: var(--text); text-decoration: none; }
.site-footer__links a { transition: color .2s ease; }
.site-footer__links a:hover, .site-footer__links a:focus-visible { color: var(--accent); }

/* --- Sticky CTA (mobile) ----------------------------------------------- */
.sticky-cta { display: none; }

/* --- Responsywność ----------------------------------------------------- */
@media (max-width: 1080px) {
  .anchors { display: none; }
  .site-header__cta { margin-left: auto; }
  .hero__in { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 560px; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .contact { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; --sec-pad: 64px; --header-h: 60px; }
  body { font-size: 16px; }
  .brand .logo { width: 120px; }
  .site-header__cta { display: none; }
  .hero { padding: 48px 0 40px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .link-arrow { justify-content: center; }
  .trust { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .sec__head { margin-bottom: 36px; }
  .timeline { grid-template-columns: 1fr; row-gap: 0; }
  .tl { padding: 0 0 32px 32px; border-top: 0; border-left: 3px solid var(--line); }
  .tl::before { top: 0; left: -9px; }
  .tl--now { border-left-color: var(--accent); }
  .split, .paths, .tiles, .proofs, .why-split, .journey, .form__grid { grid-template-columns: 1fr; }
  .levels { grid-template-columns: 1fr; gap: 28px; }
  .levels li:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -26px; transform: translateX(-50%); }
  .path, .tile, .step--featured, .form { padding: 24px; }
  .partner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px; }
  /* 6.11: logotypy partnerskie skalują się z szerokością ekranu – UiPath nie wystaje poza ramkę (wcześniej przewijanie strony na boki) */
  .partner__logos { gap: 14px; max-width: 100%; }
  .partner__logos .logo { width: clamp(80px, 26vw, 130px); min-width: 0; }
  .partner__logos .partner__logo { width: auto; height: clamp(22px, 7vw, 36px); }
  .partner__sep { height: 32px; }
  .ainow { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px; }
  .faq__a { padding-right: 0; }
  .site-footer__in { grid-template-columns: 1fr; gap: 24px; }
  .sticky-cta { display: flex; justify-content: center; align-items: center; position: fixed; left: 16px; right: 16px; bottom: 12px; z-index: 60; min-height: 52px; border-radius: var(--radius-btn); background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transform: translateY(140%); transition: transform .25s; }
  .sticky-cta.is-on { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Hero: licznik ECC, eksperci, film (5.11.2026) */
.ecc-count { display: inline-block; margin: 0 0 24px; padding: 8px 16px; border: 1px solid rgba(21, 150, 209, .45); border-radius: 999px; background: rgba(21, 150, 209, .1); font-size: 14px; line-height: 1.4; color: var(--heading); text-decoration: none; }
.ecc-count::before { content: ""; display: inline-block; vertical-align: middle; margin: -2px 10px 0 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(21, 150, 209, .2); }
.ecc-count b { font-size: 16px; color: var(--accent); }
.ecc-count__n { white-space: nowrap; }
.ecc-count:hover { border-color: var(--accent); }
.hero-avatars { display: flex; align-items: center; gap: 14px; margin-top: 24px; font-size: 14px; color: var(--muted); }
.hero-avatars__imgs { display: flex; flex-shrink: 0; }
.hero-avatars__imgs .hero-avatar > img { width: 44px; height: 44px; max-width: none; border: 2px solid #fff; border-radius: 50%; object-fit: cover; object-position: center top; }
.hero-avatars strong { color: var(--heading); }
/* Hero: opis eksperta po najechaniu na zdjęcie (6.11.2026). Dymek przy lewej krawędzi grupy zdjęć, strzałka wskazuje osobę – nie wychodzi poza ekran na telefonie. */
.hero-avatars__imgs { position: relative; }
.hero-avatar { display: block; flex-shrink: 0; margin-left: -10px; border-radius: 50%; outline: none; cursor: default; }
.hero-avatar:first-child { margin-left: 0; }
.hero-avatar > img { position: relative; display: block; transition: transform .2s ease, border-color .2s ease; }
.hero-avatar:hover > img, .hero-avatar:focus > img { z-index: 2; transform: translateY(-3px) scale(1.08); border-color: var(--accent); }
.hero-avatar__tip { display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: start; position: absolute; left: 0; bottom: calc(100% + 12px); z-index: 3; width: min(420px, calc(100vw - 2 * var(--gutter))); padding: 16px; border-radius: var(--radius); background: #fff; color: #5D6A76; font-size: 13px; line-height: 1.5; text-align: left; box-shadow: 0 12px 32px rgba(10, 14, 20, .28); opacity: 0; visibility: hidden; transform: translateY(8px) scale(.96); transform-origin: 22px 100%; transition: opacity .2s ease, transform .2s ease, visibility .2s; pointer-events: none; }
/* 6.11: w dymku większe zdjęcie eksperta (80 px) obok bio */
.hero-avatar__big { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: center top; }
.hero-avatar__txt { display: block; }
.hero-avatar__tip::after { content: ""; position: absolute; left: 14px; top: 100%; border: 8px solid transparent; border-top-color: #fff; }
.hero-avatar:nth-child(2) .hero-avatar__tip::after { left: 48px; }
.hero-avatar:nth-child(3) .hero-avatar__tip::after { left: 82px; }
.hero-avatar__tip b { display: block; color: #282E36; font-size: 14px; }
.hero-avatar__tip i { display: block; margin-bottom: 4px; font-style: normal; font-weight: 600; color: #1182B6; }
.hero-avatar:hover .hero-avatar__tip, .hero-avatar:focus .hero-avatar__tip { opacity: 1; visibility: visible; transform: none; }
.hero-video figcaption { margin-top: 10px; font-size: 13px; }
/* 10.11: krótki opis AI NOW 2026 nad filmem w hero */
.hero-event { margin-bottom: 16px; }
.hero-event__eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.hero-event__title { margin: 0 0 6px; font-size: 1.15rem; font-weight: 600; line-height: 1.3; color: var(--heading); text-wrap: balance; }
@media (max-width: 600px) { .hero-event__eyebrow { font-size: 11px; letter-spacing: .08em; } .hero-event__title { font-size: 1.05rem; } .hero-event__text { font-size: 13.5px; } }
.hero-event__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
/* 6.11: film otwiera się na cały ekran (lightbox); zamykanie: ×, Esc, kliknięcie w tło */
.has-lightbox, .has-lightbox body { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 64px 24px; background: rgba(10, 14, 20, .92); opacity: 0; transition: opacity .2s ease; }
.lightbox.is-open { opacity: 1; }
.lightbox__video { display: block; width: min(1280px, 100%, calc((100vh - 128px) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: var(--radius); background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transform: scale(.96); transition: transform .2s ease; }
.lightbox.is-open .lightbox__video { transform: none; }
.lightbox__close { position: absolute; top: 12px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font: 30px/1 var(--font); cursor: pointer; transition: background-color .2s ease; }
.lightbox__close:hover, .lightbox__close:focus-visible { background: var(--accent); }
@media (max-width: 600px) { .lightbox { padding: 64px 0; } .lightbox__video { border-radius: 0; } }
@media (prefers-reduced-motion: reduce) { .lightbox, .lightbox__video { transition: none; } }
.event-photo { margin: 0; }
.event-photo__link { position: relative; display: block; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; }
.event-photo__link img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.event-photo__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 20, 0) 45%, rgba(10, 14, 20, .75)); }
.event-photo__link:hover img { transform: scale(1.03); }
.event-photo__cta { position: absolute; left: 20px; bottom: 18px; z-index: 1; display: inline-flex; align-items: center; gap: 12px; font-weight: 600; }
.event-photo__play { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); }
.event-photo__play svg { width: 18px; fill: #fff; margin-left: 3px; }
.event-photo figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }
.event-photo figcaption strong { display: block; color: var(--heading); }
@media (max-width: 600px) { .ecc-count { font-size: 13px; padding: 6px 12px; } .ecc-count b { font-size: 14px; } .hero-avatars { font-size: 13px; } }

/* 13.11: blok „Obok SAP: automatyzacja i AI z UiPath” (C i E) */
.ext { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 48px; align-items: start; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.nowrap { white-space: nowrap; }
.ext__eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.ext__title { margin-bottom: 14px; font-size: 1.6rem; }
.ext__intro > p { margin: 0 0 18px; }
.ext__intro > p.ext__lead { margin-bottom: 12px; font-weight: 600; color: var(--heading); }
.ext .checks { gap: 10px; font-size: 16px; }
.ext__case { background: var(--surface); }
.ext__more { grid-column: 1 / -1; }
.ext__tech { grid-column: 1 / -1; max-width: 900px; margin: 8px 0 0; font-size: 16px; } /* 19.11: inne technologie automatyzacji */
.ext .partner { grid-column: 1 / -1; margin-top: 0; margin-bottom: 8px; background: var(--surface); } /* 16.11: belka partnera UiPath w bloku „Obok SAP”; od 23.11 na początku bloku */
@media (max-width: 1080px) { .ext { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .ext { margin-top: 32px; padding-top: 28px; } .ext .checks { font-size: 15px; } .tile.ext__case { padding: 22px 20px; } }

/* 23.11: kroki 1–4 jako jedna sekwencja (uwaga z przeglądu: krok 1 wyglądał na oderwany od 2–4) */
.step__n { display: flex; align-items: center; gap: 12px; }
.step__badge { display: inline-grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--accent); color: #fff; font-size: 15px; letter-spacing: 0; }
.next-steps li { position: relative; border-bottom: 0; }
.next-steps li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 58px; bottom: -18px; width: 2px; background: var(--accent); opacity: .35; }
.next-steps__n { position: relative; z-index: 1; border: 2px solid var(--accent); color: var(--accent); background: var(--surface); }
/* 23.11: dopisek pod kaflami usunięty – odstęp linku od kafli */
.tiles + .link-arrow { display: inline-block; margin-top: 28px; }

/* === 23.11: recenzja – wersja na telefon (pkt 17–20) ======================= */
/* pkt 18: nadtytuł i tytuł bloku „Automatyzacja i AI obok SAP” nad belką partnera UiPath */
.ext__head { grid-column: 1 / -1; }
.ext__head .ext__title { margin-bottom: 0; }
/* pkt 20: „Informacja o przetwarzaniu danych” – znak „+” jak w FAQ zamiast trójkąta */
.rodo summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
.rodo summary::-webkit-details-marker { display: none; }
.rodo summary::after { content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); color: var(--accent); font-size: 16px; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.rodo[open] summary::after { transform: rotate(45deg); }
@media (max-width: 760px) {
  /* pkt 19: na telefonie pasek liczb zaraz pod przyciskiem i ekspertami, blok AI NOW i film pod nim */
  .hero { display: flex; flex-direction: column; }
  .hero__in { display: contents; }
  .hero__text, .hero__visual { position: relative; width: 100%; padding: 0 var(--gutter); }
  .hero__text { order: 1; }
  .hero > .wrap:not(.hero__in) { order: 2; width: 100%; }
  .v-c .hero .hero__visual { order: 3; max-width: none; margin-top: 36px; padding-bottom: 48px; }
  .v-c .hero .trust { margin-top: 32px; padding: 20px 0 0; }
  /* pkt 17: krótsza strona – mniejsze odstępy między sekcjami i na osi czasu */
  :root { --sec-pad: 48px; }
  .sec__head { margin-bottom: 28px; }
  .tl { padding-bottom: 24px; }
  .tl__when { font-size: 1.2rem; }
  .tl__title { margin-bottom: 6px; }
  /* pkt 20: większe pola do kliknięcia przy linkach do źródeł */
  .footnotes { line-height: 2; }
  .footnotes a, .faq__src a, .proof__src a { padding: 6px 0; }
}
@media (max-width: 600px) {
  /* pkt 17: kafle „Dlaczego Westernacher” – ikona obok tytułu */
  .proofs { gap: 28px; }
  .proof { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; }
  .proof__icon { width: 40px; height: 40px; margin: 0; }
  .proof__icon svg { width: 22px; height: 22px; }
  .proof h3 { margin: 0; }
  .proof > :not(.proof__icon):not(h3) { grid-column: 1 / -1; }
  .proof h3 + p { margin-top: 10px; }
}
@media (max-width: 400px) {
  /* pkt 20: przycisk „Powiadom mnie o AI NOW 2027” w jednej linii */
  .ainow { padding: 20px; }
  .ainow .btn { padding-left: 10px; padding-right: 10px; font-size: 15px; }
}
@media (max-width: 380px) {
  /* pkt 19: małe telefony (np. iPhone SE) – zwarte hero, przycisk wyżej */
  .hero h1 { font-size: 2rem; margin-bottom: 18px; }
  .hero .lead { font-size: 16px; }
  .ecc-count { margin-bottom: 16px; }
  .hero__actions { margin: 24px 0 16px; }
  .hero .btn--lg { padding-left: 16px; padding-right: 16px; font-size: 16px; } /* „Umów bezpłatną konsultację” w jednej linii */
}

/* pkt 17: na telefonie kafle zastosowań AI i karty ekspertów przewijane w bok (widać brzeg kolejnej karty) */
.swipe-hint { display: none; }
@media (max-width: 600px) {
  .tiles, .people { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 85%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scrollbar-width: thin; }
  .tiles > .tile, .people > .person { scroll-snap-align: start; }
  .contact > *, .sec__grid > *, .sec__body { min-width: 0; } /* przewijane listy nie rozpychają kolumn siatki (bez przewijania strony w bok) */
  .people { margin: 8px calc(-1 * var(--gutter)) 24px; }
  .swipe-hint { display: block; margin: 0 0 8px; font-size: 13px; color: var(--muted); }
}
