/* ==========================================================================
   RESET & ROOT
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #111210;
  --bg: #F5F2EB;
  --bg2: #EDEAE1;
  --white: #FAFAF7;
  --accent: #D4501A;
  --accent2: #1A3D2B;
  --muted: #7A7870;
  --line: rgba(17, 18, 16, 0.12);
  --highlight: #E8E44A;
  --fs: 'Syne', sans-serif;
  --fb: 'DM Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--fb);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

/* ==========================================================================
   NAV
   ========================================================================== */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 56px;
  transition: background .35s, padding .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(245, 242, 235, 0.96);
  backdrop-filter: blur(12px);
  border-color: var(--line);
  padding: 14px 56px;
}

.logo {
  font-family: var(--fs);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--fb);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color .2s;
}

.nav-links a:hover { color: var(--ink); }

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s;
}

.nav-dropdown.open > a::after { transform: rotate(-135deg) translateY(-2px); }
.nav-dropdown > a:hover { color: var(--ink); }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: -20px;
  background: var(--white);
  border: 1px solid var(--line);
  min-width: 220px;
  box-shadow: 0 8px 32px rgba(17, 18, 16, 0.08);
  z-index: 100;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown.open .dropdown-menu { display: block; }

.dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: background .15s, color .15s;
}

.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--bg); color: var(--accent); }

.dropdown-menu a::after {
  content: '→';
  font-size: .8rem;
  color: var(--muted);
  transition: transform .2s, color .2s;
}

.dropdown-menu a:hover::after {
  transform: translateX(4px);
  color: var(--accent);
}

.nav-btn {
  font-family: var(--fb);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--accent);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 2px;
  transition: background .2s;
}

.nav-btn:hover { background: #b84315; }

/* ==========================================================================
   HERO (index)
   ========================================================================== */

#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  padding-top: 100px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 56px;
  min-width: 0;
  overflow: hidden;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--fs);
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--ink);
  word-break: normal;
  overflow-wrap: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.hero-line { display: block; }
.hero-title .outline { -webkit-text-stroke: 2px var(--ink); color: transparent; }
.hero-title .hi { color: var(--accent); }

.hero-desc {
  margin-top: 32px;
  font-size: .92rem;
  color: var(--muted);
  max-width: 380px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 44px;
  align-items: center;
}

.btn-primary {
  font-family: var(--fb);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 2px;
  transition: background .2s;
}

.btn-primary:hover { background: var(--accent); }

.btn-ghost {
  font-family: var(--fb);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
}

.btn-ghost:hover { color: var(--ink); }

.btn-ghost svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.hero-right {
  background: var(--accent2);
  position: relative;
  overflow: hidden;
}

.hero-right::before {
  content: 'L';
  position: absolute;
  font-family: var(--fs);
  font-size: 55vw;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* Hero photo (replaces placeholder panel once a real src is set) */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo[src=""] { display: none; }
.hero-photo[src]:not([src=""]) ~ .hero-photo-placeholder { display: none; }

.hero-photo-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-photo-placeholder svg {
  width: 36px;
  height: 36px;
  stroke: rgba(255, 255, 255, 0.35);
  fill: none;
  stroke-width: 1.2;
}

.hero-photo-placeholder span {
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  padding: 0 30px;
}

/* ==========================================================================
   TICKER
   ========================================================================== */

.ticker {
  background: var(--accent);
  overflow: hidden;
  padding: 13px 0;
  display: flex;
}

.ticker-track {
  display: flex;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  font-family: var(--fs);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ticker-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   SECTION COMMON
   ========================================================================== */

.section-tag {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

/* ==========================================================================
   O NAS (index section)
   ========================================================================== */

#o-nas {
  background: var(--white);
  padding-top: 80px;
}

.about-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  max-width: 1200px;
  margin: 0 auto;
}

.about-sticky {
  padding: 100px 56px;
  border-right: 1px solid var(--line);
  position: sticky;
  top: 80px;
  align-self: start;
  overflow: hidden;
}

.about-sticky h2 {
  font-family: var(--fs);
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.about-sticky p {
  margin-top: 20px;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.8;
}

.about-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-family: var(--fb);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
  transition: gap .2s;
}

.about-more-link:hover { gap: 14px; }

.about-more-link svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.about-content { padding: 100px 64px; }

.about-item {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
}

.about-item:first-child { padding-top: 0; }
.about-item:last-child { border-bottom: none; }

.about-num {
  font-family: var(--fs);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--bg2);
  line-height: 1;
}

