@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("fonty/hanken-grotesk-300-800-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("fonty/hanken-grotesk-300-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --zielen: #0f3d2a;
  --zielen-2: #15493a;
  --zielen-ciemna: #0a2c1e;
  --zielen-linia: #2c5c49;
  --zielen-jasna: #a8d0ba;
  --zielen-tlo: #e9f0ec;
  --granat: #14213d;
  --czern: #111111;
  --tlo: #ffffff;
  --tlo-2: #f4f6f5;
  --tekst: #1a1f1c;
  --cichy: #55605a;
  --na-ciemnym: #cfe0d6;
  --linia: #dde3df;
  --blad: #b7322b;
  --font: "Hanken Grotesk", system-ui, sans-serif;
}

@scope (:root) to (.wyspa) {
*, *::before, *::after { box-sizing: border-box; }
:scope { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--tlo); color: var(--tekst); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 650; letter-spacing: -.01em; color: var(--czern); }
p { margin: 0; }
.w { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }

.wizualnie-ukryte, .pulapka {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pulapka { left: -9999px; }
.pomin { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--zielen); color: #fff; padding: 10px 16px; font-weight: 600; text-decoration: none; }
.pomin:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--granat); outline-offset: 3px; }
.pasek :focus-visible, .ciemna :focus-visible, .stopka :focus-visible { outline-color: #fff; }

.nadtytul { font-size: 13px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--zielen); margin-bottom: 12px; }
.brak { padding: 1px 6px; border: 1px dashed currentColor; font-size: .88em; opacity: .8; }

