/* ==========================================================================
   RETIP PDR — arkusz stylów
   Motyw: ciemna karoseria + złote refleksy + precyzyjne światło
   ========================================================================== */

:root {
  --bg: #05080C;
  --navy: #081522;
  --navy-2: #0D1C2B;
  --gold: #C99836;
  --gold-light: #F1C75B;
  --text: #F4F5F7;
  --muted: #A9B0B8;

  --line: rgba(255, 255, 255, .07);
  --line-gold: rgba(201, 152, 54, .28);
  --gold-grad: linear-gradient(135deg, #F1C75B 0%, #C99836 55%, #A87A24 100%);
  --glass: rgba(13, 28, 43, .55);

  --font-head: "Outfit", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 68px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 132px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 4.2vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.005em;
}

h3 { font-size: 1.15rem; letter-spacing: .01em; }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--gold); color: var(--bg); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--gold-light);
  color: var(--bg);
  font-weight: 700;
  border-radius: 10px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 900px; }

.icon {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

.text-gold {
  background: linear-gradient(100deg, #F1C75B 0%, #C99836 60%, #E3B450 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------ elementy wspólne */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light));
}

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  color: var(--muted);
  max-width: 60ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn--lg { min-height: 56px; padding: 15px 28px; font-size: .95rem; }
@media (max-width: 419px) {
  .btn--lg { padding-inline: 18px; font-size: .84rem; letter-spacing: .04em; white-space: normal; text-align: center; }
}

.btn--gold {
  background: var(--gold-grad);
  color: #07090c;
  box-shadow: 0 10px 30px -12px rgba(201, 152, 54, .6), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(241, 199, 91, .65), inset 0 1px 0 rgba(255, 255, 255, .45);
}

.btn--ghost {
  background: rgba(255, 255, 255, .03);
  border-color: var(--line-gold);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-light);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

.badge {
  display: inline-block;
  margin: 0 0 20px;
  padding: 7px 16px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(201, 152, 54, .06);
}

/* ------------------------------------------------------------ animacje wejścia */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* hero animuje się samym CSS — treść pierwszego ekranu nie czeka na JavaScript */
.rise { animation: rise .9s var(--ease) var(--d, 0s) both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
}

/* ------------------------------------------------------------ header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s, box-shadow .35s, transform .4s var(--ease);
}
.site-header.is-hidden { transform: translateY(-105%); }
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-light) 50%, var(--gold) 70%, transparent);
  opacity: 0;
  transition: opacity .35s;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(5, 8, 12, .78);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 12px 40px -20px rgba(0, 0, 0, .9);
}
.site-header.is-scrolled::after,
.site-header.is-open::after { opacity: .7; }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
}

.brand { flex: none; display: block; margin-right: auto; border-radius: 10px; }
.brand img {
  width: auto;
  height: 54px;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .6));
}

.site-header__call { min-height: 44px; padding: 9px 16px; font-size: .85rem; letter-spacing: .04em; }
.site-header__call-label { display: none; }

.nav-toggle {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line-gold);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s 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); }

.nav {
  position: fixed;
  inset: var(--header-h) 0 auto;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: 10px var(--gutter) 28px;
  background: var(--bg);
  border-bottom: 1px solid var(--line-gold);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
}
.nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .25s, transform .3s var(--ease);
}
.nav__list a {
  display: flex;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}
.nav__list a:hover,
.nav__list a[aria-current="true"] { color: var(--gold-light); }

@media (min-width: 420px) {
  .site-header__call { padding-inline: 20px; }
}

@media (min-width: 1140px) {
  :root { --header-h: 84px; }
  .brand { margin-right: 0; }
  .brand img { height: 66px; }
  .nav-toggle { display: none; }
  .nav {
    position: static;
    flex: 1;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    border: 0;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nav__list { display: flex; justify-content: center; gap: clamp(2px, .6vw, 10px); }
  .nav__list a {
    position: relative;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    font-size: .78rem;
    letter-spacing: .14em;
    color: rgba(244, 245, 247, .82);
    transition: color .2s;
  }
  .nav__list a::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: 6px;
    height: 1px;
    background: var(--gold-light);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .nav__list a:hover::after,
  .nav__list a[aria-current="true"]::after { transform: scaleX(1); }
  .site-header__call { min-height: 48px; padding-inline: 24px; font-size: .88rem; }
  .site-header__call-label { display: inline; }
}

/* ------------------------------------------------------------ hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100svh, 980px);
  padding: calc(var(--header-h) + 40px) 0 96px;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 80% 0%, #0D1C2B 0%, transparent 60%),
    linear-gradient(180deg, #060b11 0%, var(--bg) 100%);
}
.hero__art,
.hero__photo {
  position: absolute;
  inset: -4% 0;
  width: 100%;
  height: 108%;
  object-fit: cover;
  will-change: transform;
}

.hero__photo ~ .hero__art { display: none; }
.hero__lines path {
  stroke-dasharray: 520 2400;
  animation: flow 16s linear infinite;
}
.hero__lines path:nth-child(2n) { animation-duration: 21s; animation-delay: -6s; }
.hero__lines path:nth-child(3n) { animation-duration: 26s; animation-delay: -11s; }
@keyframes flow {
  from { stroke-dashoffset: 2920; }
  to { stroke-dashoffset: 0; }
}

/* refleks lampy kontrolnej przesuwający się po lakierze */
.hero__sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(104deg,
    transparent 38%,
    rgba(255, 255, 255, .05) 45%,
    rgba(241, 199, 91, .09) 50%,
    rgba(255, 255, 255, .05) 55%,
    transparent 62%);
  background-size: 260% 100%;
  mix-blend-mode: screen;
  animation: sweep 13s ease-in-out infinite;
}
@keyframes sweep {
  0%, 12% { background-position: 130% 0; }
  70%, 100% { background-position: -40% 0; }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 12, .7) 0%, rgba(5, 8, 12, 0) 20%),
    linear-gradient(90deg, rgba(5, 8, 12, .92) 0%, rgba(5, 8, 12, .6) 42%, rgba(5, 8, 12, 0) 75%),
    linear-gradient(0deg, var(--bg) 0%, rgba(5, 8, 12, 0) 26%);
}

