:root{
  --green:#6EE24B;
  --gradient:linear-gradient(90deg,#6EE24B,#DFF25A);
  --brand-gray:rgb(205,207,205);
  --text:#dce3ec;
  --muted:#9aa3b0;
  --border:rgba(255,255,255,.12);
}

/* RESET */
*{margin:0;padding:0;box-sizing:border-box}
html,body{height:100%}
body{
  font-family:Inter,sans-serif;
  color:var(--text);
}

/* NAGŁÓWKI */
h1,h2,h3{
  font-family:'IBM Plex Sans',sans-serif;
  letter-spacing:.2px;
}

/* TŁO */
.page-overlay{
  min-height:100%;
  background:
    linear-gradient(rgba(10,14,20,.88), rgba(10,14,20,.88)),
    url("bg-energeticon.jpg") center/cover no-repeat;
  position:relative;
  z-index:1;
}

/* LINKI */
a{color:inherit;text-decoration:none}

/* BRAND */
.brand-name{font-family:Manrope,sans-serif;font-style:italic}
.brand-on{
  background:var(--gradient);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  font-weight:800;
}
.brand-gray{color:var(--brand-gray);font-weight:700}

/* TOP BAR */
.top-bar{
  position:fixed;
  inset:0 0 auto 0;
  background:rgba(10,14,20,.96);
  border-bottom:1px solid var(--border);
  z-index:1000;
}
.top-bar-inner{
  max-width:1200px;
  margin:0 auto;
  padding:6px 16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
  font-size:13px;
}
.top-name{font-size:11.5px;color:var(--muted)}
.top-phone{
  font-weight:700;
  font-size:14px;
  background:var(--gradient);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* HERO */
.hero{
  padding:76px 16px 40px;
  text-align:center;
}
.logo{
  max-width:320px;
  margin-bottom:24px;
}
h1{
  font-size:22px;
  line-height:1.2;
  margin-bottom:6px;
}
.hero-divider{
  width:140px;
  height:3px;
  margin:16px auto;
  background:linear-gradient(90deg,transparent,var(--green),transparent);
  box-shadow:0 0 14px rgba(110,226,75,.55);
}
.hero-lead{
  max-width:32ch;
  margin:0 auto 6px;
  font-size:14.5px;
  line-height:1.55;
}
.hero-trust{
  max-width:30ch;
  margin:0 auto 16px;
  font-size:12.8px;
  line-height:1.45;
  color:#cfd6df;
}
.cta-main{
  display:inline-block;
  width:100%;
  max-width:320px;
  padding:13px 22px;
  border-radius:999px;
  background:var(--gradient);
  color:#0b0f18;
  font-weight:600;
  font-size:14px;
  box-shadow:0 8px 20px rgba(110,226,75,.25);
}

/* SEKCJE */
.section{
  padding:34px 16px;
  max-width:1200px;
  margin:0 auto;
  text-align:center;
}
.section-title{
  position:relative;
  margin-bottom:24px;
  font-size:22px;
  font-weight:600;
}
.section-title::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-10px;
  transform:translateX(-50%);
  width:120px;
  height:3px;
  background:linear-gradient(90deg,transparent,var(--green),transparent);
}

/* GRID */
.grid{display:grid;gap:14px}
.grid-3,
.grid-4-wide{grid-template-columns:1fr}

/* TILE */
.tile{
  background:rgba(20,24,33,.92);
  border-radius:14px;
  padding:18px 18px 16px;
  border:1px solid rgba(110,226,75,.25);
  text-align:left;
  display:flex;
  flex-direction:column;
}
.tile h3{
  font-size:15px;
  margin-bottom:4px;
  background:var(--gradient);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
.tile p{
  font-size:13.8px;
  line-height:1.45;
  color:#b8c0cc;
}

/* BUTTON */
.tile-btn{
  margin-top:10px;
  padding:5px 12px;
  border-radius:999px;
  border:1px solid rgba(120,255,120,.6);
  color:#7CFF7C;
  background:none;
  font-size:11.5px;
  cursor:pointer;
  position:relative;
  padding-right:34px;
  transition:all .25s ease;
}
.tile-btn:hover{
  background:rgba(120,255,120,.08);
  box-shadow:0 0 0 1px rgba(120,255,120,.4);
}
.tile-btn::after{
  content:"▾";
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  font-size:14px;
  color:#7CFF7C;
  transition:transform .25s ease;
}
.tile.open .tile-btn::after{
  transform:translateY(-50%) rotate(180deg);
}

/* DETAILS */
.tile-details{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.08);
  font-size:13px;
  line-height:1.5;
  color:#cfd6df;
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:max-height .35s ease, opacity .25s ease;
  flex-grow:1;
}
.tile.open .tile-details{
  max-height:520px;
  opacity:1;
}
.tile-details ul{
  margin:8px 0 0 18px;
}
.tile-details li{
  margin-bottom:6px;
}

/* NASZE REALIZACJE */
.tile-link{
  display:inline-block;
  margin-top:14px;
  font-size:13px;
  color:rgba(120,255,120,.75);
  transition:color .2s ease, opacity .2s ease;
}
.tile:not(.open) .tile-link{opacity:.65}
.tile.open .tile-link{opacity:1}
.tile-link:hover{
  color:#7CFF7C;
  text-decoration:underline;
}

/* RESPONSIVE */
@media(min-width:769px){
  .grid-3{grid-template-columns:repeat(3,1fr)}
  .grid-4-wide{grid-template-columns:repeat(4,1fr)}
}

/* === KONTAKT – FINALNY WYGLĄD (JAK WCZEŚNIEJ) === */
.contact-box{
  background:
    linear-gradient(
      180deg,
      rgba(110,226,75,.14),
      rgba(20,24,33,.92) 45%
    );
  border-radius:18px;
  padding:26px 24px;
  border:1px solid rgba(110,226,75,.55);
  box-shadow:
    0 0 0 1px rgba(110,226,75,.25),
    0 0 28px rgba(110,226,75,.18);
  max-width:520px;
  margin:0 auto;
  text-align:center;
}
.contact-box p{
  margin-bottom:6px;
  font-size:14.5px;
  color:#e1e7ef;
}
.contact-name{font-weight:600;margin-bottom:10px}
.contact-address{
  margin:10px 0 14px;
  line-height:1.45;
}
.contact-phone a,
.contact-mail a{
  background:var(--gradient);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  font-weight:700;
}
.contact-phone,
.contact-mail{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
