/* BB.ZONE by BANABRA — likwidacja szkód komunikacyjnych (WERSJA ROBOCZA)
   Układ wzorowany na SzymCars; identyfikacja wg księgi znaku BB.ZONE v1.0 (clients/bb-zone/brand/).
   Kolory: czerń #0B0B0C (~60%), biel (~25%), neon #8CFF2E jako sygnał (~10%), grafit #1A1A1C na karty.
   Neon tylko na ciemnym tle. Fonty Saira hostowane lokalnie (OFL) — zero zapytań do Google. */

@font-face { font-family: "Saira"; src: url("assets/fonts/saira--regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Saira"; src: url("assets/fonts/saira--medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Saira"; src: url("assets/fonts/saira--extrabold-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Saira Condensed"; src: url("assets/fonts/saira-condensed--semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Saira Condensed"; src: url("assets/fonts/saira-condensed--bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #0B0B0C;            /* Czerń BB */
  --bg-2: #1A1A1C;          /* Grafit */
  --bg-3: #232326;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #FFFFFF;          /* Biel */
  --soft: #D4D4D8;
  --muted: #A1A1A8;
  --neon: #8CFF2E;          /* Neon BB — akcent na ciemnym tle */
  --neon-hi: #A6FF5C;
  --neon-soft: rgba(140, 255, 46, .10);
  --radius: 12px;
  --max: 1180px;
  --font: "Saira", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-cond: "Saira Condensed", "Saira", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font); font-weight: 800; font-style: italic; line-height: 1.08; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; }
h1, h2 { text-wrap: balance; }                      /* when a heading must wrap (phones), split it evenly */
/* Headings sit on one line on desktop. Half-width columns get a smaller h2 so their headings fit too.
   Guard: script.js warns in the console (localhost only) if any h2 wraps at >= 900 px. */
.split h2, .form-wrap h2 { font-size: clamp(1.6rem, 2.5vw, 2.15rem); }
@media (min-width: 900px) { h2 { white-space: nowrap; } }
p { margin: 0 0 1em; }
strong { font-weight: 500; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 700 .82rem/1 var(--font-cond); letter-spacing: .2em; text-transform: uppercase;
  color: var(--neon); margin-bottom: 1.1rem;
}
.eyebrow::before { /* kwadrat · punkt — pochylony jak litery */
  content: ""; width: .6em; height: .6em; background: var(--neon); transform: skewX(-14deg);
}
.lead { font-size: 1.15rem; color: var(--soft); max-width: 46rem; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--neon); color: var(--bg); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Draft banner + placeholders ---------- */
.draft-bar {
  background: repeating-linear-gradient(135deg, #2a2410 0 14px, #231e0c 14px 28px);
  color: #F2D27A; font-size: .82rem; text-align: center; padding: .45rem 1rem; border-bottom: 1px solid #4a3e14;
}
.todo {
  background: rgba(242, 210, 122, .12); color: #F2D27A; border: 1px dashed rgba(242, 210, 122, .55);
  border-radius: 4px; padding: 0 .3em; white-space: nowrap; font-style: normal;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; justify-content: center;
  padding: .85rem 1.5rem; border-radius: 6px;
  font: 700 1rem/1.2 var(--font-cond); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--neon); color: var(--bg); }       /* czerń na neonie: 16:1 */
.btn-primary:hover { background: var(--neon-hi); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn svg { width: 1.1em; height: 1.1em; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 12, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.4rem; height: 96px; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.logo { height: 72px; width: auto; }           /* 72 px ≈ 220 px wide (client: "logo too small"); book min. 140 px */
@media (max-width: 560px) { .header-inner { height: 80px; } .logo { height: 56px; } }
.nav { display: flex; gap: 1.5rem; align-items: center; }   /* 6 items + logo + phone + CTA must fit 1180 px; script.js guards it */
.nav a {
  text-decoration: none; font: 600 .95rem/1 var(--font-cond); letter-spacing: .08em; text-transform: uppercase;
  color: var(--soft); white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--neon); padding-bottom: .35rem; }
.nav .ext::after { content: " ↗"; font-size: .8em; color: var(--muted); }
.header-phone { text-decoration: none; font: 700 1.1rem/1 var(--font-cond); letter-spacing: .04em; color: var(--neon); white-space: nowrap; display: flex; align-items: center; gap: .45rem; }
.header-phone svg { width: 18px; height: 18px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--text); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

@media (max-width: 1240px) {
  .nav-toggle { display: grid; place-items: center; }
  .header-phone span { display: none; }
  .header-cta { display: none; }
  .nav {
    /* header's backdrop-filter makes it the containing block, so anchor to its bottom edge */
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: .5rem 20px 1.2rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    max-height: calc(100vh - 96px); overflow: auto;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--neon); padding-bottom: 1rem; }
}

/* ---------- Narożniki · strefa (kadr z logo) ---------- */
.framed { position: relative; }
.framed::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; --c: 26px; --w: 3px;
  background:
    linear-gradient(var(--neon), var(--neon)) top left / var(--c) var(--w),
    linear-gradient(var(--neon), var(--neon)) top left / var(--w) var(--c),
    linear-gradient(var(--neon), var(--neon)) top right / var(--c) var(--w),
    linear-gradient(var(--neon), var(--neon)) top right / var(--w) var(--c),
    linear-gradient(var(--neon), var(--neon)) bottom left / var(--c) var(--w),
    linear-gradient(var(--neon), var(--neon)) bottom left / var(--w) var(--c),
    linear-gradient(var(--neon), var(--neon)) bottom right / var(--c) var(--w),
    linear-gradient(var(--neon), var(--neon)) bottom right / var(--w) var(--c);
  background-repeat: no-repeat;
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(140, 255, 46, .09), transparent 60%),
    linear-gradient(180deg, #111113, var(--bg));
}
.hero::after { /* motyw drogi — przerywana linia */
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 420px; height: 420px; z-index: -1;
  background: repeating-linear-gradient(-45deg, transparent 0 34px, rgba(255, 255, 255, .045) 34px 38px);
  mask-image: radial-gradient(circle at 70% 70%, #000 0, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 70% 70%, #000 0, transparent 70%);
}
.hero h1 em, .page-hero h1 em { color: var(--neon); font-style: italic; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 0; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 3.2rem; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-width: 780px; }
.hero-stats div { background: rgba(26, 26, 28, .92); padding: 1.1rem 1.2rem; }
.hero-stats strong { display: block; font: 800 italic 1.6rem/1.2 var(--font); }
.hero-stats span { font: 600 .82rem/1.3 var(--font-cond); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 560px) { .hero-stats { grid-template-columns: 1fr; } }

.page-hero { padding: clamp(3.2rem, 8vw, 5.5rem) 0 clamp(2.4rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); position: relative; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 380px at 90% 0%, rgba(140, 255, 46, .07), transparent 60%); }
.crumbs { font: 600 .85rem/1 var(--font-cond); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { color: var(--muted); }

/* ---------- Sections ---------- */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: #111113; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 2.6rem; }           /* no width cap here — it wrapped every long heading; .lead carries its own */

.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1020px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  position: relative; display: flex; flex-direction: column; text-decoration: none;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem 1.4rem;
  transition: border-color .2s ease, transform .2s ease;
}
.pillar:hover { border-color: rgba(140, 255, 46, .5); transform: translateY(-3px); }
.pillar .num { font: 700 .85rem/1 var(--font-cond); color: var(--neon); letter-spacing: .14em; }
.pillar h3 { margin: .8rem 0 .5rem; }
.pillar p { color: var(--muted); font-size: .95rem; flex: 1; }
.pillar .more { font: 700 .9rem/1 var(--font-cond); letter-spacing: .1em; text-transform: uppercase; }
.pillar .partner { display: inline-block; font: 600 .72rem/1.4 var(--font-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: .15rem .6rem; margin-bottom: .8rem; align-self: flex-start; }
.pillar-main { background: linear-gradient(160deg, rgba(140, 255, 46, .10), var(--bg-2) 60%); border-color: rgba(140, 255, 46, .35); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.ph { /* placeholder zdjęcia */
  aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1px dashed var(--line-strong);
  background: repeating-linear-gradient(135deg, var(--bg-3) 0 18px, var(--bg-2) 18px 36px);
  display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .9rem; padding: 1rem;
}
.ph strong { display: block; color: var(--text); font-size: 1rem; }

.checks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .9rem; }
.checks li { position: relative; padding-left: 1.9rem; }
.checks li::before { /* kwadrat z logo */
  content: ""; position: absolute; left: .15rem; top: .45em; width: .7rem; height: .7rem;
  background: var(--neon); transform: skewX(-14deg);
}
.checks strong { display: block; }
.checks span { color: var(--muted); font-size: .95rem; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 2px solid var(--neon); padding-top: 1.2rem; }
.step::before { counter-increment: s; content: "0" counter(s); font: 800 italic 2.1rem/1 var(--font); color: rgba(255, 255, 255, .16); display: block; margin-bottom: .6rem; }
.step p { color: var(--muted); font-size: .95rem; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.section-alt .card { background: var(--bg-2); }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card.todo-card { border-style: dashed; border-color: rgba(242, 210, 122, .45); }

.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.4rem 1.2rem 0; font-weight: 500; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: .95rem; font-size: 1.5rem; color: var(--neon); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--soft); padding-bottom: 1.2rem; margin: 0; }

/* ---------- Call band ---------- */
.callband {
  background: var(--bg-2); border-radius: 4px;
  padding: clamp(2.2rem, 5vw, 3.6rem); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
}
@media (max-width: 760px) { .callband { grid-template-columns: 1fr; } }
.callband h2 { margin-bottom: .4rem; }
.callband p { color: var(--soft); margin: 0; }
.big-phone { display: inline-flex; align-items: center; gap: .7rem; font: 800 italic clamp(1.7rem, 4vw, 2.6rem)/1 var(--font); color: var(--neon); text-decoration: none; white-space: nowrap; }
.big-phone svg { width: .9em; height: .9em; }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
.form { background: var(--bg-2); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(1.4rem, 4vw, 2.2rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font: 600 .85rem/1.3 var(--font-cond); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: 8px; padding: .75rem .9rem; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--neon); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radios { display: flex; flex-wrap: wrap; gap: .5rem; }
.radios label { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid var(--line-strong); border-radius: 999px; padding: .45rem .9rem; font: 400 .95rem/1.3 var(--font); letter-spacing: 0; text-transform: none; cursor: pointer; }
.radios input { accent-color: var(--neon); width: auto; }
.form-note { font-size: .8rem; color: var(--muted); margin: 1rem 0 0; }
.form-status { margin-top: 1rem; font-weight: 500; }
.form-status.ok { color: var(--neon); }
.form-status.warn { color: #F2D27A; }
.form-status.err { color: #FF6B6B; }
.or-call { background: var(--neon-soft); border-radius: 4px; padding: 1.8rem; margin-top: 1.6rem; }
.or-call p { margin: .3rem 0 1rem; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.contact-list svg { width: 22px; height: 22px; color: var(--neon); flex: none; margin-top: .2rem; }
.contact-list small { display: block; font: 600 .78rem/1.4 var(--font-cond); color: var(--muted); text-transform: uppercase; letter-spacing: .14em; }
.contact-list a { text-decoration: none; font-weight: 500; }
.contact-list a.phone { color: var(--neon); font: 800 italic 1.3rem/1.3 var(--font); }

.family { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 860px) { .family { grid-template-columns: 1fr; } }
.family .card h3 { margin-bottom: .3rem; }
.family .card a { display: inline-block; margin-top: 1rem; font: 700 .9rem/1 var(--font-cond); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--neon); }

/* ---------- Footer ---------- */
.site-footer { background: #070708; border-top: 1px solid var(--line); padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font: 700 .8rem/1 var(--font-cond); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; color: var(--soft); }
.site-footer a:hover { color: #fff; }
.site-footer a.phone { color: var(--neon); font-weight: 500; }
.footer-tagline { font: 600 .82rem/1.6 var(--font-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 1.2rem; max-width: 22rem; }
.footer-bottom { margin-top: 2.5rem; border-top: 1px solid var(--line); padding-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; color: var(--muted); font-size: .85rem; }
.kaligraf-credit { display: flex; align-items: center; gap: .5rem; color: var(--muted); text-decoration: none; }
.kaligraf-credit:hover { color: #fff; }
.kaligraf-credit svg { height: 32px; width: auto; opacity: .85; }

/* Sticky phone button on mobile */
.mobile-call { display: none; }
@media (max-width: 720px) {
  .mobile-call {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    justify-content: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
  }
  body { padding-bottom: 76px; }
}

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .pillar { transition: none; }
}

/* =========================================================================
   v2 — after the client questionnaire (2026-10-08): photos, offer + price
   list, gallery, legal footer, policy page. Photos are AI-generated
   illustrations (Higgsfield), not documentation of real jobs.
   ========================================================================= */

/* Hero with photo: image on the right, black fade on the left for the copy */
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(11, 11, 12, .92) 35%, rgba(11, 11, 12, .45) 70%, rgba(11, 11, 12, .25) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.hero.has-photo::before { display: none; }
@media (max-width: 760px) {
  .hero-photo img { object-position: 78% 50%; }
  .hero-photo::after { background: linear-gradient(0deg, var(--bg) 6%, rgba(11, 11, 12, .74) 50%, rgba(11, 11, 12, .38) 100%); }
}

/* Offer grid — 4 columns, the main service spans two */
.offer { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1020px) { .offer { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .offer { grid-template-columns: 1fr; } }
.svc {
  display: flex; flex-direction: column; text-decoration: none; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s ease, transform .2s ease;
}
.svc:hover { border-color: rgba(140, 255, 46, .5); transform: translateY(-3px); }
.svc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.svc:hover .svc-img img { transform: scale(1.04); }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.3rem 1.3rem; }
.svc h3 { margin: 0 0 .45rem; font-size: 1.2rem; }
.svc p { color: var(--muted); font-size: .94rem; flex: 1; margin-bottom: 1rem; }
.svc .price { font: 700 .95rem/1.2 var(--font-cond); letter-spacing: .06em; text-transform: uppercase; color: var(--neon); }
.svc .price small { display: block; font-weight: 600; color: var(--muted); letter-spacing: .1em; font-size: .72rem; margin-bottom: .2rem; }
.svc.featured { grid-column: span 2; background: linear-gradient(160deg, rgba(140, 255, 46, .10), var(--bg-2) 55%); border-color: rgba(140, 255, 46, .35); }
.svc.featured .svc-img { aspect-ratio: 16 / 7.6; }
.svc.featured .price { font: 800 italic 1.6rem/1.1 var(--font); }
@media (max-width: 560px) { .svc.featured { grid-column: auto; } .svc.featured .svc-img { aspect-ratio: 16 / 10; } }
.svc .ext-tag { font: 600 .72rem/1.4 var(--font-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Price list */
.pricelist { width: 100%; border-collapse: collapse; max-width: 860px; }
.pricelist th, .pricelist td { text-align: left; padding: 1rem .2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.pricelist th { font: 500 1.02rem/1.4 var(--font); }
.pricelist td { font: 700 1rem/1.4 var(--font-cond); letter-spacing: .05em; text-transform: uppercase; color: var(--soft); text-align: right; white-space: nowrap; }
.pricelist tr.hl td { color: var(--neon); font: 800 italic 1.3rem/1.3 var(--font); text-transform: none; letter-spacing: 0; }
.pricelist small { display: block; color: var(--muted); font: 400 .88rem/1.5 var(--font); margin-top: .2rem; }
@media (max-width: 560px) { .pricelist td { white-space: normal; } }

/* Section photo */
.photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-3); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery button { all: unset; cursor: zoom-in; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: var(--bg-3); position: relative; }
.gallery button:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .3s; opacity: .9; }
.gallery button:hover img { transform: scale(1.05); opacity: 1; }
.gallery span { position: absolute; left: .7rem; bottom: .6rem; font: 700 .72rem/1 var(--font-cond); letter-spacing: .14em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 94vh; overflow: hidden; }
.lightbox::backdrop { background: rgba(5, 5, 6, .92); }
.lightbox img { max-width: 100%; max-height: 86vh; display: block; border-radius: 6px; }
.lightbox p { margin: .7rem 0 0; color: var(--soft); font: 600 .9rem/1 var(--font-cond); letter-spacing: .12em; text-transform: uppercase; }
.lightbox .close { position: fixed; top: 14px; right: 18px; background: none; border: 1px solid var(--line-strong); color: #fff; width: 44px; height: 44px; border-radius: 8px; font-size: 1.4rem; cursor: pointer; }
.illus-note { color: var(--muted); font-size: .8rem; margin-top: .9rem; }

/* Legal footer line (KSH art. 206) */
.footer-legal { margin-top: 1.6rem; color: var(--muted); font-size: .8rem; line-height: 1.7; }

/* Policy page */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; }
.prose p, .prose li { color: var(--soft); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: .3rem 0; }
.prose .card p { color: var(--soft); margin: .2rem 0; }

/* v3 (2026-10-09) — partner/shop cards carry buttons (redirect + call) instead of being one big link */
.nowrap { white-space: nowrap; }                    /* keeps the postcode + city together */
a.svc-img { display: block; }
.svc.has-actions:hover { transform: none; }
.svc-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.btn-sm { padding: .6rem 1rem; font-size: .85rem; }
.pricelist td a { color: var(--neon); text-decoration: none; }
.pricelist td a:hover { text-decoration: underline; }
/* Grid closure: 1 wide + 7 single + 1 wide = 11 of 12 slots on 4 columns. The closing card ("Naprawy
   bezgotówkowe", last in the list by client request) takes 3 columns as a horizontal card; on 2 columns the
   card before it goes full width so the odd single leaves no hole. */
@media (min-width: 1021px) {
  .offer > .svc.featured:last-child { grid-column: span 3; display: grid; grid-template-columns: 1.25fr 1fr; }
  .offer > .svc.featured:last-child .svc-img { aspect-ratio: auto; height: 100%; min-height: 230px; }
  .offer > .svc.featured:last-child .svc-body { padding: 1.6rem 1.6rem; justify-content: center; }
}
@media (min-width: 561px) and (max-width: 1020px) {
  .offer > .svc:nth-last-child(2) { grid-column: span 2; }
  .offer > .svc:nth-last-child(2) .svc-img { aspect-ratio: 16 / 7.6; }
}