/* na wąskich ekranach kadr przesuwa się na refleks przy łączeniu drzwi z błotnikiem,
   a tekst zajmuje całą szerokość — zdjęcie jest mocniej przyciemnione */
@media (max-width: 959px) {
  .hero__photo { object-position: 70% center; }
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(5, 8, 12, .78) 0%, rgba(5, 8, 12, .64) 40%, rgba(5, 8, 12, .7) 70%, var(--bg) 100%);
  }
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero__contour { display: block; width: min(100%, 480px); margin: 0 0 26px; }
.hero__contour img { width: 100%; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .7)); }
@media (min-width: 960px) { .hero__contour { display: none; } }

.hero h1 {
  font-size: clamp(2rem, 8.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -.012em;
}
.hero h1 span { display: block; }
.hero__loc {
  margin-top: .9em;
  font-size: .26em;
  font-weight: 600;
  letter-spacing: .36em;
  color: var(--muted);
}

.hero__sub {
  margin: 26px 0 10px;
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 500;
  color: var(--text);
}
.hero__desc { max-width: 54ch; color: var(--muted); font-size: 1.02rem; }

.hero__social { margin-top: 30px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__meta .icon { color: var(--gold-light); }
.hero__meta span, .eyebrow span { color: var(--gold); }

.hero__emblem { display: none; }

.hero__tool {
  position: absolute;
  left: 0;
  bottom: 44px;
  width: min(520px, 78vw);
  opacity: .8;
}

@media (min-width: 960px) {
  .hero { padding-bottom: 120px; }
  .hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
  .hero__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 64px); }
  .hero__emblem {
    position: relative;
    display: block;
    justify-self: end;
    width: min(100%, 470px);
  }
  .hero__emblem::before {
    content: "";
    position: absolute;
    inset: -12%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(201, 152, 54, .2), rgba(13, 28, 43, .35) 55%, transparent 72%);
  }
  .hero__emblem img { width: 100%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .75)); }
}

