:root{
  --bg:#f8fafc;
  --panel:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --line:#e2e8f0;
  --blue:#2563eb;
  --blue2:#60a5fa;
  --solar:#f59e0b;
  --solar2:#fbbf24;
  --shadow:0 20px 60px rgba(15,23,42,.10);
}

*{box-sizing:border-box}

html,body{
  margin:0;
  padding:0;
  font-family:Inter,Arial,Helvetica,sans-serif;
  background:var(--bg);
  color:var(--text);
  scroll-behavior:smooth;
}

a{
  text-decoration:none;
  color:inherit;
}

.container{
  width:min(1160px, calc(100% - 32px));
  margin:0 auto;
}

.topbar{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(15,23,42,.06);
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:16px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  font-size:20px;
}

.brand-mark{
  width:38px;
  height:38px;
  border-radius:12px;
  background:linear-gradient(135deg,var(--solar),var(--blue));
  box-shadow:0 10px 30px rgba(37,99,235,.18);
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
  color:#334155;
  font-size:15px;
}

.nav-cta{
  padding:12px 18px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--blue),#1d4ed8);
  color:#fff;
  font-weight:700;
}

/* HERO */
.hero{
  position:relative;
  padding:88px 0 72px;
  background:
    linear-gradient(90deg, rgba(15,23,42,.78) 0%, rgba(15,23,42,.58) 38%, rgba(15,23,42,.18) 68%, rgba(15,23,42,.10) 100%),
    linear-gradient(180deg, rgba(15,23,42,.18) 0%, rgba(15,23,42,.28) 100%),
    url("../../../img/hero_pv.jpeg");
  background-size:cover;
  background-position:center;
  color:#fff;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:34px;
  align-items:center;
}

.eyebrow{
  display:inline-flex;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
  font-weight:700;
  font-size:14px;
  margin-bottom:20px;
  backdrop-filter:blur(8px);
}

.hero h1{
  margin:0 0 16px;
  font-size:clamp(40px, 6vw, 72px);
  line-height:.96;
  letter-spacing:-0.05em;
  max-width:10ch;
  color:#fff;
  text-shadow:0 10px 30px rgba(0,0,0,.25);
}

.lead{
  margin:0;
  font-size:19px;
  line-height:1.75;
  color:rgba(255,255,255,.88);
  max-width:680px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:0 22px;
  border-radius:16px;
  font-weight:800;
  font-size:16px;
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-primary{
  background:linear-gradient(135deg,var(--blue),#1d4ed8);
  color:#fff;
  box-shadow:0 16px 40px rgba(37,99,235,.20);
}

.btn-primary:hover{
  box-shadow:0 20px 44px rgba(37,99,235,.28);
}

.btn-secondary{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  backdrop-filter:blur(8px);
}

.hero-points{
  display:grid;
  gap:10px;
  margin-top:22px;
  color:rgba(255,255,255,.92);
  font-weight:600;
}

.hero-card{
  position:relative;
}

/* HERO STATS CARD */
.stats-card{
  padding:28px;
  border-radius:28px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 20px 60px rgba(0,0,0,.24);
  backdrop-filter:blur(12px);
  color:#fff;
}

.stats-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:20px;
}

.stats-label{
  color:rgba(255,255,255,.78);
  font-size:14px;
  margin-bottom:6px;
}

.stats-value{
  font-size:48px;
  font-weight:800;
  letter-spacing:-0.05em;
}

.badge{
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:12px;
  font-weight:800;
}

.bars{
  display:grid;
  gap:10px;
  margin-bottom:20px;
}

.bars span{
  display:block;
  height:12px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--solar),var(--blue2));
}

.stats-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.mini-card{
  padding:18px;
  border-radius:18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
}

.mini-card strong{
  display:block;
  font-size:28px;
  margin-bottom:6px;
}

.mini-card small{
  color:rgba(255,255,255,.78);
  line-height:1.5;
}

/* SEKCJE */
.section{
  padding:78px 0;
}

