/* ================================================
   EVO SYSTEMS — style.css
   Poppins | mobile-first | vanilla CSS
================================================ */

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:        #2D5A3D;
  --green-dark:   #1e3f2a;
  --green-light:  #3d7a54;
  --green-glow:   rgba(45, 90, 61, 0.35);
  --green-glow-s: rgba(45, 90, 61, 0.15);
  --bg:           #ffffff;
  --bg-light:     #F8F9FA;
  --dark:         #0D1F14;
  --dark-2:       #1a1a1a;
  --text:         #1a1a1a;
  --text-muted:   #5a6470;
  --border:       #e4e8ec;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:    0 12px 48px rgba(0,0,0,0.14);
  --nav-h:        72px;
  --transition:   0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Utility ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 100px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-title-light { color: #ffffff; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-inline: auto;
  font-weight: 300;
}

.section-subtitle-light {
  color: rgba(255,255,255,0.65);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  box-shadow: 0 6px 24px var(--green-glow);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

/* Pulsująca animacja CTA */
@keyframes pulse-glow {
  0%   { box-shadow: 0 0 0 0 var(--green-glow); transform: scale(1); }
  50%  { box-shadow: 0 0 0 10px rgba(45,90,61,0); transform: scale(1.03); }
  100% { box-shadow: 0 0 0 0 rgba(45,90,61,0); transform: scale(1); }
}

.btn-pulse {
  animation: pulse-glow 2.4s ease-in-out infinite;
}

.btn-pulse:hover {
  animation: none;
  box-shadow: 0 6px 24px var(--green-glow);
  transform: translateY(-1px);
}

/* ================================================
   NAWIGACJA
================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  box-shadow: 0 2px 24px rgba(0,0,0,0.09);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}

.logo-main {
  font-size: 22px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 0.04em;
}

.logo-sub {
  font-size: 11px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover { color: var(--green); background: var(--green-glow-s); }

.nav-cta {
  margin-left: 8px;
  padding: 10px 22px;
  font-size: 0.88rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 6px;
  transition: background var(--transition);
}

.hamburger:hover { background: var(--green-glow-s); }

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================
   HERO
================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a1a10 0%, #0D1F14 50%, #0f2416 100%);
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Wstaw własne zdjęcie tła hero tutaj — np.:
   background-image: url('images/hero-bg.jpg');
   background-size: cover;
   background-position: center;
   Przed tym dodaj overlay: background: rgba(13,31,20,0.82) over zdjęcie
*/

/* Hero animated gradient background */
.hero-gradient-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: opacity;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(45,90,61,0.45) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(30,63,42,0.35) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 60% 20%, rgba(109,201,138,0.12) 0%, transparent 50%);
  animation: hero-bg-shift 24s ease-in-out infinite alternate;
}

@keyframes hero-bg-shift {
  0%   { opacity: 1; }
  50%  { opacity: 0.75; }
  100% { opacity: 0.9; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-inline: 24px;
  padding-top: 8vh;
  max-width: 1300px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(45,90,61,0.3);
  border: 1px solid rgba(45,90,61,0.5);
  color: #8fd8a8;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}

.hero-title {
  font-size: clamp(68px, 7.8vw, 94px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: block;
  width: 100%;
  margin: 0 0 2rem;
  text-align: center;
}

/* Hero panels */
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel::after { animation: none; }
}

.hero-panel {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 22px 26px;
  text-align: left;
  transition: border-color 0.3s, background 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100px;
}

.hero-panel:hover {
  border-color: rgba(29,158,117,0.5);
  background: rgba(29,158,117,0.06);
}

@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.hero-panel::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.06) 50%, transparent 80%);
  transform: translateX(-100%);
  animation: shimmer 5s ease-in-out infinite;
  will-change: transform;
  pointer-events: none;
}

.hero-panel:last-child::after {
  animation-delay: 2.5s;
}

.hero-panel-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1D9E75;
  margin-bottom: 4px;
}

.hero-panel-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 680px;
  margin-inline: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  padding: 18px 32px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 28px;
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.stat-value sup {
  font-size: 0.75em;
  vertical-align: super;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
  font-weight: 400;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-hint span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-hint span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%   { top: 6px; opacity: 1; }
  80%  { top: 18px; opacity: 0; }
  100% { top: 6px; opacity: 0; }
}

