/* Kolory z logo MKB: żółty z czernią (ciemna, domyślna: data-theme="ciemny" na <html>) albo z bielą (jasna, bez atrybutu).
   Na żółtym tle zawsze --on-accent (czarny); żółty tekst tylko na ciemnym tle,
   na jasnym zamiast niego --gold-text (czytelny kontrast). */
:root {
  --accent: #f5c400;
  --accent-hover: #dcb000;
  --on-accent: #151515;
  --gold-text: #8a6d00;
  --bg: #ffffff;
  --surface: #ffffff;
  --tint: #f6f4ee;
  --tint-2: #efe9d6;
  --heading: #111111;
  --ink: #151515;
  --muted: #5b5b5b;
  --line: #e4e1d8;
  --header-bg: rgba(255,255,255,.96);
  --dark: #111111;
  --dark-2: #0a0a0a;
  --white: #ffffff;
  --display: Bahnschrift, "DIN Alternate", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --radius: 14px;
  --header-h: 84px;
}
:root[data-theme="ciemny"] {
  --gold-text: #f5c400;
  --bg: #111111;
  --surface: #1b1b1b;
  --tint: #161616;
  --tint-2: #222222;
  --heading: #ffffff;
  --ink: #ececec;
  --muted: #b5b5b5;
  --line: #2e2e2e;
  --header-bg: rgba(17,17,17,.96);
  --dark: #000000;
  --dark-2: #000000;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font: 16px/1.6 var(--body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; transition: background .3s, color .3s; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; border: 2px solid transparent;
  font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 20px rgba(245,196,0,.28); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { border-color: var(--line); color: var(--heading); background: var(--surface); }
.btn-outline:hover { border-color: var(--heading); }
.btn-light { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.3); }
.btn-wa { background: #1fae54; color: var(--white); }
.btn-wa:hover { background: #17924a; }
.btn-wa svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.btn[hidden] { display: none; }
.btn:active { transform: translateY(1px); }

/* Pasek promocji nad nagłówkiem */
.promo-bar { position: relative; background: var(--accent); color: var(--on-accent); }
.promo-bar[hidden], .promo-note[hidden] { display: none; }
.promo-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; padding: 9px 0; text-align: center; }
.promo-inner p { margin: 0; font-size: 15px; }
.promo-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--on-accent); color: var(--accent); font: 700 15px/1.1 var(--display); white-space: nowrap; }
.promo-link { font-weight: 700; color: var(--on-accent); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.promo-link::after { content: ""; position: absolute; inset: 0; } /* cały pasek klikalny */
.promo-link-short { display: none; }
.promo-note { display: flex; align-items: center; gap: 12px; margin: -8px 0 26px; padding: 14px 16px; border-radius: 12px; background: var(--tint); border: 1.5px solid var(--accent); color: var(--heading); font-size: 15px; }
.promo-note .promo-badge { background: var(--accent); color: var(--on-accent); }

/* Nagłówek */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s, background .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.logo img { height: 72px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--heading); }
.nav .nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white); background: var(--dark); padding: 11px 18px; border-radius: 999px; font-weight: 600;
}
.nav .nav-cta:hover, :root[data-theme="ciemny"] .nav .nav-cta { color: var(--on-accent); background: var(--accent); }
:root[data-theme="ciemny"] .nav .nav-cta:hover { background: var(--accent-hover); }
.nav-cta svg, .contact-phone svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