/* ------------------------------------------------------------ sekcje */

.section { position: relative; padding-block: var(--section); }
.section--navy {
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(13, 28, 43, .9) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, #060d15 100%);
}
.section--navy::before,
.section--navy::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-gold) 30%, var(--line-gold) 70%, transparent);
}
.section--navy::after { inset: auto 0 0; }

.section__head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head h2 + .lead { margin-top: 18px; margin-bottom: 0; }

.split { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split__text h2 { margin-bottom: 20px; }
.split__text > p:not(.lead):not(.eyebrow):not(.badge) { color: var(--muted); max-width: 60ch; }
.split__text .btn { margin-top: 14px; }

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__text { order: 2; }
}

.media {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
  background: var(--navy-2);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; max-height: 640px; }
.media--wide { aspect-ratio: 4 / 3; }
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(241, 199, 91, .12);
  pointer-events: none;
}
.media__tag {
  position: absolute;
  left: 16px; bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-gold);
  background: rgba(5, 8, 12, .62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

@media (max-width: 899px) {
  .media--tall { aspect-ratio: 4 / 3; }
}

/* refleks światła na grafice sekcji specjalistycznej */
.lightfx::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, .1) 50%, transparent 60%);
  background-size: 250% 100%;
  mix-blend-mode: screen;
  animation: sweep 11s ease-in-out infinite;
  pointer-events: none;
}

.callout {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-gold);
  background: rgba(5, 8, 12, .66);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.callout__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(241, 199, 91, .18);
}
.callout--a { right: 20%; top: 5%; }
.callout--b { left: 5%; bottom: 8%; }
@media (max-width: 559px) {
  .callout--a { right: 4%; top: auto; bottom: 7%; }
  .callout--b { display: none; }
}

/* diagram: wgniecenie → oryginalny lakier */
.flow { position: relative; display: grid; gap: 0; margin: 34px 0 30px; }
.flow li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  font-family: var(--font-head);
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.flow__dot {
  position: relative;
  z-index: 1;
  flex: none;
  width: 13px; height: 13px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--navy);
}
.flow li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(50% + 7px);
  height: calc(100% - 14px);
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(201, 152, 54, .25));
}
.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 3px;
  bottom: -5px;
  width: 7px; height: 7px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(45deg) translate(-2px, -2px);
}
.flow__final { color: var(--gold-light); }
.flow__final .flow__dot { background: var(--gold-light); border-color: var(--gold-light); box-shadow: 0 0 0 5px rgba(241, 199, 91, .16); }

/* ------------------------------------------------------------ karty */

.cards { display: grid; gap: 18px; }
@media (min-width: 620px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards--4 { grid-template-columns: repeat(4, 1fr); gap: 22px; } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(13, 28, 43, .72) 0%, rgba(8, 21, 34, .4) 100%);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
  transform: scaleX(.14);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--line-gold);
  box-shadow: 0 28px 50px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(201, 152, 54, .08);
}
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 46px; height: 46px;
  margin-bottom: 22px;
  padding: 10px;
  border: 1px solid var(--line-gold);
  border-radius: 13px;
  background: rgba(201, 152, 54, .07);
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 { margin-bottom: 10px; text-transform: uppercase; font-size: 1.02rem; letter-spacing: .05em; line-height: 1.25; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }
.service p { margin-bottom: 18px; }
.service__link { margin-top: auto; align-self: flex-start; }


/* ------------------------------------------------------------ realizacje: suwak przed / po */

.showcase { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) {
  .showcase { grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 44px; }
}

