/* ==========================================================================
   site.css - baza, tokeny, komponenty wspólne (header, footer, formularze, FAQ,
   cookie, widget) i poprawki responsywne. Klasy stron: dc.css (generowane).
   ========================================================================== */
:root {
  --ink: #0B1220; --ink-2: #3D4756; --muted: #55606E; --gray: #9AA5B5; --gray-2: #8A94A4; --gray-3: #B6BFCC;
  --dark: #050E24; --primary: #144E9E; --primary-h: #0F3C7A; --accent: #7FD4FF; --link-dark: #6FB4FF;
  --border: #E7ECF3; --border-2: #DDE4EE; --soft: #F5F7FA; --band: #F0F4F9; --white: #FFFFFF;
  --font-head: 'Poppins', 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --spring: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 100px; --header-h-scrolled: 60px; --wrap: 1280px; --gutter: 32px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: rgba(46,124,246,0.18); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
/* Treść .wrap ma równo 1280px (jak sekcje z dc.css: padding 0 32px + kontener 1280px), żeby header/footer były w linii z hero. */
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.site-main { display: block; overflow-x: clip; position: relative; z-index: 0; }
[hidden] { display: none !important; }
/* Hero podstron w projekcie ma position: sticky + z-index: -1 (kolejne sekcje "przykrywają" hero przy scrollu).
   Ujemny z-index czyni przyciski w hero nieklikalnymi - odtwarzamy efekt warstwami 0/1. */
.site-main > section:first-child { z-index: 0; }
.site-main > *:not(:first-child) { position: relative; z-index: 1; }
.site-main > section:first-child, .site-main > .cta-section:first-child { padding-top: max(140px, var(--header-h) + 40px); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- efekty z projektu --- */
.btn-fx { position: relative; overflow: hidden; }
.btn-fx::after { content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 55%; background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%); transform: skewX(-20deg); transition: left 0.55s var(--spring); pointer-events: none; }
.btn-fx:hover::after { left: 125%; }
.link-fx { position: relative; }
.link-fx::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: currentColor; border-radius: 2px; transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.35s var(--spring); pointer-events: none; }
.link-fx:hover::after { transform: scaleX(1); }
.link-fx-pad::after { left: 16px; right: 16px; bottom: 10px; }
@keyframes seba-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.15); opacity: 0.7; } }
.seba-pulse { animation: seba-pulse 2s ease-in-out infinite; }
@keyframes glow-drift { 0%, 100% { background-position: 0% 50%; transform: scale(1); } 33% { background-position: 100% 50%; transform: scale(1.03); } 66% { background-position: 50% 100%; transform: scale(0.98); } }
.seba-glow { background-size: 200% 200%; animation: glow-drift 10s ease-in-out infinite; }
@keyframes particle-float { 0% { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: 0.6; } 90% { opacity: 0.3; } 100% { transform: translateY(-120vh) translateX(30px); opacity: 0; } }
.seba-particles { position: relative; overflow: hidden; }
.seba-particle { position: absolute; border-radius: 50%; background: currentColor; opacity: 0; pointer-events: none; animation: particle-float linear infinite; }
@keyframes hpPulseCore { 0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(47,125,246,0.32), 0 12px 32px rgba(47,125,246,0.28); } 50% { transform: translate(-50%, -50%) scale(1.05); box-shadow: 0 0 0 26px rgba(47,125,246,0), 0 12px 38px rgba(47,125,246,0.32); } }
@keyframes menuFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes menuDrop { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes menuItem { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
/* anty-FOUC hero: ukryte do przejęcia przez sebanim8 (klasa .seba-shown zdejmuje) - tylko gdy JS działa */
html.js:not(.seba-shown) [data-hseq], html.js:not(.seba-shown) [data-hero="eyebrow"], html.js:not(.seba-shown) [data-hero="sub"], html.js:not(.seba-shown) [data-hero="cta"], html.js:not(.seba-shown) [data-hero="logos"], html.js:not(.seba-shown) [data-hero="tile"] { opacity: 0; }
html.js:not(.seba-shown) [data-word] { transform: translateY(112%); }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1001; background: linear-gradient(90deg, #144E9E, #38D4FF); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* --- przyciski --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-head); font-weight: 600; text-decoration: none; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--spring), box-shadow 0.2s var(--spring), border-color 0.2s ease; white-space: nowrap; min-height: 44px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-h); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(46,124,246,0.35); }
.btn-sm { font-size: 13px; padding: 9px 20px; min-height: 40px; }
.btn-lg { font-size: 16px; padding: 15px 30px; min-height: 50px; }
.btn-ghost { background: transparent; border-color: var(--border-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline-light { background: transparent; border-color: rgba(127,180,255,0.4); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--white); border-bottom: 1px solid transparent; transition: border-color 0.3s ease, box-shadow 0.3s ease; font-family: var(--font-body); }
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 10px 30px rgba(11,18,32,0.06); }
.site-header.is-open { border-color: var(--border); box-shadow: none; }
.topbar { background: var(--ink); max-height: 40px; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.2,0.8,0.2,1), opacity 0.3s ease; }
.site-header.is-scrolled .topbar { max-height: 0; opacity: 0; }
.topbar-inner { height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar-left { display: flex; align-items: center; gap: 22px; min-width: 0; }
.topbar-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: #fff; text-decoration: none; letter-spacing: 0.2px; transition: color 0.2s ease; }
.topbar-phone svg { color: var(--accent); }
.topbar-phone:hover { color: var(--accent); }
.topbar-sep { width: 1px; height: 16px; background: rgba(255,255,255,0.14); }
.topbar-mail { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(199,214,238,0.72); text-decoration: none; transition: color 0.2s ease; }
.topbar-mail:hover { color: #fff; }
.topbar-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; font-size: 12.5px; color: rgba(199,214,238,0.8); }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 3px rgba(52,211,153,0.22); animation: pulseDot 2s ease-in-out infinite; }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 3px rgba(52,211,153,0.22); } 50% { box-shadow: 0 0 0 5px rgba(52,211,153,0.05); } }
.header-inner { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 26px; width: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-link { font-size: 14px; color: var(--ink-2); text-decoration: none; padding: 10px 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; background: none; border: 0; cursor: pointer; transition: color 0.2s ease; white-space: nowrap; }
/* 7 pozycji (Kariera od 24.09.2026): poniżej 1200px ciaśniej, żeby "Case studies" i "O nas" nie łamały się na dwie linie przy 1024px */
@media (max-width: 1200px) and (min-width: 1024px) {
  .nav-link { padding: 10px 8px; font-size: 13.5px; }
  .header-inner { gap: 14px; }
}
.nav-link:hover, .nav-link.is-active, .nav-item.is-open > .nav-link { color: var(--ink); }
.nav-link.is-active { font-weight: 700; }
.nav-link .chev { transition: transform 0.25s ease; }
.nav-item.is-open > .nav-link .chev { transform: rotate(180deg); }
.header-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.lang-switch { display: flex; align-items: center; gap: 2px; font-size: 12px; letter-spacing: 1px; }
.lang-current { color: var(--ink); font-weight: 700; padding: 6px; }
.lang-sep { color: #C6CEDA; }
.lang-link { color: var(--gray-2); text-decoration: none; padding: 6px; }
.lang-link:hover { color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--spring), opacity 0.2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mega menu (desktop) */
.mega { position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 999; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 40px 80px rgba(11,18,32,0.14); animation: menuDrop 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); transition: top 0.4s cubic-bezier(0.2,0.8,0.2,1); }
.site-header.is-scrolled .mega { top: var(--header-h-scrolled); }
.mega-inner { padding-top: 32px; padding-bottom: 32px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; }
.mega-list { display: flex; flex-direction: column; gap: 6px; }
.mega-head { display: flex; align-items: center; justify-content: space-between; padding: 0 12px 10px; }
.mega-label { font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gray); }
.mega-all { font-family: var(--font-head); font-size: 12px; font-weight: 600; color: var(--primary); text-decoration: none; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; text-decoration: none; transition: background 0.2s ease; animation: menuItem 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) calc(0.02s + var(--i, 0) * 0.03s) both; }
.mega-item--num { align-items: flex-start; }
.mega-item:hover { background: var(--soft); }
.mega-thumb { width: 52px; height: 52px; border-radius: 12px; background: var(--dark); overflow: hidden; flex-shrink: 0; display: flex; }
.mega-thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; }
.mega-num { font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--primary); padding-top: 2px; flex-shrink: 0; }
.mega-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mega-name { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink); }
.mega-desc { font-size: 13px; line-height: 1.45; color: var(--muted); }
.mega-promo { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; border-radius: 18px; background: var(--dark); overflow: hidden; text-decoration: none; padding: 24px; min-height: 240px; transition: transform 0.25s ease; animation: menuItem 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s both; }
.mega-promo:hover { transform: translateY(-3px); }
.mega-promo > img { position: absolute; inset: 0; width: 100%; height: 78%; object-fit: cover; mix-blend-mode: screen; opacity: 0.9; }
.mega-promo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,14,36,0) 30%, rgba(5,14,36,0.92) 78%); }
.mega-promo > span { position: relative; }
.mega-promo-eyebrow { font-family: var(--font-head); font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
.mega-promo-title { font-family: var(--font-head); font-weight: 600; font-size: 19px; color: #fff; letter-spacing: -0.3px; }
.mega-promo-desc { font-size: 13.5px; line-height: 1.5; color: rgba(199,214,238,0.8); }
.mega-promo-cta { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--link-dark); margin-top: 4px; }
.mega-help { display: flex; flex-direction: column; justify-content: center; gap: 12px; border-radius: 18px; background: var(--soft); padding: 28px; animation: menuItem 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.12s both; }
.mega-help-title { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--ink); letter-spacing: -0.3px; }
.mega-help-desc { font-size: 14px; line-height: 1.55; color: var(--muted); }
.mega-help .btn { align-self: flex-start; margin-top: 4px; }
/* warstwy wewnątrz stacking contextu headera: backdrop pod paskiem nawigacji i panelem mega, żeby nie przechwytywał kliknięć w menu */
.mega-backdrop { position: fixed; inset: 0; z-index: 1; background: rgba(11,18,32,0.35); backdrop-filter: blur(3px); animation: menuFade 0.3s ease; }
.topbar, .header-inner { position: relative; z-index: 3; background: inherit; }
.topbar { background: var(--ink); }
.header-inner { background: var(--white); }
.mega { z-index: 2; }
.mobile-menu { z-index: 3; }