/* Przyciski */
.przycisk {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border: 1.5px solid var(--zielen); border-radius: 2px;
  background: var(--zielen); color: #fff; font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.przycisk svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.przycisk:hover { background: var(--zielen-ciemna); border-color: var(--zielen-ciemna); }
.przycisk-jasny { background: transparent; border-color: var(--czern); color: var(--czern); }
.przycisk-jasny:hover { background: var(--czern); border-color: var(--czern); color: #fff; }
.przycisk-maly { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* Pasek kontaktu */
.pasek { background: var(--zielen); color: var(--na-ciemnym); font-size: 14px; }
.pasek-w { display: flex; gap: 28px; align-items: center; min-height: 40px; }
.pasek a { color: #fff; font-weight: 600; text-decoration: none; }
.pasek a:hover { text-decoration: underline; }
.pasek-prawa { margin-left: auto; }

/* Nagłówek */
.naglowek { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--linia); }
.naglowek-w { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.logo-znak { width: auto; height: 54px; }
.logo-tekst { display: flex; flex-direction: column; font-weight: 500; font-size: 25px; line-height: 1; letter-spacing: .26em; color: var(--czern); white-space: nowrap; }
.logo-tekst small { margin-top: 8px; padding-top: 7px; border-top: 1px solid var(--zielen); font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--czern); }
.menu { display: flex; gap: 4px; }
.menu a { padding: 10px 13px; border-radius: 2px; text-decoration: none; font-weight: 500; font-size: 16px; color: var(--tekst); transition: background-color .15s, color .15s; }
.menu a:hover { background: var(--tlo-2); color: var(--zielen); }
.menu-przycisk { display: none; }

/* Hero */
.hero { background: var(--tlo); padding: clamp(56px, 8vw, 104px) 0; border-bottom: 1px solid var(--linia); }
.hero-w { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.04; max-width: 12ch; }
.hero-lead { margin-top: 24px; max-width: 34em; font-size: clamp(17px, 1.4vw, 19px); color: var(--cichy); }
.akcje { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-rysunek { width: 100%; max-width: 400px; height: auto; justify-self: end; overflow: hidden; }
.hero-rysunek path { fill: none; }
.r-rama { stroke: var(--czern); stroke-width: 3; }
.r-skrzydlo { stroke: var(--czern); stroke-width: 1.5; }
.r-szyba { stroke: var(--linia); stroke-width: 1.5; }
.r-klamka { stroke: var(--czern); stroke-width: 5; stroke-linecap: round; }
.r-parapet { stroke: var(--czern); stroke-width: 2; fill: #fff !important; }
.r-lisc path:first-child { stroke: var(--zielen); stroke-width: 2; }
.r-lisc path:last-child { fill: var(--zielen) !important; opacity: .9; }

/* Fakty */
.fakty { background: var(--tlo-2); border-bottom: 1px solid var(--linia); }
.fakty-w { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fakty-w div { padding: 28px 28px 28px 0; display: flex; flex-direction: column; gap: 4px; }
.fakty-w div + div { padding-left: 28px; border-left: 1px solid var(--linia); }
.fakty strong { font-size: 23px; font-weight: 650; color: var(--zielen); line-height: 1.2; }
.fakty span { font-size: 15px; color: var(--cichy); }

/* Sekcje */
.sekcja { padding: clamp(64px, 8vw, 104px) 0; }
.sekcja h2 { font-size: clamp(29px, 3.4vw, 42px); max-width: 22ch; }
.sekcja-lead { margin-top: 14px; max-width: 40em; color: var(--cichy); font-size: 18px; }
.szara { background: var(--tlo-2); }
.ciemna { background: var(--zielen); color: #fff; }
.ciemna h2, .ciemna h3 { color: #fff; }
.ciemna .nadtytul { color: var(--zielen-jasna); }

/* Oferta */
.karty { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.karta { border: 1px solid var(--linia); border-radius: 2px; background: #fff; overflow: hidden; }
.karta img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--linia); }
.karta-tresc { padding: 22px 24px 26px; }
.karta h3 { font-size: 20px; }
.karta p { margin-top: 10px; font-size: 16px; color: var(--cichy); }
.oferta-zapraszamy { margin-top: 36px; max-width: 46em; font-size: 18px; color: var(--tekst); }

/* Kroki */
.kroki { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: krok; }
.kroki li { counter-increment: krok; padding: 24px 22px 26px; border: 1px solid var(--zielen-linia); border-radius: 2px; background: var(--zielen-2); }
.kroki li::before { content: counter(krok); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--zielen); font-weight: 700; margin-bottom: 18px; }
.kroki h3 { font-size: 19px; }
.kroki p { margin-top: 8px; font-size: 15.5px; color: var(--na-ciemnym); }

/* O nas */
.o-nas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.o-nas-tekst { display: grid; gap: 16px; font-size: 18px; color: var(--cichy); padding-top: 6px; }

/* Realizacje */
.realizacje { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ramka { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 16px; border: 1px dashed #9aa7a0; border-radius: 2px; background: #fff; color: var(--cichy); font-size: 14.5px; text-align: center; }
.realizacja-pytanie a {
  display: flex; flex-direction: column; justify-content: center; gap: 10px; aspect-ratio: 4 / 3; padding: 20px;
  background: var(--zielen); border-radius: 2px; color: #fff; text-decoration: none; transition: background-color .2s;
}
.realizacja-pytanie a:hover { background: var(--zielen-ciemna); }
.realizacja-pytanie strong { font-size: 22px; font-weight: 650; line-height: 1.15; }
.realizacja-pytanie span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--zielen-jasna); }
.realizacja-pytanie svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.kontakt-dane > * { display: block; }
.kontakt-dane > p:not(.nadtytul) { margin-top: 14px; color: var(--cichy); max-width: 30em; }
.kontakt-tel { width: fit-content; margin-top: 24px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; line-height: 1.2; color: var(--zielen); text-decoration: none; white-space: nowrap; }
.kontakt-tel-2 { margin-top: 2px; }
.kontakt-tel:hover { color: var(--zielen-ciemna); text-decoration: underline; text-underline-offset: 5px; }
.kontakt-mail { width: fit-content; margin-top: 12px; font-size: 18px; font-weight: 600; color: var(--tekst); text-underline-offset: 3px; overflow-wrap: anywhere; }
.kontakt-mail:hover { color: var(--zielen); }
.kontakt-dane .adres, .kontakt-dane .godziny { margin-top: 18px; color: var(--tekst); }
.link { width: fit-content; margin-top: 12px; color: var(--zielen); font-weight: 600; text-underline-offset: 3px; }

.formularz { background: var(--tlo-2); border: 1px solid var(--linia); border-radius: 2px; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 18px; }
.wybor { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.wybor legend { float: left; width: 100%; padding: 0; margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.wybor label { position: relative; flex: 1 1 140px; cursor: pointer; }
.wybor input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.wybor span { display: grid; place-items: center; min-height: 48px; border: 1.5px solid #7d8a83; border-radius: 2px; background: #fff; font-weight: 600; }
.wybor input:checked + span { background: var(--zielen); border-color: var(--zielen); color: #fff; }
.wybor input:focus-visible + span { outline: 2px solid var(--granat); outline-offset: 3px; }
.pola-rzad { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pole { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pole label { font-size: 15px; font-weight: 600; }
.opc { font-weight: 400; color: var(--cichy); }
.pole input, .pole textarea {
  width: 100%; border: 1px solid #7d8a83; border-radius: 2px; padding: 12px 14px;
  font: 400 17px/1.4 var(--font); color: var(--tekst); background: #fff;
}
.pole textarea { resize: vertical; min-height: 90px; }
.pole input:focus, .pole textarea:focus { outline: none; border-color: var(--zielen); box-shadow: 0 0 0 3px rgba(15, 61, 42, .18); }
.pole.blad input { border-color: var(--blad); }
.pole.blad label { color: var(--blad); }
.zgoda { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 14px; line-height: 1.5; color: var(--cichy); cursor: pointer; }
.zgoda input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--zielen); }
.zgoda.blad { color: var(--blad); }
.zgoda a { color: var(--zielen); }
.formularz .przycisk { align-self: flex-start; }
.formularz-blad { margin: 0; padding: 12px 14px; border-radius: 2px; background: #fbeceb; color: var(--blad); font-size: 15px; }
.formularz-ok { margin: 0; padding: 14px 16px; border-radius: 2px; background: var(--zielen-tlo); color: var(--zielen); font-size: 15px; }

/* Stopka */
.stopka { background: var(--zielen-ciemna); color: var(--na-ciemnym); font-size: 15px; }
.stopka-w { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; padding-block: 56px 40px; }
.stopka-logo { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px; padding: 12px 18px 12px 14px; background: #fff; border-radius: 2px; }
.stopka-logo img { width: auto; height: 50px; }
.stopka-logo span { display: flex; flex-direction: column; font-weight: 500; font-size: 22px; line-height: 1; letter-spacing: .26em; color: var(--czern); }
.stopka-logo small { margin-top: 7px; padding-top: 6px; border-top: 1px solid var(--zielen); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; }
.dane { margin: 0; max-width: 460px; border-top: 1px solid var(--zielen-linia); }
.dane div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--zielen-linia); }
.dane dt { font-size: 13px; color: #9dbbaa; }
.dane dd { margin: 0; color: #fff; overflow-wrap: anywhere; }
.stopka .dane a { color: #fff; }
.stopka-naglowek { font-size: 13px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--zielen-jasna); margin-bottom: 12px; }
.stopka ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.stopka a { color: var(--na-ciemnym); text-decoration: none; }
.stopka a:hover { color: #fff; text-decoration: underline; }
.stopka-dol { padding-block: 18px; border-top: 1px solid var(--zielen-linia); font-size: 14px; }

/* Podstrony */
.dokument { padding: clamp(48px, 7vw, 88px) 0; }
.dokument .w { max-width: 800px; }
.dokument h1 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 28px; }
.dokument h2 { font-size: 21px; margin: 32px 0 8px; }
.dokument p { color: var(--tekst); }
.dokument a { color: var(--zielen); }
.blad404 { padding: clamp(64px, 10vw, 140px) 0; }
.blad404 h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 14px; }
.blad404 p:not(.nadtytul) { color: var(--cichy); margin-bottom: 28px; }

/* Mniejsze ekrany */
@media (max-width: 1080px) {
  .logo-tekst small { display: none; }
  .logo-tekst { font-size: 22px; }
}
@media (max-width: 980px) {
  .karty { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kroki { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kontakt, .o-nas { grid-template-columns: 1fr; }
  .realizacje { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .menu-przycisk {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; padding: 0;
    background: #fff; border: 1px solid var(--linia); border-radius: 2px; cursor: pointer;
  }
  .menu-przycisk i { display: block; width: 18px; height: 2px; background: var(--czern); transition: transform .2s; }
  .menu-przycisk[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .menu-przycisk[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .naglowek-w { gap: 10px; min-height: 68px; }
  :scope.js .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--linia); }
  :scope.js .menu.otwarte { display: flex; }
  :scope.js .menu a { border-radius: 0; padding: 16px clamp(16px, 4vw, 40px); border-top: 1px solid var(--linia); }
  :scope:not(.js) .naglowek-w { flex-wrap: wrap; padding-block: 10px; }
  :scope:not(.js) .menu { order: 3; width: 100%; flex-wrap: wrap; }
  :scope:not(.js) .menu-przycisk { display: none; }
  :scope:not(.js) .naglowek { position: static; }
  .pasek-prawa { display: none; }
}
@media (max-width: 760px) {
  .hero-w { grid-template-columns: 1fr; }
  .hero-rysunek { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .pasek-w { gap: 16px; font-size: 13px; }
  .fakty-w { grid-template-columns: 1fr; }
  .fakty-w div { padding: 18px 0; }
  .fakty-w div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--linia); }
  .karty, .kroki, .pola-rzad { grid-template-columns: 1fr; }
  .realizacje { gap: 14px; }
  .realizacja-pytanie strong { font-size: 19px; }
  .realizacja-pytanie a { padding: 14px; }
  .realizacja-pytanie span { font-size: 14.5px; gap: 6px; white-space: nowrap; }
  .dane div { grid-template-columns: 96px minmax(0, 1fr); }
  .logo-znak { height: 44px; }
  .logo-tekst { font-size: 19px; letter-spacing: .2em; }
  .stopka-w { grid-template-columns: 1fr 1fr; }
  .stopka-w > div:first-child { grid-column: 1 / -1; }
  .stopka ul { gap: 0; }
  .stopka ul a { display: inline-block; padding-block: 12px; }
  .dane a { display: inline-block; padding-block: 10px; margin-block: -10px; }
  .akcje .przycisk, .formularz .przycisk { width: 100%; }
}
@media (max-width: 420px) {
  .naglowek-cta { padding: 0 12px; font-size: 14px; }
  .pasek-w span { display: none; }
  .logo-tekst { font-size: 17px; letter-spacing: .14em; }
}
@media (prefers-reduced-motion: reduce) {
  :scope { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


.karta-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; min-height: 44px; font-weight: 600; color: var(--zielen); text-underline-offset: 4px; }
.karta-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.wyspa { border-top: 1px solid var(--linia); }
.kontakt-biuro { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(22px, 3vw, 34px); background: var(--tlo-2); border: 1px solid var(--linia); border-radius: 2px; }
.kontakt-biuro h3 { font-size: 22px; }
.kontakt-biuro .adres, .kontakt-biuro .godziny, .kontakt-biuro .link { margin-top: 0; }
@media (max-width: 760px) { .hero-w { grid-template-columns: 1fr; } }
.pod-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); }
.pod-hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.06; max-width: 18ch; }
.pod-hero .hero-lead { max-width: 38em; }
.okruszki { margin-bottom: 18px; font-size: 15px; color: var(--cichy); }
.okruszki a { color: var(--zielen); text-underline-offset: 3px; }
.pod-koniec { border-top: 1px solid var(--linia); }
.pod-koniec p { margin-top: 14px; max-width: 38em; color: var(--cichy); font-size: 18px; }
}