/* ================================================
   PRODUKTY — dwukolumnowy układ
================================================ */
:root {
  --blue:       #3D5A6B;
  --blue-dark:  #2a3f4d;
  --blue-glow:  rgba(61, 90, 107, 0.28);
  --blue-glow-s:rgba(61, 90, 107, 0.1);
}

.products-section {
  background: var(--bg-light);
  content-visibility: auto;
  contain-intrinsic-size: 0 1200px;
}

/* Nagłówki obu kolumn */
.prod-headers-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 20px;
}

/* Siatka kart — naprzemiennie lewa/prawa */
.prod-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 20px;
}

.prod-row {
  width: 100%;
  box-sizing: border-box;
}

.prod-row--empty {
  visibility: hidden;
}

.prod-cards-grid .prod-card {
  align-self: stretch;
}

/* Staggered delays dla nowej siatki */
.prod-row:nth-child(1) .prod-card { transition-delay: 0.05s; }
.prod-row:nth-child(2) .prod-card { transition-delay: 0.08s; }
.prod-row:nth-child(3) .prod-card { transition-delay: 0.13s; }
.prod-row:nth-child(4) .prod-card { transition-delay: 0.16s; }
.prod-row:nth-child(5) .prod-card { transition-delay: 0.21s; }
.prod-row:nth-child(6) .prod-card { transition-delay: 0.24s; }
.prod-row:nth-child(7) .prod-card { transition-delay: 0.29s; }

/* CTA rząd */
.prod-ctas-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* --- Nagłówek kolumny --- */
.prod-col-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border);
}

.prod-col--public  .prod-col-header { border-color: rgba(45,90,61,0.25); }
.prod-col--private .prod-col-header { border-color: rgba(61,90,107,0.25); }
.prod-col-header--public  { border-color: rgba(45,90,61,0.25) !important; }
.prod-col-header--private { border-color: rgba(61,90,107,0.25) !important; }

.prod-col-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  color: var(--green);
  margin-top: 4px;
}
.prod-col-icon--private { color: var(--blue); }
.prod-col-icon svg { width: 100%; height: 100%; }

.prod-col-title {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
  margin-bottom: 8px;
}

.prod-col-title--private { color: var(--blue); }

.prod-col-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* --- Lista kart --- */
.prod-cards-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

/* --- Karta produktu (pozioma) --- */
.prod-card {
  display: flex;
  flex-direction: row;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
  min-height: 160px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.prod-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease,
              box-shadow var(--transition), border-color var(--transition);
}

.prod-card--public:hover {
  box-shadow: 0 6px 32px var(--green-glow);
  border-color: rgba(45,90,61,0.3);
  transform: translateY(-2px);
}

.prod-card--private:hover {
  box-shadow: 0 6px 32px var(--blue-glow);
  border-color: rgba(61,90,107,0.3);
  transform: translateY(-2px);
}

/* --- Zdjęcie w karcie --- */
.prod-card-img {
  width: 35%;
  min-width: 35%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0D1F14 0%, #1e3f2a 100%);
  flex-shrink: 0;
}

.prod-card--private .prod-card-img {
  background: linear-gradient(160deg, #0d1a22 0%, #1e3349 100%);
}

.prod-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.prod-card:hover .prod-card-img img { transform: scale(1.05); }

.prod-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 10px;
}

.prod-card-placeholder code {
  font-family: monospace;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.28);
  line-height: 1.4;
  word-break: break-all;
}

/* --- Treść karty --- */
.prod-card-body {
  flex: 1;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.prod-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.prod-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --- Tabela parametrów --- */
.prod-params {
  width: 100%;
  border-collapse: collapse;
  margin-top: 4px;
}

.prod-params tr { border-bottom: 1px dotted #dde3e8; }
.prod-params tr:last-child { border-bottom: none; }

.param-name {
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 3px 8px 3px 0;
  white-space: nowrap;
  vertical-align: middle;
}

.param-val {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text);
  padding: 3px 0;
  text-align: right;
  vertical-align: middle;
}

/* --- Badge'e --- */
.prod-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.prod-badges span {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.prod-badges--public span {
  background: rgba(45,90,61,0.08);
  color: var(--green-dark);
  border: 1px solid rgba(45,90,61,0.18);
}

.prod-badges--private span {
  background: rgba(61,90,107,0.08);
  color: var(--blue-dark);
  border: 1px solid rgba(61,90,107,0.18);
}

/* --- CTA pod kolumną --- */
.prod-col-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  flex-wrap: wrap;
}

.prod-col-cta-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 400;
  flex: 1;
  min-width: 160px;
}

