/* ===== Klimek Sales & Rentals — Znaki drogowe / organizacja ruchu ===== */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #0c0c0d;
  --bg-alt: #141415;
  --surface: #1b1b1d;
  --surface-alt: #232326;
  --border: #2c2c2f;
  --text: #f2f2f2;
  --text-muted: #a8a8ad;
  --yellow: #f2ba13;
  --yellow-dark: #d19f0e;
  --yellow-light: #ffd23f;
  --radius: 10px;
  --max-width: 1180px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Rajdhani', 'Inter', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--text-muted); }

a { color: var(--yellow); text-decoration: none; }
a:hover { color: var(--yellow-light); }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  color: var(--yellow);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--yellow);
  color: #111;
}
.btn-primary:hover { background: var(--yellow-light); color: #111; }

.btn-outline {
  background: transparent;
  border-color: var(--yellow);
  color: var(--yellow);
}
.btn-outline:hover { background: var(--yellow); color: #111; }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 13, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 26px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 18px;
}

.logo img { height: 40px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 15px;
}

.main-nav a {
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions .btn-primary {
  padding: 11px 18px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.header-phone {
  display: flex;
  flex-direction: column;
  font-family: 'Rajdhani', sans-serif;
  line-height: 1.2;
}
.header-phone span {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.header-phone a {
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
}
.header-phone a:hover { color: var(--yellow); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 44px;
  height: 40px;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ---------- Nav dropdowns ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--text);
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-dropdown-toggle:hover,
.nav-dropdown.active > .nav-dropdown-toggle,
.nav-dropdown.open > .nav-dropdown-toggle {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}
.nav-dropdown .caret {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.2s ease;
}
.nav-dropdown.open .caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  margin-top: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 11px 14px;
  border-radius: 6px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.92rem;
  border: none;
}
.nav-dropdown-menu a:hover {
  background: var(--surface-alt);
  color: var(--yellow);
}

/* Compact offer overview (strona główna) */
.offer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.offer-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.offer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.offer-col h3 .icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(242, 186, 19, 0.12);
  color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.offer-col > p { font-size: 0.9rem; margin-bottom: 14px; }
.offer-col ul { list-style: none; margin: 0; padding: 0; }
.offer-col li { margin-bottom: 2px; }
.offer-col li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--text);
  font-size: 0.92rem;
  border: 1px solid transparent;
}
.offer-col li a::after {
  content: "→";
  color: var(--yellow);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.offer-col li a:hover {
  background: var(--bg-alt);
  border-color: var(--border);
  color: var(--yellow);
}
.offer-col li a:hover::after { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 70px;
  background:
    radial-gradient(circle at 85% 20%, rgba(242, 186, 19, 0.12), transparent 45%),
    linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

/* Hero ze zdjęciem w tle (podmień plik hero-roadworks.jpg na własne zdjęcie) */
.hero-photo {
  background:
    linear-gradient(180deg, rgba(11,11,12,0.90) 0%, rgba(11,11,12,0.82) 55%, rgba(11,11,12,0.92) 100%),
    url("../images/hero-roadworks.jpg") center/cover no-repeat;
}

/* Pełnoszerokościowy pasek graficzny */
.image-band {
  position: relative;
  padding: 0;
  min-height: 360px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(11,11,12,0.92) 0%, rgba(11,11,12,0.72) 55%, rgba(11,11,12,0.45) 100%),
    url("../images/construction-road.jpg") center/cover no-repeat;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.image-band .band-content { max-width: 620px; }
.image-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; }
.image-band p { font-size: 1.05rem; margin-bottom: 22px; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--yellow); }

.hero p.lead {
  font-size: 1.1rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-badge-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-badge .icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: rgba(242, 186, 19, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
}
.hero-badge strong {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--text);
}
.hero-badge span { font-size: 0.88rem; color: var(--text-muted); }

/* ---------- Sections ---------- */
section { padding: 70px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Offer group header (strona główna) ---------- */
.group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--border);
}
.group-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; }
.group-head p { margin: 4px 0 0; max-width: 560px; }
.group-head .count {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* ---------- Offer cards ---------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.offer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.offer-card:hover {
  transform: translateY(-4px);
  border-color: var(--yellow);
}
.offer-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: rgba(242, 186, 19, 0.12);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.offer-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.offer-card p { flex-grow: 1; font-size: 0.95rem; }
.offer-card .card-link {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-top: 12px;
}

/* ---------- Offer detail blocks (oferta.html) ---------- */
.offer-detail {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 26px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 100px;
}
.offer-detail:last-child { border-bottom: none; }
.offer-detail .icon {
  width: 74px;
  height: 74px;
  border-radius: 12px;
  background: rgba(242, 186, 19, 0.12);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.offer-detail h2 { font-size: 1.5rem; margin-bottom: 12px; }
.offer-detail ul { margin: 14px 0; padding-left: 20px; color: var(--text-muted); }
.offer-detail li { margin-bottom: 6px; }
.offer-detail .card-link { margin-top: 10px; display: inline-block; }

/* ---------- USP tiles ---------- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.usp-tile {
  text-align: center;
  padding: 30px 20px;
}
.usp-tile .num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 6px;
}
.usp-tile h4 { font-size: 1.05rem; margin-bottom: 8px; }
.usp-tile p { font-size: 0.9rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--surface-alt), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 46px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h3 { font-size: 1.5rem; margin-bottom: 8px; }
.cta-banner p { margin: 0; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .full { grid-column: 1 / -1; }

.field { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--text);
}
.field label .req { color: var(--yellow); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field select,
.field textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--yellow);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
}
.checkbox-item input { accent-color: var(--yellow); width: 18px; height: 18px; }
.checkbox-item label { text-transform: none; font-size: 0.92rem; font-weight: 500; color: var(--text); }

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 24px 0;
}
.consent-row input { margin-top: 4px; accent-color: var(--yellow); }

.honeypot { position: absolute; left: -9999px; opacity: 0; }

.order-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242, 186, 19, 0.12);
  border: 1px solid var(--yellow);
  color: var(--yellow-light);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 6px;
  margin-bottom: 24px;
}
.order-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ---------- Contact / info blocks ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-bottom: 50px;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
}
.info-card .icon {
  width: 48px; height: 48px; margin: 0 auto 14px;
  border-radius: 10px;
  background: rgba(242,186,19,0.12);
  color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
}
.info-card h4 { font-size: 1rem; margin-bottom: 8px; }
.info-card a, .info-card p { font-size: 0.95rem; margin: 0; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---------- Gallery / realizacje ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.gallery-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-card .thumb {
  height: 170px;
  background: linear-gradient(135deg, var(--surface-alt), var(--bg-alt));
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow);
  border-bottom: 1px solid var(--border);
}
.gallery-card .thumb svg { width: 48px; height: 48px; opacity: 0.7; }
.gallery-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-card .body { padding: 18px 20px; }
.gallery-card h4 { font-size: 1rem; margin-bottom: 6px; }
.gallery-card p { font-size: 0.88rem; margin: 0; }

.gallery-note {
  margin-top: 34px;
  text-align: center;
  padding: 26px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
}

/* ---------- Timeline (o firmie) ---------- */
.timeline {
  display: grid;
  gap: 18px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.timeline-item .year {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  color: var(--yellow);
  font-size: 1.3rem;
}
.timeline-item h4 { margin-bottom: 6px; font-size: 1.05rem; }
.timeline-item p { margin: 0; font-size: 0.92rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h5 {
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--text-muted); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--yellow); }
.footer-logo img { height: 40px; margin-bottom: 16px; }
.footer-grid p { font-size: 0.9rem; }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
}
.footer-social a:hover { border-color: var(--yellow); color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- Thank you page ---------- */
.thanks-box {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 60px 20px;
}
.thanks-box .icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(242,186,19,0.12);
  color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .offer-detail { grid-template-columns: 60px 1fr; }
  .offer-columns { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  /* backdrop-filter tworzy containing block dla fixed — wyłączamy, by menu było pozycjonowane względem okna */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .header-phone { display: none; }
  .header-actions .btn-primary { display: none; }
  .header-inner { padding: 12px 20px; }
  .logo img { height: 36px; }

  /* Dropdowny w menu mobilnym — rozwijane w pionie */
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    margin: 0;
    padding: 4px 0 10px 14px;
    min-width: 0;
    display: none;
  }
  .nav-dropdown:hover .nav-dropdown-menu { display: none; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { padding: 10px 8px; }

  .offer-columns { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .image-band { min-height: 300px; text-align: left; }
  .image-band {
    background:
      linear-gradient(180deg, rgba(11,11,12,0.86) 0%, rgba(11,11,12,0.78) 100%),
      url("../images/construction-road.jpg") center/cover no-repeat;
  }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 840px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--yellow);
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary { color: var(--yellow); }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .faq-a {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 0.97rem;
}
.faq-item .faq-a p { margin: 0 0 10px; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }

/* ---------- Strona prawna (polityka prywatności) ---------- */
.legal-content { max-width: 880px; }
.legal-content h2 {
  font-size: 1.3rem;
  margin: 34px 0 12px;
  color: var(--text);
}
.legal-content p { color: var(--text-muted); }
.legal-content ul { color: var(--text-muted); padding-left: 22px; margin: 0 0 18px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { word-break: break-word; }

/* ---------- Animacje pojawiania się przy przewijaniu (strona główna) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .has-js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.7, 0.2, 1);
    will-change: opacity, transform;
  }
  .has-js .reveal.in { opacity: 1; transform: none; }
  /* delikatny stagger w siatkach */
  .has-js .offer-columns .offer-col.reveal:nth-child(2) { transition-delay: 0.10s; }
  .has-js .offer-columns .offer-col.reveal:nth-child(3) { transition-delay: 0.20s; }
  .has-js .usp-grid .usp-tile.reveal:nth-child(2) { transition-delay: 0.08s; }
  .has-js .usp-grid .usp-tile.reveal:nth-child(3) { transition-delay: 0.16s; }
  .has-js .usp-grid .usp-tile.reveal:nth-child(4) { transition-delay: 0.24s; }
}

/* ---------- Baner cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(140%);
  transition: transform 0.4s cubic-bezier(0.22, 0.7, 0.2, 1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p {
  margin: 0;
  flex: 1 1 320px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.cookie-banner p strong {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 4px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner .btn { padding: 11px 20px; font-size: 0.85rem; }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-banner .cookie-actions { justify-content: stretch; }
  .cookie-banner .cookie-actions .btn { flex: 1; }
}

/* ---------- Tabele w treści prawnej / artykułach ---------- */
.table-wrap { overflow-x: auto; margin: 18px 0; }
.legal-content table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.legal-content th, .legal-content td { border: 1px solid var(--border); padding: 10px 13px; text-align: left; vertical-align: top; }
.legal-content th {
  background: var(--surface-alt);
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
}
.legal-content hr { border: none; border-top: 1px solid var(--border); margin: 30px 0; }
.legal-content h3 { font-size: 1.1rem; margin: 24px 0 10px; color: var(--text); }

/* ---------- Blog (lista wpisów) ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--yellow); }
.blog-card .tag {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--yellow);
  margin-bottom: 10px;
}
.blog-card h3 { font-size: 1.15rem; margin-bottom: 10px; line-height: 1.3; }
.blog-card p { font-size: 0.92rem; flex-grow: 1; margin-bottom: 0; }
.blog-card .card-link {
  margin-top: 14px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  color: var(--yellow);
}

/* ---------- Zdjęcia produktów na podstronach ---------- */
.prod-figure {
  margin: 0 0 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
}
.prod-figure img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  display: block;
}
.prod-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.prod-gallery .prod-figure { margin: 0; }
.prod-gallery .prod-figure img { height: 120px; max-height: none; object-fit: cover; }

/* ---------- Duże logo w hero (eksperyment - zamiast zdjęcia w tle) ---------- */
/* Baner z barierką jako pełne tło */
/* Baner - karuzela zdjec (crossfade) za tekstem */
.hero-carousel { position: relative; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 20s infinite;
  will-change: opacity;
}
.hero-slide:nth-child(1) { animation-delay: 0s;  background-position: center 42%; }
.hero-slide:nth-child(2) { animation-delay: 4s;  background-position: center 55%; }
.hero-slide:nth-child(3) { animation-delay: 8s;  background-position: center 38%; }
.hero-slide:nth-child(4) { animation-delay: 12s; background-position: center 45%; }
.hero-slide:nth-child(5) { animation-delay: 16s; background-position: center 52%; }
@keyframes heroFade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  20%  { opacity: 1; }
  25%  { opacity: 0; }
  100% { opacity: 0; }
}
.hero-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(11,11,12,0.90) 0%, rgba(11,11,12,0.66) 32%, rgba(11,11,12,0.32) 62%, rgba(11,11,12,0.12) 100%);
  pointer-events: none;
}
.hero-carousel .hero-inner { position: relative; z-index: 2; grid-template-columns: 1fr; }
.hero-carousel .hero-copy { max-width: 640px; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 0; }
  .hero-slide:nth-child(1) { opacity: 1; }
}
@media (max-width: 900px) {
  .hero-carousel::before {
    background: linear-gradient(180deg, rgba(11,11,12,0.62) 0%, rgba(11,11,12,0.72) 55%, rgba(11,11,12,0.80) 100%);
  }
}

