/* =========================================================================
   Firma Transportowo-Uslugowa Tomasz Fober
   Wspolny arkusz stylow. Baza: antracyt / grafit. Akcent: zolty.
   Bez czerwieni. Bez zaleznosci zewnetrznych.
   ========================================================================= */

:root {
  --ink: #15181c;
  --ink-2: #1b1f24;
  --graphite: #23282e;
  --graphite-2: #2b313a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #eef1f4;
  --text-muted: #aab2bc;
  --text-dim: #868f99;

  --yellow: #ffc629;
  --yellow-600: #e6a700;
  --yellow-tint: rgba(255, 198, 41, 0.12);
  --yellow-tint-2: rgba(255, 198, 41, 0.20);
  --white: #ffffff;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.65);
  --shadow-sm: 0 8px 22px -14px rgba(0, 0, 0, 0.7);
  --maxw: 1200px;
  --gutter: clamp(1rem, 4vw, 2.25rem);
  --hero-grad: linear-gradient(180deg, rgba(15, 17, 21, 0.62) 0%, rgba(15, 17, 21, 0.78) 55%, rgba(15, 17, 21, 0.96) 100%);

  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --speed: 0.25s;
}

/* ------------------------------ Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--yellow); text-decoration: none; }
a:hover { color: var(--yellow-600); }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
strong { color: var(--white); font-weight: 700; }

/* ---------------------------- Utilities ------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.25rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt { background: var(--ink-2); }
.section--line { border-top: 1px solid var(--line); }
.lead { font-size: clamp(1.075rem, 2.2vw, 1.3rem); color: var(--text-muted); max-width: 60ch; }
.muted { color: var(--text-muted); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.nowrap { white-space: nowrap; }

.kicker {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--yellow);
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--yellow); border-radius: 2px; }

.section-head { max-width: 64ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-top: 0.7rem; }
.section-head p { margin-top: 0.9rem; color: var(--text-muted); font-size: 1.08rem; }

/* ------------------------- Skip link / a11y --------------------------- */
.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 200;
  background: var(--yellow); color: #111; padding: 0.7rem 1.1rem;
  border-radius: 0 0 10px 10px; font-weight: 700; transition: top var(--speed);
}
.skip-link:focus { top: 0; color: #111; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------------ Buttons ------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.92rem 1.6rem; border-radius: var(--radius-sm);
  font-weight: 700; letter-spacing: 0.01em; border: 2px solid transparent;
  transition: transform var(--speed), background var(--speed), box-shadow var(--speed), border-color var(--speed);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--yellow); color: #16181b; box-shadow: 0 10px 24px -10px rgba(255, 198, 41, 0.6); }
