/* ============================================================
   AWenor Technologies – style strony
   Kolory z logo: granat #0d2a58, turkus #0e8f92
   ============================================================ */
:root {
  /* ciemny motyw – bardzo ciemna szaro-zieleń */
  --tlo: #1b2320;            /* tło strony */
  --tlo-2: #202a26;          /* sekcje naprzemienne */
  --karta: #25302c;          /* karty, formularze */
  --gora: #161d1a;           /* nagłówek */
  --granat: #2c3934;         /* ciemne elementy (przyciski, ramki) */
  --granat-ciemny: #111715;  /* pasek górny, stopka */
  --granat-2: #33423c;
  --naglowki: #f1f5f3;
  --turkus: #14a39e;
  --turkus-jasny: #2cc7c0;
  --turkus-tlo: rgba(44, 199, 192, .14);
  --tekst: #d3dcd8;
  --tekst-2: #9cada6;
  --linia: #34423d;
  --blad: #ff8a80;
  --promien: 6px;
  --cien: 0 2px 6px rgba(0, 0, 0, .25), 0 12px 30px rgba(0, 0, 0, .25);
  --cien-mocny: 0 4px 10px rgba(0, 0, 0, .3), 0 24px 50px rgba(0, 0, 0, .45);
  --szer: 1200px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.7; color: var(--tekst); background: var(--tlo); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--turkus); text-underline-offset: 3px; }
a:hover { color: var(--turkus-jasny); }
h1, h2, h3 { color: var(--naglowki); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--turkus-jasny); outline-offset: 3px; }

.kontener { width: 100%; max-width: var(--szer); margin: 0 auto; padding: 0 24px; }
.ukryte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pomin { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--granat); color: #fff; padding: 10px 16px; }
.pomin:focus { top: 12px; }
.brak { background: #fff1c2; color: #7a5300; padding: 0 .35em; border-radius: 3px; font-size: .92em; }
.drobne { font-size: .88rem; color: var(--tekst-2); }
.lead-maly { font-size: 1.08rem; color: var(--tekst-2); }

.nadtytul {
  display: inline-flex; align-items: center; gap: .7em; margin: 0 0 .9rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--turkus);
}
.nadtytul::before { content: ""; width: 34px; height: 3px; background: currentColor; }
.nadtytul--srodek::after { content: ""; width: 34px; height: 3px; background: currentColor; }
.nadtytul--jasny { color: var(--turkus-jasny); }