.about-item h3 {
  font-family: var(--fs);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 10px;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.about-item p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ==========================================================================
   MODELE WSPÓŁPRACY
   ========================================================================== */

#modele {
  background: var(--bg);
  padding: 120px 0;
}

.services-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
}

.services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 72px;
}

.services-head h2 {
  font-family: var(--fs);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.services-head p {
  font-size: .82rem;
  color: var(--muted);
  max-width: 260px;
  text-align: right;
}

.services-list {
  display: flex;
  flex-direction: column;
}

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px 12px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: background .2s, padding-left .2s;
  border-radius: 2px;
}

.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row:hover { background: var(--bg2); padding-left: 20px; }

.sr-num {
  font-family: var(--fs);
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .1em;
}

.sr-name {
  font-family: var(--fs);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.sr-desc {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.7;
}

.sr-tag {
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: var(--bg2);
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 2px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}

.service-row:hover .sr-tag { background: var(--accent); color: var(--white); }

/* ==========================================================================
   KONTAKT
   ========================================================================== */

#kontakt {
  background: var(--ink);
  padding: 120px 0 0;
}

.kontakt-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
}

.kontakt-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kontakt-top h2 {
  font-family: var(--fs);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--white);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.kontakt-top h2 span { color: var(--accent); }

.kontakt-top p {
  margin-top: 24px;
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.8;
}

.mail-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 44px;
  font-family: var(--fs);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--white);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
  transition: color .2s;
}

.mail-link svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  transition: transform .25s;
}

.mail-link:hover { color: var(--accent); }
.mail-link:hover svg { transform: translateX(5px); }

.mail-hint {
  display: block;
  margin-top: 10px;
  font-size: .62rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
}

.kontakt-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-row:first-child { padding-top: 0; }

.cr-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cr-icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.cr-label {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 3px;
}

.cr-value {
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: .02em;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer-bar {
  margin-top: 80px;
  padding: 28px 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--fs);
  font-size: .9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--white);
  text-decoration: none;
}

.footer-logo span { color: var(--accent); }

.footer-copy {
  font-size: .65rem;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: .06em;
}

.footer-nav {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-nav a {
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color .2s;
}

.footer-nav a:hover { color: var(--white); }

/* ==========================================================================
   SERVICE PAGE (shared template for uslugi/*.html)
   ========================================================================== */

.page-hero {
  padding: 160px 56px 80px;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero .breadcrumb {
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-hero .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero .breadcrumb span { opacity: .4; }

.page-hero h1 {
  font-family: var(--fs);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -.02em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  word-break: break-word;
}

.page-hero h1 mark {
  background: var(--highlight);
  color: var(--ink);
  padding: 0 6px;
  border-radius: 2px;
  display: inline;
  white-space: normal;
}

.page-hero .lead {
  margin-top: 28px;
  font-size: 1rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.8;
}

.page-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
  overflow: hidden;
}

.page-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.page-intro h2 {
  font-family: var(--fs);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: 1.15;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.page-intro p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.85;
}

.bullet-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}

.bullet-section h3 {
  font-family: var(--fs);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 28px;
}

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
}

.bullet-list li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
}

