/* ==========================================================================
   MA PROFIT — Biuro Rachunkowe Katowice
   Wykonanie: kotonski.pl & AI
   Paleta z logo: zieleń #00573E, pomarańcz #E87722
   ========================================================================== */

/* ---------- Reset / podstawy ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  color:var(--ink);background:var(--bg);line-height:1.65;font-size:15.5px;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}
ul{list-style:none}
button{font-family:inherit;cursor:pointer;border:0;background:none}

:root{
  --green:#00573E;
  --green-700:#013d2c;
  --green-900:#012a1d;
  --green-50:#eef3f0;
  --green-100:#dde8e2;
  --orange:#E87722;
  --orange-600:#cf6510;
  --ink:#16221d;
  --muted:#5c6b63;
  --line:#e2e8e3;
  --bg:#ffffff;
  --bg-alt:#f5f8f5;
  --maxw:1280px;
  --radius:18px;
  --radius-sm:12px;
}

/* ---------- Typografia ---------- */
h1,h2,h3,h4{font-family:'Plus Jakarta Sans','Inter',system-ui,sans-serif;font-weight:700;line-height:1.14;color:var(--green-900);letter-spacing:-.022em}
h1{font-size:clamp(1.95rem,4.3vw,3.15rem)}
h2{font-size:clamp(1.55rem,3vw,2.2rem)}
h3{font-size:clamp(1.08rem,1.7vw,1.25rem)}
p{color:var(--muted)}
strong{color:var(--ink);font-weight:600}

.eyebrow{
  display:inline-flex;align-items:center;gap:.55rem;
  font-family:'Montserrat','Inter',sans-serif;font-weight:700;font-size:.78rem;
  letter-spacing:.1em;text-transform:uppercase;color:var(--orange-600);
  margin-bottom:1.1rem;
}
.eyebrow::before{
  content:"";width:26px;height:2px;background:var(--orange);display:inline-block;
}
.lead{font-size:clamp(1rem,1.4vw,1.12rem);color:var(--muted);max-width:62ch}
h2 + .lead{margin-top:1rem}