.ba {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-gold);
  background: var(--navy-2);
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 1);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.ba__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.ba__label {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(5, 8, 12, .66);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba__label--before { left: 16px; }
.ba__label--after { right: 16px; color: var(--gold-light); border-color: var(--line-gold); }

.ba__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 18px rgba(241, 199, 91, .45);
  pointer-events: none;
}
.ba__knob {
  position: absolute;
  top: 50%; left: 50%;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #07090c;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.ba__knob .icon { width: 24px; height: 24px; stroke-width: 2; }
.ba__range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.ba:has(.ba__range:focus-visible) { outline: 2px solid var(--gold-light); outline-offset: 4px; }

.showcase__side { display: grid; gap: 22px; }
.showcase__caption {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.showcase__caption p { margin: 0; }
.showcase__model {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px !important;
}
.showcase__caption h3 { font-size: 1.4rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 8px; }
.showcase__type { color: var(--muted); }
.showcase__method {
  margin-top: 14px !important;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.showcase__place {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px !important;
  font-size: .9rem;
  color: var(--muted);
}
.showcase__place .icon { color: var(--gold); }

.showcase__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .02);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s;
}
.chip:hover { color: var(--text); border-color: var(--line-gold); }
.chip.is-active {
  color: var(--gold-light);
  border-color: var(--gold);
  background: rgba(201, 152, 54, .1);
}
.showcase__note { margin: 0; font-size: .85rem; color: var(--muted); }
.showcase__side .btn { justify-self: start; }

/* ------------------------------------------------------------ FAQ */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 16px 4px;
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: clamp(1rem, 2vw, 1.15rem); font-weight: 600; line-height: 1.35; }
.faq summary .icon {
  width: 34px; height: 34px;
  padding: 7px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  color: var(--gold-light);
  transition: transform .35s var(--ease), background-color .2s;
}
.faq summary:hover { color: var(--gold-light); }
.faq details[open] summary .icon { transform: rotate(45deg); background: rgba(201, 152, 54, .12); }
.faq details > p { margin: 0; padding: 0 56px 24px 4px; color: var(--muted); }
.faq a { color: var(--gold-light); text-underline-offset: 3px; }

/* ------------------------------------------------------------ CTA końcowe */

.cta {
  position: relative;
  padding-block: clamp(80px, 11vw, 140px);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background: var(--bg);
}
.cta__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(42% 60% at 18% 10%, rgba(201, 152, 54, .17), transparent 70%),
    radial-gradient(40% 60% at 85% 95%, rgba(241, 199, 91, .1), transparent 70%),
    radial-gradient(70% 90% at 50% 50%, rgba(13, 28, 43, .9), transparent 75%);
}
.cta__glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(104deg, transparent 42%, rgba(241, 199, 91, .08) 50%, transparent 58%);
  background-size: 260% 100%;
  animation: sweep 14s ease-in-out infinite;
}
.cta__inner { display: grid; justify-items: center; gap: 22px; }
.cta h2 { max-width: 20ch; font-size: clamp(1.9rem, 5vw, 3.4rem); }
.cta h2 span { display: block; margin-top: .25em; font-size: .62em; line-height: 1.2; }
.cta .lead { margin: 0; }
.cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 10px; width: 100%; }
.cta__buttons .btn { flex: 1 1 100%; }
@media (min-width: 560px) { .cta__buttons .btn { flex: 0 1 auto; } }

/* ------------------------------------------------------------ kontakt */

.contact { display: grid; gap: 44px; }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; } }

.contact__info { display: grid; gap: 26px; align-content: start; justify-items: start; }
.contact__info .eyebrow { margin-bottom: -8px; }
.contact__card { display: grid; gap: 2px; font-size: 1.1rem; color: var(--muted); }
.contact__card strong {
  font-family: var(--font-head);
  font-size: 1.3rem;
  letter-spacing: .08em;
  color: var(--text);
  margin-bottom: 4px;
}
.contact__phone {
  margin-top: 14px;
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hours { justify-self: stretch; max-width: 360px; }
.hours__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.hours dl { margin: 0; }
.hours dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; }
.hours__closed dd { font-weight: 500; color: var(--muted); }