.steps-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.steps-section h2 {
  font-family: var(--fs);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: 1.1;
  margin-bottom: 12px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.steps-section h2 mark {
  background: var(--highlight);
  color: var(--ink);
  padding: 0 6px;
  border-radius: 2px;
  display: inline;
  white-space: normal;
}

.steps-section .steps-lead {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 52px;
  max-width: 500px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.step-card {
  background: var(--white);
  padding: 36px 28px;
  transition: background .2s;
}

.step-card:hover { background: var(--bg); }

.step-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.5;
}

.step-card h4 {
  font-family: var(--fs);
  font-size: .92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 12px;
}

.step-card p {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.8;
}

.cta-strip {
  background: var(--accent2);
  padding: 72px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 80px 0 0;
  overflow: hidden;
}

.cta-strip h3 {
  font-family: var(--fs);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.15;
  max-width: 500px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.cta-strip a {
  font-family: var(--fb);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background: var(--white);
  color: var(--ink);
  padding: 16px 36px;
  border-radius: 2px;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}

.cta-strip a:hover { background: var(--accent); color: var(--white); }

/* ==========================================================================
   REVEAL (scroll-in animation)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ==========================================================================
   MOBILE NAV — hamburger + overlay menu
   ========================================================================== */

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, width .3s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  flex-direction: column;
  padding: 90px 32px 48px;
  overflow-y: auto;
}

.mobile-menu.open { display: flex; }

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.mobile-nav-links > li { border-bottom: 1px solid var(--line); }

.mobile-nav-links > li > a,
.mobile-nav-links > li > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-family: var(--fs);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}

.mobile-nav-links .mobile-arrow {
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
  transition: transform .25s;
  flex-shrink: 0;
}

.mobile-nav-links li.mob-open .mobile-arrow { transform: rotate(90deg); }

.mobile-submenu {
  display: none;
  flex-direction: column;
  padding-bottom: 8px;
}

.mobile-nav-links li.mob-open .mobile-submenu { display: flex; }

.mobile-submenu a {
  display: block;
  padding: 12px 0 12px 16px;
  font-family: var(--fb);
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-left: 2px solid var(--line);
  transition: color .2s, border-color .2s;
}

.mobile-submenu a:hover { color: var(--accent); border-color: var(--accent); }

.mobile-menu-footer { margin-top: 40px; }

.mobile-menu-footer .nav-btn {
  display: block;
  text-align: center;
  font-size: .78rem;
  padding: 16px 32px;
}

/* ==========================================================================
   MOBILE ≤ 800px
   ========================================================================== */

