/* ==========================================================================
   LS Atelier — style strony
   Kolory i fonty w zmiennych poniżej. Fonty hostowane lokalnie (RODO).
   ========================================================================== */

@font-face { font-family: "Lato"; src: url("/assets/fonts/lato-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("/assets/fonts/lato-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Lato"; src: url("/assets/fonts/lato-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("/assets/fonts/lato-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --dark: #262626;
  --darker: #1b1b1b;
  --bg: #f7f7f7;
  --bg-alt: #efefef;
  --white: #fff;
  --text: #262626;
  --muted: #5f5f5f;
  --line: #d6d6d6;
  --line-dark: rgba(255, 255, 255, .18);
  --light-text: #efefef;

  --font-head: "Lato", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Lato", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 9vw, 128px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ── podstawy ─────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--white); color: var(--dark); padding: 10px 16px; }
.skip-link:focus { top: 12px; }

.eyebrow { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.2em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46em; }
.section { padding: var(--section) 0; }
.section-tight { padding-top: clamp(32px, 4vw, 56px); }
.section-alt { background: var(--bg-alt); }
.section-title { margin-bottom: .9em; }
.section-title-sm { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: 2.4rem; }
.section-head .section-title { margin: 0; }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ── przyciski ────────────────────────────────────────────────────────── */

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 30px; font: inherit; font-size: .88rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-light { background: var(--white); color: var(--dark); }
.btn-light:hover { background: var(--bg-alt); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--dark); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-outline { border-color: var(--dark); color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); }

/* ── nagłówek ─────────────────────────────────────────────────────────── */

.site-header { position: sticky; top: 0; z-index: 100; background: var(--dark); color: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.logo img { width: 112px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 40px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.site-nav a { text-decoration: none; font-size: .88rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: currentColor; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px !important; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; border: 0 !important; padding: 0 !important; opacity: .85; transition: opacity .2s; }
.social a:hover { opacity: 1; }
.social svg { width: 20px; height: 20px; }

.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: none; border: 0; color: inherit; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .logo img { width: 96px; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: flex-start; gap: 28px; padding: 28px var(--gutter) 36px; background: var(--dark); border-top: 1px solid var(--line-dark); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s var(--ease); }
  .site-nav ul:first-child { flex-direction: column; gap: 18px; }
  .site-nav ul:first-child a { font-family: var(--font-head); font-size: 1.6rem; letter-spacing: 0; text-transform: none; }
}

/* ── hero (strona główna) ─────────────────────────────────────────────── */

.hero { position: relative; color: var(--white); background: var(--darker); min-height: min(calc(100svh - var(--header-h)), 860px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 20, 20, .15) 0%, rgba(20, 20, 20, .25) 40%, rgba(20, 20, 20, .82) 100%); }
.hero-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding-top: 120px; padding-bottom: clamp(40px, 7vw, 88px); }
.hero-text { max-width: 760px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); margin-bottom: .4em; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero-lead { font-size: clamp(.92rem, 1.4vw, 1.05rem); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .9; margin-bottom: 2.2em; }
.counters { display: flex; gap: clamp(28px, 4vw, 56px); margin: 0; flex-shrink: 0; }
.counters div { border-left: 1px solid rgba(255, 255, 255, .45); padding-left: 18px; }
.counters dt { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.counters dd { margin: 8px 0 0; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; max-width: 9em; line-height: 1.35; }
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 40px; }
}

/* ── klienci ──────────────────────────────────────────────────────────── */

.clients { background: var(--white); padding: 44px 0; border-bottom: 1px solid var(--bg-alt); }
.clients .eyebrow { text-align: center; }
.clients-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px clamp(32px, 5vw, 72px); }
.clients-list img { height: auto; max-height: 40px; width: auto; max-width: 150px; filter: grayscale(1); opacity: .7; transition: opacity .2s; }
.clients-list img:hover { opacity: 1; }

/* ── usługi ───────────────────────────────────────────────────────────── */

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: clamp(28px, 4vw, 48px); }
.service { border-top: 1px solid var(--dark); padding-top: 24px; }
.service-nr { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .2em; color: var(--muted); margin-bottom: 18px; }
.service h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); }
.service p { color: var(--muted); margin: 0; }
@media (min-width: 1100px) { .services-grid:has(> .service:nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 1099px) { .services-grid:has(> .service:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); } }