/* mobile menu */
.mobile-menu { position: fixed; top: 60px; left: 0; right: 0; bottom: 0; z-index: 999; background: var(--white); overflow-y: auto; -webkit-overflow-scrolling: touch; animation: menuFade 0.25s ease; }
.mobile-menu-inner { padding: 12px 20px 40px; display: flex; flex-direction: column; }
.m-group summary { list-style: none; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 20px; padding: 16px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; min-height: 56px; }
.m-group summary::-webkit-details-marker { display: none; }
.m-group summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform 0.25s ease; margin-right: 6px; }
.m-group[open] summary::after { transform: rotate(-135deg); }
.m-group ul { list-style: none; margin: 0; padding: 6px 0 12px; }
.m-group li a { display: flex; flex-direction: column; gap: 2px; padding: 12px 8px; text-decoration: none; border-radius: 10px; min-height: 48px; }
.m-group li a:hover { background: var(--soft); }
.m-group li a strong { font-family: var(--font-head); font-weight: 600; font-size: 16px; }
.m-group li a small { font-size: 13px; color: var(--muted); }
.m-group .m-all { color: var(--primary); font-weight: 700; }
.m-link { font-family: var(--font-head); font-weight: 600; font-size: 20px; padding: 16px 0; border-bottom: 1px solid var(--border); text-decoration: none; min-height: 56px; display: flex; align-items: center; }
.m-cta { margin: 24px 0 8px; min-height: 52px; font-size: 16px; }
.m-contact { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; font-size: 15px; }
.m-contact a { color: var(--primary); text-decoration: none; font-weight: 700; }
.m-lang { display: flex; gap: 14px; font-size: 13px; letter-spacing: 1px; padding-top: 6px; }
.m-lang span { font-weight: 700; }
.m-lang a { color: var(--gray-2); }
body.menu-open { overflow: hidden; }