@media (max-width: 800px) {
  nav { padding: 18px 24px; }
  nav.scrolled { padding: 12px 24px; }
  .nav-links, .nav-btn { display: none; }
  .nav-hamburger { display: flex; }

  #hero { grid-template-columns: 1fr; min-height: auto; padding-top: 72px; }
  .hero-left { padding: 48px 24px 40px; }
  .hero-title {
    font-size: clamp(1.4rem, 6.5vw, 2rem); /* было clamp(1.6rem, 7.5vw, 2.2rem) */
    line-height: 1.1;
    hyphens: none;
    -webkit-hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
  }
  .hero-desc { max-width: 100%; font-size: .88rem; }
  .hero-actions { flex-wrap: wrap; gap: 12px; }
  .btn-primary { width: 100%; text-align: center; }

  .hero-right { display: block; min-height: 420px; }
  .hero-right::before { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-sticky { position: static; padding: 48px 24px 32px; border-right: none; border-bottom: 1px solid var(--line); }
  .about-sticky h2 { font-size: clamp(1.4rem, 6vw, 1.9rem); line-height: 1.1; }
  .about-content { padding: 36px 24px 56px; }
  .about-item { grid-template-columns: 56px 1fr; gap: 16px; padding: 28px 0; }
  .about-num { font-size: 1.8rem; }
  .about-item h3 { font-size: .88rem; }

  .services-wrap { padding: 0 24px; }
  #modele { padding: 64px 0; }
  .services-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 36px; }
  .services-head h2 { font-size: clamp(1.4rem, 6.5vw, 1.9rem); }
  .services-head p { text-align: left; max-width: 100%; }
  .service-row { grid-template-columns: 40px 1fr auto; gap: 12px 16px; padding: 20px 8px; }
  .sr-desc { display: none; }
  .sr-tag { font-size: .55rem; padding: 5px 10px; }
  .sr-name { font-size: .88rem; }

  #kontakt { padding: 64px 0 0; overflow: hidden; }
  .kontakt-wrap { padding: 0 24px; }
  .kontakt-top { grid-template-columns: 1fr; gap: 44px; padding-bottom: 52px; }
  .kontakt-top > div { min-width: 0; }
  .kontakt-top h2 {
    font-size: clamp(1.1rem, 4.5vw, 1.3rem);
    line-height: 1.2;
    letter-spacing: -.01em;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    max-width: 100%;
  }
  .mail-link { font-size: clamp(.9rem, 4vw, 1.1rem); }
  .footer-bar { flex-direction: column; gap: 14px; text-align: center; padding: 28px 24px; margin-top: 0; }
  .footer-nav { justify-content: center; flex-wrap: wrap; gap: 16px; }

  .page-hero { padding: 104px 24px 52px; overflow: hidden; }
  .page-hero h1 { font-size: clamp(1.3rem, 5vw, 1.9rem); line-height: 1.1; overflow-wrap: break-word; word-break: normal; hyphens: auto; -webkit-hyphens: auto; }
  .page-hero h1 mark { display: inline; white-space: normal; }
  .page-body { padding: 0 24px; overflow: hidden; }
  .page-intro { grid-template-columns: 1fr; gap: 24px; padding: 44px 0; }
  .page-intro h2 { font-size: clamp(1.1rem, 5vw, 1.7rem); line-height: 1.2; overflow-wrap: break-word; word-break: normal; hyphens: auto; -webkit-hyphens: auto; }

  .feature-section h2, .when-section h2, .how-section h2, .why-section h2 {
    font-size: clamp(1.1rem, 5vw, 1.7rem) !important;
    line-height: 1.15;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  .feature-section h2 mark, .when-section h2 mark, .how-section h2 mark { display: inline; white-space: normal; }
  .steps-section h2 { font-size: clamp(1.1rem, 5vw, 1.7rem); line-height: 1.15; overflow-wrap: break-word; word-break: normal; hyphens: auto; -webkit-hyphens: auto; }
  .steps-section { padding: 44px 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .bullet-section { padding: 36px 0; }

  .cta-strip { flex-direction: column; padding: 44px 24px; gap: 24px; text-align: center; margin: 0; }
  .cta-strip h3 { max-width: 100%; font-size: clamp(1rem, 5.5vw, 1.4rem); letter-spacing: -.01em; }
  .cta-strip a { width: 100%; text-align: center; }
}

/* ==========================================================================
   VERY NARROW ≤ 400px
   ========================================================================== */

@media (max-width: 400px) {
  .hero-title { font-size: clamp(1.4rem, 7vw, 1.8rem); }
  .about-sticky h2 { font-size: clamp(1.2rem, 5.5vw, 1.6rem); }
  .services-head h2 { font-size: clamp(1.2rem, 6vw, 1.7rem); }
  .kontakt-top h2 { font-size: clamp(.95rem, 4.8vw, 1.1rem); line-height: 1.22; }
  .page-hero h1 { font-size: clamp(1.15rem, 5.5vw, 1.6rem); }
  .page-intro h2 { font-size: clamp(1rem, 5vw, 1.4rem); }
  .feature-section h2, .when-section h2, .how-section h2, .why-section h2, .steps-section h2 { font-size: clamp(1rem, 5.5vw, 1.5rem) !important; }
}

/* ==========================================================================
   VERY NARROW ≤ 360px (small phones)
   ========================================================================== */

@media (max-width: 360px) {
  .kontakt-top h2 { font-size: clamp(.85rem, 5vw, 1rem); line-height: 1.25; }
}

/* ==========================================================================
   OUTSOURCING PAGE
   ========================================================================== */

.photo-strip {
  padding: 0 0 80px;
  border-bottom: 1px solid var(--line);
}

.photo-strip-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
  height: 260px;
}

.photo-slot {
  position: relative;
  overflow: hidden;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 2px;
  height: 100%;
}

.photo-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.25, .46, .45, .94), filter .6s ease;
  will-change: transform, filter;
}