/* ── karty realizacji ─────────────────────────────────────────────────── */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 32px); }
.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { display: block; padding-top: 18px; }
.card-meta { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.card-title { font-size: 1.3rem; margin: 0 0 .4em; transition: opacity .2s; }
.card:hover .card-title { opacity: .7; }
.card-text { display: block; font-size: .95rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* ── wezwanie do kontaktu ─────────────────────────────────────────────── */

.cta { position: relative; color: var(--white); background: var(--darker); overflow: hidden; }
.cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
/* Paralaksa zdjęć w tle (hero i „Każdy projekt zaczyna się od rozmowy”) — włącza ją main.js.
   Zdjęcie jest o 24% wyższe niż sekcja, więc przesunięcie o ±12% nigdy nie odsłania krawędzi. */
.js-parallax .hero-img, .js-parallax .cta-img { top: -12%; bottom: auto; height: 124%; will-change: transform; }
.cta-inner { position: relative; padding-top: var(--section); padding-bottom: var(--section); text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta h2 { max-width: 16em; }
.cta p { opacity: .85; max-width: 34em; }
.cta-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin: 8px 0 32px; font-size: clamp(1.1rem, 2vw, 1.35rem); opacity: 1 !important; }
.cta-contact a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.cta-contact a:hover { border-bottom-color: var(--white); }

/* ── nagłówki podstron ────────────────────────────────────────────────── */

.page-head { padding: clamp(56px, 8vw, 112px) 0 clamp(24px, 3vw, 40px); }
.page-head h1 { margin-bottom: .3em; }
.page-head-image { position: relative; color: var(--white); background: var(--darker); padding-bottom: clamp(56px, 8vw, 112px); overflow: hidden; }
.page-head-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-head-image .container { position: relative; }
.page-head-image .lead { color: rgba(255, 255, 255, .88); }
.page-404 { min-height: 60vh; padding-bottom: var(--section); }

/* ── podstrona realizacji ─────────────────────────────────────────────── */

.project-hero { background: var(--darker); }
.project-hero img { width: 100%; height: min(72vh, 760px); object-fit: cover; }
.project-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px clamp(40px, 6vw, 96px); padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(40px, 5vw, 72px); }
.project-intro { grid-column: 1 / -1; max-width: 900px; }
.breadcrumbs { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a::before { content: "← "; }
.breadcrumbs a:hover { color: var(--text); }
.facts { margin: 0; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.facts div { border-top: 1px solid var(--line); padding: 14px 0; }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; }
.facts-note dd { font-size: .92rem; color: var(--muted); font-style: italic; }
@media (max-width: 860px) {
  .project-body { grid-template-columns: 1fr; }
  .facts { position: static; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .facts div:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); }
  .facts-note { grid-column: 1 / -1; }
  .project-hero img { height: 52vh; }
}

.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .55em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--dark); font-family: var(--font-head); font-style: italic; font-size: 1.3rem; line-height: 1.45; }
.prose blockquote p:last-child { font-family: var(--font-body); font-style: normal; font-size: .95rem; color: var(--muted); }
.prose a { text-underline-offset: 3px; }
.prose > :first-child { margin-top: 0; }
mark.todo { background: #ffe58a; color: #3d3100; padding: 0 3px; }
.prose-legal { max-width: 820px; font-size: 1rem; }
.legal-date { color: var(--muted); margin-top: 2.5em; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(10px, 1.4vw, 20px); grid-auto-flow: dense; }
.g-item { display: block; overflow: hidden; background: var(--line); aspect-ratio: 3 / 2; cursor: zoom-in; }
.g-item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.g-tall { grid-row: span 2; aspect-ratio: auto; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .3s; }
.g-item:hover img { transform: scale(1.025); }
@media (max-width: 620px) {
  .gallery { grid-template-columns: 1fr; }
  .g-tall { grid-row: auto; aspect-ratio: 3 / 4; }
}

.project-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.project-nav a { text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
.project-nav a span { display: block; font-family: var(--font-body); font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.project-nav-prev span::before { content: "← "; }
.project-nav-next { text-align: right; }
.project-nav-next span::after { content: " →"; }
.project-nav a:hover { opacity: .7; }
.project-nav .project-nav-all { font-family: var(--font-body); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--dark); padding: 12px 20px; }
@media (max-width: 700px) {
  .project-nav { grid-template-columns: 1fr 1fr; }
  .project-nav .project-nav-all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}

/* lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(15, 15, 15, .96); color: var(--white); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(15, 15, 15, .96); }
.lightbox img { max-width: calc(100vw - 140px); max-height: calc(100vh - 100px); width: auto; height: auto; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: inherit; font: 400 2.6rem/1 var(--font-body); width: 60px; height: 60px; cursor: pointer; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: .85rem; letter-spacing: .14em; opacity: .7; margin: 0; }
@media (max-width: 700px) {
  .lightbox img { max-width: 100vw; }
  .lb-prev, .lb-next { top: auto; bottom: 4px; transform: none; }
}

/* ── o nas ──────────────────────────────────────────────────────────── */

.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-photo { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); background: var(--line); }
.about-photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.about-name { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: .7em; }
.about-text .eyebrow { margin-bottom: .6em; }
.about-text .prose { font-size: 1.05rem; }
.about-quote { margin: 2.2em 0 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--dark); font-style: italic; font-size: 1.25rem; line-height: 1.45; max-width: 34em; }
.about-quote p { margin: 0; }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); }
.process-step { border-top: 1px solid var(--dark); padding-top: 24px; }
.process-step h3 { font-size: 1.2rem; }
.process-step p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 1000px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 520px; }
}
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ── kontakt ──────────────────────────────────────────────────────────── */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(48px, 7vw, 120px); }
.contact-name { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.contact-info address { font-style: normal; font-size: 1.1rem; margin-bottom: 1em; }
.contact-big { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.7; margin: 1.6em 0; }
.contact-big a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-big a:hover { border-bottom-color: var(--dark); }
.social-dark { gap: 8px !important; }
.social-dark a { border: 1px solid var(--line) !important; width: 44px; height: 44px; }
.social-dark a:hover { border-color: var(--dark) !important; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* formularz (na bazie wzory/formularz) */
.contact-form { display: grid; gap: 22px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 600px) { .contact-form .form-row { grid-template-columns: 1fr; } }
.contact-form .form-field { display: grid; gap: 4px; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-form .form-field small { font-weight: 400; text-transform: none; letter-spacing: 0; }
.contact-form .form-input { font: inherit; font-size: 1.05rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text); padding: 10px 0; border: 0; border-bottom: 1px solid #b9b9b9; border-radius: 0; background: transparent; transition: border-color .2s; }
.contact-form .form-input:focus { outline: none; border-bottom-color: var(--dark); box-shadow: 0 1px 0 var(--dark); }
.contact-form .form-textarea { resize: vertical; min-height: 140px; }
.contact-form .form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form .form-consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; line-height: 1.55; color: var(--muted); }
.contact-form .form-checkbox { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--dark); flex-shrink: 0; }
.contact-form .form-submit { justify-self: start; }
.contact-form .req { color: #b3261e; text-decoration: none; border: 0; font-weight: 700; cursor: help; }
.contact-form .form-note { margin: -6px 0 0; font-size: .85rem; color: var(--muted); }
.contact-form .form-submit:disabled { opacity: .6; cursor: wait; }
.contact-form .form-status { margin: 0; min-height: 1.5em; }
.contact-form .form-status.is-success { color: #1f7a3a; }
.contact-form .form-status.is-error { color: #b3261e; }

/* ── stopka ───────────────────────────────────────────────────────────── */

.site-footer { background: var(--dark); color: var(--light-text); font-size: .95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: clamp(56px, 7vw, 88px); padding-bottom: 48px; }
.footer-brand img { width: 112px; margin-bottom: 20px; }
.footer-claim { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; line-height: 1.3; max-width: 12em; }
.footer-title { font-family: var(--font-body); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; opacity: .6; margin-bottom: 1.1em; }
.footer-links { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 6px; }
.social-footer { margin-left: -7px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line-dark); font-size: .82rem; opacity: .75; }
.footer-legal p { margin: 0; }
.footer-legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ── baner cookies (na bazie wzory/cookies) ───────────────────────────── */

.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999; max-width: 760px; margin: 0 auto; padding: 22px 26px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; background: var(--dark); color: var(--light-text); box-shadow: 0 10px 40px rgba(0, 0, 0, .3); }
.cookie-banner-text { flex: 1 1 320px; margin: 0; font-size: .86rem; line-height: 1.6; }
.cookie-banner-link { color: inherit; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-btn { font: inherit; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 12px 18px; cursor: pointer; border: 1px solid var(--light-text); }
.cookie-btn-secondary { background: transparent; color: var(--light-text); }
.cookie-btn-primary { background: var(--light-text); color: var(--dark); }