.btn-primary:hover { background: var(--yellow-600); color: #16181b; transform: translateY(-2px); }
.btn-outline { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }
.btn-ghost { color: var(--text); background: var(--graphite); }
.btn-ghost:hover { color: var(--yellow); }
.btn-block { width: 100%; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }

.btn-group { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ------------------------------ Topbar -------------------------------- */
.topbar { background: #0f1216; border-bottom: 1px solid var(--line); font-size: 0.9rem; color: var(--text-muted); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar a { color: var(--text-muted); }
.topbar a:hover { color: var(--yellow); }
.topbar .topbar-meta { display: flex; gap: 1.4rem; flex-wrap: nowrap; white-space: nowrap; }
.topbar svg { width: 15px; height: 15px; color: var(--yellow); }
@media (max-width: 760px) { .topbar { display: none; } }

/* ------------------------------ Header -------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(21, 24, 28, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--speed), background var(--speed);
}
.site-header.scrolled { box-shadow: var(--shadow); background: rgba(17, 19, 23, 0.94); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--text); }
.brand:hover { color: var(--text); }
.brand .mark { width: 42px; height: 42px; flex: none; border-radius: 11px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.12rem; letter-spacing: -0.01em; color: var(--white); }
.brand-text span { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.site-nav > ul { display: flex; align-items: center; gap: 0.35rem; }
.site-nav a {
  color: var(--text-muted); font-weight: 600; font-size: 0.97rem;
  padding: 0.55rem 0.8rem; border-radius: 8px; position: relative;
  transition: color var(--speed), background var(--speed);
}
.site-nav a:hover { color: var(--white); background: var(--yellow-tint); }
.site-nav a[aria-current="page"] { color: var(--yellow); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.28rem;
  height: 2px; background: var(--yellow); border-radius: 2px;
}
.site-nav a.nav-cta {
  background: var(--yellow); color: #16181b; padding: 0.6rem 1.15rem;
}
.site-nav a.nav-cta:hover { background: var(--yellow-600); color: #16181b; }
.site-nav a.nav-cta::after { display: none; }

.nav-toggle { display: none; }

/* mobile nav */
@media (max-width: 960px) {
  .site-nav {
    position: fixed; inset: 72px 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: 0.6rem var(--gutter) 1.3rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform var(--speed), opacity var(--speed);
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0.3rem; }
  .site-nav a { padding: 0.95rem 0.8rem; font-size: 1.05rem; border-radius: 8px; }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav a[aria-current="page"] { background: var(--yellow-tint); }
  .site-nav a.nav-cta { margin-top: 0.9rem; text-align: center; justify-content: center; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line-strong);
    border-radius: 10px; background: var(--graphite); padding: 0 11px;
  }
  .nav-toggle .bar { height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform var(--speed), opacity var(--speed); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
.nav-phone { display: none; }
@media (max-width: 960px) {
  .nav-phone {
    display: inline-flex; justify-content: center; gap: 0.5rem; margin-top: 0.8rem;
    padding: 0.85rem; border: 1px solid var(--line-strong); border-radius: 8px;
    color: var(--text); font-weight: 700;
  }
  .nav-phone:hover { border-color: var(--yellow); color: var(--yellow); }
  .nav-phone svg { width: 20px; height: 20px; flex: none; }
}

/* ------------------------------- Hero --------------------------------- */
.hero {
  position: relative; isolation: isolate;
  /* Bezpiecznik: ciemne tlo, gdyby zaden obraz sie nie zaladowal (tekst pozostaje czytelny). */
  background-color: var(--ink);
  /* Baza: JPG (uniwersalny). Wersja mobilna i WebP nadpisuja ponizej. */
  background-image: var(--hero-grad), var(--hero-jpg);
  background-size: cover; background-position: center;
  border-bottom: 1px solid var(--line);
}
/* Mniejszy obraz na smartfonach (mniejszy transfer). */
@media (max-width: 780px) {
  .hero { background-image: var(--hero-grad), var(--hero-jpg-sm); }
}
/* Nowoczesne przegladarki: WebP zamiast JPG (mniejszy transfer). image-set z type()
   jako proxy wykrycia wsparcia; starsze przegladarki zostaja na JPG powyzej. */
@supports (background-image: image-set(url("i.webp") type("image/webp"))) {
  .hero { background-image: var(--hero-grad), var(--hero-img); }
  @media (max-width: 780px) {
    .hero { background-image: var(--hero-grad), var(--hero-img-sm); }
  }
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 80% at 12% 0%, rgba(255, 198, 41, 0.10), transparent 60%);
}
.hero-inner { padding-block: clamp(3.5rem, 11vw, 7.5rem); max-width: 760px; }
.hero h1 { font-size: clamp(2.05rem, 6vw, 3.75rem); letter-spacing: -0.02em; }
.hero h1 .hl { color: var(--yellow); }
.hero p.lead { margin-top: 1.2rem; color: #d8dde2; }
.hero .btn-group { margin-top: 2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: 2.2rem; }
.hero-badges li { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text-muted); font-size: 0.95rem; font-weight: 600; }
.hero-badges svg { width: 19px; height: 19px; color: var(--yellow); flex: none; }
.hero--page .hero-inner { padding-block: clamp(2.75rem, 8vw, 5rem); max-width: 820px; }
.hero--page h1 { font-size: clamp(1.9rem, 5vw, 3rem); }

/* --------------------------- Breadcrumbs ------------------------------ */
.breadcrumbs { background: var(--ink-2); border-bottom: 1px solid var(--line); font-size: 0.86rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding-block: 0.7rem; color: var(--text-dim); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.5rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--text-dim); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--yellow); }
.breadcrumbs [aria-current="page"] { color: var(--text); }

/* ----------------------------- Cards grid ----------------------------- */
.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.5rem); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--graphite); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem;
  transition: transform var(--speed), border-color var(--speed), box-shadow var(--speed);
}
.card.is-link:hover { transform: translateY(-4px); border-color: var(--yellow-tint-2); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--yellow-tint); color: var(--yellow); margin-bottom: 1.1rem;
}
.card .icon svg { width: 27px; height: 27px; }
.card h3 { font-size: 1.22rem; margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); font-size: 0.98rem; }
.card .card-link { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1rem; font-weight: 700; font-size: 0.95rem; }
.card .card-link svg { width: 17px; height: 17px; transition: transform var(--speed); }
.card.is-link:hover .card-link svg { transform: translateX(4px); }
a.card { color: var(--text); display: block; }

