/* Dandy Barbershop — Wronki */

/* Czcionki z własnego serwera (Alfa Slab One, Manrope — licencja OFL) */
@font-face {
  font-family: "Alfa Slab One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/alfa-slab-one-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Alfa Slab One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/alfa-slab-one-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0e0f11;
  --ink-2: #15171b;
  --ink-3: #1e2126;
  --line: #2a2d33;
  --paper: #f3efe7;
  --muted: #a3a59f;
  --red: #e63b3c;
  --blue: #4a5fc1;
  /* Kolory pomocnicze zależne od motywu */
  --soft: #cfcdc6;                 /* tekst drugoplanowy */
  --fg-rgb: 243, 239, 231;         /* kolor tekstu jako RGB (do przezroczystości) */
  --bg-rgb: 14, 15, 17;            /* kolor tła jako RGB */
  --dock-rgb: 21, 23, 27;
  --paper-strong: #fff;            /* jaśniejszy wariant --paper (hover) */
  --ink-strong: #000;              /* ciemniejszy wariant --ink (hover) */
  --stripe-white: #f3efe7;         /* biały pasek słupa barberskiego */
  --shadow: rgba(0, 0, 0, .5);
  color-scheme: dark;
  --display: "Alfa Slab One", "Rockwell", Georgia, serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --stripes: repeating-linear-gradient(-45deg,
      var(--red) 0 12px, var(--stripe-white) 12px 24px,
      var(--blue) 24px 36px, var(--stripe-white) 36px 48px);
  --stripes-sm: repeating-linear-gradient(-45deg,
      var(--red) 0 4px, var(--stripe-white) 4px 8px,
      var(--blue) 8px 12px, var(--stripe-white) 12px 16px);
}

/* ---------- Motyw jasny ----------
   Włącza się atrybutem data-theme="light" na <html> (przełącznik w nagłówku).
   --ink to zawsze kolor tła strony, a --paper kolor tekstu, więc w jasnym motywie
   zamieniają się miejscami, a sekcje odwrócone (pasek, CTA) robią się ciemne. */
html[data-theme="light"] {
  --ink: #f3efe7;
  --ink-2: #ebe6db;
  --ink-3: #e1dbce;
  --line: #d2cbbc;
  --paper: #0e0f11;
  --muted: #696b66;
  --red: #d42f30;
  --soft: #3b3d41;
  --fg-rgb: 14, 15, 17;
  --bg-rgb: 243, 239, 231;
  --dock-rgb: 235, 230, 219;
  --paper-strong: #000;
  --ink-strong: #fff;
  --stripe-white: #fff;
  --shadow: rgba(40, 32, 20, .22);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
/* Ozdoby wystające poza ekran (poświata w hero, obrócony pasek) nie mogą poszerzać strony na telefonie. */
main { overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 5vw, 4rem); }
p { margin: 0 0 1em; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 6px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .8em 1.35em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 700 .95rem/1 var(--body);
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-lg { padding: 1.05em 1.7em; font-size: 1.02rem; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #f04b4c; }
.btn-ghost { border-color: rgba(var(--fg-rgb), .35); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); background: rgba(var(--fg-rgb), .07); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--paper-strong); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-strong); }

.link {
  color: var(--paper); font-weight: 700; text-decoration: none;
  border-bottom: 1.5px solid var(--red); padding-bottom: 2px;
  transition: color .2s;
}
.link:hover { color: var(--red); }

.kicker, .eyebrow {
  font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 1.1rem;
}
.kicker::before {
  content: ""; display: inline-block; width: 34px; height: 8px; margin-right: 12px;
  background: var(--stripes-sm); border-radius: 2px; vertical-align: middle;
}

/* ---------- Słup barberski (motyw z logo) ---------- */
.pole {
  background: var(--stripes);
  background-size: 68px 68px;
  animation: pole 2.4s linear infinite;
}
@keyframes pole { to { background-position: 0 -68px; } }
.pole-h { height: 10px; width: 100%; animation-name: pole-h; }
@keyframes pole-h { to { background-position: 68px 0; } }

