*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black: #1a1a1a;
  --white: #fafaf8;
  --cream: #f4f1ec;
  --accent: #e85d04;
  --accent-dark: #c44d00;
  --accent-light: #fff3eb;
  --gray: #6b6b6b;
  --border: #e0ddd8;
  --card-bg: #ffffff;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 5%;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  color: var(--black);
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.logo-icon {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--gray);
  font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: white;
  padding: 0.55rem 1.3rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500; font-size: 0.9rem;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 5% 4rem;
  position: relative;
  overflow: hidden;
}
/* pełne tło — zdjęcie */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
/* ciemna nakładka na zdjęcie – lewa strona ciemniejsza, prawa jaśniejsza */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(15,12,8,0.82) 0%, rgba(15,12,8,0.55) 50%, rgba(15,12,8,0.35) 100%),
    linear-gradient(to top, rgba(15,12,8,0.5) 0%, transparent 40%);
}
/* kratka jako subtelna tekstura na nakładce */
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 680px;
  animation: fadeUp 0.8s ease both;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(232,93,4,0.2);
  border: 1px solid rgba(232,93,4,0.5);
  color: #ffb380;
  font-size: 0.8rem; font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-badge::before { content: '●'; font-size: 8px; }
h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: #ffffff;
  margin-bottom: 1.5rem;
}
h1 span { color: var(--accent); }
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 520px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: white;
  padding: 0.9rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500; font-size: 1rem;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232,93,4,0.4); }
.btn-secondary {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.25);
  text-decoration: none;
  font-weight: 500; font-size: 1rem;
  transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.45); }
.hero-stats {
  position: relative; z-index: 1;
  display: flex; gap: 2.5rem;
  margin-top: 4rem;
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2rem; font-weight: 800;
  color: #ffffff;
}
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 2px; }
/* panel po prawej — ukryty w tej wersji */
.hero-visual { display: none; }

/* SERVICES */
section { padding: 6rem 5%; }
.section-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 1rem;
}
h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.section-sub {
  font-size: 1rem; color: var(--gray);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 3rem;
  font-weight: 300;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.service-item {
  background: white;
  padding: 2.5rem 2rem;
  transition: background 0.2s;
  cursor: default;
}
.service-item:hover { background: #fffaf7; }
.service-item:hover .svc-icon { background: var(--accent); }
.service-item:hover .svc-icon span { filter: brightness(10); }
.svc-icon {
  width: 52px; height: 52px;
  background: var(--cream);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 1.25rem;
  transition: background 0.2s;
}
.service-item h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 0.6rem;
}
.service-item p { font-size: 0.9rem; color: var(--gray); line-height: 1.6; }

/* HOW WE WORK */
.how-section { background: var(--cream); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}
.step {
  position: relative;
  padding-top: 1rem;
}
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem; font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.step h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 0.5rem;
}
.step p { font-size: 0.875rem; color: var(--gray); line-height: 1.6; }

/* WHY US */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.why-visual {
  background: var(--cream);
  border-radius: 20px;
  padding: 3rem 2rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.why-bar { display: flex; flex-direction: column; gap: 6px; }
.why-bar-label {
  display: flex; justify-content: space-between;
  font-size: 0.85rem; font-weight: 500;
}
.why-bar-label span:last-child { color: var(--accent); font-weight: 600; }
.why-bar-track {
  height: 8px; background: var(--border);
  border-radius: 100px; overflow: hidden;
}
.why-bar-fill {
  height: 100%; background: var(--accent);
  border-radius: 100px;
  animation: growBar 1.2s ease both;
}
.why-points { display: flex; flex-direction: column; gap: 1.5rem; }
.why-point { display: flex; gap: 1rem; align-items: flex-start; }
.why-check {
  width: 28px; height: 28px; min-width: 28px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-weight: 700; font-size: 14px;
}
.why-point h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem; font-weight: 700;
  margin-bottom: 3px;
}
.why-point p { font-size: 0.85rem; color: var(--gray); line-height: 1.5; }

/* CTA / CONTACT */
.cta-section {
  background: var(--black);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-section h2 { color: white; position: relative; }
.cta-section .section-sub { color: rgba(255,255,255,0.55); position: relative; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }
.contact-cards {
  display: flex; gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
  position: relative;
}
.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  min-width: 200px;
  text-align: center;
  transition: background 0.2s;
}
.contact-card:hover { background: rgba(255,255,255,0.1); }
.contact-card .cc-icon { font-size: 28px; margin-bottom: 0.5rem; }
.contact-card .cc-label { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.contact-card .cc-value { font-weight: 500; font-size: 1rem; color: white; }

/* FOOTER */
footer {
  background: #111;
  color: rgba(255,255,255,0.35);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
}
footer span { color: rgba(255,255,255,0.6); }

/* ANIMS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes growBar {
  from { width: 0; }
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 65px; left: 0; right: 0;
  background: rgba(250,250,248,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 5%;
  z-index: 99;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none;
  color: var(--black);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--accent); }

/* TABLET/MOBILE (≤900px) */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
  .why-grid { grid-template-columns: 1fr; }
  h1 { letter-spacing: -1.5px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 2rem; }
}

/* MOBILE (≤600px) */
@media (max-width: 600px) {
  nav { padding: 1rem 4%; }
  .nav-cta { padding: 0.45rem 1rem; font-size: 0.82rem; }

  .hero {
    min-height: auto;
    padding: 5.5rem 4% 10rem;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-badge { font-size: 0.72rem; }
  h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
    letter-spacing: -1px;
  }
  .hero-desc { font-size: 0.95rem; max-width: 100%; }
  .hero-actions { justify-content: center; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

  .hero-stats {
    position: absolute;
    bottom: 2rem; left: 4%; right: 4%;
    justify-content: space-around;
    gap: 0;
  }
  .stat-num { font-size: 1.6rem; }

  section { padding: 3.5rem 4%; }

  .services-grid { grid-template-columns: 1fr; border-radius: 12px; }
  .service-item { padding: 1.75rem 1.25rem; }

  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .step-num { font-size: 2.5rem; }

  .why-visual { padding: 1.75rem 1.25rem; }

  .contact-cards { gap: 1rem; }
  .contact-card { min-width: calc(50% - 0.5rem); padding: 1.25rem 1rem; }
  .contact-card .cc-value { font-size: 0.85rem; }

  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions a { width: 100%; max-width: 320px; justify-content: center; }
}

/* SMALL MOBILE (≤380px) */
@media (max-width: 380px) {
  .contact-card { min-width: 100%; }
  h1 { font-size: 2rem; }
}