.btn-outline-private {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  padding: 10px 22px;
  font-size: 0.88rem;
  white-space: nowrap;
}

.btn-outline-private:hover {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 16px var(--blue-glow);
  transform: translateY(-1px);
}

/* ================================================
   DLACZEGO MY
================================================ */
.why-section {
  background: var(--dark-2);
  content-visibility: auto;
  contain-intrinsic-size: 0 800px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  opacity: 0;
  transform: translateY(24px);
}

.why-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, background var(--transition), border-color var(--transition);
}

.why-card:hover {
  background: rgba(45,90,61,0.12);
  border-color: rgba(45,90,61,0.3);
  transform: translateY(-3px);
}

.why-icon {
  width: 48px;
  height: 48px;
  color: #6dc98a;
  flex-shrink: 0;
}

.why-icon svg { width: 100%; height: 100%; }

.why-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.why-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* Licznik */
.counter-block {
  display: flex;
  justify-content: center;
}

.counter-wrap {
  background: rgba(45,90,61,0.15);
  border: 1px solid rgba(45,90,61,0.35);
  border-radius: var(--radius-lg);
  padding: 32px 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.counter-num {
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 700;
  color: #6dc98a;
  line-height: 1;
  display: block;
}

.counter-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
}

/* ================================================
   KONTAKT
================================================ */
.contact-section {
  background: var(--bg);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-grow {
  flex: 1;
}

.form-full { display: flex; flex-direction: column; gap: 20px; }

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.required { color: var(--green); }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

input::placeholder, textarea::placeholder { color: #aab0b8; }

input:focus, textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow-s);
}

input.error, textarea.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220,53,69,0.1);
}

textarea { resize: vertical; min-height: 140px; }

.field-error {
  font-size: 0.78rem;
  color: #dc3545;
  font-weight: 400;
  min-height: 18px;
  display: block;
}

/* File upload */
.file-upload-wrap { position: relative; }
.file-upload-wrap input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-upload-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: border-color var(--transition), background var(--transition);
  background: var(--bg-light);
}

.file-upload-label:hover,
.file-upload-wrap:focus-within .file-upload-label {
  border-color: var(--green);
  background: rgba(45,90,61,0.04);
  color: var(--green);
}

.file-upload-label svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Checkbox */
.checkbox-group { flex-direction: row; align-items: flex-start; flex-wrap: wrap; gap: 4px; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.83rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition);
  margin-top: 1px;
}

.checkbox-label input:checked ~ .checkmark {
  background: var(--green);
  border-color: var(--green);
}

.checkbox-label input:checked ~ .checkmark::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}

.checkbox-text { flex: 1; }

.btn-submit {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 16px;
  border-radius: var(--radius);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  animation: none;
}

/* Form status */
.form-status {
  padding: 0;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.form-status.success {
  max-height: 80px;
  padding: 16px;
  background: rgba(45,90,61,0.1);
  color: var(--green-dark);
  border: 1px solid rgba(45,90,61,0.3);
}

.form-status.error {
  max-height: 80px;
  padding: 16px;
  background: rgba(220,53,69,0.08);
  color: #b02a37;
  border: 1px solid rgba(220,53,69,0.25);
}

/* Contact info sidebar */
.contact-info-card {
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.contact-info-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.contact-person {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

.contact-person small {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-muted);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--green);
}

.contact-list a { transition: color var(--transition); }
.contact-list a:hover { color: var(--green); }

.contact-response-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 14px 16px;
  background: rgba(45,90,61,0.07);
  border-radius: var(--radius);
  border: 1px solid rgba(45,90,61,0.15);
}

.contact-response-info svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
}

.contact-response-info strong { color: var(--green-dark); }

/* ================================================
   FOOTER
================================================ */
.footer {
  background: var(--dark-2);
  padding-top: 64px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer-logo .logo-main { color: #6dc98a; }
.footer-logo .logo-sub  { color: rgba(255,255,255,0.4); }

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  font-weight: 300;
}

.footer-brand-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 0.75rem;
  line-height: 1.6;
}