/* ---------- Galeria realizacji + lightbox ---------- */
.realizacje-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.realizacja-item {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  cursor: zoom-in;
  position: relative;
}
.realizacja-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.realizacja-item:hover img { transform: scale(1.06); }
.realizacja-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.realizacja-item:hover::after { opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(6, 6, 7, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.lightbox .lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.lightbox .lb-prev { left: 18px; }
.lightbox .lb-next { right: 18px; }
.lightbox .lb-close { top: 18px; right: 18px; transform: none; }
.lightbox .lb-btn:hover { background: var(--yellow); color: #111; border-color: var(--yellow); }
.lightbox .lb-counter {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--text-muted);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.05em;
}
@media (max-width: 560px) {
  .lightbox .lb-prev { left: 6px; }
  .lightbox .lb-next { right: 6px; }
  .lightbox .lb-btn { width: 44px; height: 44px; font-size: 1.4rem; }
}

/* ---------- Pasek zaufania pod logo w hero ---------- */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero-trust span { display: inline-flex; align-items: center; }
.hero-trust span:not(:first-child)::before {
  content: "\2022";
  color: var(--yellow);
  margin: 0 14px;
  font-size: 1.1em;
  line-height: 1;
}

/* Podpis na kafelku galerii realizacji */
.realizacja-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 12px 10px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  z-index: 1;
  pointer-events: none;
}
.lightbox .lb-caption {
  position: absolute;
  bottom: 44px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
  padding: 0 60px;
}