/* ---------- Nawigacja ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--pad);
  transition: background .3s, padding .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(var(--bg-rgb), .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-block: 9px;
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 44px; height: 44px; }
/* Dwie wersje logo: jasna na ciemne tło i ciemna na jasne. Ciemna ma białe tło — multiply wtapia je w stronę. */
.logo-on-light { display: none; mix-blend-mode: multiply; }
html[data-theme="light"] .logo-on-dark { display: none; }
html[data-theme="light"] .logo-on-light { display: block; }
.brand .logo-on-light { mix-blend-mode: normal; }  /* znak w nagłówku ma już przezroczyste tło */
.brand-txt { font-family: var(--display); font-size: 1.4rem; line-height: .9; text-transform: uppercase; }
.brand-txt small {
  display: block; font: 700 .56rem/1 var(--body); letter-spacing: .26em; margin-top: 5px; color: var(--muted);
}
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  position: relative; text-decoration: none; font-size: .92rem; font-weight: 600; color: var(--paper); opacity: .82;
  padding: 6px 0; transition: opacity .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.burger { display: none; }
.theme-btn {
  flex: none; display: grid; place-content: center; width: 46px; height: 46px; padding: 0;
  background: none; color: var(--paper); border: 1.5px solid rgba(var(--fg-rgb), .3); border-radius: 50%; cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.theme-btn:hover { border-color: var(--paper); background: rgba(var(--fg-rgb), .07); }
.theme-btn:active { transform: scale(.94); }
.theme-btn svg { width: 20px; height: 20px; }
.theme-btn .ico-moon, html[data-theme="light"] .theme-btn .ico-sun { display: none; }
html[data-theme="light"] .theme-btn .ico-moon { display: block; }
html:not(.js) .theme-btn { display: none; }
/* Ikona wjeżdża z obrotem przy każdej zmianie motywu */
.theme-btn svg { animation: ico-in .55s cubic-bezier(.2, .8, .2, 1); }
@keyframes ico-in { from { transform: rotate(-120deg) scale(.3); opacity: 0; } }
/* Zmiana motywu: koło rysuje JS, tu wyłączamy domyślne przenikanie */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
/* Zapas dla przeglądarek bez View Transitions: płynne przejście kolorów */
html.theme-fade, html.theme-fade *, html.theme-fade *::before, html.theme-fade *::after {
  transition: background-color .5s ease, color .5s ease, border-color .5s ease, box-shadow .5s ease !important;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto;
  min-height: min(100svh, 1000px);
  display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(32px, 5vw, 80px);
  padding: 120px var(--pad) 72px;
}
.hero::before {
  content: ""; position: absolute; z-index: -1; right: -10%; top: 0; width: 70%; height: 100%;
  background: radial-gradient(60% 55% at 60% 45%, rgba(74, 95, 193, .16), transparent 70%),
              radial-gradient(40% 40% at 80% 70%, rgba(230, 59, 60, .12), transparent 70%);
  pointer-events: none;
}
/* Gdy hero zajmuje całą szerokość okna (do 1464 px), poświata nie może wystawać poza ekran,
   bo na telefonach poszerza stronę. Ten sam rysunek, tylko ucięty na krawędzi sekcji. */
@media (max-width: 1464px) {
  .hero::before {
    right: 0; width: 60%;
    background-size: 116.667% 100%; background-position: left top; background-repeat: no-repeat;
  }
}
.eyebrow { display: flex; align-items: center; gap: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(230, 59, 60, .2); }
.hero h1 { font-size: clamp(2.9rem, 7.6vw, 6.8rem); text-transform: uppercase; line-height: .98; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: block; animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 em {
  font-style: normal; color: transparent;
  -webkit-text-stroke: 1.5px var(--paper);
}
@keyframes rise { from { transform: translateY(105%); } }
.lead { max-width: 33em; margin: 1.6rem 0 2.1rem; font-size: 1.1rem; color: var(--soft); animation: fade .9s .35s both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; animation: fade .9s .45s both; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } }
.hero-facts {
  list-style: none; margin: 3rem 0 0; padding: 1.6rem 0 0;
  display: flex; gap: clamp(22px, 4vw, 56px);
  border-top: 1px solid var(--line);
  animation: fade .9s .55s both;
}
.hero-facts strong { display: block; font: 400 2.1rem/1 var(--display); }
.hero-facts span { display: block; margin-top: 6px; font-size: .82rem; color: var(--muted); line-height: 1.35; }

.hero-visual { position: relative; justify-self: end; width: min(100%, 500px); animation: fade 1s .2s both; }
.hero-visual > .pole { position: absolute; left: -22px; top: 8%; bottom: 14%; width: 12px; border-radius: 6px; }
.hero-photo { margin: 0; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: var(--ink-3); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero-photo-sm {
  position: absolute; left: -18%; bottom: -6%; width: 44%; margin: 0;
  aspect-ratio: 1; border-radius: 6px; overflow: hidden;
  border: 6px solid var(--ink); background: var(--ink-3);
  box-shadow: 0 30px 60px var(--shadow);
}
.hero-photo-sm img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.rating-chip {
  position: absolute; right: -14px; top: 28px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px; border-radius: 6px;
  background: var(--paper); color: var(--ink);
  font-size: .8rem; font-weight: 700; text-decoration: none; line-height: 1.2;
  box-shadow: 0 18px 40px var(--shadow);
  transition: transform .2s;
}
.rating-chip:hover { transform: translateY(-3px) rotate(-1.5deg); }
.rating-chip b { font: 400 1.25rem/1 var(--display); }
.stars { color: var(--red); letter-spacing: .12em; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--paper); color: var(--ink); padding: 18px 0; transform: rotate(-1deg) scale(1.02); margin: 10px 0 0; }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: slide 30s linear infinite; }
.marquee span { font: 400 clamp(1.3rem, 2.6vw, 2rem)/1 var(--display); text-transform: uppercase; white-space: nowrap; }
.marquee i { flex: none; width: 46px; height: 12px; border-radius: 6px; background: var(--stripes-sm); box-shadow: inset 0 0 0 1.5px var(--ink); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sekcje ---------- */
.section { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: clamp(84px, 11vw, 160px) var(--pad); }
.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 64px); }
.section-sub { color: var(--muted); margin: 1.1rem 0 0; }