.photo-slot:hover img {
  transform: scale(1.06);
  filter: brightness(1.08) contrast(1.04) saturate(1.1);
}

/* Sliding gloss highlight on hover */
.photo-slot::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity .01s, transform .6s ease;
  pointer-events: none;
}

.photo-slot:hover::before {
  opacity: 1;
  transform: translateX(100%);
}

/* Bottom scrim for caption legibility */
.photo-slot::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top,
    rgba(17, 18, 16, .78) 0%,
    rgba(17, 18, 16, .18) 45%,
    transparent 68%);
  pointer-events: none;
  transition: opacity .4s ease;
}

.photo-slot:hover::after { opacity: 0.7; }

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 14px 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .3s ease, padding-bottom .4s ease;
}

.photo-slot:hover .photo-caption {
  color: rgba(255, 255, 255, 1);
  padding-bottom: 18px;
}

/* Placeholder shown only when no image is set */
.photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 0;
}

.photo-slot img + .photo-placeholder { display: none; }

.photo-placeholder svg {
  width: 28px;
  height: 28px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 1.2;
  opacity: .35;
}

.photo-placeholder span {
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: .5;
  text-align: center;
  padding: 0 20px;
}

.feature-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.feature-section h2 {
  font-family: var(--fs);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: 48px;
}

.feature-section h2 mark {
  background: var(--highlight);
  color: var(--ink);
  padding: 0 6px;
  border-radius: 2px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-card {
  background: var(--white);
  padding: 40px 36px;
  transition: background .2s;
}

.feature-card:hover { background: var(--bg); }

.feature-card h3 {
  font-family: var(--fs);
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 14px;
  color: var(--ink);
}

.feature-card p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.85;
}

.feature-accent {
  display: inline-block;
  width: 28px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 18px;
  border-radius: 2px;
}

.scope-bar {
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  padding: 36px 40px;
  margin-bottom: 80px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}

.scope-bar-label {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
  white-space: nowrap;
}

.scope-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scope-tag {
  font-size: .72rem;
  letter-spacing: .06em;
  padding: 6px 14px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
}

.why-section { padding: 80px 0 100px; }

.why-section h2 {
  font-family: var(--fs);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: 48px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  padding: 36px 28px;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color .2s, background .2s;
}

.why-card:hover {
  border-color: var(--accent);
  background: var(--white);
}

.why-num {
  font-family: var(--fs);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--bg2);
  line-height: 1;
  margin-bottom: 16px;
}

.why-card h4 {
  font-family: var(--fs);
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 10px;
}

.why-card p {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.8;
}

.legal-note {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
}

.legal-note p {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.85;
}

.legal-note strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 800px) {
  .photo-strip { padding-bottom: 48px; }
  .photo-strip-grid { grid-template-columns: 1fr; gap: 16px; height: auto; }
  .photo-slot { height: 220px; }

  .feature-section { padding: 48px 0; }
  .feature-section h2 { margin-bottom: 28px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 28px 24px; }

  .scope-bar { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; margin-bottom: 48px; }

  .why-section { padding: 48px 0 64px; }
  .why-section h2 { margin-bottom: 28px; }
  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-card { padding: 28px 20px; }

  .legal-note { padding: 20px; }
}