.section-alt{
  background:linear-gradient(180deg,#f8fafc,#eef4fb);
}

.section-head{
  max-width:820px;
  margin:0 auto 34px;
  text-align:center;
}

.section-head.left{
  text-align:left;
  margin:0 0 26px;
}

.section-head h2{
  margin:0 0 12px;
  font-size:clamp(34px,5vw,54px);
  line-height:1.05;
  letter-spacing:-0.04em;
}

.section-head p{
  margin:0;
  color:var(--muted);
  font-size:18px;
  line-height:1.75;
}

/* KARTY OFERTY */
.cards-3{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.card{
  padding:28px;
  border-radius:24px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.card-tag{
  display:inline-block;
  margin-bottom:16px;
  padding:8px 12px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:12px;
  font-weight:800;
}

.card h3{
  margin:0 0 12px;
  font-size:28px;
  letter-spacing:-0.04em;
}

.card p{
  margin:0;
  color:var(--muted);
  line-height:1.75;
  font-size:17px;
}

/* 2 KOLUMNY */
.two-col{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:24px;
  align-items:start;
}

.check-list{
  display:grid;
  gap:12px;
  color:#334155;
  font-weight:600;
}

.highlight-box{
  padding:30px;
  border-radius:28px;
  background:linear-gradient(135deg,#0f172a,#1e293b);
  color:#fff;
  box-shadow:var(--shadow);
}

.highlight-label{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  margin-bottom:16px;
  font-size:12px;
  font-weight:800;
}

.highlight-box h3{
  margin:0 0 14px;
  font-size:34px;
  line-height:1.08;
  letter-spacing:-0.04em;
}

.highlight-box p{
  margin:0;
  color:#cbd5e1;
  line-height:1.8;
  font-size:17px;
}

/* REALIZACJE */
.projects{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.project{
  overflow:hidden;
  border-radius:24px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  transition:transform .28s ease, box-shadow .28s ease;
}

.project:hover{
  transform:translateY(-6px);
  box-shadow:0 26px 70px rgba(15,23,42,.14);
}

.project-visual{
  height:220px;
  transition:transform .45s ease;
}

.project:hover .project-visual{
  transform:scale(1.05);
}

.solar-1{
  background-image:
    linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25)),
    url("../../../img/dom_pv_1.jpeg");
  background-size:cover;
  background-position:center;
}

.solar-2{
  background-image:
    linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25)),
    url("../../../img/farma_pv_1.jpeg");
  background-size:cover;
  background-position:center;
}

.solar-3{
  background-image:
    linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25)),
    url("../../../img/gospodarstwo_pv_1.jpeg");
  background-size:cover;
  background-position:center;
}

.project-body{
  padding:24px;
}

.project-body h3{
  margin:0 0 10px;
  font-size:26px;
  letter-spacing:-0.04em;
}

.project-body p{
  margin:0;
  color:var(--muted);
  line-height:1.75;
}

/* KROKI */
.steps{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.step{
  padding:24px;
  border-radius:22px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.step-no{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:linear-gradient(135deg,var(--solar),var(--blue));
  color:#fff;
  font-weight:800;
  margin-bottom:16px;
}

.step h3{
  margin:0 0 10px;
  font-size:22px;
}

.step p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

/* KONTAKT */
.contact-wrap{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:24px;
  align-items:start;
}

.contact-copy h2{
  margin:0 0 16px;
  font-size:clamp(34px,5vw,54px);
  line-height:1.03;
  letter-spacing:-0.04em;
}

.contact-copy p{
  margin:0 0 22px;
  color:var(--muted);
  font-size:18px;
  line-height:1.75;
}

.contact-points{
  display:grid;
  gap:12px;
  color:#334155;
  font-weight:600;
}

.contact-box{
  padding:28px;
  border-radius:28px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

form{
  display:grid;
  gap:14px;
}

input,textarea{
  width:100%;
  border:1px solid var(--line);
  background:#fff;
  color:#0f172a;
  border-radius:16px;
  padding:16px 18px;
  font-size:16px;
  font-family:inherit;
  outline:none;
}

input:focus,textarea:focus{
  border-color:#93c5fd;
  box-shadow:0 0 0 4px rgba(37,99,235,.10);
}

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

button{
  border:none;
  min-height:56px;
  border-radius:18px;
  background:linear-gradient(135deg,var(--blue),#1d4ed8);
  color:#fff;
  font-size:17px;
  font-weight:800;
  cursor:pointer;
  transition:transform .22s ease, box-shadow .22s ease;
}

button:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 40px rgba(37,99,235,.18);
}

/* FOOTER */
.footer{
  padding:34px 0 50px;
  background:#0f172a;
  color:#cbd5e1;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
}

.footer-note{
  max-width:420px;
  text-align:right;
  color:#94a3b8;
}

/* RESPONSIVE */
@media (max-width: 1060px){
  .hero-grid,
  .two-col,
  .contact-wrap,
  .cards-3,
  .projects,
  .steps{
    grid-template-columns:1fr;
  }
}

@media (max-width: 760px){
  .nav{
    display:none;
  }

  .hero{
    padding:56px 0 34px;
    background-position:70% center;
  }

  .hero h1{
    font-size:42px;
    max-width:12ch;
  }

  .section{
    padding:56px 0;
  }

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

  .footer-inner{
    flex-direction:column;
  }

  .footer-note{
    text-align:left;
  }
}