/* O nas */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-media { position: relative; padding: 0 12% 14% 0; }
.about-img-a { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 62%; border-radius: 6px; }
.about-img-b {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 6px; border: 6px solid var(--ink);
}
.about-copy h2 { margin-bottom: 1.6rem; }
.about-copy p { color: var(--soft); max-width: 34em; }
.ticks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 20px; height: 8px;
  background: var(--stripes-sm); border-radius: 2px;
}

/* Usługi */
.services { padding-top: 0; }
.svc-list { border-top: 1px solid var(--line); }
.svc {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: center; gap: 28px;
  padding: clamp(22px, 3vw, 36px) 8px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding .3s, background .3s;
}
.svc::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--stripes); background-size: 68px 68px; transition: width .3s;
}
.svc:hover { padding-left: 34px; background: var(--ink-2); }
.svc:hover::before { width: 10px; }
.svc-name { font: 400 clamp(1.45rem, 3.2vw, 2.5rem)/1.05 var(--display); text-transform: uppercase; }
.svc-name small { font: 700 .8rem/1 var(--body); letter-spacing: .14em; color: var(--muted); margin-left: .5em; white-space: nowrap; }
.svc-desc { color: var(--muted); font-size: .98rem; line-height: 1.5; }
.svc-go {
  font-weight: 700; font-size: .9rem; white-space: nowrap;
  padding: .7em 1.1em; border: 1.5px solid var(--line); border-radius: 999px;
  transition: background .2s, border-color .2s, color .2s;
}
.svc:hover .svc-go { background: var(--red); border-color: var(--red); color: #fff; }
.svc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; }
.svc-foot p { margin: 0; color: var(--muted); }

