/* ===== Solar Ray ===== */
:root{
  --navy:#06122e;--navy-2:#0c1d45;--navy-3:#132a5c;--line-d:#24396b;
  --green:#7cc242;--green-d:#4f8a1f;--sun:#ffd36b;
  --ink:#0f1c3a;--muted:#55607a;--paper:#ffffff;--tint:#f2f5fa;--line:#dde3ee;
  --font:"Fira Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:400 1rem/1.65 var(--font)}
h1,h2,h3{margin:0;line-height:1.2;font-weight:600}
p{margin:0}
a{color:inherit}
:focus-visible{outline:3px solid var(--green);outline-offset:3px}
.skip{position:absolute;left:-999px;top:0;z-index:99;background:#fff;padding:.5rem 1rem}
.skip:focus{left:0}
.wrap{width:min(1160px,100% - 2.5rem);margin:0 auto}
.icon{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.title{font-size:clamp(1.7rem,3vw,2.3rem);margin-bottom:2.25rem}

.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.85rem 1.6rem;border:2px solid var(--green);border-radius:999px;background:var(--green);color:var(--navy);font:600 1rem var(--font);text-decoration:none;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.btn:hover{background:#97d665;border-color:#97d665}
.btn.ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}
.btn.ghost:hover{border-color:var(--sun);color:var(--sun)}
.btn:disabled{opacity:.65;cursor:wait}

/* ===== Nagłówek ===== */
.header{background:#fff;border-bottom:1px solid var(--line)}
.header-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 2rem;padding:.9rem 0}
.brand{display:inline-flex;text-decoration:none}
.logo{display:inline-flex;align-items:center;gap:.6rem}
.mark{width:40px;height:40px;flex:none}
.mark .core{fill:var(--sun)}
.mark .ray{fill:var(--green)}
.logo-text{font-size:1.4rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--navy)}
.logo-text b{color:var(--green-d);font-weight:700}
.nav{display:flex;gap:1.75rem}
.nav a{text-decoration:none;font-weight:500;color:var(--ink);padding:.3rem 0;border-bottom:2px solid transparent}
.nav a:hover{color:var(--green-d)}
.nav a.current{border-bottom-color:var(--green);font-weight:600}

/* ===== Hero ===== */
.hero{background:var(--navy);color:#fff;overflow:hidden}
.hero-grid{display:grid;align-items:center}
.hero-copy{padding:3.5rem 0 2rem}
.eyebrow{color:var(--green);font-weight:600;font-size:1.05rem;margin-bottom:.8rem}
.hero h1{font-size:clamp(2.3rem,5.2vw,3.8rem);font-weight:700;letter-spacing:-.01em;max-width:14ch}
.lead{margin:1.25rem 0 2rem;color:#c7d2ea;font-size:1.1rem;max-width:40ch}
.cta-row{display:flex;flex-wrap:wrap;gap:.9rem}
.hero-visual{position:relative;height:300px;margin:0 -1.25rem}
.sunrise{display:block;width:100%;height:100%;-webkit-mask-image:linear-gradient(90deg,transparent,#000 18%);mask-image:linear-gradient(90deg,transparent,#000 18%)}
@media (max-width:959px){.sunrise{-webkit-mask-image:linear-gradient(180deg,transparent,#000 20%);mask-image:linear-gradient(180deg,transparent,#000 20%)}}

/* ===== Sekcje ===== */
.section{padding:4.5rem 0}
.section.tint{background:var(--tint)}
.section.dark{background:var(--navy);color:#fff}
.about{display:grid;gap:1.25rem}
.about h2{font-size:clamp(1.7rem,3vw,2.3rem);max-width:18ch}
.about p{color:var(--muted);font-size:1.05rem;max-width:66ch}

.services{display:grid;gap:1rem}
.service{background:#fff;border:1px solid var(--line);border-radius:12px;padding:1.5rem}
.service .icon{width:32px;height:32px;color:var(--green-d)}
.service h3{font-size:1.15rem;margin:.8rem 0 .45rem}
.service p{color:var(--muted);font-size:.94rem}

.values{display:grid;gap:2rem}
.value{display:grid;grid-template-columns:40px 1fr;gap:1rem}
.value-mark{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#eef7e4;color:var(--green-d)}
.value-mark .icon{width:20px;height:20px;stroke-width:2.4}
.value h3{font-size:1.2rem;margin:.35rem 0 .45rem}
.value p{color:var(--muted);font-size:.95rem}

/* Projekty */
.section-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:2.25rem}
.section-head .title{margin:0}
.link-more{display:inline-flex;align-items:center;gap:.4rem;color:var(--green);font-weight:600;text-decoration:none}
.link-more .icon{width:18px;height:18px}
.link-more:hover{color:var(--sun)}
.projects{display:grid;gap:1rem}
.project{display:flex;flex-direction:column;gap:.7rem;padding:1.6rem;border:1px solid var(--line-d);border-radius:12px;background:var(--navy-2)}
.project-top{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.project-icon{width:44px;height:44px;border-radius:10px;display:grid;place-items:center;background:var(--navy-3);color:var(--sun)}
.project-icon .icon{width:24px;height:24px}
.tag{font-size:.8rem;font-weight:600;color:var(--green);border:1px solid rgba(124,194,66,.45);border-radius:999px;padding:.15rem .7rem}
.project h3{font-size:1.2rem;color:#fff}
.project p{color:#b9c5df;font-size:.95rem}
.project.big{background:linear-gradient(135deg,var(--navy-3),var(--navy-2));border-color:rgba(255,211,107,.35)}
.project.big h3{font-size:clamp(1.35rem,2.4vw,1.75rem)}
.project.big p{font-size:1.02rem;max-width:60ch}

/* Podstrona Projekty – układ jak na obecnej stronie */
.projects-hero{position:relative;background:radial-gradient(60% 120% at 70% 30%,rgba(124,194,66,.12),transparent 70%),var(--navy);color:#fff;text-align:center;padding:4.5rem 0 6rem;clip-path:polygon(0 0,100% 0,100% calc(100% - 3rem),50% 100%,0 calc(100% - 3rem))}
.projects-hero h1{font-size:clamp(2.4rem,6vw,4rem);font-weight:700}
.band{padding:4rem 0}
.band-inner{display:grid;gap:1.5rem}
.band-aside{display:flex;align-items:center;gap:1rem}
.band-icon{width:64px;height:64px;flex:none;border-radius:50%;display:grid;place-items:center}
.band-icon .icon{width:30px;height:30px;stroke-width:1.6}
.band-tag{font-size:.82rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;border-radius:999px;padding:.25rem .8rem}
.band h2{font-size:clamp(1.5rem,3vw,2.1rem);font-weight:600;max-width:22ch;margin-bottom:1rem}
.band p{max-width:56ch;font-size:1.02rem}
.band-light{background:#fff}
.band-light .band-icon{background:#eef7e4;color:var(--green-d);box-shadow:0 0 0 8px #f6fbf1}
.band-light .band-tag{color:var(--green-d);background:#eef7e4}
.band-light h2{color:var(--navy)}
.band-light p{color:var(--muted)}
.band-dark{background:url("img/world-dots.svg") left center/auto 115% no-repeat,var(--navy);color:#fff}
.band-dark .band-icon{background:var(--navy-3);color:var(--sun);box-shadow:0 0 0 8px rgba(19,42,92,.45)}
.band-dark .band-tag{color:var(--green);background:rgba(124,194,66,.12)}
.band-dark h2{color:#fff}
.band-dark p{color:#d5def0}
@media (min-width:960px){
  .projects-hero{padding:5.5rem 0 7.5rem}
  .band{padding:5.5rem 0}
  .band-inner{grid-template-columns:1fr 2fr;gap:3rem;align-items:center}
  .band-aside{flex-direction:column;align-items:flex-end;text-align:right;gap:1.1rem;padding-right:2.5rem;border-right:2px solid rgba(124,194,66,.35)}
  .band-icon{width:96px;height:96px}
  .band-icon .icon{width:44px;height:44px}
}

/* ===== Kontakt ===== */
.contact{padding:5rem 0;background:var(--tint)}
.contact-grid{display:grid;gap:2.5rem}
.contact h2{font-size:clamp(1.7rem,3vw,2.3rem);margin-bottom:.9rem}
.contact p{color:var(--muted);max-width:40ch}
.form{display:grid;gap:1.1rem;font-size:.92rem}
.form label{display:block;font-weight:600}
.req{color:var(--green-d)}
.row{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
.form input,.form textarea{display:block;width:100%;margin-top:.4rem;padding:.75rem .9rem;font:inherit;font-size:1rem;font-weight:400;color:var(--ink);background:#fff;border:1.5px solid #c9d2e1;border-radius:8px}
.form textarea{resize:vertical;min-height:8rem}
.form ::placeholder{color:#8a94a8}
.form input:focus,.form textarea:focus{outline:none;border-color:var(--green-d);box-shadow:0 0 0 3px rgba(124,194,66,.25)}
.turnstile:empty{display:none}
.form-foot{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.5rem}
.hint{font-size:.82rem;color:var(--muted)}
.status{min-height:1.4em;font-weight:600}
.status.ok{color:var(--green-d)}
.status.error{color:#b3261e}

/* ===== Stopka ===== */
.footer{background:var(--navy-3);color:#c7d2ea;font-size:.9rem;padding:3rem 0 1.5rem}
.footer .logo-text{color:#fff}
.footer .logo-text b{color:var(--green)}
.footer-grid{display:grid;gap:1.75rem;padding-bottom:2rem;border-bottom:1px solid var(--line-d)}
.footer address{font-style:normal;margin-top:1rem;line-height:1.7}
.footer address strong{color:#fff}
.legal{display:flex;flex-direction:column;gap:.2rem}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.75rem;padding-top:1.25rem}
.footer-bottom nav{display:flex;gap:1.25rem}
.footer-bottom a{text-decoration:none;color:#fff}
.footer-bottom a:hover{color:var(--green)}

/* ===== Tablet / desktop ===== */
@media (min-width:640px){
  .services{grid-template-columns:1fr 1fr}
  .values{grid-template-columns:1fr 1fr;gap:2.5rem 3rem}
  .projects{grid-template-columns:1fr 1fr}
  .project.big{grid-column:1 / -1}
  .hero-visual{height:360px}
}
@media (min-width:960px){
  .hero-grid{grid-template-columns:1fr 1.1fr;gap:2rem;min-height:520px}
  .hero-copy{padding:4rem 0}
  .hero-visual{height:100%;min-height:520px;margin:0 calc((100vw - min(1160px,100vw - 2.5rem)) / -2) 0 0}
  .about{grid-template-columns:1fr 1.6fr;gap:4rem}
  .services{grid-template-columns:repeat(6,1fr)}
  .service{grid-column:span 2}
  .service:nth-child(4){grid-column:2 / span 2}
  .projects.three{grid-template-columns:repeat(3,1fr)}
  .projects.all{grid-template-columns:repeat(3,1fr)}
  .contact-grid{grid-template-columns:1fr 1.2fr;gap:5rem}
  .footer-grid{grid-template-columns:1fr auto;align-items:start}
  .legal{text-align:right}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