/* feature list with check icons */
.checklist { display: grid; gap: 0.75rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--text-muted); }
.checklist li strong { color: var(--text); }
.checklist svg { width: 22px; height: 22px; color: var(--yellow); flex: none; margin-top: 2px; }
.checklist.cols { grid-template-columns: 1fr 1fr; gap: 0.75rem 2rem; }
@media (max-width: 620px) { .checklist.cols { grid-template-columns: 1fr; } }

/* two column split */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split.rev .split-media { order: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev .split-media { order: 0; } }
.split-media picture, .gallery picture { display: block; width: 100%; }
.split-media img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.split h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.split .kicker { margin-bottom: 0.7rem; }
.split p { color: var(--text-muted); margin-top: 0.9rem; }
.split .btn-group { margin-top: 1.6rem; }

/* materials / tag chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.95rem;
  border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.92rem; color: var(--text-muted);
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }

/* stat band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 1.4rem 1rem; background: var(--graphite); border: 1px solid var(--line); border-radius: var(--radius); }
.stat b { display: block; font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--yellow); line-height: 1; }
.stat span { display: block; margin-top: 0.5rem; color: var(--text-muted); font-size: 0.92rem; }

/* equipment cards */
.machine { background: var(--graphite); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.machine-body { padding: 1.5rem; }
.machine h3 { font-size: 1.2rem; }
.machine .tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yellow); background: var(--yellow-tint); padding: 0.25rem 0.6rem; border-radius: 6px; margin-bottom: 0.8rem; }
.machine ul { margin-top: 0.9rem; display: grid; gap: 0.5rem; }
.machine ul li { display: flex; gap: 0.6rem; color: var(--text-muted); font-size: 0.95rem; }
.machine ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); margin-top: 0.55rem; flex: none; }