/* ---------- Layout ---------- */
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 clamp(1.2rem,4vw,2.5rem)}
.section{padding:clamp(4rem,8vw,7rem) 0}
.section--alt{background:var(--bg-alt)}
.section--green{background:var(--green);color:#fff}
.section--green h2,.section--green h3{color:#fff}
.section--green p{color:rgba(255,255,255,.78)}
.center{text-align:center}
.center .lead{margin-left:auto;margin-right:auto}
.sec-head{max-width:62ch}
.sec-head.center{margin:0 auto}

/* ---------- Motyw: pomarańczowy znak (słupki) ---------- */
.mark{display:inline-block;width:auto;height:1em;vertical-align:-.12em}
.mark--bars{
  width:44px;height:44px;flex:none;border-radius:8px;
  background:
    linear-gradient(var(--orange),var(--orange)) 0 100%/10px 60% no-repeat,
    linear-gradient(var(--orange),var(--orange)) 17px 100%/10px 100% no-repeat,
    linear-gradient(var(--orange),var(--orange)) 34px 100%/10px 40% no-repeat;
  background-color:var(--green-50);padding:8px;background-origin:content-box;
}

/* ---------- Przyciski ---------- */
.btn{
  display:inline-flex;align-items:center;gap:.6rem;
  font-weight:600;font-size:.98rem;padding:.92rem 1.6rem;border-radius:11px;
  transition:background .2s,color .2s,border-color .2s,transform .2s;white-space:nowrap;
}
.btn svg{width:18px;height:18px}
.btn--primary{background:var(--green);color:#fff}
.btn--primary:hover{background:var(--green-700);transform:translateY(-2px)}
.btn--accent{background:var(--orange);color:#fff}
.btn--accent:hover{background:var(--orange-600);transform:translateY(-2px)}
.btn--ghost{border:1.5px solid var(--green-100);color:var(--green)}
.btn--ghost:hover{border-color:var(--green);background:var(--green-50)}
.btn--light{background:#fff;color:var(--green);border:1.5px solid #fff}
.btn--light:hover{background:transparent;color:#fff;transform:translateY(-2px)}
.btn--outline-light{border:1.5px solid rgba(255,255,255,.35);color:#fff}
.btn--outline-light:hover{border-color:#fff;background:rgba(255,255,255,.1)}

/* ==========================================================================
   PAGE HERO (podstrony)
   ========================================================================== */
.page-hero{background:#00573e;color:#fff;position:relative;overflow:hidden;padding:clamp(2.6rem,5vw,4rem) 0 clamp(2.6rem,5vw,3.8rem)}
.page-hero .wrap{position:relative;z-index:1}
.page-hero h1{color:#fff;font-size:clamp(1.7rem,3.6vw,2.55rem);margin-bottom:.8rem}
.page-hero h1::before{content:"";display:block;width:52px;height:3px;background:var(--orange);border-radius:2px;margin-bottom:1.15rem}
.page-hero p{color:rgba(255,255,255,.82);max-width:60ch;font-size:1.08rem}
.page-hero p.wide{max-width:none}
.breadcrumb{display:flex;gap:.5rem;align-items:center;font-size:.85rem;color:rgba(255,255,255,.65);margin-bottom:1.2rem}
.breadcrumb a:hover{color:#fff}
.breadcrumb svg{width:14px;height:14px;opacity:.6}

/* ==========================================================================
   HEADER
   ========================================================================== */
.topbar{background:var(--green-900);color:rgba(255,255,255,.82);font-size:.85rem}
.topbar .wrap{display:flex;justify-content:flex-end;align-items:center;gap:1rem;min-height:42px;flex-wrap:wrap}
.topbar-right{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;justify-content:flex-end}
.topbar a{display:inline-flex;align-items:center;gap:.45rem;transition:color .2s}
.topbar a:hover{color:#fff}
.topbar svg{width:14px;height:14px;color:var(--orange)}
.tb-phone{font-weight:700;color:#fff}
.tb-phone svg{width:15px;height:15px}
.topbar a.tb-phone:hover{color:var(--orange)}
.topbar a.tb-phone:hover svg{color:var(--orange)}
.tb-addr{display:inline-flex;align-items:center;gap:.45rem}
.tb-addr b{color:#fff;font-weight:700}
.tb-sep{width:1px;height:15px;background:rgba(255,255,255,.22);flex:none}
.lang{display:flex;gap:.2rem;align-items:center}
.lang a{padding:.2rem .45rem;border-radius:6px;font-weight:600;opacity:.6}
.lang a.is-active{opacity:1;color:#fff;background:rgba(255,255,255,.12)}
.lang a:not(.is-active):hover{opacity:1;color:var(--orange)}

.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:flex-start;gap:1.5rem;min-height:78px}
.logo img{height:52px;width:auto;transition:transform .2s}
.logo:hover img{content:url("../img/logo/ma-profit-dark.svg")}
.nav{display:flex;align-items:center;gap:.3rem;margin-left:auto}
.nav a{
  font-weight:500;font-size:.97rem;padding:.55rem .85rem;border-radius:8px;color:var(--ink);
  transition:color .2s,background .2s;position:relative;
}
.nav a:hover{color:var(--green);background:var(--green-50)}
.nav a.is-active{color:var(--green);font-weight:600}
.nav a.is-active::after{content:"";position:absolute;left:.85rem;right:.85rem;bottom:.05rem;height:2px;background:var(--orange);border-radius:2px}
.header-cta{display:flex;align-items:center;gap:.9rem}
.nav-cta{display:none}
.header-phone{display:inline-flex;align-items:center;gap:.5rem;font-weight:700;color:var(--green);font-size:1.02rem}
.header-phone svg{width:18px;height:18px;color:var(--orange)}

.burger{display:none;width:46px;height:46px;border-radius:10px;border:1px solid var(--line);flex-direction:column;justify-content:center;align-items:center;gap:5px}
.burger span{width:20px;height:2px;background:var(--green);transition:.25s}
.burger.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger.is-open span:nth-child(2){opacity:0}
.burger.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ==========================================================================
   HERO — pełnoszerokie zdjęcie w tle z nakładką
   ========================================================================== */
.hero{position:relative;min-height:clamp(560px,80vh,760px);display:flex;align-items:center;overflow:hidden;background:var(--green-900)}
.hero-bg{position:absolute;inset:0;z-index:0}
.hero-bg img{width:100%;height:100%;object-fit:cover;object-position:74% 22%}
.hero::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(100deg,rgba(1,42,29,.85) 0%,rgba(1,42,29,.62) 34%,rgba(1,42,29,.26) 58%,rgba(1,42,29,0) 88%)}
.hero .wrap{position:relative;z-index:2;width:100%}
.hero-copy{max-width:600px;padding:clamp(2.4rem,5vw,3.5rem) 0}
.hero .eyebrow{color:#4ebc97}
.hero .eyebrow::before{background:#4ebc97}
.hero h1{color:#fff;margin-bottom:1.2rem;font-size:clamp(1.75rem,3.3vw,2.55rem);line-height:1.1}
.hero h1 .hl{color:var(--orange)}
.hero h1 .nowrap{white-space:nowrap}
.hero .lead{color:rgba(255,255,255,.84);margin-bottom:1.9rem;max-width:48ch;font-size:clamp(.97rem,1.05vw,1.04rem)}
.hero-actions{display:flex;gap:.9rem;flex-wrap:wrap;margin-bottom:2.2rem}
.hero-trust{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(255,255,255,.2);padding-top:1.6rem;max-width:580px}
.hero-trust .ht{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.5rem;padding:0 1.1rem}
.hero-trust .ht:first-child{padding-left:0}
.hero-trust .ht:last-child{padding-right:0}
.hero-trust .ht + .ht{border-left:1px solid rgba(255,255,255,.16)}
.ht-ic{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:rgba(255,255,255,.1)}
.ht-ic svg{width:21px;height:21px;color:#4ebc97}
.hero-trust b{font-family:'Montserrat',sans-serif;font-weight:700;font-size:.85rem;letter-spacing:.04em;text-transform:uppercase;color:#fff;line-height:1.25}
.hero-trust b span{font-size:inherit}
.hero-trust .ht > span:last-child{font-size:.75rem;color:rgba(255,255,255,.68);line-height:1.3;margin-top:-.22rem}

/* Animacje hero */
@keyframes heroUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes hlPop{0%{color:#fff}60%{color:#ff9a47}100%{color:var(--orange)}}
.hero-copy > *{animation:heroUp .75s cubic-bezier(.22,.61,.36,1) both}
.hero-copy > .eyebrow{animation-delay:.05s}
.hero-copy > h1{animation-delay:.16s}
.hero-copy > .lead{animation-delay:.3s}
.hero-copy > .hero-actions{animation-delay:.44s}
.hero-copy > .hero-trust{animation-delay:.58s}
.hero h1 .hl{animation:hlPop .7s ease both;animation-delay:.7s}
@media(prefers-reduced-motion:reduce){
  .hero-copy > *,.hero h1 .hl{animation:none}
}

/* ==========================================================================
   PASEK ZAUFANIA / LOGA PROGRAMÓW
   ========================================================================== */
.software{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--bg-alt)}
.software .wrap{padding-top:1.4rem;padding-bottom:1.4rem}
.software-list{display:grid;grid-template-columns:repeat(4,1fr);align-items:center}
.software-item{display:flex;align-items:center;justify-content:center;padding:.3rem 1rem;min-width:0}
.software-item + .software-item{border-left:1px solid var(--line)}
.software-item img{height:96px;width:auto;max-width:100%;object-fit:contain;filter:grayscale(1);opacity:.58;transition:filter .3s,opacity .3s}
.software-item:hover img{filter:none;opacity:1}

/* ==========================================================================
   USŁUGI — karty
   ========================================================================== */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem;margin-top:3rem}
.card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:2rem 1.8rem;
  display:flex;flex-direction:column;transition:border-color .25s,transform .25s,background-color .25s;position:relative;overflow:hidden;
}
.card h3,.card p,.card li,.card .more,.card .card-icon,.card .card-icon svg{transition:color .25s,background-color .25s}
.card:hover{background:var(--green);border-color:var(--green);transform:translateY(-4px)}
.card:hover h3,.card:hover .more{color:#fff}
.card:hover p,.card:hover li{color:rgba(255,255,255,.82)}
.card:hover .card-icon{background:rgba(255,255,255,.14)}
.card:hover .card-icon svg{color:#fff}
.card-icon{
  width:60px;height:60px;border-radius:14px;background:var(--green-50);
  display:flex;align-items:center;justify-content:center;margin-bottom:1.4rem;
}
.card-icon svg{width:30px;height:30px;color:var(--green)}
.card h3{margin-bottom:.7rem}
.card p{font-size:.97rem;margin-bottom:1.4rem}
.card ul{margin-bottom:1.6rem;display:flex;flex-direction:column;gap:.5rem}
.card li{position:relative;padding-left:1.5rem;font-size:.92rem;color:var(--ink)}
.card li::before{content:"";position:absolute;left:0;top:.55em;width:8px;height:8px;border-radius:2px;background:var(--orange)}
.card .more{margin-top:auto;display:inline-flex;align-items:center;gap:.5rem;font-weight:600;color:var(--green);font-size:.95rem}
.card .more svg{width:16px;height:16px;transition:transform .2s}
.card:hover .more svg{transform:translateX(4px)}
.card{cursor:pointer}
.card .more::after{content:"";position:absolute;inset:0;z-index:2}

/* ==========================================================================
   DLACZEGO MY — split
   ========================================================================== */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4.5rem);align-items:stretch}
.split-photo{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);position:relative;min-height:300px}
.split-photo img{width:100%;height:100%;object-fit:cover}
.feature-list{display:flex;flex-direction:column;gap:1.4rem;margin-top:2rem}
.feature{display:flex;gap:1rem}
.feature-ic{width:46px;height:46px;border-radius:12px;flex:none;background:var(--green-50);display:flex;align-items:center;justify-content:center}
.feature-ic svg{width:24px;height:24px;color:var(--green)}
.feature h4{font-family:'Inter',sans-serif;font-size:1.05rem;font-weight:700;color:var(--ink);margin-bottom:.2rem}
.feature p{font-size:.94rem}

/* lista atutów z „ptaszkami" */
.check-list{display:flex;flex-direction:column;gap:.75rem;margin-top:1.9rem}
.check-list li{position:relative;padding-left:2rem;color:var(--ink);font-size:.97rem}
.check-list li::before{content:"";position:absolute;left:0;top:.12em;width:20px;height:20px;border-radius:50%;background:var(--green-50);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300573E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-11'/%3E%3C/svg%3E");background-size:12px;background-repeat:no-repeat;background-position:center}
.split-text > .btn{margin-top:2.1rem}

/* odwrócony układ split (zdjęcie po lewej na desktopie) */
.split--rev .split-text{order:2}
.split--rev .split-photo{order:1}

/* sekcje oferty: numer, dwukolumnowa lista usług z „ptaszkami" */
.offer-eyebrow{display:flex;align-items:center;gap:.7rem;margin-bottom:1rem}
.offer-eyebrow .num{font-family:'Plus Jakarta Sans',sans-serif;font-weight:800;font-size:1.05rem;color:var(--orange);
  background:var(--green-50);border-radius:9px;width:38px;height:38px;display:flex;align-items:center;justify-content:center;flex:none}
.offer-eyebrow .eyebrow{margin:0}
.offer-list{display:grid;grid-template-columns:repeat(2,1fr);gap:.8rem 2.4rem;margin-top:clamp(1.8rem,4vw,2.6rem)}
.offer-list li{position:relative;padding-left:2rem;color:var(--ink);font-size:.96rem;line-height:1.5}
.offer-list li::before{content:"";position:absolute;left:0;top:.12em;width:20px;height:20px;border-radius:50%;background:var(--green-50);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300573E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-11'/%3E%3C/svg%3E");background-size:12px;background-repeat:no-repeat;background-position:center}
.offer-note{margin-top:1.8rem;padding:1.2rem 1.4rem;background:var(--green-50);border-left:3px solid var(--orange);border-radius:11px;font-size:.97rem;color:var(--ink)}
@media (max-width:720px){.offer-list{grid-template-columns:1fr}}

/* 3 wartości z liniowymi ikonami */
.values3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem;margin-top:clamp(2.6rem,5vw,4rem)}
.value3{display:block;color:inherit;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.9rem 1.7rem;cursor:pointer;transition:border-color .25s,transform .25s,background-color .25s}
.value3 h3,.value3 p,.value3 .value3-ic,.value3 .value3-ic svg{transition:color .25s,background-color .25s}
.value3:hover{background:var(--green);border-color:var(--green);transform:translateY(-4px)}
.value3:hover h3{color:#fff}
.value3:hover p{color:rgba(255,255,255,.82)}
.value3:hover .value3-ic{background:rgba(255,255,255,.14)}
.value3:hover .value3-ic svg{color:#fff}
.value3-ic{width:56px;height:56px;border-radius:15px;background:var(--green-50);display:flex;align-items:center;justify-content:center;margin-bottom:1.2rem}
.value3-ic svg{width:28px;height:28px;color:var(--green)}
.value3 h3{margin-bottom:.35rem}
.value3 p{font-size:.93rem}

/* ==========================================================================
   STATYSTYKI (na zieleni)
   ========================================================================== */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;text-align:center}
.stat b{display:block;font-family:'Montserrat',sans-serif;font-weight:800;font-size:clamp(2.2rem,4vw,3rem);color:#fff;line-height:1}
.stat .acc{color:var(--orange)}
.stat span{display:block;margin-top:.5rem;font-size:.9rem;color:rgba(255,255,255,.75)}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band{background:var(--green);border-radius:var(--radius);padding:clamp(2.4rem,5vw,3.6rem);display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap;position:relative;overflow:hidden}
.cta-band-lead{display:flex;align-items:center;gap:1.3rem;position:relative;z-index:1;min-width:0}
.cta-ic{flex:none;width:66px;height:66px;border-radius:16px;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center}
.cta-ic svg{width:32px;height:32px;color:#fff}
.cta-band-txt{position:relative;z-index:1}
.cta-band h2{color:#fff;margin-bottom:.6rem;white-space:nowrap}
.cta-band p{color:rgba(255,255,255,.8);white-space:nowrap}
.cta-band .actions{position:relative;z-index:1;display:flex;gap:.8rem;flex-wrap:wrap}

/* ==========================================================================
   TREŚĆ — bloki, listy, split z numerem
   ========================================================================== */
.prose{max-width:68ch}
.prose p{margin-bottom:1.1rem}
.prose p:last-child{margin-bottom:0}

/* dwukolumnowy blok wartości */
.values{display:grid;grid-template-columns:repeat(2,1fr);gap:1.4rem;margin-top:2.5rem}
.value{display:flex;gap:1rem;background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);padding:1.4rem}
.section--alt .value{background:#fff}
.value-ic{width:46px;height:46px;border-radius:12px;flex:none;background:var(--green-50);display:flex;align-items:center;justify-content:center}
.value-ic svg{width:24px;height:24px;color:var(--green)}
.value h4{font-family:'Inter',sans-serif;font-size:1.04rem;font-weight:700;color:var(--ink);margin-bottom:.25rem}
.value p{font-size:.93rem}

/* siatka atutów (O firmie) */
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.1rem;margin-top:clamp(2.2rem,4vw,3rem)}
.tcard{background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);padding:1.5rem 1.4rem;transition:border-color .22s,transform .22s}
.tcard:hover{border-color:var(--green-100);transform:translateY(-3px)}
.tcard-ic{width:48px;height:48px;border-radius:12px;background:var(--green-50);display:flex;align-items:center;justify-content:center;margin-bottom:1rem}
.tcard-ic svg{width:24px;height:24px;color:var(--green)}
.tcard h4{font-family:'Inter',sans-serif;font-size:1rem;font-weight:700;color:var(--ink);margin-bottom:.35rem}
.tcard p{font-size:.88rem}

.split-text > p + p{margin-top:1.1rem}

/* sekcja-cytat z grafiką (O firmie) */
.about-quote{position:relative;overflow:hidden;text-align:center}
.about-quote::after{content:"";position:absolute;right:-60px;bottom:-70px;width:300px;height:300px;background:url(../img/logo/favicon.svg) center/contain no-repeat;opacity:.07;filter:brightness(0) invert(1);pointer-events:none}
.about-quote .wrap{position:relative;z-index:1}
.about-quote .mark--bars{
  margin:0 auto 1.4rem;width:54px;height:40px;padding:0;border-radius:0;
  background-color:transparent;
  background:
    linear-gradient(var(--orange),var(--orange)) 0 100%/12px 55% no-repeat,
    linear-gradient(var(--orange),var(--orange)) 21px 100%/12px 100% no-repeat,
    linear-gradient(var(--orange),var(--orange)) 42px 100%/12px 75% no-repeat;
}
.about-quote h2{margin-bottom:.8rem}
.about-quote p{max-width:60ch;margin:0 auto;color:rgba(255,255,255,.82)}

/* dane rejestrowe */
.reg-card{background:var(--green-50);border:1px solid var(--green-100);border-radius:var(--radius);padding:clamp(1.6rem,3vw,2.2rem)}
.reg-card h3{margin-bottom:1.2rem;font-size:1.15rem}
.reg-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1.4rem 2rem}
.reg-grid div span{display:block;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:.2rem}
.reg-grid div b{font-size:1.05rem;color:var(--green)}

/* ==========================================================================
   OFERTA — szczegółowe sekcje usług
   ========================================================================== */
.svc{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(2rem,5vw,4rem);align-items:center;scroll-margin-top:100px}
.svc + .svc{margin-top:clamp(3.5rem,7vw,6rem)}
.svc-media{border-radius:var(--radius);overflow:hidden;aspect-ratio:4/3;border:1px solid var(--line);position:relative}
.svc-media img{width:100%;height:100%;object-fit:cover}
.svc-media::after{content:"";position:absolute;inset:0;background:linear-gradient(160deg,rgba(0,87,62,.28),rgba(0,87,62,0) 60%)}
.svc:nth-child(even) .svc-media{order:2}
.svc-num{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:var(--green);color:#fff;font-weight:800;font-family:'Montserrat',sans-serif;margin-bottom:1.2rem}
.svc h2{margin-bottom:.8rem}
.svc-list{display:grid;grid-template-columns:1fr 1fr;gap:.6rem 1.4rem;margin-top:1.6rem}
.svc-list li{position:relative;padding-left:1.7rem;font-size:.95rem;color:var(--ink)}
.svc-list li::before{content:"";position:absolute;left:0;top:.35em;width:18px;height:18px;border-radius:50%;background:var(--green-50);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300573E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-11'/%3E%3C/svg%3E");background-size:11px;background-repeat:no-repeat;background-position:center}

/* ==========================================================================
   CENNIK — kalkulator
   ========================================================================== */
.calc-wrap{display:grid;grid-template-columns:1fr 1.5fr;gap:clamp(2rem,4vw,3.5rem);align-items:start}
.calc-aside{position:sticky;top:100px}
.calc-aside .reg-card{background:var(--green);border-color:var(--green)}
.calc-aside .reg-card h3{color:#fff}
.calc-aside .reg-card p{color:rgba(255,255,255,.85);font-size:.95rem}
.calc-steps{display:flex;flex-direction:column;gap:1.2rem;margin-top:1.8rem}
.calc-step{display:flex;gap:.9rem;align-items:flex-start}
.calc-step b{width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;display:flex;align-items:center;justify-content:center;flex:none;font-size:.9rem;font-weight:700}
.calc-step span{color:rgba(255,255,255,.85);font-size:.95rem}
.form{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:clamp(1.6rem,3vw,2.4rem)}
.form-group{margin-bottom:1.6rem}
.form-group > label{display:block;font-weight:600;color:var(--ink);margin-bottom:.7rem;font-size:.98rem}
.form-group .req{color:var(--orange)}
.choice{display:flex;flex-wrap:wrap;gap:.6rem}
.choice input{position:absolute;opacity:0;width:0;height:0}
.choice label{
  display:inline-flex;align-items:center;padding:.6rem 1.1rem;border:1.5px solid var(--line);border-radius:10px;
  font-size:.92rem;color:var(--ink);cursor:pointer;transition:.18s;user-select:none;
}
.choice label:hover{border-color:var(--green-100)}
.choice input:checked + label{background:var(--green);border-color:var(--green);color:#fff}
.form select,.form input[type=text],.form input[type=email],.form input[type=tel],.form textarea{
  width:100%;padding:.85rem 1rem;border:1.5px solid var(--line);border-radius:12px;font-family:inherit;font-size:1rem;color:var(--ink);background:#fff;transition:border-color .2s;
}
.form select:focus,.form input:focus,.form textarea:focus{outline:none;border-color:var(--green)}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem}
.form-consent{display:flex;gap:.7rem;align-items:flex-start;font-size:.86rem;color:var(--muted);margin-bottom:1.4rem}
.form-consent input{margin-top:.25rem;width:18px;height:18px;flex:none;accent-color:var(--green)}
.form-consent a{color:var(--green);text-decoration:underline}
.hp-field{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-note{font-size:.84rem;color:var(--muted);margin-top:1rem;display:flex;gap:.5rem;align-items:flex-start}
.form-note svg{width:16px;height:16px;color:var(--green);flex:none;margin-top:.2rem}
.form-msg{padding:1rem 1.2rem;border-radius:12px;margin-bottom:1.4rem;font-size:.95rem;display:none}
.form-msg.ok{display:block;background:var(--green-50);border:1px solid var(--green-100);color:var(--green-700)}
.form-msg.err{display:block;background:#fbeae5;border:1px solid #f3cab6;color:var(--orange-600)}

/* ==========================================================================
   KONTAKT
   ========================================================================== */
.contact-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:clamp(2rem,4vw,3.5rem);align-items:stretch;margin-top:2.6rem}
.contact-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}
.contact-panel .ci{display:flex;gap:1rem;align-items:center;padding:1.15rem 1.4rem;border-bottom:1px solid var(--line)}
.ci-ic{width:44px;height:44px;border-radius:12px;flex:none;background:var(--green-50);display:flex;align-items:center;justify-content:center}
.ci-ic svg{width:22px;height:22px;color:var(--green)}
.ci > div span{display:block;font-size:.76rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:.15rem}
.ci > div b{font-size:1.02rem;color:var(--ink);line-height:1.35}
.ci > div a{color:var(--green);transition:color .2s}
.ci > div a:hover{color:var(--orange)}
.ci a.phone-link{font-size:1.22rem;font-weight:700;color:var(--orange);letter-spacing:.01em}
.ci a.phone-link:hover{color:var(--orange-600)}
.ci-firm{padding:1.3rem 1.4rem;background:var(--bg-alt);margin-top:auto}
.ci-firm-title{display:block;font-size:.76rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:.7rem}
.ci-firm ul{display:flex;flex-direction:column}
.ci-firm li{display:flex;justify-content:space-between;gap:1rem;font-size:.95rem;padding:.5rem 0;border-bottom:1px solid var(--line)}
.ci-firm li:last-child{border-bottom:0}
.ci-firm li span{color:var(--muted)}
.ci-firm li b{color:var(--green)}
.map-frame{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);min-height:380px}
.map-frame iframe{width:100%;height:100%;border:0;display:block;filter:grayscale(.2)}
.hours li{display:flex;justify-content:space-between;padding:.55rem 0;border-bottom:1px solid var(--line);font-size:.96rem}
.hours li:last-child{border-bottom:0}
.hours li b{color:var(--green)}

/* ==========================================================================
   STRONA PRAWNA (polityka prywatności)
   ========================================================================== */
.legal{max-width:1040px}
.legal .updated{font-size:.9rem;color:var(--muted);margin-bottom:2.4rem}
.legal h2{font-size:clamp(1.25rem,2.3vw,1.6rem);margin:2.6rem 0 .8rem}
.legal h2:first-of-type{margin-top:0}
.legal h3{font-size:1.08rem;margin:1.4rem 0 .5rem;color:var(--ink);font-family:'Inter',sans-serif;font-weight:700}
.legal p{margin-bottom:1rem}
.legal ul{margin:0 0 1.2rem;display:flex;flex-direction:column;gap:.55rem}
.legal li{position:relative;padding-left:1.5rem}
.legal li::before{content:"";position:absolute;left:0;top:.55em;width:7px;height:7px;border-radius:2px;background:var(--orange)}
.legal a{color:var(--green);text-decoration:underline}
.legal .note{background:var(--green-50);border:1px solid var(--green-100);border-radius:var(--radius-sm);padding:1.1rem 1.3rem;font-size:.95rem;margin-bottom:1.4rem}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{position:relative;overflow:hidden;background:var(--green-900);color:rgba(255,255,255,.72);padding-top:clamp(3.5rem,6vw,5rem)}
.site-footer::before{content:"";position:absolute;right:-70px;bottom:-70px;width:340px;height:340px;background:url(../img/logo/favicon-green.svg) center/contain no-repeat;opacity:.1;pointer-events:none}
.site-footer .wrap{position:relative;z-index:1}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:2.5rem;padding-bottom:3rem}
.footer-logo img{height:48px;margin-bottom:1.3rem}
.footer-col > p{font-size:.86rem;line-height:1.6}
.footer-col h4{font-family:'Inter',sans-serif;color:#fff;font-size:.82rem;letter-spacing:.12em;text-transform:uppercase;margin-bottom:1.1rem;font-weight:600}
.footer-col ul{display:flex;flex-direction:column;gap:.65rem}
.footer-col a:hover{color:var(--orange)}
.footer-contact li{display:flex;gap:.6rem;align-items:flex-start;margin-bottom:.7rem;font-size:.95rem}
.footer-contact svg{width:17px;height:17px;color:var(--orange);flex:none;margin-top:.25rem}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:1.6rem 0;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.83rem}
.footer-bottom a{color:rgba(255,255,255,.72)}
.footer-bottom a:hover{color:#fff}
.credit{color:rgba(255,255,255,.55)}
.credit a:hover{color:var(--orange)}

/* ==========================================================================
   RWD
   ========================================================================== */
@media(max-width:980px){
  .cards{grid-template-columns:1fr 1fr}
  .trust-grid{grid-template-columns:repeat(2,1fr)}
  .calc-wrap{grid-template-columns:1fr}
  .calc-aside{position:static}
  .split{grid-template-columns:1fr}
  .split-photo{order:-1;max-width:520px;aspect-ratio:5/4;min-height:0}
  .footer-grid{grid-template-columns:1fr 1fr;gap:2rem}
  .stats{grid-template-columns:1fr 1fr;gap:2.4rem}
}
@media(max-width:760px){
  .topbar-right{gap:.7rem}
  .tb-addr,.topbar .tb-sep:first-of-type{display:none}
  .nav{display:none}
  .header-cta{margin-left:auto}
  .header-cta .btn--primary{display:none}
  .burger{display:flex}
  .site-header .wrap{min-height:66px}
  .nav.is-open{
    display:flex;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;
    background:#fff;border-bottom:1px solid var(--line);padding:1rem;gap:.2rem;
  }
  .nav.is-open a{padding:.85rem 1rem;border-radius:10px}
  .nav.is-open a:not(.nav-cta):hover{background:var(--green-50)}
  .nav.is-open .nav-cta{display:flex;justify-content:center;background:var(--green);color:#fff;font-weight:600;margin-top:.5rem}
  .nav.is-open .nav-cta:hover{background:var(--green-700)}
  .cards{grid-template-columns:1fr}
  .values3{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .cta-band{flex-direction:column;align-items:flex-start;text-align:left}
  .cta-band h2,.cta-band p{white-space:normal}
}
@media(max-width:760px){
  .hero::after{background:linear-gradient(180deg,rgba(1,42,29,.86) 0%,rgba(1,42,29,.74) 60%,rgba(1,42,29,.82) 100%)}
  .hero-bg img{object-position:90% 20%}
}
@media(max-width:560px){
  .hero-actions{display:none}
  .hero-copy .lead{display:none}
  .hero{align-items:flex-end}
  .hero-copy{padding-bottom:2.6rem}
  .software-list{grid-template-columns:repeat(2,1fr)}
  .software-item + .software-item{border-left:0}
  .software-item img{height:72px}
  .form-row{grid-template-columns:1fr}
}
@media(max-width:480px){
  .footer-grid{grid-template-columns:1fr}
  .trust-grid{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr 1fr;gap:1.8rem}
  .hero-trust{grid-template-columns:1fr;max-width:360px;gap:0;padding-top:1.2rem}
  .hero-trust .ht{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.1rem .85rem;text-align:left;padding:.7rem 0}
  .hero-trust .ht:first-child{padding-top:0}
  .hero-trust .ht:last-child{padding-bottom:0}
  .hero-trust .ht + .ht{border-left:0;border-top:1px solid rgba(255,255,255,.16)}
  .hero-trust .ht-ic{grid-row:1 / span 2;width:38px;height:38px}
  .hero-trust b{grid-column:2;font-size:.8rem}
  .hero-trust .ht > span:last-child{grid-column:2;font-size:.72rem;margin-top:0}
  body{font-size:15px}
}