/* ---------- przyciski ---------- */
.przycisk {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 1em 1.8em; border-radius: 4px; border: 2px solid var(--turkus);
  background: var(--turkus); color: #fff; font: inherit; font-weight: 700; font-size: .88rem;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.przycisk:hover { background: var(--granat); border-color: var(--granat); color: #fff; }
.przycisk--obrys-jasny { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.przycisk--obrys-jasny:hover { background: #fff; border-color: #fff; color: var(--tlo); }
.przycisk--jasny { background: #fff; border-color: #fff; color: var(--tlo); }
.przycisk--jasny:hover { background: var(--granat-ciemny); border-color: var(--granat-ciemny); color: #fff; }
.przycisk--maly { padding: .75em 1.2em; font-size: .78rem; }
.przycisk--pelny { width: 100%; }
.przyciski { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

/* ---------- pasek górny ---------- */
.pasek-gorny { background: var(--granat-ciemny); color: var(--tekst-2); font-size: .85rem; }
.pasek-gorny__wnetrze { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 16px; }
.pasek-gorny ul { display: flex; flex-wrap: wrap; gap: 6px 28px; list-style: none; margin: 0; padding: 0; }
.pasek-gorny li { display: flex; align-items: center; gap: 8px; }
.pasek-gorny img { width: 16px; height: 16px; filter: brightness(1.4); }
.pasek-gorny a { color: #dbe4e0; text-decoration: none; }
.pasek-gorny a:hover { color: var(--turkus-jasny); }
.pasek-gorny__jezyki { display: flex; gap: 4px; }
.pasek-gorny__jezyki a { padding: 2px 8px; font-weight: 700; font-size: .78rem; letter-spacing: .06em; border-radius: 3px; }
.pasek-gorny__jezyki a[aria-current] { background: var(--turkus); color: #fff; }
@media (max-width: 760px) { .pasek-gorny__adres { display: none; } }
@media (max-width: 520px) { .pasek-gorny li:nth-child(2) { display: none; } }

/* ---------- nagłówek ---------- */
.naglowek { position: sticky; top: 0; z-index: 50; background: var(--gora); box-shadow: 0 1px 0 var(--linia); transition: box-shadow .25s; }
.naglowek.przewiniety { box-shadow: 0 6px 24px rgba(27, 35, 32, .12); }
.naglowek__wnetrze { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; transition: height .25s; }
.naglowek.przewiniety .naglowek__wnetrze { height: 70px; }
.logo img { height: 50px; width: auto; transition: height .25s; }
.naglowek.przewiniety .logo img { height: 42px; }
.menu { display: flex; align-items: center; gap: 24px; height: 100%; }
.menu > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; height: 100%; }
.menu > ul > li { display: flex; align-items: center; }
.menu > ul > li > a {
  position: relative; display: block; padding: .5em .9em; color: var(--naglowki); text-decoration: none;
  font-weight: 700; font-size: .84rem; letter-spacing: .08em; text-transform: uppercase;
}
.menu > ul > li > a::after { content: ""; position: absolute; left: .9em; right: .9em; bottom: -4px; height: 3px; background: var(--turkus); transform: scaleX(0); transition: transform .2s; }
.menu > ul > li > a:hover::after, .menu > ul > li > a[aria-current]::after { transform: scaleX(1); }
.menu > ul > li > a:hover, .menu > ul > li > a[aria-current] { color: var(--turkus); }
.menu__dodatki { display: flex; align-items: center; gap: 14px; }
.jezyk { display: none; }

.menu__rozwijane { position: relative; height: 100%; }
.menu__pod {
  position: absolute; left: 0; top: 100%; min-width: 320px; list-style: none; margin: 0; padding: 8px 0;
  background: var(--gora); border-top: 3px solid var(--turkus); box-shadow: var(--cien-mocny);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s;
}
.menu__rozwijane:hover .menu__pod, .menu__rozwijane:focus-within .menu__pod { opacity: 1; visibility: visible; transform: none; }
.menu__pod a { display: flex; align-items: center; gap: 12px; padding: .7em 1.2em; color: var(--tekst); text-decoration: none; font-weight: 600; font-size: .93rem; transition: .15s; }
.menu__pod a:hover, .menu__pod a[aria-current] { background: var(--tlo-2); color: var(--turkus); padding-left: 1.5em; }
.menu__pod img { width: 28px; height: 28px; flex: none; }

.menu-przycisk { display: none; width: 46px; height: 46px; border: 0; border-radius: 4px; background: var(--granat); cursor: pointer; padding: 0; position: relative; }
.menu-przycisk span:not(.ukryte) { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: .2s; }
.menu-przycisk span:nth-child(1) { top: 15px; }
.menu-przycisk span:nth-child(2) { top: 22px; }
.menu-przycisk span:nth-child(3) { top: 29px; }
.menu-otwarte .menu-przycisk span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-otwarte .menu-przycisk span:nth-child(2) { opacity: 0; }
.menu-otwarte .menu-przycisk span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .menu-przycisk { display: block; }
  .naglowek__wnetrze, .naglowek.przewiniety .naglowek__wnetrze { height: 70px; }
  .logo img, .naglowek.przewiniety .logo img { height: 40px; }
  .menu {
    position: absolute; left: 0; right: 0; top: 100%; height: auto; max-height: calc(100vh - 70px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--gora); box-shadow: var(--cien-mocny);
    padding: 8px 24px 22px; display: none; border-top: 3px solid var(--turkus);
  }
  .menu-otwarte .menu { display: flex; }
  .menu > ul { flex-direction: column; height: auto; }
  .menu > ul > li { display: block; border-bottom: 1px solid var(--linia); }
  .menu > ul > li > a { padding: .9em 0; }
  .menu > ul > li > a::after { display: none; }
  .menu__rozwijane { height: auto; }
  .menu__pod { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; padding: 0 0 8px; }
  .menu__pod a { padding: .5em .4em; }
  .menu__dodatki { padding-top: 18px; }
  .jezyk { display: inline-block; font-weight: 700; font-size: .85rem; text-decoration: none; color: var(--naglowki); border: 1px solid var(--linia); border-radius: 4px; padding: .45em .8em; }
}

/* ---------- zdjęcia w tle ---------- */
.foto-szafa { background-image: url("img/foto/szafa.jpg"); }
.foto-szafa2 { background-image: url("img/foto/szafa2.jpg"); }
.foto-plc { background-image: url("img/foto/plc.jpg"); }
.foto-maszyny { background-image: url("img/foto/maszyny.jpg"); }
.foto-serwis { background-image: url("img/foto/serwis.jpg"); }
.foto-przewody { background-image: url("img/foto/przewody.jpg"); }
@media (max-width: 800px) {
  .foto-szafa { background-image: url("img/foto/szafa-m.jpg"); }
  .foto-szafa2 { background-image: url("img/foto/szafa2-m.jpg"); }
  .foto-plc { background-image: url("img/foto/plc-m.jpg"); }
  .foto-maszyny { background-image: url("img/foto/maszyny-m.jpg"); }
  .foto-serwis { background-image: url("img/foto/serwis-m.jpg"); }
  .foto-przewody { background-image: url("img/foto/przewody-m.jpg"); }
}

/* ---------- slajder ---------- */
.slajder { position: relative; height: min(78vh, 720px); min-height: 520px; overflow: hidden; background: var(--granat-ciemny); }
.slajd { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s, visibility 1s; }
.slajd.aktywny { opacity: 1; visibility: visible; }
.slajd__tlo { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); transition: transform 7s ease-out; }
.slajd.aktywny .slajd__tlo { transform: scale(1); }
.slajd::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14, 20, 18, .94) 0%, rgba(14, 20, 18, .78) 42%, rgba(14, 20, 18, .25) 100%);
}
.slajd__tresc { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 70px; }
.slajd__tresc > * { max-width: 640px; opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.slajd.aktywny .slajd__tresc > * { opacity: 1; transform: none; }
.slajd.aktywny .slajd__tresc > :nth-child(2) { transition-delay: .15s; }
.slajd.aktywny .slajd__tresc > :nth-child(3) { transition-delay: .3s; }
.slajd.aktywny .slajd__tresc > :nth-child(4) { transition-delay: .45s; }
.slajd__tresc > .slajd__tytul { max-width: 820px; }
.slajd__tytul { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; line-height: 1.08; margin-bottom: .45em; }
.slajd__tekst { color: #cdd7d2; font-size: 1.15rem; max-width: 34em; }
.slajder__strzalka {
  position: absolute; top: 50%; z-index: 5; width: 54px; height: 54px; margin-top: -60px;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(14, 20, 18, .35); color: #fff;
  font-size: 2rem; line-height: 1; cursor: pointer; border-radius: 4px; transition: .2s;
}
.slajder__strzalka:hover { background: var(--turkus); border-color: var(--turkus); }
.slajder__strzalka--lewo { left: 24px; }
.slajder__strzalka--prawo { right: 24px; }
.slajder__kropki { position: absolute; z-index: 5; left: 0; right: 0; bottom: 120px; display: flex; justify-content: center; gap: 10px; }
.slajder__kropki button { width: 34px; height: 4px; padding: 0; border: 0; background: rgba(255, 255, 255, .4); cursor: pointer; transition: .3s; }
.slajder__kropki button.aktywna { background: var(--turkus-jasny); width: 54px; }
@media (max-width: 900px) {
  .slajder { height: auto; min-height: 0; }
  .slajd { position: relative; display: none; }
  .slajd.aktywny { display: block; }
  .slajd__tresc { padding-top: 64px; padding-bottom: 130px; }
  .slajder__strzalka { display: none; }
  .slajder__kropki { bottom: 92px; }
  .slajd::after { background: rgba(14, 20, 18, .82); }
}

/* ---------- pływające karty usług ---------- */
.plywajace { position: relative; z-index: 6; margin-top: -90px; }
.plywajace__siatka { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--karta); box-shadow: var(--cien-mocny); }
.plywajaca {
  position: relative; display: flex; flex-direction: column; padding: 36px 30px 30px; color: var(--tekst); text-decoration: none;
  border-right: 1px solid var(--linia); transition: background .25s, color .25s;
}
.plywajaca:last-child { border-right: 0; }
.plywajaca::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--turkus); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.plywajaca:hover { background: var(--granat); color: var(--tekst); }
.plywajaca:hover::before { transform: scaleX(1); }
.plywajaca:hover h3 { color: #fff; }
.plywajaca img { width: 56px; height: 56px; margin-bottom: 20px; transition: transform .3s; }
.plywajaca:hover img { transform: translateY(-4px); }
.plywajaca h3 { transition: color .25s; }
.plywajaca p { font-size: .95rem; color: inherit; opacity: .9; margin: 0; }
.plywajaca__wiecej { margin-top: auto; padding-top: 20px; color: var(--turkus); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.plywajaca:hover .plywajaca__wiecej { color: var(--turkus-jasny); }
@media (max-width: 1050px) { .plywajace__siatka { grid-template-columns: 1fr 1fr; } .plywajaca:nth-child(2) { border-right: 0; } .plywajaca:nth-child(-n+2) { border-bottom: 1px solid var(--linia); } }
@media (max-width: 560px) { .plywajace { margin-top: -60px; } .plywajace__siatka { grid-template-columns: 1fr; } .plywajaca { border-right: 0; border-bottom: 1px solid var(--linia); padding: 28px 22px; } }

/* ---------- sekcje ---------- */
.sekcja { padding: 100px 0; }
.sekcja--tlo { background: var(--tlo-2); }
.sekcja__naglowek { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sekcja__naglowek p:not(.nadtytul) { color: var(--tekst-2); font-size: 1.08rem; }
@media (max-width: 700px) { .sekcja { padding: 64px 0; } .sekcja__naglowek { margin-bottom: 36px; } }

.dwie-kolumny { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.dwie-kolumny--usluga { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 1000px) { .dwie-kolumny, .dwie-kolumny--usluga { grid-template-columns: 1fr; gap: 40px; } }

/* O nas na stronie głównej */
.onas { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.onas__zdjecie { position: relative; padding: 0 0 40px 40px; }
.onas__zdjecie::before { content: ""; position: absolute; left: 0; bottom: 0; width: 60%; height: 70%; background: var(--turkus); z-index: 0; }
.onas__foto { position: relative; z-index: 1; aspect-ratio: 4 / 3.4; background-size: cover; background-position: center; box-shadow: var(--cien-mocny); }
.onas__plakietka {
  position: absolute; z-index: 2; right: -24px; bottom: 70px; display: flex; align-items: center; gap: 14px;
  background: var(--granat); color: #fff; padding: 20px 26px; box-shadow: var(--cien-mocny); text-decoration: none;
  animation: unos 4s ease-in-out infinite;
}
.onas__plakietka:hover { color: #fff; background: var(--turkus); }
.onas__plakietka img { width: 44px; height: 44px; padding: 9px; background: var(--turkus); border-radius: 50%; }
.onas__plakietka:hover img { background: var(--granat); }
.onas__plakietka small { display: block; font-size: .78rem; color: #a6b5ae; letter-spacing: .04em; }
.onas__plakietka strong { font-size: 1.25rem; white-space: nowrap; }
.onas__plakietka:hover small { color: #e4f4f3; }
@keyframes unos { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 1000px) { .onas { grid-template-columns: 1fr; gap: 48px; } .onas__plakietka { right: 12px; } }
@media (max-width: 520px) { .onas__zdjecie { padding: 0 0 24px 24px; } .onas__plakietka { position: relative; right: auto; bottom: auto; margin: -30px 0 0 12px; animation: none; } }

/* karty */
.karty { display: grid; gap: 24px; }
.karty--uslugi, .karty--4 { grid-template-columns: repeat(4, 1fr); }
.karty--3 { grid-template-columns: repeat(3, 1fr); }
/* Zastosowania: 3 w rzędzie, niepełny rząd wyśrodkowany */
.karty--zastosowania { display: flex; flex-wrap: wrap; justify-content: center; }
.karty--zastosowania > * { flex: 0 1 calc((100% - 48px) / 3); }
@media (max-width: 1000px) { .karty--zastosowania > * { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 600px) { .karty--zastosowania > * { flex-basis: 100%; } }
@media (max-width: 1050px) { .karty--uslugi, .karty--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px) { .karty--3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .karty--uslugi, .karty--4 { grid-template-columns: 1fr; } }

.karta {
  position: relative; display: flex; flex-direction: column; background: var(--karta); border: 1px solid var(--linia);
  border-bottom: 3px solid var(--turkus); border-radius: var(--promien); padding: 32px 28px; box-shadow: var(--cien);
  color: var(--tekst); text-decoration: none; transition: transform .25s, box-shadow .25s;
}
.karta p { color: var(--tekst-2); font-size: .96rem; margin: 0; }
.karta__ikona { width: 56px; height: 56px; margin-bottom: 20px; }
.karta--link:hover { color: var(--tekst); transform: translateY(-6px); box-shadow: var(--cien-mocny); }
.karta__wiecej { margin-top: auto; padding-top: 20px; color: var(--turkus); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }

/* paralaksa – atuty */
.paralaksa { position: relative; background-size: cover; background-position: center; background-attachment: fixed; color: #c8d3ce; }
.paralaksa::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 20, 18, .93), rgba(27, 35, 32, .88)); }
.paralaksa > .kontener { position: relative; }
.paralaksa h2, .paralaksa h3 { color: #fff; }
@media (hover: none), (max-width: 900px) { .paralaksa { background-attachment: scroll; } }
.atut { text-align: center; padding: 34px 24px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); transition: background .25s, transform .25s; }
.atut:hover { background: rgba(25, 181, 176, .12); transform: translateY(-4px); }
.atut img { width: 52px; height: 52px; margin: 0 auto 18px; }
.atut p { margin: 0; font-size: .95rem; }

/* listy */
.lista-dla { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lista-dla--1 { grid-template-columns: 1fr; }
.lista-dla--4 { grid-template-columns: repeat(4, 1fr); }
.lista-dla li { position: relative; background: var(--karta); border: 1px solid var(--linia); border-radius: var(--promien); padding: 26px 24px 24px; box-shadow: var(--cien); }
.lista-dla li::before { content: ""; display: block; width: 40px; height: 3px; background: var(--turkus); margin-bottom: 16px; }
.lista-dla h3 { margin-bottom: .35em; font-size: 1.05rem; }
.lista-dla p { margin: 0; color: var(--tekst-2); font-size: .95rem; }
@media (max-width: 1050px) { .lista-dla--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .lista-dla, .lista-dla--4 { grid-template-columns: 1fr; } }

.lista-ptaszki { list-style: none; padding: 0; margin: 0 0 2.2em; }
.lista-ptaszki li { position: relative; padding: .55em 0 .55em 2.1em; border-bottom: 1px dashed var(--linia); }
.lista-ptaszki li:last-child { border-bottom: 0; }
.lista-ptaszki li::before { content: ""; position: absolute; left: 0; top: .8em; width: 1.25em; height: 1.25em; border-radius: 50%; background: var(--turkus-tlo) url("img/ptaszek.svg") center / 70% no-repeat; }
.lista-ptaszki--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.lista-ptaszki--2 li:nth-last-child(2) { border-bottom: 0; }
@media (max-width: 600px) { .lista-ptaszki--2 { grid-template-columns: 1fr; } .lista-ptaszki--2 li:nth-last-child(2) { border-bottom: 1px dashed var(--linia); } }
.lista-ptaszki--jasna li { border-color: rgba(255, 255, 255, .15); color: #dbe4e0; }
.lista-ptaszki--jasna li::before { background-color: rgba(25, 181, 176, .3); }
.lista-znaczniki { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lista-znaczniki li { background: var(--tlo-2); border-left: 3px solid var(--turkus); padding: .5em 1em; font-size: .93rem; font-weight: 600; color: var(--naglowki); }

.ramka { position: sticky; top: 110px; background: var(--granat); color: #dbe4e0; padding: 36px 32px; box-shadow: var(--cien-mocny); border-top: 4px solid var(--turkus); }
.ramka h2 { color: #fff; font-size: 1.4rem; }
.ramka--jasna { background: var(--tlo-2); color: var(--tekst); box-shadow: none; }
.ramka--jasna h2 { color: var(--naglowki); }
@media (max-width: 1000px) { .ramka { position: static; } }
.dane { display: grid; grid-template-columns: auto 1fr; gap: 12px 20px; margin: 0; }
.dane dt { color: var(--tekst-2); font-size: .9rem; }
.dane dd { margin: 0; font-weight: 600; }

/* proces */
.proces { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.proces::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--turkus) 0 10px, transparent 10px 18px); opacity: .5; }
.proces li { position: relative; text-align: center; }
.proces__nr { position: relative; display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 22px; border-radius: 50%; background: var(--granat); color: #fff; font-weight: 800; font-size: 1.4rem; box-shadow: 0 0 0 8px var(--tlo-2), 0 0 0 9px var(--linia); transition: background .25s; border: 2px solid var(--turkus); }
.proces li:hover .proces__nr { background: var(--turkus); }
.sekcja:not(.sekcja--tlo) .proces__nr { box-shadow: 0 0 0 8px var(--tlo), 0 0 0 9px var(--linia); }
.proces p { color: var(--tekst-2); font-size: .95rem; }
@media (max-width: 900px) { .proces { grid-template-columns: 1fr 1fr; } .proces::before { display: none; } }
@media (max-width: 520px) {
  .proces { grid-template-columns: 1fr; gap: 14px; }
  .proces li { display: grid; grid-template-columns: 60px 1fr; gap: 0 18px; text-align: left; }
  .proces__nr { grid-row: span 2; width: 56px; height: 56px; margin: 0; font-size: 1.15rem; }
  .proces h3 { margin: .6em 0 .2em; }
}

/* CTA */
.cta { background: var(--turkus); color: #eaf7f5; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -6%; top: -60%; width: 46%; height: 220%; background: rgba(27, 35, 32, .25); transform: skewX(-18deg); }
.cta__wnetrze { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.cta h2 { color: #fff; margin-bottom: .3em; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.cta p { margin: 0; max-width: 38em; }
.cta__akcje { display: flex; align-items: center; gap: 28px; flex: none; }
.cta__telefon { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.35rem; white-space: nowrap; }
.cta__telefon:hover { color: #fff; }
.cta__telefon img { width: 50px; height: 50px; padding: 12px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 50%; }
.cta__telefon small { display: block; font-size: .78rem; font-weight: 600; opacity: .85; }
@media (max-width: 1000px) { .cta__wnetrze { flex-direction: column; align-items: flex-start; } .cta__akcje { flex-wrap: wrap; } }

/* nagłówek podstrony ze zdjęciem */
.naglowek-strony { position: relative; background-size: cover; background-position: center; padding: 70px 0 80px; color: #c8d3ce; }
.naglowek-strony::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 20, 18, .95), rgba(27, 35, 32, .8)); }
.naglowek-strony > .kontener { position: relative; }
.naglowek-strony__wnetrze { display: flex; gap: 26px; align-items: flex-start; }
.naglowek-strony__ikona { width: 80px; height: 80px; flex: none; background: #e4f4f3; padding: 10px; border-radius: var(--promien); }
.naglowek-strony h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: .25em 0 .3em; }
.naglowek-strony .lead { color: #c8d3ce; }
.naglowek-strony--404 { background: var(--granat-ciemny); padding: 110px 0; }
.lead { font-size: 1.15rem; color: var(--tekst-2); max-width: 46em; margin: 0; }
.okruszki ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4em; padding: 0; margin: 0; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--turkus-jasny); font-weight: 600; }
.okruszki li + li::before { content: "/"; margin-right: .4em; color: #6d827b; }
.okruszki a { color: #a6b5ae; text-decoration: none; }
.okruszki a:hover { color: #fff; }
@media (max-width: 600px) { .naglowek-strony { padding: 48px 0 56px; } .naglowek-strony__wnetrze { flex-direction: column; gap: 14px; } .naglowek-strony__ikona { width: 64px; height: 64px; } }

.tekst p { font-size: 1.04rem; }
.tekst h2 { margin-top: 1.6em; font-size: 1.5rem; }
.tekst--waski { max-width: 800px; }
.tekst--waski h2 { font-size: 1.3rem; }

/* ---------- marki, FAQ, obszar działania ---------- */
.sekcja--waska { padding: 64px 0; }
.marki { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; }
.marki h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.marki p { color: var(--tekst-2); margin: 0; }
.marki__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.marki__lista li {
  display: grid; place-items: center; min-height: 64px; padding: 10px; text-align: center;
  background: var(--karta); border: 1px solid var(--linia); border-radius: var(--promien);
  color: var(--naglowki); font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; transition: border-color .2s, color .2s;
}
.marki__lista li:hover { border-color: var(--turkus); color: var(--turkus-jasny); }
@media (max-width: 900px) { .marki { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 480px) { .marki__lista { grid-template-columns: 1fr 1fr; } }

.faq { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 1000px) { .faq { grid-template-columns: 1fr; gap: 40px; } }
.faq__pozycja { border: 1px solid var(--linia); border-radius: var(--promien); background: var(--karta); margin-bottom: 12px; }
.faq__pozycja summary {
  position: relative; list-style: none; cursor: pointer; padding: 18px 56px 18px 22px;
  color: var(--naglowki); font-weight: 700; font-size: 1.04rem;
}
.faq__pozycja summary::-webkit-details-marker { display: none; }
.faq__pozycja summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  background: var(--turkus-tlo); color: var(--turkus-jasny); font-size: 1.2rem; font-weight: 700; transition: transform .2s;
}
.faq__pozycja[open] summary::after { content: "–"; }
.faq__pozycja[open] { border-color: var(--turkus); }
.faq__pozycja p { margin: 0; padding: 0 22px 20px; color: var(--tekst-2); }
.region p { color: var(--tekst); }
.region__miasta { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.region__miasta li { padding: .3em .8em; border: 1px solid var(--linia); border-radius: 3px; font-size: .88rem; font-weight: 600; color: var(--tekst); }
.kontakt__region { font-size: 1.3rem; margin-top: 32px; }

/* ---------- kontakt ---------- */
.kontakt { display: grid; grid-template-columns: 1fr 1.7fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .kontakt { grid-template-columns: 1fr; gap: 36px; } }
.kontakt__lista { list-style: none; padding: 0; margin: 0; }
.kontakt__lista li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--linia); }
.kontakt__lista img { width: 46px; height: 46px; padding: 11px; flex: none; background: var(--turkus-tlo); border-radius: 50%; }
.kontakt__formularz { scroll-margin-top: 110px; background: var(--karta); border-top: 4px solid var(--turkus); padding: 40px; box-shadow: var(--cien-mocny); }
@media (max-width: 600px) { .kontakt__formularz { padding: 26px 18px; } }

.formularz { display: grid; gap: 18px; }
.pola-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .pola-2 { grid-template-columns: 1fr; } }
.pole { display: grid; gap: 6px; margin: 0; }
.pole label, .pole legend { font-weight: 700; font-size: .9rem; color: var(--naglowki); }
.opc { font-weight: 400; color: var(--tekst-2); font-size: .88em; }
.pole input[type=text], .pole input[type=email], .pole input[type=tel], .pole textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--tekst); padding: .8em .95em;
  border: 1px solid var(--linia); border-radius: 3px; background: var(--tlo); transition: border-color .15s, background .15s;
}
.pole textarea { resize: vertical; min-height: 150px; }
.pole input:focus, .pole textarea:focus { outline: none; border-color: var(--turkus); background: var(--tlo-2); }
.pole [aria-invalid=true] { border-color: var(--blad); }
.pole input[type=file] { font: inherit; font-size: .93rem; }
.pole__blad { color: var(--blad); font-size: .88rem; margin: 0; }
.tematy { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tematy legend { margin-bottom: 8px; padding: 0; }
.temat input { position: absolute; opacity: 0; }
.temat span { display: inline-block; padding: .5em 1em; border: 1px solid var(--linia); border-radius: 3px; cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--tekst-2); background: var(--tlo-2); transition: .15s; }
.temat input:checked + span { background: var(--turkus); border-color: var(--turkus); color: #fff; }
.temat input:focus-visible + span { outline: 3px solid var(--turkus-jasny); outline-offset: 2px; }
.temat:hover span { border-color: var(--turkus); }
.pulapka { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formularz .przycisk { justify-self: start; }
.komunikat { padding: 14px 18px; margin-bottom: 18px; border-left: 4px solid; }
.komunikat--blad { background: rgba(255, 138, 128, .1); color: var(--blad); }
.komunikat--ok { display: flex; gap: 18px; align-items: center; background: var(--turkus-tlo); border-color: var(--turkus); padding: 28px; margin: 0; }
.komunikat--ok h2 { font-size: 1.3rem; margin-bottom: .2em; }
.komunikat--ok p { margin: 0; color: var(--tekst-2); }

/* ---------- stopka ---------- */
.stopka { background: var(--granat-ciemny); color: #98a8a1; font-size: .94rem; border-top: 4px solid var(--turkus); }
.stopka__siatka { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; padding-top: 72px; padding-bottom: 48px; }
.stopka__firma img { width: 210px; margin-bottom: 20px; }
.stopka h2 { color: #fff; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.3em; padding-bottom: .8em; position: relative; }
.stopka h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--turkus); }
.stopka ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55em; }
.stopka ul a::before { content: "›"; margin-right: .5em; color: var(--turkus); }
.stopka a { color: #c8d3ce; text-decoration: none; }
.stopka a:hover { color: var(--turkus-jasny); }
.stopka address { font-style: normal; line-height: 1.9; }
.stopka__prawne { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 22px; padding-bottom: 28px; display: flex; justify-content: space-between; gap: 24px; font-size: .8rem; color: #728680; }
.stopka__prawne p { margin: 0; }
@media (max-width: 900px) { .stopka__siatka { grid-template-columns: 1fr 1fr; } .stopka__firma { grid-column: 1 / -1; } .stopka__prawne { flex-direction: column; gap: 8px; } }
@media (max-width: 520px) { .stopka__siatka { grid-template-columns: 1fr; } }

/* ---------- pływające przyciski ---------- */
.do-gory, .plywajacy-telefon {
  position: fixed; z-index: 40; right: 22px; display: grid; place-items: center; width: 50px; height: 50px;
  border: 0; border-radius: 4px; color: #fff; text-decoration: none; cursor: pointer; box-shadow: var(--cien-mocny);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: .3s;
}
.do-gory { bottom: 22px; background: var(--granat); font-size: 1.4rem; font-weight: 700; }
.do-gory:hover { background: var(--turkus); }
.plywajacy-telefon { bottom: 82px; background: var(--turkus); border-radius: 50%; animation: dzwon 2.6s infinite; }
.plywajacy-telefon:hover { background: var(--granat); }
.przewiniete-daleko .do-gory, .przewiniete-daleko .plywajacy-telefon { opacity: 1; visibility: visible; transform: none; }
@keyframes dzwon { 0%, 100% { box-shadow: 0 0 0 0 rgba(14, 143, 146, .5); } 60% { box-shadow: 0 0 0 16px rgba(14, 143, 146, 0); } }
@media (min-width: 1101px) { .plywajacy-telefon { display: none; } .do-gory { bottom: 22px; } }

/* ---------- animacje przy przewijaniu ---------- */
.js .odslon { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
.js .odslon.widoczne { opacity: 1; transform: none; }
.js .plywajaca.odslon:nth-child(2), .js .atut.odslon:nth-child(2), .js .lista-dla li.odslon:nth-child(2) { transition-delay: .1s; }
.js .plywajaca.odslon:nth-child(3), .js .atut.odslon:nth-child(3), .js .lista-dla li.odslon:nth-child(3) { transition-delay: .2s; }
.js .plywajaca.odslon:nth-child(4), .js .atut.odslon:nth-child(4), .js .lista-dla li.odslon:nth-child(4) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .odslon { opacity: 1; transform: none; }
  .slajd__tlo { transform: none; }
}

/* ---------- lata doświadczenia i historia ---------- */
.onas__lata {
  position: absolute; z-index: 2; left: 0; top: 36px; display: grid; justify-items: center; gap: 2px;
  width: 170px; padding: 22px 16px; text-align: center; background: var(--turkus); color: #fff; box-shadow: var(--cien-mocny);
}
.onas__lata strong { font-size: 3.4rem; line-height: 1; font-weight: 800; }
.onas__lata span { font-weight: 700; font-size: .95rem; line-height: 1.2; }
.onas__lata small { font-size: .78rem; opacity: .85; }
@media (max-width: 520px) { .onas__lata { width: 130px; padding: 16px 10px; top: 18px; } .onas__lata strong { font-size: 2.6rem; } }

.historia { list-style: none; padding: 0; margin: 0 0 1em; position: relative; }
.historia::before { content: ""; position: absolute; left: 39px; top: 10px; bottom: 10px; width: 2px; background: var(--linia); }
.historia li { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 20px; align-items: start; padding-bottom: 24px; }
.historia__rok {
  position: relative; z-index: 1; display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%;
  background: var(--karta); border: 2px solid var(--turkus); color: var(--turkus-jasny); font-weight: 800; font-size: 1.15rem;
}
.historia h3 { margin: .9em 0 .25em; }
.historia p { margin: 0; color: var(--tekst-2); font-size: .98rem; }
.stopka__profile { margin: 14px 0 0; }
.stopka__profile a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.kontakt__lista img[src$="k-linkedin.svg"] { background: transparent; padding: 0; }