/* ==========================================================================
   PRACA TYMCZASOWA PAGE
   ========================================================================== */

.when-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.when-section h2 {
  font-family: var(--fs);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: 48px;
}

.when-section h2 mark {
  background: var(--highlight);
  color: var(--ink);
  padding: 0 6px;
  border-radius: 2px;
}

.when-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}

.when-card {
  background: var(--white);
  padding: 40px 32px;
  transition: background .2s;
}

.when-card:hover { background: var(--bg); }

.when-num {
  font-family: var(--fs);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 18px;
}

.when-card h3 {
  font-family: var(--fs);
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 14px;
}

.when-card p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.85;
}

.how-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.how-section h2 {
  font-family: var(--fs);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: 48px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.how-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 28px;
  transition: border-color .2s, background .2s;
}

.how-card:hover {
  border-color: rgba(17, 18, 16, 0.22);
  background: var(--bg);
}

.how-icon {
  width: 28px;
  height: 28px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 24px;
}

.how-card h3 {
  font-family: var(--fs);
  font-size: .95rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 12px;
  line-height: 1.3;
}

.how-card p {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.85;
}

/* 5-column "dlaczego" variant */
.why-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.why-card-5 {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px 24px;
  transition: border-color .2s, background .2s;
}

.why-card-5:hover {
  border-color: var(--accent);
  background: var(--bg);
}

.why-icon {
  width: 26px;
  height: 26px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 20px;
}

.why-card-5 h4 {
  font-family: var(--fs);
  font-size: .82rem;
  font-weight: 700;
  text-transform: none;
  line-height: 1.3;
  margin-bottom: 10px;
}

.why-card-5 p {
  font-size: .73rem;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 800px) {
  .when-section { padding: 48px 0; }
  .when-section h2 { margin-bottom: 28px; }
  .when-grid { grid-template-columns: 1fr; }
  .when-card { padding: 28px 24px; }

  .how-section { padding: 48px 0; }
  .how-section h2 { margin-bottom: 28px; }
  .how-grid { grid-template-columns: 1fr; }
  .how-card { padding: 28px 20px; }

  .why-grid-5 { grid-template-columns: 1fr; gap: 10px; }
  .why-card-5 { padding: 24px 18px; }
}

/* ==========================================================================
   USŁUGI SCROLL (index.html — competency carousel)
   ========================================================================== */

#uslugi-scroll {
  padding: 100px 0 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.us-head {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px 56px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.us-head h2 {
  font-family: var(--fs);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: var(--ink);
  margin: 12px 0 16px;
}

.us-head p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 420px;
}

.us-scroll-hint {
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: .6;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding-bottom: 4px;
}

.us-scroll-hint::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--muted);
  opacity: .5;
}

.us-track-wrap {
  position: relative;
  overscroll-behavior-x: contain;
}

.us-track-wrap::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(to right, transparent, var(--bg));
  pointer-events: none;
  z-index: 2;
}

.us-track {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 56px 0 56px;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
}

.us-track:active { cursor: grabbing; }
.us-track::-webkit-scrollbar { display: none; }

.us-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color .2s;
}

.us-card:hover { border-color: rgba(17, 18, 16, 0.25); }

.us-card-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg2);
  flex-shrink: 0;
}

.us-card-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.us-card-photo img[src]:not([src=""]) { display: block; }
.us-card-photo img[src]:not([src=""]) + .us-photo-placeholder { display: none; }

.us-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bg);
  border-bottom: 2px dashed var(--line);
}

.us-photo-placeholder svg {
  width: 28px;
  height: 28px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 1.2;
  opacity: .4;
}

.us-photo-placeholder span {
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: .55;
  text-align: center;
  padding: 0 16px;
}

