@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/fonts/archivo-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: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/fonts/archivo-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 {
  --navy: #22255e;
  --navy-2: #2f3380;
  --ink: #1c1d2e;
  --muted: #5b5e74;
  --line: #e3e4ec;
  --bg: #ffffff;
  --bg-soft: #f4f5f9;
  --green: #3fae0c;
  --green-ink: #2a7a06;
  --red: #d7191f;
  --radius: 14px;
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
.eyebrow { color: var(--green-ink); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .4em; }
.lead { color: var(--muted); max-width: 680px; font-size: 1.05rem; }

/* przyciski */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .8em 1.3em; border-radius: 999px;
  font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-ink); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn small { font-weight: 600; font-size: .78em; opacity: .85; }
.phones { display: inline-flex; align-items: center; gap: 12px; background: var(--green); color: #fff; border-radius: 16px; padding: 8px 18px 8px 14px; line-height: 1.15; }
.phones svg { width: 22px; height: 22px; flex: none; }
.phones .nums { display: flex; flex-direction: column; align-items: center; text-align: center; }
.phones a { color: #fff; text-decoration: none; font-weight: 800; white-space: nowrap; }
.phones a:hover { text-decoration: underline; }

.phones .hrs { font-size: .68em; font-weight: 600; color: #e6f7da; margin-top: 2px; }
.phones-top { font-size: 1rem; padding: 6px 16px 6px 12px; }
.phones-big { font-size: 1.25rem; padding: 12px 24px 12px 18px; }
.phones-big svg { width: 28px; height: 28px; }
.phone-mini { display: none; }
.brand { flex: none; white-space: nowrap; }
@media (max-width: 560px) { .phones-top { display: none; } .phone-mini { display: inline-flex; padding: .7em; } }

/* nagłówek */
header.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; line-height: 1.1; }
.brand img { width: auto; height: 40px; }
.brand-text b { display: block; }
.brand-text b, .brand small { font-size: .92rem; font-weight: 800; color: var(--navy); line-height: 1.2; }
@media (max-width: 420px) { .brand-text b, .brand small { font-size: .8rem; } }
.brand small { display: block; }
.brand small strong { font-weight: inherit; }
nav.menu { display: flex; gap: 18px; white-space: nowrap; }
#zakres .services { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
nav.menu a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
nav.menu a:hover { color: var(--green-ink); }
.top .btn { padding: .6em 1.1em; }
@media (max-width: 1340px) and (min-width: 1181px) { .brand > span { display: none; } nav.menu { gap: 16px; } }
@media (max-width: 1180px) { nav.menu { display: none; } }
@media (max-width: 420px) { .top .btn span { display: none; } }

/* hero */
.hero {
  position: relative; color: #fff; padding: 110px 0 120px;
  background: linear-gradient(100deg, rgba(20,22,64,.92) 0%, rgba(20,22,64,.75) 45%, rgba(20,22,64,.25) 100%),
              url(/img/galeria/05.webp) center / cover no-repeat;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.3rem); max-width: 720px; }
.hero p { font-size: 1.15rem; max-width: 600px; color: #e4e6f5; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 28px; }
.mail-box { display: inline-flex; align-items: center; justify-content: center; border-radius: 16px; padding: 12px 26px; font-size: 1.25rem; line-height: 1.15;
  color: #fff; text-decoration: none; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); transition: background .15s; }
.mail-box:hover { background: rgba(255,255,255,.24); }
.mail-box .nums { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mail-box b { font-weight: 800; }
.mail-box .addr { font-size: .72em; font-weight: 600; color: #dfe2f5; margin-top: 3px; }
.facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 44px; }
.facts div { border-left: 3px solid var(--green); padding-left: 12px; }
.facts b { display: block; font-size: 1.6rem; color: #fff; }
.facts span { display: block; color: #c9cce6; font-size: .9rem; line-height: 1.35; }
.facts div { max-width: 320px; }

/* usługi */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 36px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.service header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.service header img { width: 52px; height: 52px; border-radius: 10px; }
.service h3 { margin: 0; }
.service ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .96rem; }
.service li { margin: .3em 0; }
.service li strong { color: var(--green-ink); }

/* dla kogo */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 960px) { .audience { grid-template-columns: 1fr; } }
.aud { border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); padding: 28px; background: #fff; display: flex; flex-direction: column; }
.aud-ico { width: 56px; height: 56px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.aud-ico svg { width: 30px; height: 30px; }
.aud h3 { font-size: 1.25rem; }
.aud ul { margin: 0 0 16px; padding-left: 1.1em; color: var(--muted); }
.aud li { margin: .4em 0; }
.aud a { margin-top: auto; font-weight: 700; color: var(--green-ink); text-decoration: none; }

/* rok pracy */
.year { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: none; }
@media (max-width: 960px) { .year { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .year { grid-template-columns: 1fr; } }
.year li { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.year li::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--c); }
.year .season { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c); margin-bottom: 6px; }
.year h3 { margin-bottom: .3em; }
.year p { color: var(--muted); font-size: .95rem; margin: 0; }
.year .spring { --c: #2f9e5a; }
.year .summer { --c: #e0a100; }
.year .autumn { --c: #c8541a; }
.year .winter { --c: #2b6cc4; }
.year .summer, .year .winter { border-color: var(--c); border-width: 2px; }

/* klienci prywatni */
section.private { background: linear-gradient(180deg, #f0f9ea 0%, #f7fbf4 100%); border-top: 1px solid #dcefd0; border-bottom: 1px solid #dcefd0; }
.private-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .private-grid { grid-template-columns: 1fr; } .private-photo { display: none; } }
.private-photo { border-radius: var(--radius); width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.private-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; margin-top: 20px; }
@media (max-width: 600px) { .private-list { grid-template-columns: 1fr; } }
.private-list h3 { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; margin: .6em 0 .3em; }
.private-list h3 img { width: 32px; height: 32px; border-radius: 7px; }
.private-list ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .95rem; }
.private-cta { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.private-cta > a:last-child { font-weight: 700; color: var(--green-ink); text-decoration: none; }

/* marki */
section.brands { padding: 22px 0; border-bottom: 1px solid var(--line); }
.brands .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 48px; }
.brands-label { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.brands img { height: 36px; width: auto; }
@media (max-width: 600px) { .brands img { height: 28px; } .brands .wrap { gap: 16px 28px; } }

/* KNR */
.knr { display: flex; gap: 18px; align-items: flex-start; margin-top: 20px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: var(--radius); padding: 22px 24px; }
.knr .aud-ico { flex: none; margin: 0; }
.knr h3 { margin-bottom: .3em; }
.knr p { margin: 0; color: var(--muted); }

/* o firmie */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.about .photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about .photos img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.about .photos img:first-child { grid-column: span 2; }
.sign { font-weight: 700; color: var(--navy); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 40px; }
.cert { text-decoration: none; color: var(--ink); font-size: .85rem; line-height: 1.35; }
.cert img { border-radius: 8px; border: 1px solid var(--line); aspect-ratio: 3/4; object-fit: cover; object-position: top; width: 100%; margin-bottom: 8px; background: #fff; transition: box-shadow .15s; }
.cert:hover img { box-shadow: 0 6px 20px rgba(34,37,94,.18); }

/* galeria */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 20px; }
.filters button {
  font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: .45em 1em; border-radius: 999px;
}
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a[hidden] { display: none; }
.gallery.collapsed a:nth-child(n+13) { display: none; }
.more { text-align: center; margin-top: 24px; }
.more button { font: inherit; font-weight: 700; cursor: pointer; border: 2px solid var(--navy); background: #fff; color: var(--navy); padding: .7em 1.6em; border-radius: 999px; }
.more button:hover { background: var(--navy); color: #fff; }

/* referencje */
.refs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 32px; }
.ref {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px 10px 10px;
  transition: border-color .15s, box-shadow .15s;
}
.ref:hover { border-color: var(--navy-2); box-shadow: 0 4px 16px rgba(34,37,94,.12); }
.ref img { width: 48px; height: 64px; object-fit: cover; object-position: top; border-radius: 4px; border: 1px solid var(--line); flex: none; }
.ref b { display: block; font-size: .95rem; }
.ref span { color: var(--muted); font-size: .82rem; }

/* porady */
.tips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
@media (max-width: 760px) { .tips { grid-template-columns: 1fr; } }
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 16px 0; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--green-ink); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); font-size: .96rem; }

/* kontakt */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: stretch; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px; }
.contact-card h2 { color: #fff; }
.contact-card dl { margin: 24px 0 0; }
.contact-card dt { color: #b9bde0; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-top: 18px; }
.contact-card dd { margin: 2px 0 0; font-size: 1.15rem; font-weight: 600; }
.contact-card a { color: #fff; }
.contact-card .phone { font-size: 1.8rem; font-weight: 800; text-decoration: none; }
.contact-card .phone2 { margin-top: 6px; }
.contact-card .hours { display: inline-block; font-size: .85rem; font-weight: 600; color: #b9bde0; background: rgba(255,255,255,.1); padding: 2px 10px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 340px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

footer { background: #15173d; color: #a7abd0; font-size: .9rem; padding: 28px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
footer a { color: #fff; }

/* pływający przycisk telefonu na komórce */
.call-fab { display: none; }
@media (max-width: 700px) {
  .call-fab {
    display: flex; position: fixed; right: 16px; bottom: 16px; z-index: 60;
    width: 58px; height: 58px; border-radius: 50%; background: var(--green);
    align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.25);
  }
  .call-fab svg { width: 26px; height: 26px; }
  section { padding: 56px 0; }
  .hero { padding: 72px 0 80px; }
}

/* podgląd zdjęć */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
dialog.lightbox::backdrop { background: rgba(10,11,30,.88); }
dialog.lightbox img { max-width: 96vw; max-height: 86vh; border-radius: 8px; margin: 0 auto; }
dialog.lightbox p { color: #fff; text-align: center; margin: 10px 0 0; font-size: .95rem; }
.lb-btn {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.15); color: #fff; font-size: 1.6rem; line-height: 1;
}
.lb-btn:hover { background: rgba(255,255,255,.3); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-close { top: 16px; right: 12px; transform: none; }

/* podstrony */
.page-hero { background: linear-gradient(100deg, rgba(20,22,64,.95) 0%, rgba(20,22,64,.82) 60%, rgba(20,22,64,.6) 100%), var(--hero-img, url(/img/galeria/05.webp)) center / cover no-repeat; color: #fff; padding: 56px 0 60px; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4.2vw, 2.8rem); max-width: 820px; }
.page-hero p { color: #e4e6f5; font-size: 1.1rem; max-width: 700px; }
.crumbs { font-size: .85rem; color: #b9bde0; margin-bottom: 14px; }
.crumbs a { color: #fff; }
.prose-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .prose-grid { grid-template-columns: 1fr; } }
.prose { max-width: 760px; }
.prose h2 { margin-top: 0; }
.prose h3 { margin: 1.6em 0 .5em; font-size: 1.2rem; }
.prose ul { padding-left: 1.2em; color: var(--muted); }
.prose li { margin: .35em 0; }
.prose li b { color: var(--ink); }
.prose article + article { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.steps { padding-left: 1.3em; color: var(--muted); }
.steps li { margin: .6em 0; }
.steps b { color: var(--navy); }
.side-card { position: sticky; top: 90px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.side-card h3 { margin: 0; }
.side-card p { margin: 0; color: var(--muted); }
.side-card .phones, .side-card .mail-box { justify-content: center; }
.side-card .mail-box { color: var(--navy); background: #fff; border-color: var(--line); }
.side-card .mail-box .addr { color: var(--muted); }
.side-card .mail-box:hover { background: #fff; border-color: var(--navy); }
@media (max-width: 900px) { .side-card { position: static; } }
.more-link { font-weight: 700; color: var(--green-ink); text-decoration: none; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 20px; }
.related a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; color: var(--navy); font-weight: 700; }
.related a:hover { border-color: var(--navy); }
.related span { display: block; color: var(--muted); font-weight: 400; font-size: .9rem; margin-top: 4px; }

/* stopka – linki */
footer .wrap { flex-direction: column; gap: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: #fff; text-decoration: none; font-weight: 600; }
.foot-links a:hover { text-decoration: underline; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
