/* =========================================================
   DruknijTo! — wspólny arkusz stylów (style.css)
   Paleta CMYK / grafit. Mobile-first. Bez frameworków.
   ========================================================= */

:root {
  --graphite: #1c1c1e;
  --graphite-2: #232325;
  --graphite-3: #2a2a2c;
  --light: #f4f4f2;
  --light-2: #eaeae6;
  --magenta: #e91e8c;
  --magenta-dark: #c4136f;
  --cyan: #00b4d8;
  --cyan-dark: #0091ad;
  --white: #ffffff;
  --ink-light: #e0e0e0;
  --ink-mute: #a8a8ac;
  --ink-dark: #1c1c1e;
  --ink-dark-2: #444444;
  --line-dark: rgba(255, 255, 255, 0.1);
  --line-dark-strong: rgba(255, 255, 255, 0.18);
  --line-light: rgba(28, 28, 30, 0.12);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1200px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --shadow-light: 0 18px 44px rgba(28, 28, 30, 0.1);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Syne', 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-light);
  background: var(--graphite);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
}
h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4.2vw, 46px); }
h3 { font-size: 20px; }
p { margin: 0; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; position: relative; }
.section--light { background: var(--light); color: var(--ink-dark-2); }
.section--light h1, .section--light h2, .section--light h3, .section--light h4 { color: var(--ink-dark); }
.section--graphite { background: var(--graphite); }
.section--graphite-2 { background: var(--graphite-2); }
@media (max-width: 720px) { .section { padding: 60px 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--magenta); margin-bottom: 16px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--magenta); }
.eyebrow--cyan { color: var(--cyan-dark); }
.eyebrow--cyan .dot { background: var(--cyan); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head .lead { font-size: 18px; margin-top: 14px; color: var(--ink-mute); }
.section--light .section-head .lead { color: var(--ink-dark-2); }

.lead { font-size: 18px; line-height: 1.6; }

/* ---------- Decorative roller pattern ---------- */
.roller-bg { position: relative; isolation: isolate; }
.roller-bg::before {
  content: "";
  position: absolute; inset: 0;
  /* Wzór wałków malarskich. Aby podmienić: zastąp URL własnym SVG. */
  background-image: url("img/roller-tile.svg");
  background-size: 160px 160px;
  background-repeat: repeat;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}
.roller-bg > * { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--magenta); color: #fff; box-shadow: 0 10px 26px rgba(233, 30, 140, 0.32); }
.btn-primary:hover { transform: translateY(-2px); background: var(--magenta-dark); }
.btn-cyan { background: var(--cyan); color: #06222a; box-shadow: 0 10px 26px rgba(0, 180, 216, 0.28); }
.btn-cyan:hover { transform: translateY(-2px); background: var(--cyan-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line-dark-strong); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.05); }
.section--light .btn-ghost { color: var(--ink-dark); border-color: var(--line-light); }
.section--light .btn-ghost:hover { border-color: var(--ink-dark); background: rgba(28, 28, 30, 0.04); }
.btn-dark { background: var(--graphite); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: #000; }
.btn-block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(28, 28, 30, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; }
.brand img { height: 42px; width: auto; }
@media (max-width: 420px) { .brand img { height: 36px; } }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--ink-light); transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active { color: var(--magenta); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: #fff; }
.nav-phone svg { width: 16px; height: 16px; color: var(--cyan); }
.nav-cta { padding: 10px 18px; font-size: 14px; }

.hamburger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .hamburger { display: flex; }
  .mobile-menu {
    position: fixed; inset: 70px 0 auto 0;
    background: var(--graphite-2);
    border-bottom: 1px solid var(--line-dark);
    padding: 18px 24px 28px;
    display: none; flex-direction: column; gap: 4px;
    z-index: 55;
    box-shadow: var(--shadow);
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { padding: 14px 4px; font-size: 17px; font-weight: 500; color: var(--ink-light); border-bottom: 1px solid var(--line-dark); }
  .mobile-menu a.active { color: var(--magenta); }
  .mobile-menu .btn { margin-top: 16px; }
  .mobile-menu .m-phone { color: #fff; font-weight: 700; }
}
@media (min-width: 901px) { .mobile-menu { display: none !important; } }

/* ---------- Hero ---------- */
.hero { padding: 78px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero h1 .accent { color: var(--magenta); }
.hero h1 .accent-cyan { color: var(--cyan); }
.hero .lead { margin-top: 24px; color: var(--ink-light); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-visual { position: relative; aspect-ratio: 3/4; width: 100%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(28, 28, 30, 0.86); backdrop-filter: blur(8px);
  padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-dark-strong);
}
.hero-badge .l { font-size: 11px; color: var(--cyan); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-badge .p { font-size: 14px; color: #fff; font-weight: 600; margin-top: 3px; }
@media (max-width: 900px) {
  .hero { padding: 52px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-visual { aspect-ratio: 3/4; width: 100%; height: auto; max-width: 420px; margin: 0 auto; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--graphite-2); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 26px 0; }
.trust-inner { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--ink-light); }
.trust-item svg { width: 20px; height: 20px; color: var(--cyan); flex-shrink: 0; }

/* ---------- Generic cards grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--graphite-2); border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg); padding: 30px 26px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--magenta); transform: translateY(-2px); }
.card .icon {
  width: 50px; height: 50px; border-radius: 13px;
  background: rgba(233, 30, 140, 0.12); color: var(--magenta);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card .icon svg { width: 24px; height: 24px; }
.card.cyan .icon { background: rgba(0, 180, 216, 0.12); color: var(--cyan); }
.card.cyan:hover { border-color: var(--cyan); }
.card h3 { font-family: var(--font-head); font-size: 20px; color: #fff; margin-bottom: 9px; }
.card p { color: var(--ink-mute); font-size: 15px; line-height: 1.6; }

/* ---------- Split feature row ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius-lg); width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Gallery / portfolio tiles ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  overflow: hidden; background: #000; cursor: pointer; border: 1px solid var(--line-dark);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.tile:hover img { transform: scale(1.05); }
.tile-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%); }
.tile-meta .place { font-size: 11px; color: var(--cyan); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.tile-meta .ttl { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: #fff; line-height: 1.25; }
.tile-tag { position: absolute; top: 14px; left: 14px; padding: 6px 12px; background: rgba(28,28,30,0.85);
  backdrop-filter: blur(8px); border: 1px solid var(--line-dark-strong); border-radius: 999px;
  font-size: 11px; font-weight: 600; color: #fff; letter-spacing: 0.05em; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ---------- Calculator ---------- */
.calc-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: stretch; }
.calc-controls, .calc-result { background: var(--graphite-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 34px; }
.calc-result { background: linear-gradient(180deg, #232325 0%, #1c1c1e 100%); display: flex; flex-direction: column; }
.calc-field { margin-bottom: 28px; }
.calc-field:last-child { margin-bottom: 0; }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.calc-label .name { font-weight: 600; font-size: 15px; color: #fff; }
.calc-label .val { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--cyan); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px;
  background: var(--graphite-3); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px;
  border-radius: 50%; background: var(--magenta); cursor: pointer; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.4); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--magenta);
  cursor: pointer; border: 3px solid #fff; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg button { padding: 14px; border-radius: 12px; background: var(--graphite-3); border: 1px solid var(--line-dark);
  color: var(--ink-mute); font-weight: 600; font-size: 14.5px; transition: all .18s; }
.seg button .sub { display: block; font-size: 12px; font-weight: 500; opacity: 0.7; margin-top: 3px; }
.seg button.active { background: rgba(233,30,140,0.14); border-color: var(--magenta); color: #fff; }
.calc-rows { flex: 1; }
.calc-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; }
.calc-row .k { color: var(--ink-mute); }
.calc-row .v { font-weight: 600; color: #fff; }
.calc-row.disc .v { color: var(--cyan); }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 20px; margin-top: 6px; }
.calc-total .k { font-size: 15px; color: var(--ink-mute); }
.calc-total .v { font-family: var(--font-head); font-weight: 800; font-size: 38px; color: var(--magenta); letter-spacing: -0.02em; }
.calc-total .v small { font-size: 18px; color: var(--ink-light); font-weight: 600; margin-left: 4px; }
.calc-disclaimer { font-size: 12.5px; color: var(--ink-mute); margin-top: 18px; line-height: 1.5; }
.calc-result .btn { margin-top: 20px; }
@media (max-width: 900px) { .calc-wrap { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--graphite-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 30px 26px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-weight: 800;
  font-size: 42px; color: var(--magenta); line-height: 1; display: block; margin-bottom: 16px; }
.step h3 { font-family: var(--font-head); font-size: 19px; color: #fff; margin-bottom: 8px; }
.step p { color: var(--ink-mute); font-size: 14px; line-height: 1.55; }
.section--light .step { background: #fff; border-color: var(--line-light); }
.section--light .step p { color: var(--ink-dark-2); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Public sector ---------- */
.public-wrap { background: linear-gradient(180deg, #232325 0%, #1c1c1e 100%); border: 1px solid var(--line-dark);
  border-radius: 28px; padding: 60px; position: relative; overflow: hidden; }
.public-wrap::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0,180,216,0.18), transparent 70%); pointer-events: none; }
.ref-list { display: flex; flex-direction: column; gap: 14px; }
.ref { display: flex; gap: 18px; align-items: center; padding: 18px 20px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark); border-radius: 14px; }
.ref .yr { font-family: var(--font-head); font-weight: 800; color: var(--cyan); font-size: 14px; min-width: 76px; }
.ref .name { color: #fff; font-weight: 600; font-size: 15px; }
.ref .desc { color: var(--ink-mute); font-size: 13px; margin-top: 2px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-light); margin-bottom: 14px; }
.check-list svg { width: 20px; height: 20px; color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 900px) { .public-wrap { padding: 34px 24px; } }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-dark); }
.section--light .faq-item { border-color: var(--line-light); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 4px; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 19px; color: #fff; }
.section--light .faq-q { color: var(--ink-dark); }
.faq-q .ic { flex-shrink: 0; width: 26px; height: 26px; position: relative; transition: transform .25s ease; }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; background: var(--magenta); border-radius: 2px; }
.faq-q .ic::before { width: 16px; height: 2px; top: 12px; left: 5px; }
.faq-q .ic::after { width: 2px; height: 16px; top: 5px; left: 12px; transition: transform .25s ease; }
.faq-item.open .faq-q .ic::after { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 4px 24px; color: var(--ink-mute); font-size: 16px; line-height: 1.65; max-width: 700px; }
.section--light .faq-a-inner { color: var(--ink-dark-2); }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 52px; align-items: start; }
.form-contact-list { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.form-contact-list a, .form-contact-list div { display: flex; gap: 14px; align-items: center; color: var(--ink-light); font-size: 15.5px; }
.form-contact-list svg { width: 20px; height: 20px; color: var(--magenta); flex-shrink: 0; }
.form-contact-list strong { color: #fff; }
.form-card { background: var(--light); color: var(--ink-dark); border-radius: 22px; padding: 38px; box-shadow: var(--shadow); }
.form-card h2 { color: var(--ink-dark); font-size: 24px; margin-bottom: 6px; }
.form-card .sub { color: var(--ink-dark-2); font-size: 14px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-dark); }
.field input, .field textarea, .field select {
  background: #fff; border: 1px solid #d6d6d2; border-radius: 10px; padding: 13px 14px;
  font-family: inherit; font-size: 15px; color: var(--ink-dark); transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(233,30,140,0.13); }
.field textarea { resize: vertical; min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkfield { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid #d6d6d2;
  padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; cursor: pointer; }
.checkfield input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--magenta); flex-shrink: 0; }
.checkfield .t { font-weight: 600; font-size: 14px; color: var(--ink-dark); }
.checkfield .s { font-size: 12.5px; color: var(--ink-dark-2); margin-top: 2px; }
.form-note { display: flex; gap: 9px; align-items: center; font-size: 12.5px; color: #6b6b6b; margin-top: 14px; }
.form-note svg { width: 15px; height: 15px; flex-shrink: 0; }
/* Honeypot anty-spam: niewidoczny dla ludzi, wypełniany przez boty */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
/* Komunikat po wysłaniu formularza */
.form-status { border-radius: 12px; padding: 14px 16px; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.form-status.ok { background: rgba(0, 180, 216, 0.12); border: 1px solid var(--cyan); color: #0a3a44; }
.form-status.err { background: rgba(233, 30, 140, 0.10); border: 1px solid var(--magenta); color: #7a0f47; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; gap: 34px; } .field-row { grid-template-columns: 1fr; } .form-card { padding: 28px 22px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 20px; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lead { max-width: 660px; color: var(--ink-light); }

/* ---------- Prose (privacy policy) ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 26px; margin: 40px 0 14px; }
.prose h3 { font-size: 19px; color: #fff; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-light); font-size: 16px; line-height: 1.7; }
.prose ul { margin: 12px 0; padding-left: 22px; list-style: disc; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--cyan); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band .lead { color: var(--ink-mute); max-width: 560px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--graphite); border-top: 1px solid var(--line-dark); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand img { height: 42px; margin-bottom: 16px; }
.footer-brand p { color: var(--ink-mute); font-size: 14px; max-width: 320px; }
.footer-col h4 { font-family: var(--font); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-mute); margin-bottom: 15px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a, .footer-col li { color: var(--ink-light); font-size: 14px; }
.footer-col a:hover { color: var(--magenta); }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--ink-mute); }
.footer-bottom a { color: var(--ink-mute); }
.footer-bottom a:hover { color: var(--magenta); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Cookie banner (Consent Mode v2) ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 760px; margin: 0 auto;
  background: var(--graphite-2); border: 1px solid var(--line-dark-strong); border-radius: 16px; padding: 18px 22px;
  display: none; gap: 18px; align-items: center; box-shadow: var(--shadow); }
.cookie-banner.show { display: flex; }
.cookie-banner p { font-size: 13.5px; color: var(--ink-light); flex: 1; }
.cookie-banner a { color: var(--cyan); }
.cookie-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.cookie-banner .btn { padding: 11px 20px; font-size: 14px; flex-shrink: 0; }
/* Akceptuję = wyróżniony (btn-primary). Odrzucam = drugorzędny, mniej zachęcający. */
.btn-cookie-reject { background: transparent; color: var(--ink-mute); border-color: var(--line-dark-strong); font-weight: 500; }
.btn-cookie-reject:hover { color: #fff; border-color: var(--ink-mute); background: rgba(255, 255, 255, 0.04); transform: none; }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: left; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}

/* Stały przycisk ustawień cookies (lewy dolny róg) - zawsze widoczny */
.cookie-fab { position: fixed; left: 16px; bottom: 16px; z-index: 70; width: 46px; height: 46px; border-radius: 50%;
  background: var(--graphite-2); border: 1px solid var(--line-dark-strong); color: var(--ink-light);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  transition: transform .15s ease, color .15s ease, border-color .15s ease; }
.cookie-fab:hover { transform: translateY(-2px); color: var(--cyan); border-color: var(--cyan); }
.cookie-fab svg { width: 22px; height: 22px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.lightbox.show { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 12px; }
.lightbox .close { position: absolute; top: 20px; right: 24px; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; }

/* ---------- Preloader (logo) ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: var(--graphite);
  opacity: 1; transition: opacity .5s ease;
}
.preloader.hide { opacity: 0; pointer-events: none; }
.preloader-logo { width: clamp(240px, 64vw, 380px); height: auto; animation: preloader-in .6s ease both; }
@keyframes preloader-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
/* Blokada przewijania, dopóki widoczny jest preloader */
html.preloading, html.preloading body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .preloader { transition: opacity .25s ease; }
  .preloader-logo, .preloader-word { animation: none; }
}

/* ---------- Skeleton kafelków galerii (placeholder na czas ładowania) ---------- */
.tile { background: linear-gradient(110deg, #232325 30%, #2a2a2c 50%, #232325 70%); background-size: 200% 100%; animation: tile-skeleton 1.5s ease-in-out infinite; }
@keyframes tile-skeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .tile { animation: none; } }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.muted { color: var(--ink-mute); }
.divider-link { display: inline-flex; align-items: center; gap: 8px; color: var(--magenta); font-weight: 600; font-size: 15px; }
.divider-link svg { width: 16px; height: 16px; }
.section--light .divider-link { color: var(--magenta-dark); }