/* Przełącznik jasna / ciemna */
.theme-toggle {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--heading);
  display: grid; place-items: center; cursor: pointer; transition: border-color .2s, background .3s;
}
.theme-toggle:hover { border-color: var(--heading); }
.theme-toggle svg { width: 22px; height: 22px; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--heading); margin: 5px 0; transition: transform .25s, opacity .25s; }
.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); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(245,196,0,.16), transparent 60%),
    linear-gradient(180deg, var(--tint), var(--bg));
  padding: 56px 0 96px;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-block; margin: 0 0 20px; padding: 7px 14px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
  font: 600 13px/1.45 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text);
}
.hero-title { margin: 0; font: 700 clamp(42px, 6.2vw, 76px)/1.08 var(--display); color: var(--heading); letter-spacing: -.01em; }
.lead { font-size: 18px; color: var(--muted); max-width: 33em; margin: 22px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.perks { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.perks li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--heading); }
.perks svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--accent); fill: none; stroke: var(--on-accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.hero-photo { position: relative; margin: 0; justify-self: end; width: min(100%, 470px); }
.hero-photo > img {
  width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center bottom;
  border-radius: 28px; box-shadow: 0 30px 60px rgba(0,0,0,.22);
}
.hero-before {
  position: absolute; left: -48px; bottom: 36px; width: 46%;
  background: var(--surface); padding: 8px; border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.hero-before img { aspect-ratio: 1; object-fit: cover; object-position: left bottom; border-radius: 12px; }
.hero-before span, .hero-badge {
  position: absolute; font: 700 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 999px;
}
.hero-before span { left: 16px; top: 16px; background: rgba(17,17,17,.8); color: var(--white); }
.hero-badge { right: 18px; top: 18px; background: var(--accent); color: var(--on-accent); }

/* Sekcje */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--dark); color: var(--white); }
:root[data-theme="ciemny"] .section-dark { border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.kicker { margin: 0 0 10px; font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.section-dark .kicker { color: var(--accent); }
.section-head h2, .contact h2 { font-size: clamp(34px, 4.4vw, 54px); color: var(--heading); }
.section-dark .section-head h2 { color: var(--white); }
.section-head p:not(.kicker) { color: var(--muted); font-size: 17px; margin: 14px 0 0; }

/* Usługi */
.service-group + .service-group { margin-top: 56px; }
.group-title {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  font-size: 26px; color: var(--heading); padding-bottom: 14px; margin-bottom: 24px; border-bottom: 2px solid var(--line);
}
.group-title span { font: 500 15px var(--body); color: var(--muted); }
.services { display: grid; gap: 24px; }
.services-2 { grid-template-columns: repeat(2, 1fr); }
.services-3 { grid-template-columns: repeat(3, 1fr); }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.service-media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--tint), var(--tint-2)); display: grid; place-items: center; overflow: hidden; }
.services-2 .service-media { aspect-ratio: 16 / 8; }
.service-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center var(--focus, 50%); }
.service-media svg { width: 72px; height: 72px; fill: none; stroke: var(--heading); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-body { padding: 22px 24px 26px; }
.service h4 { font-size: 22px; color: var(--heading); margin-bottom: 8px; }
.service p { margin: 0; color: var(--muted); }

/* Dopisek „Myjemy także…” dla usług bez zdjęć */
.service-also { margin-top: 20px; padding: 20px 24px; border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); display: flex; gap: 12px 28px; align-items: flex-start; flex-wrap: wrap; }
.also-label { margin: 6px 0 0; flex: 0 0 auto; font: 700 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.service-also ul { list-style: none; margin: 0; padding: 0; flex: 1 1 320px; display: grid; gap: 14px; }
.service-also li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.service-also strong { color: var(--heading); margin-right: 4px; }
.also-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; }
.also-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--on-accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Sprzęt */
.gear { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gear-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.gear-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--accent); display: grid; place-items: center; }
.gear-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--on-accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.gear-photo { position: relative; margin: -10px -8px 6px; aspect-ratio: 4 / 3; border-radius: 10px; background: #ffffff; overflow: hidden; }
.gear-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.gear-item small { font: 600 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.gear-item h3 { font-size: 23px; color: var(--heading); }
.gear-item p { margin: 0; color: var(--muted); }
.gear-specs { list-style: none; margin: auto 0 0; padding: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gear-specs li { padding: 6px 10px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--heading); }
.gear-note { margin: 22px 0 0; font-size: 13px; color: var(--muted); }

/* Przed i po */
.results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.result { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 10px 0; box-shadow: 0 10px 30px rgba(0,0,0,.07); }
.result-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.result-pair > div { position: relative; }
.result-pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.result-pair > div:first-child img { border-radius: 10px 4px 4px 10px; }
.result-pair > div:last-child img { border-radius: 4px 10px 10px 4px; }
.tag { position: absolute; left: 10px; top: 10px; padding: 6px 10px; border-radius: 999px; font: 700 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.tag-before { background: rgba(17,17,17,.78); }
.tag-after { background: var(--accent); color: var(--on-accent); }
.result figcaption { padding: 14px 6px 16px; font: 700 19px var(--display); color: var(--heading); }

/* Kroki */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { counter-increment: step; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px 24px; }
.step::before {
  content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px;
  border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 700 20px var(--display);
}
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { margin: 0; color: #c4c4c4; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info > p:not(.kicker) { color: var(--muted); font-size: 17px; margin: 14px 0 26px; }
.contact-phone {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px;
  font: 700 clamp(28px, 3.4vw, 38px)/1 var(--display); color: var(--heading); text-decoration: none;
}
.contact-phone svg { width: 30px; height: 30px; color: var(--gold-text); }
.contact-wa { display: flex; width: fit-content; margin: -6px 0 26px; }
.contact-phone:hover { color: var(--gold-text); }
.contact-list { margin: 0; border-top: 1px solid var(--line); }
.contact-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list > div[hidden] { display: none; }
.contact-list dt { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.contact-list dd { margin: 0; font-weight: 600; }
.contact-list a { text-decoration: none; color: var(--gold-text); }

.quote { background: var(--tint); border: 1px solid var(--line); padding: 34px; border-radius: 22px; display: grid; gap: 16px; }
.quote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--heading); }
.quote input, .quote select, .quote textarea {
  font: 16px/1.4 var(--body); color: var(--ink); width: 100%;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface);
}
.quote input:focus, .quote select:focus, .quote textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(245,196,0,.18); }
.quote textarea { resize: vertical; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); }

