/* devtyped.com — elementy dodane w wersji Symfony: prawdziwe formularze, baner cookies, strony prawne.
   Wygląd dziedziczy z base.css + site.css (v3). */

[hidden] { display: none !important; }
turbo-frame { display: block; }

/* ——— formularze (ciemna karta .form z base.css) ——— */
.form textarea, .form select {
  border-radius: 12px; border: 1px solid #3a3a3c; background: #000; color: var(--on-dark);
  padding: 12px 14px; font: inherit; font-size: 16px; line-height: 1.5; resize: vertical; min-height: 120px;
}
.form input, .form textarea { transition: border-color 0.2s, box-shadow 0.2s; }
.form input:focus, .form textarea:focus { border-color: #8aa6e6; outline: none; box-shadow: 0 0 0 3px rgba(138, 166, 230, 0.22); }
.field > span:first-child { font-family: 'Poppins', sans-serif; font-weight: 500; }
.field em { font-style: normal; color: #8e8e93; font-weight: 400; }
.field.has-error input, .field.has-error textarea { border-color: #ff4d6a; }
.field__error { display: block; color: #ff8095; font-size: 13px; line-height: 1.4; }
.form__alert { margin: 0; padding: 12px 16px; border-radius: 12px; background: rgba(228, 3, 46, 0.14); border: 1px solid rgba(255, 77, 106, 0.4); color: #ffd0d8; font-size: 14px; }
.form small a { color: #8aa6e6; }
.form .btn[disabled] { opacity: 0.6; pointer-events: none; }

/* pole-pułapka dla botów: niewidoczne dla ludzi i czytników ekranu */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* zgoda (checkbox) */
.form label.check { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; color: #c7c7cc; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 20px; height: 20px !important; margin: 1px 0 0; padding: 0 !important;
  border-radius: 6px !important; border: 1px solid #636366 !important; background: #000; display: grid; place-items: center; cursor: pointer; }
.check input::after { content: '\f00c'; font: 400 12px/1 'Font Awesome 7 Pro'; color: #fff; opacity: 0; transform: scale(0.6); transition: opacity 0.15s, transform 0.15s; }
.check input:checked { background: #164194; border-color: #13377e !important; }
.check input:checked::after { opacity: 1; transform: none; }
.check.has-error input { border-color: #ff4d6a !important; }
.check a { color: #8aa6e6; }

/* zainteresowania jako przełączniki (prawdziwe checkboxy) */
.form label.toggle--check { flex-direction: row; align-items: center; gap: 0; display: inline-flex; font-size: 14px; color: #e5e5ea; position: relative; user-select: none; }
.toggle--check input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.toggle--check:has(input:checked) {
  color: #fff; background-color: #164194; background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  border-color: #13377e; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 1px 2px rgba(255, 255, 255, 0.14);
}
.toggle--check:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(138, 166, 230, 0.45); }

/* stan „wysłano” */
.form--sent { align-items: center; text-align: center; padding: 48px 30px; gap: 10px; animation: form-sent 0.6s var(--ease) both; }
.form--sent h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 28px; letter-spacing: -0.02em; color: #fff; margin: 0; }
.form--sent p { color: var(--on-dark-muted); font-size: 17px; max-width: 420px; margin: 0; }
.form__check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; color: #fff;
  background: linear-gradient(135deg, #164194, #e4032e); box-shadow: 0 10px 30px rgba(228, 3, 46, 0.25); margin-bottom: 6px; }
@keyframes form-sent { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ——— baner zgody na cookies ——— */
.consent {
  position: fixed; z-index: 90; left: 50%; bottom: 20px; width: min(760px, calc(100% - 32px));
  display: flex; align-items: center; gap: 20px; padding: 18px 20px 18px 24px; border-radius: 20px;
  background: rgba(22, 22, 24, 0.92); color: #f5f5f7; -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  opacity: 0; transform: translate(-50%, 24px); transition: opacity 0.3s, transform 0.4s var(--ease);
}
.consent.is-open { opacity: 1; transform: translate(-50%, 0); }
.consent__text { flex: 1; min-width: 0; }
.consent__text b { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px; }
.consent__text p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: #a1a1a6; }
.consent__text a { color: #8aa6e6; }
.consent__actions { display: flex; gap: 8px; flex: 0 0 auto; }
@media (max-width: 640px) {
  .consent { flex-direction: column; align-items: stretch; gap: 14px; bottom: 12px; padding: 18px; }
  .consent__actions .btn { flex: 1; }
}

/* ——— strony prawne ——— */
.legal { padding: 90px 20px 120px; background: #fff; }
.legal__in { max-width: 760px; margin: 0 auto; }
.legal h1 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.035em; line-height: 1.05; margin: 14px 0 12px; }
.legal__lead { font-size: 19px; color: var(--muted); margin: 0 0 48px; }
.legal h2 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 24px; letter-spacing: -0.015em; margin: 48px 0 12px; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; color: #1d1d1f; }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal a { color: #164194; }
.legal dl { display: grid; grid-template-columns: 200px 1fr; gap: 10px 20px; font-size: 17px; margin: 0; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; }
.legal th, .legal td { text-align: left; padding: 12px 10px; border-bottom: 1px solid #e5e5ea; vertical-align: top; }
.legal th { font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 13px; color: var(--muted); }
.legal code { font-size: 14px; background: #f5f5f7; padding: 2px 6px; border-radius: 6px; }
.legal mark { background: #fff3c4; padding: 0 4px; border-radius: 4px; }
.legal__updated { margin-top: 60px; font-size: 14px !important; color: var(--muted) !important; }
@media (max-width: 640px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 10px; } }

/* ——— nawigacja: aktywna pozycja i przełącznik języka ——— */
.gnav__links a.is-active { color: var(--primary, #164194); font-weight: 600; }
.topbar__links a.is-active { color: #fff; }
.lang { position: relative; margin-left: 22px; flex: 0 0 auto; font: 400 13px/1 var(--font, 'Archivo', sans-serif); }
.lang__btn { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px 0 9px; border-radius: 999px; cursor: pointer; list-style: none; user-select: none; color: #1d1d1f; background: rgba(0, 0, 0, 0.05); transition: background 0.2s; }
.lang__btn::-webkit-details-marker { display: none; }
.lang__btn:hover, .lang[open] .lang__btn { background: rgba(0, 0, 0, 0.09); }
.lang__btn:focus-visible { outline: 2px solid #164194; outline-offset: 2px; }
.lang__flag { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); flex: 0 0 auto; }
.lang__code { letter-spacing: 0.04em; }
.lang__chev { font-size: 10px; opacity: 0.6; transition: transform 0.25s; }
.lang[open] .lang__chev { transform: rotate(180deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 80; min-width: 176px; margin: 0; padding: 6px; list-style: none; border-radius: 14px; background: #fff; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.06); animation: lang-in 0.18s ease-out; }
@keyframes lang-in { from { opacity: 0; transform: translateY(-4px); } }
.lang__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 14px; color: #1d1d1f; text-decoration: none; }
.lang__menu a:hover { background: #f2f2f5; text-decoration: none; }
.lang__menu a.is-active { color: #164194; font-weight: 500; }
.lang__menu a i { margin-left: auto; font-size: 12px; }
.lang--dark .lang__btn { color: #f5f5f7; background: rgba(255, 255, 255, 0.08); }
.lang--dark .lang__btn:hover, .lang--dark[open] .lang__btn { background: rgba(255, 255, 255, 0.16); }
.lang--dark .lang__flag { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); }
.lang--dark .lang__menu { background: #1d1d1f; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.lang--dark .lang__menu a { color: #f5f5f7; }
.lang--dark .lang__menu a:hover { background: rgba(255, 255, 255, 0.08); }
.lang--dark .lang__menu a.is-active { color: #8fb0ff; }
.topbar { position: relative; z-index: 60; }
.mobile-menu .lang { margin: 14px 0 0; align-self: flex-start; }
.mobile-menu .lang__menu { left: 0; right: auto; }
.mobile-menu .lang__menu a { padding: 9px 10px; border: 0; font-size: 14px; font-weight: 400; }
.mobile-menu .lang__menu a.is-active { font-weight: 500; }
.footer .lang { margin-left: 0; }
.footer .lang__menu { top: auto; bottom: calc(100% + 8px); }
@media (max-width: 820px) { .gnav__in > .lang, .topbar__in > .lang { display: none; } }

/* ======================================================================
   Podstrony: Możliwości panelu, Usługi, Jak pracujemy, Kontakt
   ====================================================================== */
.sp-hero { position: relative; overflow: hidden; padding: 120px 20px 90px; background: #fff; }
.sp-hero__in { position: relative; max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.sp-hero h1 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(44px, 6.2vw, 92px); letter-spacing: -0.045em; line-height: 1.02; margin: 0; max-width: 15ch; }
.sp-hero__lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--muted); max-width: 640px; margin: 0; }
.sp-hero .glow { right: -220px; top: -260px; width: 760px; height: 760px; background: radial-gradient(closest-side, rgba(22, 65, 148, 0.16), rgba(22, 65, 148, 0)); filter: none; }
.sp-hero--dark { background: #000; color: #f5f5f7; }
.sp-hero--dark .sp-hero__lead { color: #a1a1a6; }
.sp-hero--dark .glow { background: radial-gradient(closest-side, rgba(255, 77, 106, 0.25), rgba(255, 77, 106, 0)); }
.sp-hero--dark .eyebrow { background-image: linear-gradient(90deg, #8aa6e6, #ff4d6a); --eb-a: #8aa6e6; --eb-b: #ff4d6a; }

/* skrót do sekcji: przyciski-pigułki */
.sp-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sp-jump a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font: 500 14px 'Poppins', sans-serif;
  color: #1d1d1f; background: #f5f5f7; border: 1px solid rgba(0, 0, 0, 0.06); text-decoration: none; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.sp-jump a i { color: var(--a, #164194); }
.sp-jump a:hover { background: #fff; border-color: var(--a, #164194); text-decoration: none; }
.sp-hero--dark .sp-jump a { color: #e5e5ea; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); }
.sp-hero--dark .sp-jump a i { color: color-mix(in srgb, var(--a, #8aa6e6) 55%, #fff); }
.sp-hero--dark .sp-jump a:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.35); }

/* blok szczegółów: tekst + ilustracja */
.sp-block { padding: 110px 20px; background: #fff; scroll-margin-top: 60px; }
.sp-block:nth-of-type(even) { background: #f5f5f7; }
.sp-block__in { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.sp-block--flip .sp-block__copy { order: 2; }
.sp-block__copy { display: flex; flex-direction: column; gap: 18px; }
.sp-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; color: #fff;
  background: linear-gradient(135deg, var(--a, #164194), var(--a2, #0e2c66)); box-shadow: 0 6px 16px color-mix(in srgb, var(--a, #164194) 30%, transparent); }
.sp-kicker { font: 600 17px 'Poppins', sans-serif; color: var(--a, #164194); display: flex; align-items: center; gap: 10px; }
.sp-block h2 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -0.035em; line-height: 1.06; margin: 0; }
.sp-block__lead { font-size: 19px; line-height: 1.55; color: #424245; margin: 0; }
.sp-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.sp-list li { position: relative; padding-left: 32px; font-size: 16.5px; line-height: 1.5; color: #1d1d1f; }
.sp-list li::before { content: '\f00c'; font: 400 13px/1 'Font Awesome 7 Pro'; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--a, #164194); }
.sp-list b { font-weight: 600; }
.sp-soon { display: inline-block; font: 600 12px 'Poppins', sans-serif; padding: 3px 10px; border-radius: 999px; background: #ffd43b; color: #1d1d1f; }

/* ilustracja: makieta panelu albo karta z hasłami */
.sp-shot { border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.05); background: #fff; }
.sp-card { position: relative; overflow: hidden; border-radius: 28px; padding: 40px; min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  color: #fff; background: linear-gradient(140deg, var(--a, #164194), var(--a2, #0e2c66)); box-shadow: 0 24px 50px color-mix(in srgb, var(--a, #164194) 25%, transparent); }
.sp-card::after { content: ''; position: absolute; right: -80px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.sp-card__icon { font-size: 64px; opacity: 0.95; }
.sp-card .tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.sp-card .tag { background: rgba(255, 255, 255, 0.16); color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); }
.sp-card__note { position: relative; z-index: 1; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.82); margin: 0; }

/* wspólne funkcje: siatka kart */
.sp-section { padding: 110px 20px; background: #fff; }
.sp-section--gray { background: #f5f5f7; }
.sp-section--dark { background: #000; color: #f5f5f7; }
.sp-section__in { max-width: 1080px; margin: 0 auto; }
.sp-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.sp-head p { font-size: 19px; line-height: 1.55; color: var(--muted); margin: 0; }
.sp-section--dark .sp-head p { color: #a1a1a6; }
.sp-section--dark .eyebrow { background-image: linear-gradient(90deg, #8aa6e6, #ff4d6a); --eb-a: #8aa6e6; --eb-b: #ff4d6a; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.sp-tile { background: #fff; border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.sp-section:not(.sp-section--gray):not(.sp-section--dark) .sp-tile { background: #f5f5f7; box-shadow: none; }
.sp-section--dark .sp-tile { background: #1c1c1e; border: 1px solid #2c2c2e; }
.sp-tile > i { font-size: 24px; color: var(--a, #164194); margin-bottom: 6px; }
.sp-section--dark .sp-tile > i { color: color-mix(in srgb, var(--a, #8aa6e6) 50%, #fff); }
.sp-tile h3 { font: 600 19px/1.3 'Poppins', sans-serif; letter-spacing: -0.01em; margin: 0; }
.sp-tile p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.sp-section--dark .sp-tile p { color: #a1a1a6; }
.sp-tile a { font-weight: 500; }

/* oś etapów (Jak pracujemy) */
.sp-steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 14px; }
.sp-step { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 24px; padding: 28px 30px; border-radius: 24px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.sp-step__n { font: 600 44px/1 'Poppins', sans-serif; letter-spacing: -0.04em; background: linear-gradient(135deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.1em; }
.sp-step h3 { font: 600 24px/1.2 'Poppins', sans-serif; letter-spacing: -0.02em; margin: 2px 0 8px; }
.sp-step p { margin: 0 0 12px; font-size: 16.5px; line-height: 1.6; color: #424245; }
.sp-step .sp-list { margin-bottom: 12px; }
.sp-step .sp-list li::before { background: var(--c2); }
.sp-step .tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* zasady współpracy na ciemnym tle — liczby/ikony */
.sp-principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 30px; }
.sp-principles div { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid; border-image: linear-gradient(90deg, var(--c1, #8aa6e6), var(--c2, #ff4d6a)) 1; padding-top: 18px; }
.sp-principles b { font: 600 20px 'Poppins', sans-serif; }
.sp-principles span { color: #a1a1a6; font-size: 15.5px; line-height: 1.55; }

/* kontakt: dane firmy */
.sp-contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.sp-contact-cards .sp-tile a { font-size: 19px; font-family: 'Poppins', sans-serif; font-weight: 500; color: #164194; }
.demo--page { padding-top: 70px; }

@media (max-width: 860px) {
  .sp-hero { padding: 80px 20px 64px; }
  .sp-block, .sp-section { padding: 76px 20px; }
  .sp-block__in { grid-template-columns: 1fr; gap: 36px; }
  .sp-block--flip .sp-block__copy { order: 0; }
  .sp-card { min-height: 0; padding: 30px; }
  .sp-step { grid-template-columns: 1fr; gap: 8px; padding: 24px; }
}
.sp-contact-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -0.04em; line-height: 1.02; margin: 0; }
.footer__legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer__bottom { align-items: center; }

/* ——— WhatsApp: preferowany kanał kontaktu ——— */
.wa-btn { display: inline-flex !important; align-items: center; gap: 10px; width: fit-content; padding: 10px 18px; margin-bottom: 6px; border-radius: 999px;
  background: #25d366; color: #06290f !important; font: 600 15px 'Poppins', sans-serif; text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.28); transition: transform 0.2s, box-shadow 0.2s, background 0.2s; }
.wa-btn i { font-size: 20px; }
.wa-btn:hover { background: #2be06f; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(37, 211, 102, 0.38); }
.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; font-size: 30px; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); transition: transform 0.25s var(--ease), opacity 0.3s; }
.wa-fab:hover { transform: scale(1.07); text-decoration: none; }
.consent.is-open ~ .wa-fab { opacity: 0; pointer-events: none; }
.footer a .fa-whatsapp { color: #25d366; }
@media (max-width: 640px) { .wa-fab { right: 14px; bottom: 14px; width: 50px; height: 50px; font-size: 26px; } }
.sp-pref { display: inline-block; vertical-align: middle; margin-left: 6px; font: 600 11px 'Poppins', sans-serif; padding: 3px 8px; border-radius: 999px; background: #dcfce7; color: #166534; }
.sp-tile--wa { box-shadow: inset 0 0 0 2px #25d366 !important; }
.sp-contact-cards .sp-tile--wa > a { color: #128c45; }

/* ——— oś czasu (Jak pracujemy) ——— */
.tl { position: relative; padding: 10px 0; }
.tl__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; border-radius: 4px; background: rgba(0, 0, 0, 0.08); overflow: hidden; }
.tl__fill { position: absolute; inset: 0; transform-origin: top; transform: scaleY(0); background: linear-gradient(180deg, #16a34a, #164194 30%, #e4032e 55%, #ffd43b 75%, #ec4899 90%, #0e7490); }
.tl__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
.tl__item { position: relative; display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; }
.tl__dot { grid-column: 2; justify-self: center; z-index: 1; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  font: 600 19px 'Poppins', sans-serif; color: #6e6e73; background: #fff; border: 2px solid rgba(0, 0, 0, 0.1); transition: color 0.4s, background 0.4s, border-color 0.4s, transform 0.5s var(--ease), box-shadow 0.4s; }
.sp-section--gray .tl__dot { background: #f5f5f7; }
.tl__item.is-on .tl__dot { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--c1), var(--c2)); transform: scale(1.08);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--c2) 40%, transparent); }
.tl__card { grid-column: 1; grid-row: 1; padding: 26px 28px; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); position: relative; }
.tl__item:nth-child(even) .tl__card { grid-column: 3; }
.sp-section:not(.sp-section--gray) .tl__card { background: #f5f5f7; box-shadow: none; }
.tl__card::before { content: ''; position: absolute; top: 50%; width: 22px; height: 2px; background: color-mix(in srgb, var(--c2) 45%, transparent); }
.tl__item:nth-child(odd) .tl__card::before { right: -22px; }
.tl__item:nth-child(even) .tl__card::before { left: -22px; }
.tl__card h3 { font: 600 23px/1.2 'Poppins', sans-serif; letter-spacing: -0.02em; margin: 0 0 8px; }
.tl__card > p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; color: #424245; }
.tl__card .sp-list { margin-bottom: 12px; }
.tl__card .sp-list li { font-size: 15.5px; }
.tl__card .sp-list li::before { background: var(--c2); }
.tl__out { display: flex; gap: 10px; align-items: baseline; font: 500 14.5px/1.45 'Poppins', sans-serif !important; color: color-mix(in srgb, var(--c2) 70%, #1d1d1f) !important; }
.tl__out i { color: var(--c2); }
.tl__card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 860px) {
  .tl__line { left: 26px; }
  .tl__item { grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
  .tl__dot { grid-column: 1; width: 52px; height: 52px; font-size: 17px; }
  .tl__card, .tl__item:nth-child(even) .tl__card { grid-column: 2; grid-row: 1; padding: 22px; }
  .tl__card::before { display: none; }
}
@media (min-width: 861px) {
  .tl__list { gap: 0; }
  .tl__item + .tl__item { margin-top: -110px; }
  .tl__item { align-items: start; }
  .tl__dot { margin-top: 26px; }
  .tl__card::before { top: 54px; }
}

/* ——— Zastosowania (use cases) ——— */
.uc-list { display: grid; gap: 22px; }
.uc { background: #fff; border-radius: 28px; padding: 34px 36px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); scroll-margin-top: 90px; position: relative; overflow: hidden; }
.uc::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--a), var(--a2)); }
.uc[hidden] { display: none; }
.uc__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.uc__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 20px; background: linear-gradient(135deg, var(--a), var(--a2)); flex: 0 0 auto; }
.uc__meta { display: flex; flex-direction: column; line-height: 1.3; }
.uc__meta b { font: 600 15px 'Poppins', sans-serif; color: var(--a); }
.uc__meta span { font-size: 14px; color: var(--muted); }
.uc__title { font: 600 clamp(24px, 2.6vw, 34px)/1.15 'Poppins', sans-serif; letter-spacing: -0.03em; margin: 0 0 24px; }
.uc__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.uc__part { border-radius: 18px; padding: 20px 22px; background: #f5f5f7; }
.uc__part--r { background: color-mix(in srgb, var(--a) 9%, #fff); }
.uc__label { display: flex; align-items: center; gap: 8px; font: 600 13px 'Poppins', sans-serif; text-transform: uppercase; letter-spacing: 0.06em; color: #6e6e73; margin-bottom: 8px; }
.uc__part--r .uc__label { color: var(--a); }
.uc__part p { margin: 0; font-size: 15.5px; line-height: 1.6; color: #1d1d1f; }
.uc__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 22px; }
.uc__foot .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.uc__more { font: 500 15px 'Poppins', sans-serif; color: var(--a); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.uc__more i { transition: transform 0.2s; }
.uc__more:hover i { transform: translateX(3px); }
.sp-jump a.is-active { background: #1d1d1f; color: #fff; border-color: #1d1d1f; }
.sp-jump a.is-active i { color: #fff; }
/* wersja skrócona — strona główna */
.uc-teaser { padding: 110px 20px; background: #fff; }
.uc-teaser__in { max-width: 1080px; margin: 0 auto; }
.uc-teaser__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.uc-teaser__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.uc--compact { padding: 28px; background: #f5f5f7; box-shadow: none; display: flex; flex-direction: column; }
.uc--compact .uc__title { font-size: 22px; margin-bottom: 12px; }
.uc__result { margin: 0; font-size: 15.5px; line-height: 1.6; color: #424245; }
@media (max-width: 860px) {
  .uc { padding: 26px 22px; }
  .uc__grid, .uc-teaser__grid { grid-template-columns: 1fr; }
  .uc-teaser { padding: 76px 20px; }
}
.uc-link { display: flex; color: inherit; text-decoration: none !important; }
.uc-link .uc { flex: 1; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.uc-link:hover .uc { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08); }
/* mini-filmy ze strony głównej jako ilustracje na podstronach */
.sp-film { border-radius: 28px; min-height: 360px; display: flex; align-items: center; justify-content: center; padding: 30px 24px; overflow: hidden; }
.sp-film .tile__visual { margin: 0; padding: 0; }
.sp-film--navy { background: radial-gradient(120% 90% at 50% 0%, #1b3170 0%, #0b1a3d 70%); color: #f5f5f7; }
.sp-film--light { background: #fff; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08); }
.sp-block:nth-of-type(even) .sp-film--light { background: #fff; }

/* Usługi: przycisk „Zapytaj o …” w dominującym kolorze sekcji (--a / --a2 z sekcji .sp-block) */
.sp-block .btn--primary {
  --btn: color-mix(in srgb, var(--a, #164194) 82%, var(--a2, #0e2c66));
  background-color: var(--btn); border-color: color-mix(in srgb, var(--btn) 80%, #000);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 6px 18px color-mix(in srgb, var(--a, #164194) 28%, transparent); }
.sp-block .btn--primary:hover { background-color: var(--a2, #0e2c66); border-color: color-mix(in srgb, var(--a2, #0e2c66) 80%, #000);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 3px color-mix(in srgb, var(--a, #164194) 22%, transparent); }
.sp-block .btn--primary:active { background-color: color-mix(in srgb, var(--a2, #0e2c66) 85%, #000); }
.sp-block .btn--primary:focus-visible { box-shadow: 0 0 0 4px color-mix(in srgb, var(--a, #164194) 35%, transparent); }