/* process steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 1.6rem 1.3rem; background: var(--graphite); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-weight: 800; font-size: 1.05rem; color: #16181b; background: var(--yellow);
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 1rem;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--text-muted); font-size: 0.95rem; margin-top: 0.45rem; }

/* ------------------------------ Gallery ------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--graphite); }
.gallery button.gal-item { display: block; width: 100%; padding: 0; border: 0; background: none; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 0.9rem 0.7rem;
  font-size: 0.82rem; color: #eef1f4; text-align: left;
  background: linear-gradient(180deg, transparent, rgba(12, 14, 17, 0.92));
  transform: translateY(8px); opacity: 0; transition: opacity var(--speed), transform var(--speed);
}
.gallery figure:hover figcaption, .gallery button.gal-item:focus-visible figcaption { opacity: 1; transform: translateY(0); }
.gallery .zoom-ico { position: absolute; top: 0.7rem; right: 0.7rem; width: 34px; height: 34px; border-radius: 9px; background: rgba(15,17,21,0.7); display: grid; place-items: center; opacity: 0; transition: opacity var(--speed); }
.gallery .zoom-ico svg { width: 18px; height: 18px; color: var(--yellow); }
.gallery figure:hover .zoom-ico { opacity: 1; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center;
  background: rgba(8, 9, 11, 0.92); backdrop-filter: blur(4px); padding: clamp(1rem, 4vw, 3rem); }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 0.7rem; }
.lightbox img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: 10px; border: 1px solid var(--line-strong); }
.lightbox figcaption { color: var(--text-muted); text-align: center; font-size: 0.95rem; }
.lightbox figcaption b { color: var(--white); display: block; font-size: 1rem; margin-bottom: 0.15rem; }
.lb-btn { position: absolute; background: var(--graphite); border: 1px solid var(--line-strong); color: var(--text);
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; transition: background var(--speed), color var(--speed); }
.lb-btn:hover { background: var(--yellow); color: #16181b; }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 1.1rem; right: 1.1rem; }
.lb-prev { left: clamp(0.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(0.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%); color: var(--text-dim); font-size: 0.85rem; letter-spacing: 0.1em; }
@media (max-width: 620px) { .lb-prev { left: 0.4rem; } .lb-next { right: 0.4rem; } .lb-btn { width: 44px; height: 44px; } }

/* ------------------------------ Contact ------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 1.1rem; }
.contact-row { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-row .ci-icon { width: 46px; height: 46px; flex: none; border-radius: 11px; background: var(--yellow-tint); color: var(--yellow); display: grid; place-items: center; }
.contact-row .ci-icon svg { width: 22px; height: 22px; }
.contact-row b { color: var(--white); display: block; font-size: 0.98rem; }
.contact-row a, .contact-row span { color: var(--text-muted); }
.contact-row a:hover { color: var(--yellow); }

.card-form { background: var(--graphite); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.45rem; color: var(--text); }
.field label .req { color: var(--yellow); }
.field input, .field textarea, .field select {
  width: 100%; background: var(--ink-2); border: 1px solid var(--line-strong); color: var(--text);
  border-radius: var(--radius-sm); padding: 0.8rem 0.95rem; font: inherit; transition: border-color var(--speed), box-shadow var(--speed);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-tint); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.86rem; color: var(--text-muted); }
.consent input[type="checkbox"],
.consent input[type="checkbox"]:focus {
  width: auto; height: auto; flex: none; margin-top: 0.2rem;
  accent-color: var(--yellow);
  background: transparent; border: none; border-radius: 0;
  padding: 0; box-shadow: none; transition: none;
}
.consent label { font-weight: 400; margin-bottom: 0; }
.form-note { font-size: 0.82rem; color: var(--text-dim); margin-top: 0.8rem; }
.form-alert { border-radius: var(--radius-sm); padding: 0.9rem 1.1rem; margin-bottom: 1.1rem; font-size: 0.95rem; display: none; }
.form-alert.show { display: block; }
.form-alert.ok { background: rgba(255, 198, 41, 0.12); border: 1px solid var(--yellow-tint-2); color: #ffe9a8; }
.form-alert.err { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-strong); color: var(--text); }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 1.5rem; }
.map-embed iframe { width: 100%; height: 380px; border: 0; filter: grayscale(0.25) contrast(1.05); }

/* ------------------------------ CTA band ------------------------------ */
.cta-band { background: linear-gradient(120deg, var(--graphite), var(--ink-2)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3rem); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -40px; top: -40px; width: 240px; height: 240px; background: radial-gradient(circle, var(--yellow-tint), transparent 70%); }
.cta-band .cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; position: relative; }
.cta-band h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); max-width: 24ch; }
.cta-band p { color: var(--text-muted); margin-top: 0.5rem; }

/* ------------------------------ Footer -------------------------------- */
.site-footer { background: #0f1216; border-top: 1px solid var(--line); padding-top: clamp(2.8rem, 6vw, 4.5rem); margin-top: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 2.5rem); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-col h4 { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a, .footer-col p, .footer-col li { color: var(--text-muted); font-size: 0.96rem; }
.footer-col a:hover { color: var(--yellow); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--yellow); flex: none; margin-top: 4px; }
.footer-about p { color: var(--text-muted); font-size: 0.96rem; max-width: 38ch; }
.footer-bottom { margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); padding-block: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { color: var(--text-dim); font-size: 0.86rem; margin: 0; }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--yellow); }
@media (max-width: 620px) {
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
}

/* ---------------------- Dostepnosc: ruch ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .gallery img { transition: none; }
}