@media (max-width: 1023px) {
  :root { --header-h: 60px; --header-h-scrolled: 60px; }
  .topbar, .main-nav, .header-cta, .lang-switch { display: none; }
  .burger { display: flex; }
  .site-header { border-color: var(--border); }
}
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--soft); color: var(--muted); border-top: 1px solid var(--border); font-size: 14px; }
.footer-grid { padding-top: 64px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr; gap: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand img { height: 28px; width: auto; }
.footer-brand p { margin: 0; line-height: 1.6; max-width: 260px; }
.footer-tagline { font-size: 11px; letter-spacing: 2.5px; color: var(--gray); text-transform: uppercase; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-head { font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink); }
.footer-link { color: var(--muted); text-decoration: none; display: inline-block; transition: color 0.18s ease, transform 0.18s ease; width: fit-content; }
.footer-link:hover { color: var(--primary-h); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; transform: translateX(5px); }
.footer-contact address { font-style: normal; line-height: 1.6; }
.footer-bottom { margin-top: 48px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--gray); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.footer-links a, .footer-links button { color: var(--gray); text-decoration: none; transition: color 0.18s ease; font-size: 13px; }
.footer-links a:hover, .footer-links button:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 36px; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; padding-top: 48px; gap: 28px; } .footer-contact { grid-column: 1 / -1; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ==========================================================================
   CTA + FORMULARZE
   ========================================================================== */
.cta-section { background: var(--white); padding: 32px 16px 104px; }
.cta-tile { position: relative; border-radius: 36px; background: var(--dark); overflow: hidden; color: rgba(111,180,255,0.75); }
.cta-glow { position: absolute; top: -260px; left: calc(50% - 400px); width: 800px; height: 480px; border-radius: 50%; background: radial-gradient(ellipse, rgba(47,125,246,0.28) 0%, rgba(47,125,246,0) 68%); filter: blur(40px); pointer-events: none; }
.cta-grid { position: relative; padding-top: 80px; padding-bottom: 80px; padding-left: 48px; padding-right: 48px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.cta-copy { display: flex; flex-direction: column; gap: 22px; }
.eyebrow-light, .eyebrow { margin: 0; font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); }
.eyebrow { color: var(--primary); }
.cta-title { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; color: #fff; letter-spacing: -1px; }
.cta-desc { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(199,214,238,0.78); }
.cta-person { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; padding-top: 22px; border-top: 1px solid rgba(127,180,255,0.18); }
.cta-person-name { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: #fff; }
.cta-person-role { font-weight: 400; font-size: 14px; color: rgba(190,212,240,0.6); }
.cta-link { font-size: 16px; color: var(--link-dark); text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.cta-link:hover { color: #fff; }
.cta-reply { font-size: 14px; color: rgba(190,212,240,0.55); }
.form { display: flex; flex-direction: column; gap: 18px; background: var(--white); border-radius: 20px; padding: 36px; box-shadow: 0 30px 80px rgba(0,0,0,0.4); color: var(--ink); position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; font-family: var(--font-body); font-size: 15px; color: var(--ink); padding: 12px 14px; border: 1px solid var(--border-2); border-radius: 10px; outline: none; background: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease; min-height: 45px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(46,124,246,0.15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #DC2626; }
.field input[type="file"] { padding: 10px 14px; font-size: 14px; color: var(--muted); }
.consents { display: flex; flex-direction: column; gap: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.check input { margin: 2px 0 0; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--primary); }
.check a { color: var(--primary); }
.form-status { display: flex; flex-direction: column; gap: 6px; background: #F0FDF4; border: 1px solid rgba(16,185,129,0.35); border-radius: 10px; padding: 18px; }
.form-status-title { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: #047857; }
.form-status-desc { font-size: 14px; color: #1F2A37; }
.form-error { margin: 0; font-size: 14px; color: #B91C1C; background: #FEF2F2; border: 1px solid rgba(220,38,38,0.3); border-radius: 10px; padding: 12px 14px; }
.form.is-sending { opacity: 0.7; pointer-events: none; }
.form.is-sent .form-row, .form.is-sent .field, .form.is-sent .consents, .form.is-sent button[type="submit"] { display: none; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; gap: 36px; padding-left: 24px; padding-right: 24px; padding-top: 56px; padding-bottom: 56px; } .cta-section { padding-bottom: 64px; } .cta-tile { border-radius: 24px; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .form { padding: 24px 20px; } .cta-grid { padding-left: 16px; padding-right: 16px; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { margin: 0; font-size: inherit; }
.faq-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: none; border: 0; cursor: pointer; padding: 22px 4px; text-align: left; min-height: 44px; font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink); letter-spacing: -0.2px; line-height: 1.35; }
.faq-badge { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-2); background: #fff; display: flex; align-items: center; justify-content: center; color: var(--primary); transition: transform 0.35s var(--spring), background 0.2s ease, color 0.2s ease; }
.faq-item.is-open .faq-badge { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-panel { overflow: hidden; }
.faq-a { padding: 0 48px 24px 4px; max-width: 660px; }
.faq-a p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--muted); }
html.no-js .faq-panel[hidden] { display: block; }
@media (max-width: 640px) { .faq-a { padding-right: 8px; } }

/* filtry (blog, case studies) */
.filter-btn { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: rgba(199,214,238,0.9); background: transparent; border: 1px solid rgba(190,212,240,0.35); padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; min-height: 40px; }
.filter-btn:hover { border-color: var(--accent); }
.filter-btn[aria-pressed="true"] { color: var(--ink); background: #fff; border-color: #fff; }
[data-filter-item].is-hidden { display: none !important; }

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200; background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -10px 40px rgba(11,18,32,0.12); font-size: 14px; color: var(--ink-2); animation: cookieUp 0.4s var(--spring); }
@keyframes cookieUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 16px; padding-bottom: 16px; }
.cookie-text { margin: 0; flex: 1 1 420px; line-height: 1.5; }
.cookie-text a { color: var(--primary); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-settings { flex-basis: 100%; display: flex; flex-direction: column; gap: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.cookie-settings .btn { align-self: flex-start; }

/* ==========================================================================
   WIDGET ecChat (markup jak w embedzie ec-chat.pl, kolory brandowe)
   ========================================================================== */
.ec-chat-widget { --widget-bg-color: #144E9E; --widget-text-color: #fff; --widget-status-color: #86efac; position: fixed; bottom: 16px; right: 16px; display: flex; align-items: center; column-gap: 10px; padding: 8px 14px 8px 8px; background: var(--widget-bg-color); font-family: var(--font-head); border-radius: 40px; box-shadow: 0 6px 24px rgba(20,78,158,0.35), 0 2px 8px rgba(0,0,0,0.12); cursor: pointer; z-index: 900; transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease; animation: menuItem 0.4s var(--spring); }
.ec-chat-widget:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(20,78,158,0.45), 0 4px 12px rgba(0,0,0,0.15); }
.ec-chat-widget-icon-wrap { width: 38px; height: 38px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.18); border-radius: 50%; }
.ec-chat-widget-icon-wrap svg { width: 22px; height: 22px; }
.ec-chat-widget-content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 1px 2px 1px 0; }
.ec-chat-widget-title { white-space: nowrap; font-size: 0.92rem; font-weight: 600; line-height: 1.25; color: var(--widget-text-color); }
.ec-chat-widget-status { display: flex; align-items: center; gap: 5px; font-size: 0.78rem; font-weight: 500; line-height: 1.15; color: var(--widget-status-color); }
.ec-chat-widget-status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--widget-status-color); box-shadow: 0 0 6px var(--widget-status-color); animation: ec-pulse 2s ease-in-out infinite; }
@keyframes ec-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.iframe-container { --iframe-width: 900px; --iframe-height: 750px; --header-bg-color: #0B1220; --header-text-color: #fff; position: fixed; bottom: 0; right: 0; z-index: 1100; background: #fff; border-radius: 16px 16px 0 0; box-shadow: 0 -4px 40px rgba(26,21,48,0.18), 0 0 0 1px rgba(20,78,158,0.08); overflow: hidden; }
.iframe-container iframe { width: 100%; height: calc(100% - 48px); border: 0; display: block; }
.iframe-header { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 12px 14px; height: 48px; background: var(--header-bg-color); color: var(--header-text-color); }
.iframe-title { font-size: 15px; font-weight: 700; font-family: var(--font-head); letter-spacing: 0.01em; }
.close-button { background: rgba(255,255,255,0.12); border: 0; cursor: pointer; padding: 4px; border-radius: 6px; display: flex; align-items: center; justify-content: center; transition: background 0.15s ease; color: #fff; width: 32px; height: 32px; }
.close-button:hover { background: rgba(255,255,255,0.25); }
.close-button svg { width: 20px; height: 20px; }
@media (max-width: 899px) { .iframe-container { width: 100vw; height: 100vh; height: 100dvh; top: 0; left: 0; border-radius: 0; z-index: 100001; } .iframe-container iframe { height: calc(100% - 48px); } .ec-chat-widget-title { font-size: 0.85rem; } }
@media (min-width: 900px) { .iframe-container { width: var(--iframe-width); max-width: 100vw; height: var(--iframe-height); max-height: calc(100vh - 20px); } }

/* ==========================================================================
   404
   ========================================================================== */
.e404 { position: relative; background: var(--dark); min-height: 70vh; padding: 160px 32px 96px; color: rgba(111,180,255,0.75); overflow: hidden; }
.e404-inner { position: relative; display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.e404-title { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; color: #fff; letter-spacing: -1.6px; }
.lead-dark { margin: 0; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; color: rgba(199,214,238,0.78); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }
.hero-glow { position: absolute; top: -280px; left: calc(50% - 420px); width: 840px; height: 520px; border-radius: 50%; background: radial-gradient(ellipse, rgba(47,125,246,0.3) 0%, rgba(47,125,246,0) 68%); filter: blur(40px); pointer-events: none; }

/* ==========================================================================
   Poprawki responsywne dla wzorców z projektu (uzupełniają heurystyki dc.css)
   ========================================================================== */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* O nas: macierz kompetencji (210px + 11 kolumn). Nazwiska w nagłówku nie łamią się (dwuliniowe rozjeżdżały kółka z inicjałami);
   poniżej 1200px kolumny mają stałą szerokość, a tabela przewija się poziomo w kafelku. Kolumna z etykietami technologii
   i nagłówki grup są przyklejone do lewej krawędzi (position: sticky), więc po przewinięciu wiadomo, czego dotyczy wiersz.
   "Scroll shadow": cień przy prawej krawędzi sygnalizuje dalszy ciąg tabeli i znika po dojechaniu do końca
   (biała maska z background-attachment: local jedzie razem z treścią i zakrywa cień). */
.x-8mgvnf { white-space: nowrap; }
@media (max-width: 1200px) {
  .page-o-nas .col:has(> .x-tykziz) {
    overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px;
    background:
      linear-gradient(270deg, #fff 40%, rgba(255,255,255,0)) 100% 0 / 36px 100% no-repeat local,
      radial-gradient(farthest-side at 100% 50%, rgba(11,18,32,0.24), rgba(11,18,32,0)) 100% 0 / 22px 100% no-repeat scroll;
  }
  .page-o-nas .x-tykziz { position: relative; top: auto; background: transparent; } /* relative zamiast sticky: bez przyklejania do góry, a ::after (pas lat) ma punkt odniesienia */
  .page-o-nas .x-tykziz, .page-o-nas .x-1yf356 { grid-template-columns: 170px repeat(11, 58px); gap: 0 4px; width: max-content; min-width: 100%; }
  .page-o-nas .x-tykziz > span:first-child, .page-o-nas .x-1yf356 > .x-7b1b9k { position: sticky; left: 0; z-index: 2; background: #fff; }
  /* narożnik nagłówka: wysokość wiersza (inaczej przewinięte nazwiska wystają spod etykiet) i własny kawałek pasa lat, żeby pas ciągnął się też pod etykietą */
  .page-o-nas .x-tykziz > span:first-child { align-self: stretch; background: linear-gradient(#E3EEFB, #E3EEFB) 0 calc(100% - 4px) / 100% 23px no-repeat, #fff; } /* 4px, nie 20px: komórka kończy się nad paddingiem nagłówka (16px) */
  .page-o-nas .x-1yf356:hover > .x-7b1b9k { background: #F5F9FF; }
  .page-o-nas .x-gfd15y { position: sticky; left: 0; display: inline-block; }
  .page-o-nas .x-8mgvnf { font-size: 11.5px; }
}
@media (max-width: 760px) {
  .page-o-nas .x-tykziz, .page-o-nas .x-1yf356 { grid-template-columns: 136px repeat(11, 56px); }
  .page-o-nas .x-7b1b9k { font-size: 13px; padding-right: 8px; }
}
/* Wspólna linia treści (80px przy 1440px, jak hero i szara wstęga .band: kontener 1280px + 2*16px paddingu w kaflu wciętym o 16px).
   Ciemne kafle (.x-xpq4c6: case study na home, ekosystem E20, cross-sell na usługach) miały padding 48px -> tekst na 128px;
   sekcja CTA "Porozmawiajmy" (.cta-grid) padding 48px -> tekst na 96px. Przy scrollu etykiety skakały 80 -> 128 -> 80. */
@media (min-width: 761px) {
  .x-xpq4c6 { max-width: calc(var(--wrap) + 32px); padding-left: 16px; padding-right: 16px; }
  .cta-grid { max-width: calc(var(--wrap) + 32px); padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 760px) {
  /* CTA jak wstęga: kafel na pełną szerokość, treść na 20px (tak jak hero i pozostałe sekcje) */
  .cta-section { padding-left: 0; padding-right: 0; }
  .cta-grid { padding-left: 20px; padding-right: 20px; }
}
/* Sekcja "Co się zmienia" (problem -> rozwiązanie) na <=900px: wiersze stają się jednokolumnowe (✕ pod ✓), więc nagłówki kolumn
   "Zamiast tego / Dostajesz to" wyświetlane jeden pod drugim tracą sens - ikony ✕/✓ niosą znaczenie. */
@media (max-width: 900px) {
  .x-xo7bze { display: none; }
}
/* Stopka na <=640px: 2 kolumny, ale Kontakt zajmował cały wiersz, a Firma stała sama z pustą komórką obok - Firma | Kontakt w jednym rzędzie. */
@media (max-width: 640px) {
  .footer-contact { grid-column: auto; }
}
/* Blog, lista wpisów: link "Czytaj artykuł" dopięty do dołu karty - przy krótszym teaserze wisiał wyżej niż w sąsiednich kartach. */
.x-ntfe2t .x-b2vdnm { margin-top: auto; padding-top: 2px; }

/* ---- Czytelność tekstu na grafikach na wąskich ekranach (QA zrzutów mobile, 21-22.09.2026) ---- */
/* Ciemne kafle z grafiką po prawej (mix-blend screen): w jednej kolumnie grafika leży pod tekstem - przygaszamy ją. */
@media (max-width: 760px) {
  .x-mlanmw, .x-jrinb4, .x-bbtcev, .x-xxmthr, .x-qfnbif { opacity: 0.32; }
}
/* Hero podstron: pigułki (.x-hikpwx) i statystyka case (.x-dnelvv) leżą na jasnych fragmentach grafiki - na mobile (jedna kolumna)
   na jej środku, na desktopie na świecących krawędziach ("PHP 8 · Vue.js" na kostce, "działające produkcyjnie w UK" na sklepie).
   Ciemny gradient pod nimi (margin/padding znoszą się, układ bez zmian) + półprzezroczyste tło pigułek. */
.x-hikpwx, .x-dnelvv { margin-top: -28px; padding-top: 28px; background: linear-gradient(180deg, rgba(5,14,36,0) 0%, rgba(5,14,36,0.82) 45%, rgba(5,14,36,0.92) 100%); }
.x-hikpwx .pill-dark, .x-hikpwx .x-w0cxc3 { background: rgba(5,14,36,0.6); }
/* Home hero: orbita produktów - etykiety wychodziły poza ekran (390px: -4px z lewej, +9px z prawej).
   Skalujemy cały diagram; site.js liczy promień z clientWidth, więc transform nie zmienia geometrii etykiet. */
@media (max-width: 640px) {
  .x-pivysz { transform: scale(0.86); }
  /* etykieta pozycjonowana od left:50% ma do dyspozycji pół pierścienia - przy 360px łamała się na 2 wiersze */
  .x-4npwh9 { white-space: nowrap; }
}
@media (max-width: 1023px) {
  .site-main > section:first-child { padding-top: 96px !important; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; } /* sekcje dc.css przechodzą na padding 20px przy 760px - header/footer w tej samej linii */
  /* Sekcje z zaokrągloną wstęgą (.band) lub ciemnym kaflem (.x-gxhtxc): na desktopie kafel jest wcięty 16px + treść 16/20px w środku.
     Na mobile kafel idzie na pełną szerokość, a treść staje na 20px - równo z hero, headerem i resztą sekcji. */
  .x-sif3pe, .sec-band-wrap { padding-left: 0; padding-right: 0; }
  .band { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 70px; }
  /* Karty produktów na home: tytuł + etykieta w jednym wierszu nie mieszczą się przy dłuższych nazwach ("Platforma E20" + "Autorska platforma") - etykieta schodzi pod tytuł zamiast łamać oba. */
  .x-8a3rv6 { flex-wrap: wrap; gap: 8px 12px; }
  .x-zgcx1z { white-space: nowrap; }
  .site-main > section:first-child { padding-top: 84px !important; }
  h1 { letter-spacing: -1px !important; }
  h2 { letter-spacing: -0.6px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-anim], [data-hseq], [data-hero], [data-word], section { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }
}
@media print { .site-header, .site-footer, .cookie-banner, .ec-chat-widget, .iframe-container, .scroll-progress { display: none !important; } .site-main > section:first-child { padding-top: 20px !important; } }

/* ---------------- NEWSLETTER (CHAOSEC-1854, Mailchimp double opt-in) ----------------
   Pas na liście bloga: jasna szara wstęga (.band jak "Nasze produkty" na home, linia 80px) - celowo nie ciemny kafel,
   bo zaraz pod nim jest ciemne CTA "Porozmawiajmy". Dwie kolumny: treść | biała karta formularza z lekkim cieniem.
   Pod artykułem: jasna wstawka w kolumnie tekstu. */
.nl-band .band { position: relative; overflow: hidden; }
.nl-band .nl-glow { position: absolute; right: -8%; top: -45%; width: 55%; height: 170%; background: radial-gradient(closest-side, rgba(20,78,158,0.09), rgba(20,78,158,0) 72%); pointer-events: none; }
.nl-band .wrap-col-52 { position: relative; }
.nl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: center; width: 100%; }
.nl-copy { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.nl-title { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; letter-spacing: -0.8px; color: var(--ink); }
.nl-desc { margin: 0; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.nl-perks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nl-perks li { position: relative; padding-left: 32px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.nl-perks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: rgba(20,78,158,0.10) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.2 6.3l2.5 2.5L9.9 3.5' fill='none' stroke='%23144E9E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 11px no-repeat; }
.nl-card .form { padding: 30px; gap: 16px; border: 1px solid var(--border); box-shadow: 0 18px 50px rgba(11,18,32,0.10); }
.nl-row { display: flex; gap: 10px; align-items: stretch; }
.nl-row input { flex: 1 1 auto; }
.nl-btn { white-space: nowrap; min-height: 45px; padding: 0 22px; flex: 0 0 auto; }
.nl-note { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.nl-form.is-sent .nl-note { display: none; }
/* wstawka pod artykułem */
.nl-inline { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; align-items: start; background: var(--band); border: 1px solid var(--border); border-radius: 20px; padding: 30px 32px; margin-top: 8px; }
.nl-inline-copy { display: flex; flex-direction: column; gap: 10px; }
.nl-inline-title { font-size: 22px; line-height: 1.2; letter-spacing: -0.4px; color: var(--ink); }
.nl-inline-desc { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.nl-inline .form { background: transparent; box-shadow: none; padding: 0; gap: 12px; border-radius: 0; }
.nl-inline .form .field label { font-size: 12.5px; }
@media (max-width: 1100px) {
  .nl-grid { grid-template-columns: 1fr; gap: 32px; }
  .nl-copy { max-width: 640px; }
}
@media (max-width: 760px) {
  .nl-inline { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; }
  .nl-card .form { padding: 22px 20px; }
}
@media (max-width: 520px) {
  .nl-row { flex-direction: column; }
  .nl-btn { width: 100%; }
}

/* ===================== TURNSTILE (partials/turnstile.php): w trybie Invisible kontener jest pusty, w trybie Managed mieści widżet ===================== */
.turnstile:empty { display: none; }
.turnstile iframe { max-width: 100%; }
.form-career .turnstile, .form-contact .turnstile { margin-top: -4px; }

/* ===================== O NAS: macierz kompetencji na 11 osób (dc.css ma repeat(10); liczba kolumn = data.ludzie w o-nas.json) ===================== */
.x-tykziz, .x-1yf356 { grid-template-columns: 210px repeat(11, 1fr); }
/* Pas pod latami w nagłówku + etykieta "Doświadczenie" w narożniku: same liczby pod imionami czytały się jak wiek.
   Lata siedzą na dole każdej komórki (padding 10px, line-height 1, 11px), więc pas o wysokości 23px leży 20px nad dolną
   krawędzią nagłówka (padding-bottom 16px + 10px komórki - 6px marginesu). */
.x-tykziz::after { content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 23px; background: #E3EEFB; border-radius: 8px; pointer-events: none; }
.x-tykziz > * { position: relative; z-index: 1; }
.matrix-lata { display: flex; align-items: flex-end; padding: 0 0 10px 12px; font-family: 'Poppins', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #144E9E; line-height: 1.1; white-space: nowrap; }
.x-8hwqp2 { color: #33404F; }

/* ===================== KARIERA: sekcja "Rekrutujemy na" (pages/kariera.php, karty jak zakres w case studies) ===================== */
.oferty-sec { padding-top: 88px; }
@media (min-width: 1100px) { .oferty-sec .x-rcgwqg { grid-template-columns: repeat(3, 1fr); } } /* 3 oferty w jednym rzędzie; poniżej 2 kolumny z dc.css, na mobile 1 */
.oferta { position: relative; }
.oferta-intro { font-size: 16px; line-height: 1.6; }
.oferta .label-caps { margin-top: 6px; }
.oferta-cta { margin-top: auto; align-self: flex-start; padding: 13px 26px; font-size: 15px; } /* .btn bez modyfikatora rozmiaru nie ma paddingu poziomego */
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.field-hint { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.form-career .field select { width: 100%; }
@media (max-width: 760px) {
  .oferty-sec { padding-top: 56px; }
}

/* ===================== LISTA CASE STUDIES: flaga kraju przy etykiecie klienta (partials/flag.php) ===================== */
.flag { display: inline-flex; width: 18px; height: 12px; border-radius: 2px; overflow: hidden; vertical-align: -1px; margin-right: 8px; box-shadow: 0 0 0 1px rgba(11,18,32,0.14); flex: 0 0 auto; }
.flag svg { display: block; width: 100%; height: 100%; }
.x-wgr14e .flag { box-shadow: 0 0 0 1px rgba(255,255,255,0.2); } /* ciemny kafel flagowy */

/* ===================== CASE STUDY: zrzuty strony klienta w hero (makieta laptop + telefon) + lightbox =====================
   partials/case-screens.php; pliki z tools/case-screens.js. Makieta leży na dotychczasowej świecącej grafice .x-1a4xhq
   (zostaje jako tło, lekko przyciemniona), statystyka .x-dnelvv pod makietą w normalnym przepływie (gradient pod nią zostaje,
   bo tło dalej świeci). */
.x-drzaln:has(.shots) { justify-content: flex-start; min-height: 0; }
.x-drzaln:has(.shots) .x-1a4xhq { opacity: 0.8; }
.x-drzaln:has(.shots) .x-dnelvv { margin-top: 0; padding-top: 24px; }
.shots { position: relative; z-index: 1; padding: 6px 13% 8% 0; }
.shots-solo { padding-right: 0; padding-bottom: 0; }
.shot { display: block; position: relative; color: inherit; text-decoration: none; border-radius: 14px; outline-offset: 4px; transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1); }
.shot:focus-visible { outline: 2px solid #7FD4FF; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; background: #FFFFFF; }
/* laptop: pasek z trzema kropkami + zrzut 1440x900 przycięty od góry */
.shot-desktop { display: flex; flex-direction: column; aspect-ratio: 16 / 10; overflow: hidden; background: #0F1B33; border: 1px solid rgba(190,212,240,0.22); box-shadow: 0 34px 90px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,0,0,0.35); }
.shot-desktop .shot-bar { flex: 0 0 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #17233D; border-bottom: 1px solid rgba(255,255,255,0.06); }
.shot-desktop .shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(190,212,240,0.28); }
.shot-desktop .shot-bar i:nth-child(1) { background: #FF5F57; }
.shot-desktop .shot-bar i:nth-child(2) { background: #FEBC2E; }
.shot-desktop .shot-bar i:nth-child(3) { background: #28C840; }
.shot-desktop img { flex: 1 1 auto; min-height: 0; }
.shot-zoom { position: absolute; left: 14px; bottom: 14px; width: 38px; /* lewy dół: prawy róg laptopa zasłania telefon */ height: 38px; border-radius: 50%; background: rgba(20,78,158,0.92) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><path d='m20 20-3.5-3.5M11 8v6M8 11h6'/></svg>") center / 20px no-repeat; box-shadow: 0 8px 24px rgba(0,0,0,0.35); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s; }
.shot:hover .shot-zoom { transform: scale(1.1); background-color: #1A5FBF; }
/* telefon: ramka, wycięcie u góry, zrzut 390x844 (2x) */
.shot-mobile { position: absolute; right: 0; bottom: 0; width: 28%; aspect-ratio: 390 / 844; padding: 7px; border-radius: 30px; background: #0B1220; border: 1px solid rgba(190,212,240,0.32); box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,0,0,0.5); overflow: hidden; }
.shot-mobile::before { content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 30%; height: 8px; border-radius: 999px; background: #0B1220; z-index: 1; }
.shot-mobile img { border-radius: 23px; }
.shot:hover { transform: translateY(-5px); }
.shot-desktop:hover { box-shadow: 0 42px 100px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,0,0,0.35); }
@media (max-width: 900px) {
  .shots { padding: 0 12% 9% 0; max-width: 560px; }
  .shot-zoom { width: 34px; height: 34px; left: 10px; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { .shot, .shot-zoom { transition: none; } }
/* lightbox: <dialog class="lb"> tworzony przez site.js */
html.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #FFFFFF; }
.lb::backdrop { background: rgba(5,10,24,0.94); }
.lb-inner { position: fixed; inset: 0; display: grid; place-items: center; padding: 72px 84px 56px; }
.lb-fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-img { display: block; max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; border-radius: 12px; background: #FFFFFF; box-shadow: 0 40px 120px rgba(0,0,0,0.65); }
.lb-cap { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(199,214,238,0.85); text-align: center; }
.lb-count { position: fixed; top: 26px; left: 28px; font-family: 'Poppins', sans-serif; font-size: 13px; letter-spacing: 1px; color: rgba(199,214,238,0.7); }
.lb-btn { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.08); color: #FFFFFF; cursor: pointer; display: grid; place-items: center; transition: background-color 0.25s, transform 0.25s; }
.lb-btn:hover { background: rgba(255,255,255,0.18); }
.lb-btn:focus-visible { outline: 2px solid #7FD4FF; outline-offset: 3px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb[data-single] .lb-prev, .lb[data-single] .lb-next, .lb[data-single] .lb-count { display: none; }
@media (max-width: 760px) {
  .lb-inner { padding: 70px 16px 84px; }
  .lb-img { max-height: calc(100vh - 190px); }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .lb-count { top: 32px; left: 20px; }
}
