/* OGC — arkusz stylów strony */

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url(../fonts/plex-sans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url(../fonts/plex-sans-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;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/plex-mono-500-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/plex-mono-500-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 {
  --ink: #12161b;
  --steel: #1a2028;
  --steel-2: #232b35;
  --paper: #ffffff;
  --paper-2: #f3f4f2;
  --line: #dde1e4;
  --line-dark: #333d49;
  --text: #1d232a;
  --muted: #5a6470;
  --muted-dark: #a3adb8;
  --accent: #0b86b8;
  --accent-strong: #086a92;
  --accent-light: #4cc3f0;

  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, h4 { line-height: 1.15; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 .6em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 14px; }

/* Etykiety w stylu dokumentacji technicznej */
.label {
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .7em;
  margin-bottom: 1.1rem;
}
.label::before { content: ""; width: 26px; height: 1px; background: currentColor; }

/* ---------- Nagłówek ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { height: 38px; width: auto; }
.brand span {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 14px;
  border-left: 1px solid var(--line);
  line-height: 1.3;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  padding: 8px 12px;
  border-radius: var(--radius);
  position: relative;
}
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--accent);
}
.nav .lang {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .08em;
  border: 1px solid var(--line);
  margin-left: 10px;
  padding: 6px 10px;
}
.nav .lang:hover { border-color: var(--accent); }
.nav .cta { background: var(--ink); color: #fff; margin-left: 8px; }
.nav .cta:hover { background: var(--accent); color: #fff; }
.nav .cta[aria-current="page"] { background: var(--accent); color: #fff; }
.nav .cta[aria-current="page"]::after { display: none; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 44px; height: 44px;
  padding: 0;
  cursor: pointer;
  color: var(--ink);
}
.menu-toggle svg { margin: auto; }

@media (max-width: 920px) {
  .brand span { display: none; }
  .menu-toggle { display: grid; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .25);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; border-radius: 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .lang, .nav .cta { margin: 14px 0 0; text-align: center; border-radius: var(--radius); }
  .nav .lang { border: 1px solid var(--line); }
}

/* ---------- Przyciski ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 .98rem/1 var(--font);
  padding: 15px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn svg { transition: transform .15s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); color: #fff; }

.more {
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.more svg { transition: transform .15s; }
.more:hover svg { transform: translateX(3px); }

/* ---------- Sekcje ---------- */

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.dark {
  background-color: var(--steel);
  color: #dbe1e7;
  /* siatka jak na rysunku technicznym */
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
}
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .label { color: var(--accent-light); }
.dark p { color: var(--muted-dark); }
.dark a:not(.btn) { color: var(--accent-light); }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding-top: clamp(56px, 9vw, 120px);
  padding-bottom: clamp(56px, 9vw, 120px);
}
.hero h1 { margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--accent-light); }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); max-width: 560px; color: #c2cad3; margin-bottom: 2rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-figure { position: relative; margin: 0; }
.hero-figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.hero-figure::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid rgba(76, 195, 240, .45);
  border-radius: var(--radius);
  pointer-events: none;
}
.hero-figure figcaption {
  position: absolute;
  left: 0; bottom: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 12px 16px;
  border-top-right-radius: var(--radius);
}
.hero-figure figcaption b { color: var(--accent-light); font-weight: 500; margin-right: .6em; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { max-width: 520px; margin-left: 14px; }
}

/* Nagłówek podstron */
.page-head .wrap { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 6vw, 72px); }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 860px; margin-bottom: .4em; }
.page-head .lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 720px; color: #c2cad3; margin: 0; }
.crumbs { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.4rem; color: var(--muted-dark); }
.crumbs a { text-decoration: none; }
.crumbs span { margin: 0 .6em; opacity: .5; }

/* ---------- Liczby ---------- */

