html, body {
    overflow-x: hidden;
    max-width: 100%;
}
:root {
  --brand-red: #D11317;
  --dark-bg: #141414;
  --light-bg: #ffffff;
  --muted-text: #555555;
}

:root {
  --brand-red: #D11317;
  --dark: #141414;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  color: #141414;
}
/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  transition: height 0.3s ease, background 0.3s ease;
  z-index: 1000;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 120px;
  transition: height 0.3s ease;
}

.site-header.shrink {
  height: 52px;
  background: rgba(0, 0, 0, 0.9);
}

.site-header.shrink .logo img {
  height: 22px;
}


/* NAV */
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.85rem;
  color: #ffffff;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.main-nav a:hover {
  opacity: 1;
}

/* CTA */
.nav-cta {
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
}

/* MOBILE */
@media (max-width: 768px) {
  .main-nav {
    display: none; /* hamburger dorobimy później */
  }
}


/* HERO */
.hero-geo {
  padding-top: 80px;
}

.hero-geo {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
}

/* BACKGROUND IMAGE */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("hero.jpg?v=4") center/cover no-repeat;
  z-index: 1;
}


/* RED SHAPE */
.hero-shape {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 70%;
  height: 140%;
  background: var(--brand-red);
  clip-path: polygon(0 0, 85% 0, 65% 100%, 0% 100%);
  z-index: 2;
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 620px;
  padding: 120px 40px;
}
.hero-content {
  padding-top: 140px;
  padding-bottom: 140px;
}

.hero-accent {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
  opacity: 0.9;
}
.hero-accent {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  opacity: 0.9;
}

/* HEADLINE */
.hero-content h1 {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 700;
}

.hero-content h1 span {
  font-weight: 400;
  opacity: 0.95;
}

/* TEXT */
.hero-content p {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 40px;
  opacity: 0.95;
}

/* CTA */
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn,
.contact-form button {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.btn {
  padding: 14px 30px;
  font-size: 0.9rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background: #ffffff;
  color: #000;
}

.btn-primary:hover {
  background: #f1f1f1;
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.6);
  color: #ffffff;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

/* MOBILE */
@media (max-width: 900px) {
  .hero-shape {
    width: 100%;
    left: 0;
    clip-path: polygon(0 0, 100% 0, 100% 65%, 0 85%);
  }

  .hero-content {
    padding: 100px 24px;
  }
}
/* SERVICES */
.services {
  background: #ffffff;
  color: #141414;
  padding: 120px 24px;
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-head {
  max-width: 520px;
  margin-bottom: 60px;
}

.section-head h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.section-head p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}
.section-head p {
  letter-spacing: 0.02em;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 60px;
}

.service-item {
  font-size: 1.1rem;
  font-weight: 500;
  padding-left: 18px;
  position: relative;
}

.service-item::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #D11317;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.6em;
}

/* MOBILE */
@media (max-width: 768px) {
  .services {
    padding: 80px 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}
/* WHY US */
.why-us {
  background: #141414;
  color: #ffffff;
  padding: 120px 24px;
}

.why-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* section head variant */
.section-head.light h2 {
  color: #ffffff;
}

.section-head.light p {
  color: #d0d0d0;
}

/* grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 80px;
}

.why-item h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  font-weight: 600;
  position: relative;
  padding-left: 16px;
}

.why-item h3::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #D11317;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.6em;
}

.why-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #dcdcdc;
}

/* MOBILE */
@media (max-width: 768px) {
  .why-us {
    padding: 80px 20px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
/* PROJECTS */
.projects {
  background: #ffffff;
  color: #141414;
  padding: 120px 24px;
}

.projects-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* GRID */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ITEM */
.project-item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* OVERLAY */
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #D11317;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

/* HOVER */
.project-item:hover img {
  transform: scale(1.05);
}

.project-item:hover .project-overlay {
  opacity: 1;
}

.project-item:hover::after {
  transform: scaleX(1);
}

/* MOBILE */
@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .projects {
    padding: 80px 20px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}
/* PROCESS */
.process {
  background: #f7f7f7;
  color: #141414;
  padding: 120px 24px;
}

.process-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* STEPS GRID */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* STEP */
.process-step {
  display: flex;
  flex-direction: column-reverse; /* 🔥 TO ROBI „OD DOŁU DO GÓRY” */
  align-items: center;
  text-align: center;
  gap: 12px;
}

.process-icon-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto 24px;
}

.process-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-number {
  position: absolute;
  left: -10px;
  bottom: -10px;
  font-size: 48px;
  font-weight: 700;
  color: rgba(200, 0, 0, 0.18);
  line-height: 1;
}


.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
  font-weight: 600;
}

.process-step p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

/* MOBILE */
@media (max-width: 900px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
}

@media (max-width: 520px) {
  .process {
    padding: 80px 20px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }
}
/* CONTACT */
.contact {
  background: #141414;
  color: #ffffff;
  padding: 120px 24px;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

/* INFO */
.contact-info h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.contact-info p {
  font-size: 1rem;
  line-height: 1.6;
  color: #d0d0d0;
  margin-bottom: 40px;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: #f1f1f1;
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 14px 16px;
  color: #ffffff;
  font-size: 0.9rem;
  border-radius: 4px;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.6);
}

.contact-form button {
  margin-top: 10px;
  padding: 16px;
  font-size: 0.95rem;
  background: #D11317;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.25s ease;
}

.contact-form button:hover {
  background: #e3171b;
}
/* FOOTER – FINAL DESKTOP ONLY */
.site-footer {
  background: #0d0d0d;
  color: #ffffff;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 40px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-brand img {
  display: block;
  width: 100%;
  max-width: 420px;     /* maksymalna szerokość na desktop */
  height: auto;
  max-height: 140px;    /* zabezpieczenie przed zbyt wysokim logo */
  object-fit: contain;  /* zawsze mieści się w proporcjach */
  margin: 0 auto;
}



/* COPYRIGHT */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 30px;
  padding-top: 16px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
}

/* MOBILE CALL BAR */
.mobile-call-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-call-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #d61c1c;
    z-index: 2000;
  }

  .mobile-call-bar a {
    display: block;
    text-align: center;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
  }

  body {
    padding-bottom: 64px;
  }

  /* UKRYCIE CAŁEGO FOOTERA NA TELEFONIE */
  .site-footer {
    display: none !important;
  }
}
.desktop-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #d11317;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.25);
}

.desktop-call-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 14px 20px;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
}

.desktop-call-inner a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.desktop-call-inner a:hover {
  opacity: 0.75;
}

@media (max-width: 768px) {
  .desktop-call-bar {
    display: none !important;
  }
}

@media (min-width: 769px) {
  body {
    padding-bottom: 54px;
  }
}
/* HARD KILL DESKTOP BAR ON TOUCH DEVICES */
@media (hover: none) and (pointer: coarse) {
  .desktop-call-bar {
    display: none !important;
  }
}
