/* eco-tom.pl: menu, stopka i podstrony. Klasy z prefiksem w-, żeby nie gryzły się ze stroną główną (zajawka.css). */
:root { --w-ink: #0b1f36; --w-ink2: #12294a; --w-akcent: #f9b226; --w-niebo: #87d1f5; --w-papier: #f3f7fb; --w-tekst: #13233a; --w-szary: #5b6b80; --w-linia: #dbe3ec;
  --w-display: 'Jost', system-ui, sans-serif; --w-body: 'Figtree', system-ui, sans-serif; }
body.w-podstrona { margin: 0; font: 17px/1.6 var(--w-body); color: var(--w-tekst); background: var(--w-papier); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.w-podstrona *, .w-nag *, .w-stopka * { box-sizing: border-box; }
.w-podstrona img { max-width: 100%; display: block; }
.w-podstrona a { color: inherit; }
.w-wnetrze { width: min(1180px, 100% - 40px); margin: 0 auto; }

/* menu */
.w-nag { position: fixed; top: 0; left: 0; right: 0; z-index: 120; display: flex; align-items: center; gap: 24px; padding: 14px max(20px, calc((100vw - 1180px) / 2)); color: #fff; transition: background .25s, box-shadow .25s, padding .25s; font-family: var(--w-body); }
.w-nag.w-pelny, .w-podstrona .w-nag { background: rgba(11, 31, 54, .96); backdrop-filter: blur(8px); box-shadow: 0 2px 20px rgba(0,0,0,.18); }
.w-nag a { text-decoration: none; color: #fff; }
.w-logo { display: inline-flex; align-items: center; font-family: var(--w-display); font-weight: 500; font-size: 26px; letter-spacing: .08em; line-height: 1; color: #fff; }
.w-logo img { height: 28px; width: auto; margin: 0 1px; display: inline-block; }
.w-menu { display: flex; gap: 4px; margin-left: auto; }
.w-menu a { padding: 8px 12px; border-radius: 99px; font-weight: 500; font-size: 15px; opacity: .88; }
.w-menu a:hover, .w-menu a[aria-current] { opacity: 1; background: rgba(255,255,255,.1); }
.w-menu a[aria-current] { color: var(--w-akcent); }
.w-nag-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; background: var(--w-akcent); color: var(--w-ink) !important; padding: 9px 16px; border-radius: 99px; white-space: nowrap; }
.w-kropka { width: 8px; height: 8px; border-radius: 50%; background: #1f9d5a; box-shadow: 0 0 0 3px rgba(31,157,90,.25); }
.w-burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; margin-left: 4px; }
.w-burger span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.w-nag.w-otwarte .w-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.w-nag.w-otwarte .w-burger span:nth-child(2) { opacity: 0; }
.w-nag.w-otwarte .w-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1100px) {
  .w-burger { display: block; }
  .w-menu { position: fixed; inset: 64px 0 auto 0; flex-direction: column; background: var(--w-ink); padding: 12px 20px 24px; gap: 2px; transform: translateY(-120%); transition: transform .25s; box-shadow: 0 20px 40px rgba(0,0,0,.3); max-height: calc(100vh - 64px); overflow-y: auto; }
  .w-nag.w-otwarte .w-menu { transform: none; }
  .w-menu a { font-size: 19px; padding: 14px 12px; border-radius: 12px; }
  .w-nag-tel { margin-left: auto; }
}
@media (max-width: 520px) { .w-nag { gap: 10px; } .w-nag-tel { padding: 8px 12px; font-size: 14px; } .w-nag-tel .w-kropka { display: none; } .w-logo { font-size: 21px; } .w-logo img { height: 23px; } }

/* przyciski */
.w-przycisk { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 24px; border-radius: 99px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--w-body); transition: transform .15s, background .15s; }
.w-przycisk:hover { transform: translateY(-1px); }
.w-przycisk-akcent { background: var(--w-akcent); color: var(--w-ink) !important; }
.w-przycisk-ink { background: var(--w-ink); color: #fff !important; }
.w-przycisk-duch { border-color: rgba(255,255,255,.5); color: #fff !important; }
.w-przycisk-obrys { border-color: var(--w-ink); color: var(--w-ink) !important; }
.w-maly { min-height: 42px; padding: 8px 18px; font-size: 15px; margin-top: 6px; }

/* hero podstrony */
.w-hero { position: relative; color: #fff; padding: 150px 0 80px; background: linear-gradient(100deg, rgba(11,31,54,.96) 0%, rgba(11,31,54,.82) 45%, rgba(11,31,54,.35) 100%), var(--tlo) center / cover no-repeat, var(--w-ink); }
.w-okruszki { display: flex; gap: 8px; font-size: 14px; opacity: .75; margin-bottom: 26px; flex-wrap: wrap; }
.w-okruszki a { color: #fff; }
.w-etykieta { font-family: var(--w-display); text-transform: uppercase; letter-spacing: .22em; font-size: 14px; font-weight: 500; color: var(--w-akcent); margin: 0 0 12px; }
.w-h1 { font-family: var(--w-display); font-weight: 300; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(44px, 7vw, 92px); line-height: 1; margin: 0 0 18px; }
.w-hero-lead { font-size: clamp(18px, 2vw, 21px); max-width: 640px; opacity: .92; margin: 0 0 28px; }
.w-hero-przyciski { display: flex; gap: 12px; flex-wrap: wrap; }

/* sekcje */
.w-sekcja { padding: 80px 0; }
.w-jasna { background: #fff; }
.w-h2 { font-family: var(--w-display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; margin: 0 0 30px; color: var(--w-ink); }
.w-lead { font-size: 18px; color: var(--w-szary); max-width: 680px; }
.w-lead a { color: var(--w-ink); }
.w-karty { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.w-karta { background: #fff; border-radius: 20px; padding: 26px; box-shadow: 0 1px 2px rgba(11,31,54,.05), 0 10px 30px rgba(11,31,54,.06); border-top: 4px solid var(--w-akcent); }
.w-jasna .w-karta { background: var(--w-papier); }
.w-karta h3 { font-family: var(--w-display); font-weight: 500; font-size: 22px; margin: 0 0 8px; color: var(--w-ink); }
.w-karta p { margin: 0; color: var(--w-szary); }
.w-kroki { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; counter-reset: k; }
.w-kroki li { counter-increment: k; position: relative; padding: 58px 22px 22px; background: var(--w-papier); border-radius: 20px; }
.w-sekcja:not(.w-jasna) .w-kroki li { background: #fff; }
.w-kroki li::before { content: counter(k, decimal-leading-zero); position: absolute; top: 16px; left: 22px; font-family: var(--w-display); font-size: 30px; color: var(--w-akcent); font-weight: 500; }
.w-kroki b { display: block; font-size: 19px; color: var(--w-ink); margin-bottom: 4px; }
.w-kroki span { color: var(--w-szary); font-size: 16px; }
.w-marki-pas { display: flex; flex-wrap: wrap; gap: 12px; }
.w-marki-pas span { font-family: var(--w-display); font-size: 22px; font-weight: 500; letter-spacing: .04em; padding: 14px 26px; border: 1.5px solid var(--w-linia); border-radius: 14px; background: #fff; color: var(--w-ink); }
.w-galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.w-galeria figure { margin: 0; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(11,31,54,.08); }
.w-galeria img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.w-galeria figcaption { padding: 12px 16px; font-weight: 500; }
.w-opinie { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.w-opinie blockquote { margin: 0; background: #fff; border-radius: 20px; padding: 26px; position: relative; }
.w-opinie blockquote::before { content: '\201D'; position: absolute; right: 18px; top: -10px; font-family: var(--w-display); font-size: 90px; color: var(--w-akcent); line-height: 1; }
.w-opinie p { margin: 0 0 12px; font-size: 17px; }
.w-opinie cite { color: var(--w-szary); font-style: normal; font-size: 14px; }
.w-dwie { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.w-fakty { display: grid; gap: 12px; }
.w-fakty div { background: var(--w-ink); color: #fff; border-radius: 18px; padding: 18px 22px; display: flex; align-items: center; gap: 16px; }
.w-fakty b { font-family: var(--w-display); font-size: 42px; font-weight: 400; color: var(--w-akcent); line-height: 1; min-width: 70px; }
.w-kontakt-siatka { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.w-kontakt-kafel { display: block; background: #fff; border-radius: 20px; padding: 24px; text-decoration: none; box-shadow: 0 10px 30px rgba(11,31,54,.06); border-left: 5px solid var(--w-akcent); }
.w-kontakt-kafel span { display: block; color: var(--w-szary); font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
.w-kontakt-kafel b { display: block; font-size: 22px; color: var(--w-ink); margin-top: 4px; overflow-wrap: anywhere; }
.w-kontakt-kafel small { color: var(--w-szary); }
.w-drobne { color: var(--w-szary); font-size: 15px; margin-top: 20px; }
.w-tekst { max-width: 780px; }
.w-tekst h2 { font-family: var(--w-display); font-weight: 500; font-size: 24px; color: var(--w-ink); margin: 32px 0 8px; }
.w-tekst p { color: #34465c; }
@media (max-width: 800px) { .w-dwie { grid-template-columns: 1fr; } .w-sekcja { padding: 56px 0; } .w-hero { padding: 120px 0 56px; } }

/* CTA */
.w-cta { background: var(--w-akcent); padding: 56px 0; }
.w-cta-siatka { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.w-cta h2 { font-family: var(--w-display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.05; margin: 0; color: var(--w-ink); max-width: 640px; }
.w-cta-przyciski { display: flex; gap: 12px; flex-wrap: wrap; }

/* formularz */
.w-form-sekcja { background: var(--w-ink); color: #fff; }
.w-form-sekcja .w-h2 { color: #fff; }
.w-form-sekcja .w-lead { color: rgba(255,255,255,.8); }
.w-form-sekcja .w-lead a { color: var(--w-akcent); }
.w-form-siatka { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .w-form-siatka { grid-template-columns: 1fr; gap: 24px; } }
.w-form { background: #fff; color: var(--w-tekst); border-radius: 24px; padding: 28px; display: grid; gap: 14px; }
.w-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.w-form input:not([type=radio]):not([type=checkbox]), .w-form select, .w-form textarea { font: inherit; font-weight: 400; border: 1.5px solid var(--w-linia); border-radius: 12px; padding: 12px 14px; min-height: 50px; background: #fff; width: 100%; color: var(--w-tekst); }
.w-form input:focus, .w-form select:focus, .w-form textarea:focus { outline: none; border-color: #2a64a9; box-shadow: 0 0 0 3px rgba(42,100,169,.15); }
.w-pola2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .w-pola2 { grid-template-columns: 1fr; } .w-form { padding: 20px; } }
.w-wybor { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.w-wybor label { cursor: pointer; }
.w-wybor input { position: absolute; opacity: 0; pointer-events: none; }
.w-wybor span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 56px; padding: 10px; border: 2px solid var(--w-linia); border-radius: 14px; font-weight: 600; }
.w-wybor input:checked + span { border-color: var(--w-akcent); background: #fff8e6; }
.w-wybor input:focus-visible + span { outline: 3px solid #2a64a9; }
.w-plik input { padding: 10px; }
.w-zgoda { grid-template-columns: 22px 1fr !important; align-items: start; font-weight: 400 !important; font-size: 14px !important; color: var(--w-szary); }
.w-zgoda input { width: 20px; height: 20px; margin-top: 2px; }
.w-pulapka { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.w-form-wynik { margin: 0; font-weight: 600; min-height: 1.2em; }
.w-form-wynik.ok { color: #1f7a48; } .w-form-wynik.zle { color: #c0392b; }

/* stopka */
.w-stopka { background: #071527; color: rgba(255,255,255,.78); padding: 64px max(20px, calc((100vw - 1180px) / 2)) 24px; font: 15px/1.6 var(--w-body); }
.w-stopka a { color: #fff; text-decoration: none; }
.w-stopka a:hover { color: var(--w-akcent); }
.w-stopka-siatka { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; }
.w-stopka h3 { font-family: var(--w-display); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; font-size: 14px; color: var(--w-akcent); margin: 0 0 14px; }
.w-stopka ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.w-stopka p { margin: 0 0 12px; }
.w-stopka-logo { display: inline-block; margin-bottom: 14px; }
.w-marki { font-size: 13px; color: rgba(255,255,255,.55); }
.w-fb { display: inline-block; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; padding: 6px 14px; font-size: 14px; }
.w-stopka-tel { font-family: var(--w-display); font-size: 26px; font-weight: 500; }
.w-stopka-dol { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 18px; font-size: 13px; color: rgba(255,255,255,.5); }
.w-stopka-dol a { color: rgba(255,255,255,.6); }
@media (max-width: 900px) { .w-stopka-siatka { grid-template-columns: 1fr 1fr; } .w-stopka-marka { grid-column: 1 / -1; } }
@media (max-width: 520px) { .w-stopka-siatka { grid-template-columns: 1fr; } .w-stopka { padding-bottom: 90px; } }

/* pasek „Zadzwoń” na telefonie (podstrony) */
.w-pasek-tel { display: none; }
@media (max-width: 700px) {
  .w-pasek-tel { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 110; align-items: center; justify-content: center; min-height: 54px; border-radius: 99px; background: var(--w-akcent); color: var(--w-ink); font-weight: 800; font-size: 17px; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
}

/* strona główna: nasze menu zamiast nagłówka zajawki, nasza stopka zamiast jednej linijki */
body.w-glowna .naglowek { display: none !important; }
body.w-glowna .stopka { display: none !important; }