/* Ekipa */
.team { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; padding-top: 0; }
.team-photo { border-radius: 6px; overflow: hidden; background: var(--ink-3); }
.team-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 42%; }
.team-copy h2 { margin-bottom: 1.6rem; }
.team-copy > p:not(.kicker) { color: var(--soft); max-width: 34em; }
.names { list-style: none; padding: 0; margin: 2rem 0 2.4rem; display: flex; flex-wrap: wrap; gap: 10px; }
.names li {
  font: 400 clamp(1.2rem, 2.2vw, 1.7rem)/1 var(--display); text-transform: uppercase;
  padding: .55em .8em; border: 1.5px solid var(--line); border-radius: 6px;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.names li:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); transform: rotate(-2deg); }

/* Galeria */
.gallery { padding-top: 0; }
.grid { columns: 4 240px; column-gap: 14px; }
.shot {
  display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 6px; overflow: hidden;
  background: var(--ink-3); cursor: zoom-in; break-inside: avoid; position: relative;
}
.shot img { width: 100%; transition: transform .6s cubic-bezier(.2, .8, .2, 1), filter .4s; filter: saturate(.9); }
.shot:hover img, .shot:focus-visible img { transform: scale(1.05); filter: saturate(1.05); }
.shot::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: var(--stripes); background-size: 68px 68px;
  transform: translateY(100%); transition: transform .3s;
}
.shot:hover::after, .shot:focus-visible::after { transform: none; }
.gallery-more { margin: 28px 0 0; color: var(--muted); text-align: center; }
.gallery-more a { color: var(--paper); font-weight: 700; text-decoration-color: var(--red); text-underline-offset: 4px; }

/* Opinie */
.reviews { display: grid; grid-template-columns: minmax(240px, .7fr) 1.3fr; gap: clamp(36px, 6vw, 96px); align-items: start; padding-top: 0; }
.score { position: sticky; top: 110px; }
.score-num { font: 400 clamp(5rem, 12vw, 9.5rem)/.9 var(--display); margin: 0 0 .1em; }
.score .stars { font-size: 1.5rem; margin: 0 0 .4rem; }
.score-sub { color: var(--muted); margin-bottom: 1.4rem; }
.quotes { display: grid; gap: 16px; }
.quote { margin: 0; padding: clamp(24px, 3.5vw, 44px); background: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; }
.quote p { font: 400 clamp(1.3rem, 2.6vw, 2rem)/1.2 var(--display); margin: 0 0 1.4rem; }
.quote p::before { content: "„"; color: var(--red); }
.quote p::after { content: "”"; color: var(--red); }
.quote footer { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font-size: .9rem; }
.quote footer span { color: var(--muted); }

/* CTA */
.cta { background: var(--paper); color: var(--ink); }
.cta-in { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--pad); text-align: center; }
.cta h2 { font-size: clamp(3rem, 10vw, 8rem); text-transform: uppercase; }
.cta p { margin: 1.2rem 0 2rem; font-size: 1.1rem; font-weight: 600; }

/* Kontakt */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: stretch; }
.contact h2 { margin-bottom: 2.2rem; }
.info { margin: 0; display: grid; gap: 26px; }
.info dt { font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.info dd { margin: 0 0 8px; font-size: 1.08rem; max-width: 24em; }
.tel { font: 400 clamp(2rem, 4.4vw, 3.2rem)/1 var(--display); text-decoration: none; transition: color .2s; }
.tel:hover { color: var(--red); }
.social { list-style: none; padding: 0; margin: 2.4rem 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social a {
  display: inline-flex; align-items: center; gap: 9px; padding: .7em 1.1em;
  border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .92rem;
  transition: background .2s, color .2s, border-color .2s;
}
.social a:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.social svg { width: 20px; height: 20px; }
.map { display: grid; min-height: 440px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: var(--ink-3); }
.map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }
.map-ph { min-height: 440px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 32px 24px; text-align: center; }
.map-ph p { margin: 0; }
.map-addr strong { font-family: var(--display); font-weight: 400; font-size: 1.35rem; letter-spacing: .01em; }
.map-note { max-width: 30em; color: var(--muted); font-size: .82rem; line-height: 1.5; }
html:not(.js) #mapa-btn, html:not(.js) .map-note { display: none; }

/* Stopka */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px var(--pad) 120px;
  display: grid; justify-items: center; gap: 30px; text-align: center;
}
.footer img { width: 190px; }
/* Logo z ciemnymi literami ma białe tło — multiply wtapia je w jasne tło strony. */
.footer .logo-on-light { width: 230px; margin: -28px 0; }
.footer-cols { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 64px; }
.footer-cols p { margin: 0; color: var(--soft); font-size: .95rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--red); }
.copy { margin: 0; color: var(--muted); font-size: .8rem; }

