/* v22 */
:root {
  --accent: #ff6a13;
  --accent-strong: #b24a0d;
  --cyan: #00b3e3;
  --green: #43b02a;
  --pink: #f3a6c8;
  --g-900: #0f172a;
  --g-800: #111827;
  --g-700: #1f2937;
  --g-300: #d0d2d3;
  --bg: #fff;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    "Manrope",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial;
  color: var(--g-900);
  background: #fff;
  line-height: 1.6;
}
.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}
.section {
  padding: clamp(64px, 8vw, 104px) 0;
}
.section h2 {
  font-size: clamp(36px, 4.8vw, 60px);
  margin: 0 0 36px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.section h2.underline {
  position: relative;
  padding-bottom: 8px;
}
.section h2.underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 4px;
  background: var(--accent-strong);
}
.lead {
  color: var(--g-700);
  margin: 0;
}
/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  box-shadow: 0 1px 0 rgba(2, 6, 23, 0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand img {
  height: 36px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-nav a {
  color: var(--g-800);
  text-decoration: none;
  font-weight: 800;
}
.site-nav .btn {
  background: var(--accent-strong);
  color: #fff;
}
.site-nav .btn:hover {
  box-shadow: 0 12px 36px rgba(178, 74, 13, 0.28);
  background: var(--accent);
}
/* Hero */
.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
.hero-media img {
  width: 88%;
  box-shadow: var(--shadow);
}
.hero-copy h1 {
  font-size: clamp(46px, 7.4vw, 84px);
  line-height: 1.04;
  font-weight: 900;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.subtitle {
  margin: 0 0 26px;
  color: var(--g-700);
  font-size: clamp(16px, 2.2vw, 18px);
}
.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}
.about-copy {
  max-width: 760px;
}
.about-visual {
  height: 260px;
  background: url("assets/logo-full-mono.png") center/contain no-repeat;
  opacity: 0.25;
}
/* Cards & services */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.card,
.service {
  background: #fff;
  border-radius: 0;
  padding: 20px;
  box-shadow: var(--shadow);
}
.card .bar {
  height: 3px;
  margin: -20px -20px 16px;
  background: var(--g-300);
}
.bar--cyan {
  background: var(--cyan);
}
.bar--green {
  background: var(--green);
}
.bar--accent {
  background: var(--accent-strong);
}
.service {
  border-top: 3px solid transparent;
}
.svc--cyan {
  border-color: var(--cyan);
}
.svc--gray {
  border-color: #6d6e71;
}
.svc--green {
  border-color: var(--green);
}
.svc--pink {
  border-color: var(--pink);
}
.svc--orange {
  border-color: var(--accent);
}
/* Mid CTA */
.cta {
  background: #fff3e9;
}
.mid-cta {
  background: #000;
  color: #fff;
}
.mid-cta .container {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 360px);
  gap: 28px;
  align-items: center;
}
.mid-cta h2,
.mid-cta .lead {
  color: #fff;
}
.mid-cta h2 {
  margin: 0 0 36px;
}
.mid-cta .lead {
  margin: 0 0 28px;
}
.mid-cta .btn {
  background: var(--accent-strong);
  color: #fff;
}
.mid-cta .btn:hover {
  background: var(--accent);
}
.mid-cta .logo-side img {
  max-height: 360px;
  width: auto;
  display: block;
}
/* Scope tiles */
.tinted {
  background: #f0fbf6;
}
.tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
}
.tile {
  background: #fff;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
/* Contact */
#kontakt .lead {
  margin: 0 0 26px;
}
#kontakt .contact {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 34px;
}
.ico {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
.ico.mail {
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><path fill=%22white%22 d=%22M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5L4 8V6l8 5 8-5v2z%22/></svg>")
    no-repeat center/contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><path fill=%22white%22 d=%22M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5L4 8V6l8 5 8-5v2z%22/></svg>")
    no-repeat center/contain;
  color: var(--accent-strong);
}
.ico.phone {
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><path fill=%22white%22 d=%22M6.62 10.79a15.05 15.05 0 006.59 6.59l2.2-2.2a1 1 0 011.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 011 1V21a1 1 0 01-1 1C10.4 22 2 13.6 2 3a1 1 0 011-1h3.5a1 1 0 011 1c0 1.25.2 2.46.57 3.58a1 1 0 01-.24 1.01l-2.2 2.2z%22/></svg>")
    no-repeat center/contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><path fill=%22white%22 d=%22M6.62 10.79a15.05 15.05 0 006.59 6.59l2.2-2.2a1 1 0 011.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 011 1V21a1 1 0 01-1 1C10.4 22 2 13.6 2 3a1 1 0 011-1h3.5a1 1 0 011 1c0 1.25.2 2.46.57 3.58a1 1 0 01-.24 1.01l-2.2 2.2z%22/></svg>")
    no-repeat center/contain;
  color: var(--accent-strong);
}
.email,
.phone {
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 800;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.email:hover,
.phone:hover {
  border-bottom-color: var(--accent-strong);
}
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 18px;
  border-radius: 0;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid transparent;
  background: var(--accent-strong);
  color: #fff;
  box-shadow: var(--shadow);
  transition:
    transform 0.05s,
    box-shadow 0.2s,
    background 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 50px rgba(178, 74, 13, 0.25);
  background: var(--accent);
}
.btn .arrow {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.25em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><path fill=%22white%22 d=%22M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14z%22/></svg>")
    no-repeat center/contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><path fill=%22white%22 d=%22M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14z%22/></svg>")
    no-repeat center/contain;
}
/* Footer */
.site-footer {
  padding: 34px 0;
  border-top: 1px solid #eee;
  color: var(--g-700);
  font-size: 14px;
  text-align: center;
}
.site-footer .footer-logo {
  display: block;
  margin: 26px auto 26px auto;
  width: 600px;
  max-width: 92vw;
  height: auto;
}
/* Partners */
.partners {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 24px 40px;
  align-items: center;
}
.partners img {
  height: 46px;
  max-width: 198px;
  object-fit: contain;
  opacity: 0.9;
  filter: grayscale(10%);
}
.partners img:hover {
  opacity: 1;
}
/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(12px);
}
.reveal.visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-16px);
}
.reveal-right {
  opacity: 0;
  transform: translateX(16px);
}
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}
/* Team spacing */
#zespol .lead + .lead,
#team .lead + .lead {
  margin-top: 12px;
}
/* Follow link */
.follow-link {
  color: var(--accent-strong) !important;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.follow-link:hover {
  border-bottom-color: var(--accent-strong);
}
.follow-link:visited {
  color: var(--accent-strong) !important;
}
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-visual {
    display: none;
  }
}
@media (max-width: 768px) {
  .site-nav {
    display: none;
  }
  .hero .container {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-5 {
    grid-template-columns: 1fr 1fr;
  }
  .tiles {
    grid-template-columns: 1fr;
  }
  .mid-cta .container {
    grid-template-columns: 1fr;
  }
}

.nav a.linkedin {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.nav a.linkedin:hover {
  opacity: 0.9;
}

/* Top nav link hover */
.nav a:not(.btn):hover,
.nav a:not(.btn):focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.9;
}

/* NAV hover (strong) */
.header .nav a:not(.btn):hover,
.header .nav a:not(.btn):focus-visible {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  opacity: 0.9;
}

/* FORCE hover for top navigation text links */
header.header nav.nav a:not(.btn) {
  text-decoration: none;
}
header.header nav.nav a:not(.btn):hover,
header.header nav.nav a:not(.btn):focus-visible {
  color: var(--accent) !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
  transform: translateY(-1px);
}
