:root {
  --dark: #10161d;
  --dark-2: #182028;
  --blue: #1f5c96;
  --blue-dark: #164674;
  --orange: #f2891f;
  --light: #dde5ee;
  --white: #ffffff;
  --bg: #e8edf4;
  --text: #202830;
  --muted: #626d78;
  --border: #e2e6ea;
  --radius: 6px;
  --font-head: 'Barlow Condensed', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  z-index: 300;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: .2px;
}
p { margin: 0 0 1em; color: var(--muted); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-primary { background: var(--orange); color: #1a1204; }
.btn-primary:hover { background: #d97710; }
.btn-outline { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,.15); }

/* Top bar */
.topbar {
  background: var(--dark);
  color: #b7c1cb;
  font-size: 13.5px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
}
.topbar-contact { display: flex; gap: 22px; }
.topbar-link { display: inline-flex; align-items: center; gap: 6px; color: #d8dee4; }
.topbar-link:hover { color: var(--orange); }
.topbar-location { color: #8b96a1; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 96px;
}
.logo img { height: 65px; }
.nav { display: flex; gap: 26px; margin-left: 12px; flex: 1; }
.nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  padding: 8px 0;
  position: relative;
}
.nav a:hover { color: var(--blue); }
.header-cta { margin-left: auto; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--dark-2);
  margin-left: auto;
  white-space: nowrap;
}
.header-phone svg { color: var(--orange); flex-shrink: 0; }
.header-phone:hover { color: var(--blue); }
.linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0a66c2;
  color: #fff;
  margin-left: 12px;
  flex-shrink: 0;
}
.linkedin-link:hover { background: #084e96; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--text);
}

/* Hero */
.hero {
  background-size: cover;
  background-position: center;
  color: var(--white);
  min-height: 700px;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
}
.hero-inner { max-width: 780px; }
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--orange);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 44px;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  color: #dbe2e8;
  max-width: 640px;
}
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--light); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  font-size: 13px;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-title {
  font-size: 34px;
  max-width: 700px;
  margin-bottom: 40px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(16,22,29,.1); }
.service-img {
  height: 160px;
  background-size: cover;
  background-position: center;
  transition: transform .3s ease;
}
.service-card:hover .service-img { transform: scale(1.05); }
.service-body { padding: 20px 22px 24px; }
.service-body h3 { font-size: 24px; margin-bottom: 8px; }
.service-body p { font-size: 14.5px; margin: 0; }

/* Branze */
.branze-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.branza-item {
  position: relative;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  overflow: hidden;
  height: 140px;
  background-size: cover;
  background-position: center;
  transition: transform .18s ease;
}
.branza-item:hover { transform: translateY(-3px); }
.branza-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,22,29,.35), rgba(16,22,29,.8));
}
.branza-item span {
  position: absolute;
  left: 22px;
  bottom: 18px;
  right: 16px;
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 600;
  color: var(--white);
  z-index: 1;
}

/* Atuty */
.atuty-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.atuty-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.atuty-tile {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px;
  background: var(--light);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--dark-2);
  line-height: 1.3;
}
.atuty-tile .check { color: var(--orange); font-weight: 700; flex-shrink: 0; }
.atuty-photo img { border-radius: var(--radius); }

/* Realizacje */
.realizacje-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.realizacja-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.realizacja-card img { height: 210px; width: 100%; object-fit: cover; }
.realizacja-body { padding: 20px 22px 24px; }
.tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--blue-dark);
  background: #e8f0f8;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.realizacja-body p { margin: 0; color: var(--text); font-size: 15px; }

/* O nas */
.o-nas-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.o-nas-photo img { border-radius: var(--radius); }

/* CTA band */
.cta-band { background: var(--dark); color: var(--white); padding: 60px 0; }
.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: 30px; margin-bottom: 8px; }
.cta-band p { color: #aeb8c1; margin: 0; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--dark-2); color: #aeb8c1; padding: 64px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo { height: 38px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .9; }
.footer h4 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 14px;
}
.footer a:hover { color: var(--orange); }
.footer p { color: #98a3ad; font-size: 14.5px; }
.footer-bottom {
  padding: 20px 0;
  font-size: 13px;
  color: #7c8792;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom-links { display: flex; gap: 20px; align-items: center; }
.footer-bottom-links a:hover { color: var(--orange); }
.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: #7c8792;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}
.footer-link-btn:hover { color: var(--orange); }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--dark-2);
  color: #d8dee4;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
  padding: 20px 24px;
  z-index: 400;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner-inner p { color: #c3cbd3; font-size: 14px; margin: 0 0 16px; }
.cookie-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline-dark { border-color: rgba(255,255,255,.35); color: #d8dee4; }
.btn-outline-dark:hover { background: rgba(255,255,255,.08); }

/* Responsive */
@media (max-width: 900px) {
  .atuty-grid, .o-nas-grid { grid-template-columns: 1fr; }
  .atuty-photo, .o-nas-photo { order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .topbar-location { display: none; }
  .logo img { height: 46px; }
  .atuty-tiles { grid-template-columns: 1fr; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .header-cta { display: none; }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 90px 0 70px; min-height: auto; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 16px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 27px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
}