/* Stopka */
.site-footer { background: var(--dark-2); color: #a8a8a8; padding: 26px 0; font-size: 14px; }
:root[data-theme="ciemny"] .site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-inner strong { color: var(--white); }

.mobile-bar { display: none; }

/* Okienko z numerem (tylko w podglądzie w ramce) */
.call-sheet { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.45); display: flex; align-items: flex-end; justify-content: center; }
.call-sheet[hidden] { display: none; }
.call-box { width: min(420px, 100%); background: var(--surface); border-radius: 22px 22px 0 0; padding: 26px 20px calc(20px + env(safe-area-inset-bottom)); display: grid; gap: 12px; text-align: center; }
.call-box p { margin: 0; color: var(--muted); font-weight: 600; }
.call-number { font: 700 36px/1.1 var(--display); color: var(--heading); text-decoration: none; }
.call-close { background: none; border: 0; padding: 10px; font: 600 15px var(--body); color: var(--muted); cursor: pointer; }

/* Animacje */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Tablet */
@media (max-width: 980px) {
  .hero-inner, .contact { grid-template-columns: 1fr; }
  .hero-photo { justify-self: center; }
  .services-3, .gear { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 20px; }
}

/* Telefon */
@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .container { width: calc(100% - 32px); }
  .logo img { height: 58px; }
  .nav-toggle { display: block; }
  .theme-toggle { margin-left: auto; }
  .promo-inner { gap: 8px; padding: 7px 0; flex-wrap: nowrap; }
  .promo-inner p { font-size: 13.5px; line-height: 1.3; text-align: left; }
  .promo-link-long { display: none; }
  .promo-link-short { display: inline; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin-left: 0;
    background: var(--surface); padding: 4px 16px 20px; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(0,0,0,.1);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .nav-cta { margin-top: 14px; justify-content: center; border: 0; }

  .hero { padding: 32px 0 64px; }
  .lead { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-inner { gap: 40px; }
  .hero-photo { width: calc(100% - 24px); margin-left: 24px; }
  .hero-before { left: -24px; bottom: 20px; }

  .section { padding: 64px 0; }
  .services-2, .services-3, .results, .steps, .gear { grid-template-columns: 1fr; }
  .services-2 .service-media { aspect-ratio: 16 / 10; }
  .quote { padding: 22px; }
  .quote-row { grid-template-columns: 1fr; }
  .contact { gap: 40px; }
  .contact-list > div { grid-template-columns: 90px 1fr; }

  body { padding-bottom: 72px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--dark); box-shadow: 0 -6px 20px rgba(0,0,0,.2);
  }
  :root[data-theme="ciemny"] .mobile-bar { border-top: 1px solid var(--line); }
  .mobile-bar.has-wa { grid-template-columns: repeat(3, 1fr); }
  .mobile-bar .btn { padding: 13px 8px; }
}