.footer-usp {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-usp li {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.footer-brand-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.footer-btn-primary {
  background: #1D9E75;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}

.footer-btn-primary:hover { background: #179168; }

.footer-btn-ghost {
  background: transparent;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s;
}

.footer-btn-ghost:hover { border-color: rgba(255,255,255,0.45); }

.footer-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.7;
  max-width: 300px;
}

.footer-contact h4,
.footer-nav h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.footer-contact-list li svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: #6dc98a;
}

.footer-contact-list a { transition: color var(--transition); }
.footer-contact-list a:hover { color: #6dc98a; }

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
  font-weight: 400;
}

.footer-nav a:hover { color: #6dc98a; }

.footer-cta {
  color: #6dc98a !important;
  font-weight: 600 !important;
}

.footer-bottom {
  padding-block: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

/* ================================================
   REVEAL ANIMATIONS
================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-dark {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-dark.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay dla kart produktów */
.prod-cards-list .prod-card:nth-child(1) { transition-delay: 0.05s; }
.prod-cards-list .prod-card:nth-child(2) { transition-delay: 0.13s; }
.prod-cards-list .prod-card:nth-child(3) { transition-delay: 0.21s; }

.why-grid .why-card:nth-child(1) { transition-delay: 0.05s; }
.why-grid .why-card:nth-child(2) { transition-delay: 0.13s; }
.why-grid .why-card:nth-child(3) { transition-delay: 0.21s; }
.why-grid .why-card:nth-child(4) { transition-delay: 0.29s; }

/* ================================================
   RESPONSIVE — TABLET (max 1024px)
================================================ */
@media (max-width: 1024px) {
  .prod-headers-row { grid-template-columns: 1fr; }
  .prod-ctas-row    { grid-template-columns: 1fr; }

  .prod-card-img { width: 30%; min-width: 30%; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info-wrap { order: -1; }

  .contact-info-card {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }

  .contact-info-card h3 { grid-column: 1 / -1; margin-bottom: 0; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ================================================
   RESPONSIVE — MOBILE (max 768px)
================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .section { padding-block: 72px; }

  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px 24px 32px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    padding: 14px 0;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 16px;
    text-align: center;
    justify-content: center;
    padding: 14px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }

  .hero-stat-divider {
    width: 40px;
    height: 1px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* produkty mobile */
  .prod-headers-row { grid-template-columns: 1fr; gap: 0; }
  .prod-cards-grid  { grid-template-columns: 1fr; }
  .prod-ctas-row    { grid-template-columns: 1fr; gap: 16px; }
  .prod-card { flex-direction: column; min-height: auto; }
  .prod-card-img { width: 100%; min-width: 100%; height: 180px; }
  .prod-col-cta { flex-direction: column; align-items: flex-start; }
  .prod-col-header { flex-direction: row; }

  /* hero home hint mobile */
  .hero-home-hint { font-size: 0.92rem; }

  .why-grid { grid-template-columns: 1fr; }

  .form-grid { grid-template-columns: 1fr; }

  .contact-info-card { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: auto; }

  .counter-wrap { padding: 24px 32px; }

  .hero-scroll-hint { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .btn { padding: 12px 22px; font-size: 0.9rem; }
  .hero-badge { font-size: 0.7rem; }
}

/* ================================================
   NAWIGACJA — białe linki na hero (Poprawka 1)
================================================ */
.nav-hero .nav-link {
  color: rgba(255,255,255,0.85);
  transition: color 0.3s ease;
}

.nav-hero .nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.nav-hero .logo-main {
  color: #fff;
  transition: color 0.3s ease;
}

.nav-hero .logo-sub {
  color: rgba(255,255,255,0.55);
  transition: color 0.3s ease;
}

/* ================================================
   HERO — EVO span (Poprawka 2)
================================================ */
.hero-evo {
  color: #1D9E75;
  font-weight: 800;
}

/* ================================================
   HERO — home hint block (Poprawka 3)
================================================ */
/* hero-subtitle traci swój margines — hint przejmuje odstęp */
.hero-content .hero-subtitle {
  margin-bottom: 0;
}

.hero-home-hint {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  margin-top: 20px;
  padding-top: 20px;
  margin-bottom: 24px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  padding: 14px 18px;
  border-top: none;
}

.hero-home-hint svg {
  flex-shrink: 0;
  opacity: 0.7;
  margin-top: 3px;
}

/* ================================================
   HERO — subtitle secondary (pozostawione dla kompatybilności)
================================================ */
.hero-subtitle-secondary {
  display: block;
  font-size: 0.88em;
  color: rgba(255,255,255,0.48);
  margin-top: 10px;
}

/* ================================================
   WHY GRID — 3 kolumny
================================================ */
.why-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.why-grid--3col .why-card:nth-child(5) { transition-delay: 0.37s; }
.why-grid--3col .why-card:nth-child(6) { transition-delay: 0.45s; }

@media (max-width: 1024px) {
  .why-grid--3col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .why-grid--3col { grid-template-columns: 1fr; }
}

/* ================================================
   COMPLETE SECTION
================================================ */
.complete-section {
  background: var(--bg-light);
}

.complete-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.complete-block {
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.complete-block--dark {
  background: var(--dark-2);
  color: #fff;
}

.complete-block--light {
  background: #fff;
  border: 1.5px solid var(--border);
}

.complete-icon {
  width: 48px;
  height: 48px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.complete-icon--green { color: var(--green); }
.complete-icon svg { width: 100%; height: 100%; }

.complete-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.complete-title--green { color: var(--green-dark); }

.complete-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.complete-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

.complete-list--green li { color: var(--text-muted); }

.check-icon {
  color: #6dc98a;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.5;
}

.check-icon--green { color: var(--green); }

.complete-note {
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}

.complete-note--green { color: var(--text-muted); }

.complete-panel-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 1rem;
  line-height: 1.6;
}

.complete-panel-desc--light {
  color: #666;
}

@media (max-width: 768px) {
  .complete-grid { grid-template-columns: 1fr; }
}

/* ================================================
   PROD CARD — inquiry note
================================================ */
.prod-card-inquiry {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ================================================
   STATS SECTION
================================================ */
/* ================================================
   NASZE REALIZACJE
================================================ */
.realizacje-section {
  background: var(--dark-2);
  padding: 5rem 2rem;
  content-visibility: auto;
  contain-intrinsic-size: 0 700px;
}

.realizacje-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.realizacje-header {
  text-align: center;
  margin-bottom: 3rem;
}

.realizacje-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1D9E75;
  margin-bottom: 0.75rem;
}

.realizacje-h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.realizacje-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
}

.realizacje-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 2rem;
  align-items: center;
}

.realizacje-counters {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rc-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  text-align: left;
}

.rc-num {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: #1D9E75;
  line-height: 1.1;
  margin-bottom: 4px;
}

.rc-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin: 0;
}

.realizacje-map-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#polska-map {
  border-radius: 12px;
  background: rgba(29,158,117,0.03);
}

.realizacje-map-caption {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-align: center;
  margin: 0;
}


@media (max-width: 768px) {
  .realizacje-grid {
    grid-template-columns: 1fr;
  }
  .realizacje-map-wrap { order: -1; }
  #polska-map { height: 320px; }
}

/* ================================================
   FAQ SECTION
================================================ */
.faq-section {
  background: var(--bg);
}

.faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.faq-question:hover { background: var(--bg-light); color: var(--green); }

.faq-question[aria-expanded="true"] {
  color: var(--green);
  background: var(--bg-light);
}

.faq-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  position: relative;
  flex-shrink: 0;
  transition: border-color var(--transition), background var(--transition);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform var(--transition), background var(--transition);
}

.faq-icon::before {
  width: 10px; height: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px; height: 10px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.faq-question[aria-expanded="true"] .faq-icon {
  border-color: var(--green);
  background: rgba(45,90,61,0.1);
}

.faq-question[aria-expanded="true"] .faq-icon::before,
.faq-question[aria-expanded="true"] .faq-icon::after {
  background: var(--green);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 28px 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ================================================
   FORM TOGGLE
================================================ */
.form-toggle-wrap {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 6px;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.form-toggle-btn {
  flex: 1;
  padding: 10px 20px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.form-toggle-btn--active {
  background: var(--green);
  color: #fff;
  box-shadow: 0 2px 12px var(--green-glow);
}

/* Contact person blocks in sidebar */
.contact-person-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.contact-person-block:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