.stats { border-top: 1px solid var(--line-dark); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px 30px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; color: #fff; letter-spacing: -0.02em; line-height: 1.1; }
.stat span { display: block; margin-top: 6px; font-size: .92rem; line-height: 1.4; color: var(--muted-dark); }

@media (max-width: 760px) {
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}

/* ---------- Karty usług ---------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--paper); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; }
.card .num { font-family: var(--mono); font-size: .8rem; color: var(--accent); letter-spacing: .1em; margin-bottom: 28px; }
.card .icon { width: 44px; height: 44px; color: var(--ink); margin-bottom: 22px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .more { margin-top: auto; padding-top: 20px; }

@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Realizacje ---------- */

.projects { display: grid; gap: clamp(40px, 6vw, 72px); }
.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.project:nth-child(even) .project-media { order: 2; }
.project-media { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.project-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.project-media:hover img { transform: scale(1.03); }
.project .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.project .tags li {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: 2px;
  color: var(--muted);
}
.project p { color: var(--muted); }
.project h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.project h3 a { color: inherit; text-decoration: none; }
.project h3 a:hover { color: var(--accent); }

@media (max-width: 800px) {
  .project { grid-template-columns: 1fr; }
  .project:nth-child(even) .project-media { order: 0; }
}

/* ---------- Klienci ---------- */

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.clients-grid a {
  display: grid;
  place-items: center;
  padding: 34px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  min-height: 130px;
}
.clients-grid img { max-height: 54px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.clients-grid a:hover img { filter: none; opacity: 1; }

@media (max-width: 860px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } .clients-grid a:last-child { grid-column: span 2; } }

/* ---------- Tekst + filary ---------- */

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); }
.split .prose p { font-size: 1.08rem; }
.prose p:first-child::first-line { font-weight: 500; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.timeline { list-style: none; padding: 0; margin: 2rem 0 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.4rem 24px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: .5em; width: 9px; height: 9px; background: var(--accent); border-radius: 50%; }
.timeline b { font-family: var(--mono); font-weight: 500; color: var(--ink); display: block; }
.timeline span { color: var(--muted); }

/* ---------- Usługi (oferta) ---------- */

.service {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(32px, 4vw, 52px) 0;
  border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service .num { font-family: var(--mono); color: var(--accent); font-size: .9rem; padding-top: .4em; }
.service h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.service p { color: var(--muted); }
.service ul { margin: 0; padding: 0; list-style: none; }
.service li { padding: 10px 0 10px 26px; border-bottom: 1px dashed var(--line); position: relative; }
.service li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 10px; height: 2px; background: var(--accent); }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Strona realizacji ---------- */

.case-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.case-intro .prose p { font-size: 1.12rem; }
.case-intro figure { margin: 0; }
.case-intro figure img { border-radius: var(--radius); width: 100%; }
@media (max-width: 860px) { .case-intro { grid-template-columns: 1fr; } }

.facts { margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; color: var(--ink); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); counter-reset: f; }
.feature { border-top: 2px solid var(--ink); padding-top: 22px; }
.feature .num { font-family: var(--mono); color: var(--accent); font-size: .85rem; display: block; margin-bottom: 14px; }
.feature p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.gallery button {
  padding: 0;
  border: 0;
  background: var(--paper);
  cursor: zoom-in;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease, opacity .2s; }
.gallery button:hover img { transform: scale(1.04); }

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(1100px, 94vw);
  max-height: 92vh;
}
.lightbox::backdrop { background: rgba(10, 13, 17, .9); }
.lightbox img { max-height: 86vh; width: auto; margin: 0 auto; border-radius: var(--radius); }
.lightbox .close, .lightbox .prev, .lightbox .next {
  position: fixed;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius);
  width: 48px; height: 48px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox .close { top: 16px; right: 16px; }
.lightbox .prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox button:hover { background: var(--accent); border-color: var(--accent); }

.case-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.case-nav a { background: var(--paper); padding: 28px; text-decoration: none; color: var(--ink); }
.case-nav a:hover { background: var(--paper-2); }
.case-nav small { display: block; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.case-nav strong { font-weight: 600; font-size: 1.1rem; }
.case-nav a:last-child { text-align: right; }

/* ---------- Kariera ---------- */

.jobs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.jobs a {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 28px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.jobs a:hover { background: var(--paper-2); }
.jobs strong { font-size: 1.3rem; font-weight: 600; }
.jobs span { font-family: var(--mono); font-size: .8rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.jobs svg { color: var(--accent); }
.jobs-empty { font-size: 1.3rem; font-weight: 500; color: var(--ink); padding: 28px 0; margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 640px) { .jobs a { grid-template-columns: 1fr auto; } .jobs span { grid-row: 2; } }

.job { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.job h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.job h2:first-child { margin-top: 0; }
.job ul { padding-left: 0; list-style: none; }
.job li { padding: 8px 0 8px 26px; position: relative; }
.job li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 10px; height: 2px; background: var(--accent); }
.aside-box { border: 1px solid var(--line); padding: 28px; position: sticky; top: calc(var(--header-h) + 24px); background: var(--paper-2); }
.aside-box dl { margin: 0 0 1.4rem; }
.aside-box dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.aside-box dd { margin: 2px 0 0; font-weight: 500; }
@media (max-width: 860px) { .job { grid-template-columns: 1fr; } .aside-box { position: static; } }

/* ---------- Kontakt ---------- */

.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list small { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-list a, .contact-list strong { font-size: 1.15rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.form input, .form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 13px 14px;
  border: 1px solid #c9cfd4;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--text);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(11, 134, 184, .18); }
.form textarea { min-height: 160px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form .consent { font-size: .85rem; color: var(--muted); }
.form .consent label { display: flex; gap: 10px; font-weight: 400; color: var(--muted); }
.form .consent input { width: auto; margin-top: .3em; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

.notice { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 500; }
.notice[hidden] { display: none; }
.notice.ok { background: #e3f4ea; color: #155a32; border: 1px solid #b8e0c7; }
.notice.err { background: #fbe9e7; color: #8a2216; border: 1px solid #f1c3bb; }

.map { margin-top: clamp(48px, 6vw, 80px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.6); }

/* ---------- CTA i stopka ---------- */

.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.cta-band h2 { margin: 0 0 .3em; max-width: 640px; }
.cta-band p { margin: 0; }

.site-footer { background: var(--ink); color: var(--muted-dark); font-size: .94rem; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.footer-grid img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-grid h4 { font-family: var(--mono); font-weight: 500; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-grid p { margin: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 6px; }
.site-footer a { color: var(--muted-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