.contact__mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color .2s;
}
.contact__mail .icon { color: var(--gold-light); }
.contact__mail:hover { color: var(--gold-light); }

.social { display: flex; gap: 10px; }
.social a {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  color: var(--text);
  transition: color .2s, border-color .2s, transform .25s var(--ease), background-color .2s;
}
.social a:hover { color: var(--gold-light); border-color: var(--gold-light); background: rgba(201, 152, 54, .08); transform: translateY(-3px); }
.social .icon { width: 20px; height: 20px; }

.contact__location { display: grid; gap: 20px; align-content: start; justify-items: start; }
.contact__map {
  width: 100%;
  height: clamp(320px, 52vw, 480px);
  border: 1px solid var(--line-gold);
  border-radius: 20px;
  overflow: hidden;
  background: var(--navy-2);
  box-shadow: 0 50px 90px -60px rgba(0, 0, 0, 1);
}
.contact__map iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(.35) invert(.92) hue-rotate(180deg) contrast(.92) brightness(.95);
}

/* ------------------------------------------------------------ stopka */

.footer {
  position: relative;
  padding: 64px 0 28px;
  background: #03060a;
  border-top: 1px solid var(--line-gold);
  color: var(--muted);
  font-size: .95rem;
}
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; } }
.footer__brand img { width: 120px; margin-bottom: 18px; }
.footer__brand p { max-width: 34ch; margin: 0; }
.footer__title {
  margin: 0 0 16px;
  font-family: var(--font-head);
  line-height: 1.1;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--gold-light);
}
.footer__nav a, .footer__contact address a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  transition: color .2s;
}
.footer__nav a:hover, .footer__contact address a:hover { color: var(--gold-light); }
.footer__contact address { margin-bottom: 18px; }
.footer__contact address a { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--text); }
.footer__contact address a.footer__mail { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--muted); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
}
.footer__bottom p { margin: 0; }

/* ------------------------------------------------------------ przycisk telefonu (mobile) */

.call-fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 90;
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #07090c;
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .85), 0 0 0 1px rgba(5, 8, 12, .5), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.call-fab .icon { width: 26px; height: 26px; stroke-width: 1.9; }
.js .call-fab {
  opacity: 0;
  transform: scale(.6);
  visibility: hidden;
  transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
}
.js .call-fab.is-visible {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity .3s, transform .3s var(--ease);
}
@media (min-width: 768px) { .call-fab { display: none; } }

/* ------------------------------------------------------------ okno usługi */

.modal {
  width: min(600px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid var(--line-gold);
  border-radius: 20px;
  background: linear-gradient(160deg, #0D1C2B, #081522);
  color: var(--text);
  box-shadow: 0 60px 120px -30px #000;
}
.modal::backdrop { background: rgba(3, 5, 8, .78); backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .35s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px); } }
.modal h2 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); margin-bottom: 18px; padding-right: 40px; }
.modal__body { color: var(--muted); }
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.modal__close:hover { border-color: var(--gold-light); color: var(--gold-light); }
.modal__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ------------------------------------------------------------ podstrony tekstowe */

.page { padding: calc(var(--header-h) + 56px) 0 var(--section); }
.page h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; text-transform: uppercase; margin-bottom: 28px; }
.page h2 { font-size: 1.3rem; margin: 40px 0 12px; text-transform: none; font-weight: 700; }
.page p, .page li { color: var(--muted); }
.page ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.page a { color: var(--gold-light); }
.page mark { background: rgba(201, 152, 54, .18); color: var(--gold-light); padding: 1px 6px; border-radius: 4px; }
.site-header--solid { background: rgba(5, 8, 12, .9); border-bottom-color: var(--line-gold); }

/* ------------------------------------------------------------ ograniczenie ruchu */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__lines path { stroke-dasharray: none; }
}