/* Pasek akcji (telefon) */
.dock { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  /* Zdjęcia ogląda się na ciemnym tle niezależnie od motywu strony. */
  --ink: #0e0f11; --paper: #f3efe7; --muted: #a3a59f;
  background: rgba(8, 9, 10, .96); color: var(--paper);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92%, 1300px); max-height: 86dvh; width: auto; height: auto; border-radius: 4px; }
.lb-btn {
  position: absolute; width: 50px; height: 50px; border-radius: 50%;
  border: 1.5px solid rgba(243, 239, 231, .3); background: rgba(14, 15, 17, .6); color: var(--paper);
  font-size: 1.15rem; cursor: pointer; transition: background .2s, color .2s;
}
.lb-btn:hover { background: var(--paper); color: var(--ink); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb-next { right: 18px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; bottom: 14px; left: 0; right: 0; margin: 0; text-align: center; font-size: .82rem; color: var(--muted); letter-spacing: .12em; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsywność ---------- */
@media (max-width: 1020px) {
  .nav { gap: 10px; }
  .nav-cta { margin-right: 8px; }
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: safe center; align-items: flex-start; gap: 6px;
    padding: 90px var(--pad) 40px; overflow-y: auto;
    background: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .nav-links a { font: 400 clamp(1.8rem, min(9vw, 6.5vh), 3.2rem)/1.25 var(--display); text-transform: uppercase; opacity: 1; }
  .nav.open .nav-links { opacity: 1; visibility: visible; }
  .nav.open { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .burger {
    display: grid; place-content: center; gap: 7px; width: 46px; height: 46px; padding: 0;
    background: none; border: 1.5px solid rgba(var(--fg-rgb), .3); border-radius: 50%; cursor: pointer;
  }
  .burger span { display: block; width: 18px; height: 2px; background: var(--paper); transition: transform .25s; }
  .nav.open .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav.open .burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 112px; gap: 56px; }
  .hero-visual { justify-self: center; width: min(86%, 440px); margin-left: 8%; }
  .about, .team, .reviews, .contact { grid-template-columns: 1fr; }
  .score { position: static; }
  .svc { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .svc-desc { grid-column: 1; grid-row: 2; }
  .svc-go { grid-row: 1 / span 2; grid-column: 2; }
  .team-photo { max-width: 520px; }
  .map, .map iframe, .map-ph { min-height: 340px; }
}

@media (max-width: 640px) {
  .nav-cta { display: none; }
  .hero-facts { gap: 18px; justify-content: space-between; }
  .hero-facts strong { font-size: 1.7rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .rating-chip { right: -8px; top: 16px; }
  .svc-go { padding: 0; border: 0; font-size: 0; }
  .svc-go span { font-size: 1.3rem; }
  .svc:hover .svc-go { background: none; color: var(--red); }
  .grid { columns: 2; column-gap: 8px; }
  .shot { margin-bottom: 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 46px; translate: none; }
  .dock {
    position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 90;
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 6px; padding: 6px;
    background: rgba(var(--dock-rgb), .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line); border-radius: 999px;
    box-shadow: 0 14px 40px var(--shadow);
  }
  .dock a { text-align: center; padding: 13px 10px; border-radius: 999px; font-weight: 800; font-size: .92rem; text-decoration: none; }
  .dock-main { background: var(--red); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Dane z dane.js: cena usługi, godziny otwarcia */
.svc-price { display: block; color: var(--paper); font-weight: 800; font-size: 1.05rem; margin-bottom: 2px; }
.hours { list-style: none; margin: 0; padding: 0; max-width: 19em; }
.hours li { display: flex; justify-content: space-between; gap: 20px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.shot img { min-height: 120px; }

/* ---------- Regulamin (regulamin.html) ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.copy a { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.info-note { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.info-note a { color: var(--paper); font-weight: 700; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }

.legal-hero {
  position: relative;
  max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto;
  padding: 150px var(--pad) clamp(40px, 6vw, 72px);
}
.legal-hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(45% 70% at 85% 30%, rgba(74, 95, 193, .14), transparent 70%),
              radial-gradient(30% 50% at 70% 80%, rgba(230, 59, 60, .10), transparent 70%);
  pointer-events: none;
}
.back {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 2.2rem;
  color: var(--muted); font-size: .9rem; font-weight: 700; text-decoration: none; transition: color .2s, gap .2s;
}
.back:hover { color: var(--paper); gap: 12px; }
.legal-hero h1 { font-size: clamp(3rem, 9vw, 7.5rem); text-transform: uppercase; animation: fade .9s both; }
.legal-hero h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--paper); }
.legal-hero .lead { max-width: 38em; margin-bottom: 1.2rem; }
.legal-date { margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.legal-tldr { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.tldr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tldr {
  position: relative; overflow: hidden;
  padding: 26px 24px 24px; border-radius: 6px;
  background: var(--ink-2); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s;
}
.tldr::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: var(--stripes); background-size: 68px 68px;
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.tldr:hover { transform: translateY(-4px); border-color: rgba(var(--fg-rgb), .25); }
.tldr:hover::before { transform: scaleX(1); }
.tldr-num { margin: 0 0 .6rem; font: 400 clamp(2.8rem, 5vw, 4rem)/1 var(--display); }
.tldr-num small { margin-left: .3em; font: 800 .9rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.tldr h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.tldr p:last-child { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.5; }

.legal {
  max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) var(--pad) clamp(84px, 10vw, 140px);
  display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start;
}
.legal-toc { position: sticky; top: 100px; }
.toc-title { font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: block; position: relative; padding: 7px 0 7px 18px; margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--soft); font-size: .92rem; font-weight: 600; text-decoration: none;
  transition: color .2s, border-color .2s;
}
.legal-toc a::before { content: "§ " counter(toc) "  "; color: var(--muted); font-weight: 800; white-space: pre; }
.legal-toc a:hover, .legal-toc a.active { color: var(--paper); border-left-color: var(--red); }

.legal-body { max-width: 760px; }
.clause { padding: 0 0 clamp(36px, 5vw, 56px); margin-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.clause-no { margin: 0 0 .5rem; font: 400 1rem/1 var(--display); color: var(--red); letter-spacing: .04em; }
.clause h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 1.4rem; }
.clause ol { margin: 0; padding: 0; list-style: none; counter-reset: pkt; display: grid; gap: 14px; }
.clause li { counter-increment: pkt; position: relative; padding-left: 44px; color: var(--soft); }
.clause li::before {
  content: counter(pkt); position: absolute; left: 0; top: .1em;
  width: 28px; height: 28px; display: grid; place-content: center;
  border: 1.5px solid var(--line); border-radius: 50%;
  font-size: .78rem; font-weight: 800; color: var(--paper);
}
.clause strong { color: var(--paper); }

.legal-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(28px, 4vw, 44px); border-radius: 6px;
  background: var(--paper); color: var(--ink);
}
.legal-cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); text-transform: uppercase; }
.legal-cta p { margin: .4rem 0 0; font-weight: 600; }

@media (max-width: 1020px) {
  .tldr-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-toc ol { columns: 2; column-gap: 24px; }
  .legal-toc li { break-inside: avoid; }
}
@media (max-width: 640px) {
  .legal-hero { padding-top: 112px; }
  .tldr { padding: 20px 18px; }
  .tldr-num { font-size: 2.4rem; }
  .legal-toc ol { columns: 1; }
  .clause li { padding-left: 38px; }
  .legal-cta .btn { flex: 1 1 100%; }
}