.us-card-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.us-card-label {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.us-card-body h3 {
  font-family: var(--fs);
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.25;
}

.us-card-body p {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.85;
  flex: 1;
}

.us-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.us-card-tag::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.us-dots {
  display: flex;
  gap: 6px;
  padding: 28px 56px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.us-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background .2s, transform .2s;
  border: none;
  padding: 0;
}

.us-dot.active {
  background: var(--ink);
  transform: scale(1.3);
}

.stats-bar {
  background: var(--accent2);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-cell {
  padding: 44px 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: background .25s;
}

.stat-cell:last-child { border-right: none; }
.stat-cell:hover { background: rgba(255, 255, 255, 0.04); }

.stat-num {
  font-family: var(--fs);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
}

.stat-num em { font-style: normal; color: var(--accent); }

.stat-label {
  margin-top: 10px;
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.5;
}

@media (max-width: 900px) {
  #uslugi-scroll { padding-top: 64px; }
  .us-head { padding: 0 24px 32px; flex-direction: column; align-items: stretch; gap: 16px; }
  .us-head-text { width: 100%; max-width: 100%; }
  .us-head h2 { font-size: clamp(1.3rem, 6.5vw, 1.9rem); margin: 8px 0 12px; overflow-wrap: normal; word-break: keep-all; hyphens: none; }
  .us-head p { max-width: 100%; }
  .us-scroll-hint { display: none; }
  .us-track { padding: 0 24px; }
  .us-card { flex: 0 0 280px; }
  .us-dots { padding: 20px 24px 64px; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-cell { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(3) { border-bottom: none; }
  .stat-cell:nth-child(4) { border-right: none; border-bottom: none; }
}

@media (max-width: 600px) {
  .us-card { flex: 0 0 260px; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .stat-cell:last-child { border-bottom: none; }
  .stat-cell { padding: 28px 24px; }
}

/* ==========================================================================
   O NAS PAGE (o-nas.html)
   ========================================================================== */

.onas-hero {
  background: var(--white);
  padding: 160px 56px 100px;
  overflow: hidden;
}

.onas-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.onas-hero .breadcrumb {
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.onas-hero .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.onas-hero .breadcrumb a:hover { color: var(--accent); }
.onas-hero .breadcrumb span { opacity: .4; }

.onas-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.onas-hero-left .eyebrow {
  display: block;
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.onas-hero-left p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 480px;
}

.onas-hero-left p + p { margin-top: 20px; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.hero-tags span {
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.onas-hero-right { min-width: 0; }

.onas-hero-right h1 {
  font-family: var(--fs);
  font-size: clamp(2.6rem, 4vw, 5.2rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -.02em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.onas-hero-right h1 .outline { -webkit-text-stroke: 2px var(--ink); color: transparent; }
.onas-hero-right h1 .hi { color: var(--accent); }

.stat-strip {
  background: var(--accent2);
  padding: 0 56px;
}

.stat-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
  padding: 52px 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item .stat-num {
  font-family: var(--fs);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-item .stat-num em { font-style: normal; color: var(--accent); }

.stat-item .stat-label {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 10px;
  line-height: 1.5;
}

.onas-operacje {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 56px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.onas-operacje-label {
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 6px;
}

.onas-operacje-content { min-width: 0; }

.onas-operacje-content h2 {
  font-family: var(--fs);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.onas-operacje-content p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 640px;
}

.onas-operacje-content p + p { margin-top: 18px; }

.operacje-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 48px;
}

.operacje-service {
  background: var(--bg);
  padding: 32px 28px;
}

.operacje-service-num {
  font-family: var(--fs);
  font-size: .7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .1em;
  margin-bottom: 12px;
}

.operacje-service h4 {
  font-family: var(--fs);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 8px;
  overflow-wrap: break-word;
}

.operacje-service p {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.7;
}

.onas-wartosci {
  background: var(--white);
  padding: 100px 0;
  overflow: hidden;
}

.onas-wartosci-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
}

.onas-wartosci-inner > span {
  display: block;
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.onas-wartosci-inner > h2 {
  font-family: var(--fs);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin-bottom: 64px;
}

.wartosci-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.wartosc-card {
  background: var(--white);
  padding: 48px 36px;
  transition: background .2s;
}

.wartosc-card:hover { background: var(--bg); }

.wartosc-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.wartosc-card h3 {
  font-family: var(--fs);
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 14px;
  overflow-wrap: break-word;
}

.wartosc-card p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.8;
}

.onas-dlaczego {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 56px;
  overflow: hidden;
}

.onas-dlaczego > span {
  display: block;
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.onas-dlaczego > h2 {
  font-family: var(--fs);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin-bottom: 64px;
}

.dlaczego-list { display: flex; flex-direction: column; }

.dlaczego-item {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.dlaczego-item:last-child { border-bottom: 1px solid var(--line); }

.dlaczego-num {
  font-family: var(--fs);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--bg2);
  line-height: 1;
}

.dlaczego-item h3 {
  font-family: var(--fs);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  padding-top: 4px;
}

.dlaczego-item p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.85;
}

@media (max-width: 800px) {
  .onas-hero { padding: 110px 24px 56px; overflow: hidden; }
  .onas-hero-inner { overflow: hidden; }
  .onas-hero-grid { grid-template-columns: 1fr; gap: 32px; align-items: flex-start; }
  .onas-hero-left { order: 2; min-width: 0; }
  .onas-hero-left p { font-size: .9rem; max-width: 100%; }
  .onas-hero-right { order: 1; overflow: hidden; min-width: 0; }
  .onas-hero-right h1 {
    font-size: clamp(1.5rem, 7vw, 2.6rem);
    line-height: 1.15;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  .hero-tags { gap: 8px; margin-top: 28px; }

  .stat-strip { padding: 0 24px; }
  .stat-strip-inner { grid-template-columns: repeat(2, 1fr); border-left: none; }
  .stat-item { padding: 32px 20px; }
  .stat-item .stat-num { font-size: clamp(1.8rem, 7vw, 2.6rem); }

  .onas-operacje { grid-template-columns: 1fr; gap: 20px; padding: 56px 24px; }
  .onas-operacje-label { padding-top: 0; }
  .onas-operacje-content h2 {
    font-size: clamp(1.3rem, 5.5vw, 2rem);
    line-height: 1.2;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  .operacje-services { grid-template-columns: 1fr; }

  .onas-wartosci { padding: 64px 0; }
  .onas-wartosci-inner { padding: 0 24px; }
  .onas-wartosci-inner > h2 {
    font-size: clamp(1.3rem, 5.5vw, 2rem);
    line-height: 1.2;
    margin-bottom: 40px;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  .wartosci-grid { grid-template-columns: 1fr; }
  .wartosc-card { padding: 36px 24px; }

  .onas-dlaczego { padding: 56px 24px; }
  .onas-dlaczego > h2 {
    font-size: clamp(1.3rem, 5.5vw, 2rem);
    line-height: 1.2;
    margin-bottom: 40px;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  .dlaczego-item { grid-template-columns: 56px 1fr; grid-template-rows: auto auto; gap: 16px 20px; padding: 32px 0; }
  .dlaczego-item h3 { overflow-wrap: break-word; word-break: normal; hyphens: auto; -webkit-hyphens: auto; }
  .dlaczego-item p { grid-column: 1 / -1; }
  .dlaczego-num { font-size: 1.8rem; }
}

@media (max-width: 400px) {
  .onas-hero-right h1 { font-size: clamp(1.25rem, 6.5vw, 2rem); }
  .onas-operacje-content h2 { font-size: clamp(1.1rem, 5vw, 1.6rem); }
  .onas-wartosci-inner > h2 { font-size: clamp(1.1rem, 5vw, 1.5rem); }
  .onas-dlaczego > h2 { font-size: clamp(1.1rem, 5vw, 1.5rem); }
}