/* ===================================================
   PANDA AUTO DETAILING TORUŃ — design tokens
   bg:        #0a0a0a (głęboka czerń)
   surface:   #141414 / #181818
   off-white: #f3f2ec (sierść pandy, nie czysta biel)
   accent:    #ffb000 (bursztynowo-złota poświata, jedyny kolor)
   muted:     #8c8c86
   =================================================== */

:root {
  --bg: #0a0a0a;
  --surface: #141413;
  --surface-2: #1b1b19;
  --line: rgba(243, 242, 236, 0.1);
  --off-white: #f3f2ec;
  --accent: #ffb000;
  --accent-dim: #b87a00;
  --muted: #8c8c86;
  --muted-2: #5f5f5a;

  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", monospace;

  --nav-h: 92px;
  --nav-h-shrink: 68px;

  --ease: cubic-bezier(.16, .84, .44, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  /* scroll-behavior: smooth — REMOVED: conflicts with GSAP ScrollTrigger
     on mobile causing scroll to freeze/jank. GSAP ScrollToPlugin handles
     smooth anchor scrolling instead. */
}


body {
  margin: 0;
  background: var(--bg);
  color: var(--off-white);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

::selection {
  background: var(--accent);
  color: #0a0a0a;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}

.eyebrow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font-size: 11px;
}

.eyebrow--light {
  color: rgba(10, 10, 10, 0.55);
}

.eyebrow--light span {
  border-color: rgba(10, 10, 10, 0.18);
  color: #0a0a0a;
}

.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.section-title--light {
  color: #0a0a0a;
}

/* ===================== CURSOR GLOW ===================== */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  margin-left: -30px;
  margin-top: -30px;
  background: radial-gradient(circle, rgba(255, 176, 0, 0.25) 0%, rgba(255, 176, 0, 0.10) 38%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity .4s ease;
  will-change: transform, width, height;
}

@media (hover:hover) {
  .cursor-glow {
    opacity: 1;
  }
}

/* ===================== NAV ===================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: height .35s var(--ease), border-color .35s ease, background .35s ease;
  will-change: transform;
  /* promote to GPU layer — reduces backdrop-filter repaint on scroll */
  transform: translateZ(0);
  /* force compositing layer */
}

.nav.is-scrolled {
  height: var(--nav-h-shrink);
  border-bottom-color: var(--line);
  background: rgba(10, 10, 10, 0.92);
}

.nav-inner {
  max-width: 1360px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: height .35s var(--ease);
}

.nav.is-scrolled .nav-logo-img {
  height: 38px;
}

.nav-logo-text {
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-logo-text em {
  font-style: normal;
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(243, 242, 236, 0.78);
  border-radius: 100px;
  transition: color .25s ease, background .25s ease;
}

.nav-link span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  opacity: .8;
}

.nav-link:hover {
  color: var(--off-white);
  background: rgba(243, 242, 236, 0.06);
}

.nav-link.is-active {
  color: var(--off-white);
  background: rgba(243, 242, 236, 0.06);
}

.nav-link.is-active:hover {
  background: rgba(243, 242, 236, 0.12);
}

.nav-cta {
  flex-shrink: 0;
  padding: 11px 22px;
  background: var(--accent);
  color: #0a0a0a;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 100px;
  transition: transform .25s var(--ease), box-shadow .25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 176, 0, 0.25);
}

.nav-burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 210;
}

.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--off-white);
  transition: transform .3s var(--ease), opacity .3s ease;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 198;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.nav-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(86vw, 380px);
  height: 100vh;
  background: var(--surface);
  border-left: 1px solid var(--line);
  z-index: 199;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 20px) 30px 40px;
  transform: translateX(100%);
  visibility: hidden;
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 26px;
  text-transform: uppercase;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-drawer-link:hover,
.nav-drawer-link.is-active {
  color: var(--off-white);
  background: rgba(243, 242, 236, 0.04);
  border-radius: 8px;
  border-bottom-color: transparent;
}

.nav-drawer-link span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
}

.nav-drawer-cta {
  display: block;
  text-align: center;
  padding: 16px;
  background: var(--accent);
  color: #0a0a0a;
  font-weight: 700;
  border-radius: 100px;
  margin-top: 24px;
}

.nav-drawer-socials {
  display: flex;
  gap: 18px;
  margin-top: 22px;
}

.nav-drawer-socials a {
  font-size: 13px;
  color: var(--muted);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 40px) 32px 130px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img--main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(45%) brightness(0.62) contrast(1.08);
  transform: scale(1.08);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.25) 35%, rgba(10, 10, 10, 0.55) 75%, var(--bg) 100%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 176, 0, 0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: .5;
  mix-blend-mode: overlay;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
}

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.2rem, 9vw, 7.6rem);
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0 0 28px;
  max-width: 18ch;
}

.hero-title-accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(243, 242, 236, 0.72);
  max-width: 52ch;
  margin: 0 0 38px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform .3s var(--ease), box-shadow .3s ease, background .3s ease, color .3s ease;
}

.btn--primary {
  background: var(--accent);
  color: #0a0a0a;
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(255, 176, 0, 0.22);
}

.btn--ghost {
  border: 1px solid rgba(243, 242, 236, 0.28);
  color: var(--off-white);
}

.btn--ghost:hover {
  background: rgba(243, 242, 236, 0.08);
  border-color: rgba(243, 242, 236, 0.5);
}

.btn--outline {
  border: 1px solid var(--line);
  color: var(--off-white);
}

.btn--outline:hover {
  background: var(--surface-2);
  border-color: rgba(243, 242, 236, 0.3);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-scroll-line {
  width: 1px;
  height: 46px;
  background: var(--line);
  overflow: hidden;
  position: relative;
}

.hero-scroll-line i {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    top: -100%;
  }

  50% {
    top: 0%;
  }

  100% {
    top: 100%;
  }
}

/* ===================== STATS ===================== */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.stats-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 64px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.stat {
  text-align: center;
}

.stat-divider {
  width: 1px;
  height: 64px;
  background: var(--line);
  justify-self: center;
}

.stat-label {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 12px;
  text-transform: uppercase;
}

.stat-value {
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.2vw, 3.6rem);
  line-height: 1;
  margin: 0;
}

.stat-suffix {
  color: var(--accent);
}

.stat-value--scramble {
  font-family: var(--mono);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: 0.02em;
  min-height: 1.3em;
}

.scramble-text {
  color: var(--accent);
}

.scramble-cursor {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ===================== ABOUT ===================== */
.about {
  padding: 130px 32px;
}

.about-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 90px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 26px;
  filter: grayscale(20%) brightness(0.92);
}

.about-media-tag {
  position: absolute;
  left: -28px;
  bottom: -28px;
  background: var(--accent);
  color: #0a0a0a;
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.about-media-tag-num {
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
}

.about-media-tag-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  max-width: 14ch;
}

.about-text {
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(243, 242, 236, 0.72);
  margin: 0 0 18px;
  max-width: 52ch;
}

.about-points {
  margin: 30px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14.5px;
  color: rgba(243, 242, 236, 0.85);
}

.about-point-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 176, 0, 0.12);
  color: var(--accent);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14.5px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: gap .25s var(--ease), border-color .25s ease, color .25s ease;
}

.link-arrow:hover {
  gap: 15px;
  border-color: var(--accent);
  color: var(--accent);
}

/* ===================== MARQUEE ===================== */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  background: var(--surface);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: 0.04em;
  color: rgba(243, 242, 236, 0.35);
  white-space: nowrap;
  animation: marqueeScroll 34s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  flex-shrink: 0;
}

.marquee-dot {
  color: var(--accent);
  font-size: 9px;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ===================== SERVICES ===================== */
.services {
  padding: 130px 32px;
  max-width: 1360px;
  margin: 0 auto;
}

.services-head {
  max-width: 640px;
  margin-bottom: 60px;
}

.services-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 48ch;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}

.service-card {
  background: var(--surface);
  padding: 38px 32px;
  transition: background .3s ease;
  position: relative;
}

.service-card:hover {
  background: var(--surface-2);
}

.service-card--lg {
  grid-column: span 1;
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.service-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-2);
}

.service-icon {
  color: var(--accent);
}

.service-card h3 {
  font-size: 18.5px;
  font-weight: 700;
  margin: 0 0 10px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.services-more {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.services-more p {
  color: var(--muted);
  font-size: 15px;
  max-width: 56ch;
  margin: 0;
  line-height: 1.6;
}

/* ===================== PROCES ===================== */
.process {
  background: var(--off-white);
  color: #0a0a0a;
  padding: 120px 32px;
}

.process-head {
  max-width: 1360px;
  margin: 0 auto 60px;
}

.process-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.process-step {
  border-top: 2px solid rgba(10, 10, 10, 0.12);
  padding-top: 24px;
}

.process-step-num {
  display: block;
  font-family: var(--display);
  font-size: 15px;
  color: var(--accent-dim);
  margin-bottom: 18px;
  -webkit-text-stroke: 0;
}

.process-step h3 {
  font-size: 19px;
  margin: 0 0 10px;
  font-weight: 800;
}

.process-step p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(10, 10, 10, 0.62);
  margin: 0;
}

/* ===================== GALLERY ===================== */
.gallery {
  padding: 130px 32px;
  max-width: 1360px;
  margin: 0 auto;
}

.gallery-head {
  margin-bottom: 50px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .6s ease;
  filter: grayscale(15%);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

/* ===================== CENNIK ===================== */
.pricing {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 130px 32px;
}

.pricing-inner {
  max-width: 1360px;
  margin: 0 auto;
}

.pricing-head {
  max-width: 640px;
  margin-bottom: 60px;
}

.pricing-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 50ch;
  margin: 0;
}

.pricing-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  align-items: start;
}

.price-group {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 30px 12px;
}

/* trzecia grupa (folie) zajmuje pełną szerokość i łamie się na 2 kolumny */
.price-group--wide {
  grid-column: 1 / -1;
}

.price-group-head {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}

.price-group-num {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 10px;
}

.price-group-head h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0;
}

.price-group-note {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  margin: 8px 0 0;
}

.price-table--flat {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 40px;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.price-table > .price-row:last-child {
  border-bottom: none;
}

/* nieparzysta liczba pozycji — ostatnia domyka rząd na pełnej szerokości */
.price-table--flat > .price-row:last-child {
  grid-column: 1 / -1;
}

.price-row--head {
  padding: 16px 0 12px;
}

.price-row--head .price-name,
.price-row--head .price-val {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.price-name {
  font-size: 15px;
  line-height: 1.45;
  color: rgba(243, 242, 236, 0.88);
}

.price-vals {
  display: grid;
  grid-template-columns: repeat(3, 88px);
  text-align: center;
}

/* jedna cena obowiązująca dla wszystkich rozmiarów */
.price-vals--all {
  grid-template-columns: 264px;
}

.price-val {
  font-family: var(--mono);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--off-white);
  white-space: nowrap;
}

.price-val--custom {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.price-table--flat .price-vals {
  grid-template-columns: auto;
  text-align: right;
}

.price-table--flat .price-val {
  color: var(--accent);
}

.pricing-foot {
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.pricing-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
  margin: 0;
}

.pricing-note-mark {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1px solid var(--accent-dim);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
}

/* poniżej ~1200px kolumny z cenami zabierają zbyt dużo miejsca nazwom usług */
@media (max-width: 1200px) {
  .pricing-groups {
    grid-template-columns: 1fr;
  }
}

/* cennik — układ mobilny: nagłówek tabeli znika, ceny stają się kaflami
   z podpisem rozmiaru z atrybutu data-size */
@media (max-width: 700px) {
  .pricing {
    padding: 90px 18px;
  }

  .price-group {
    padding: 26px 20px 14px;
    border-radius: 18px;
  }

  .price-table--flat {
    grid-template-columns: 1fr;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 0;
  }

  .price-row--head {
    display: none;
  }

  .price-name {
    font-size: 14.5px;
    font-weight: 600;
  }

  .price-vals,
  .price-vals--all {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .price-vals--all {
    grid-template-columns: 1fr;
  }

  .price-val {
    padding: 9px 6px;
    background: var(--surface);
    border-radius: 10px;
    font-size: 14px;
  }

  .price-val[data-size]::before {
    content: attr(data-size);
    display: block;
    margin-bottom: 4px;
    font-size: 9.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-2);
  }

  .price-table--flat .price-row {
    grid-template-columns: 1fr auto;
    gap: 18px;
  }

  .price-table--flat .price-val {
    padding: 0;
    background: none;
  }
}

/* ===================== CONTACT ===================== */
.contact {
  padding: 130px 32px;
  max-width: 1360px;
  margin: 0 auto;
}

.contact-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.contact-head {
  max-width: 640px;
}

.contact-map {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.contact-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .3s var(--ease), border-color .3s ease, background .3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 176, 0, 0.4);
  background: var(--surface-2);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(243, 242, 236, 0.06);
  color: var(--off-white);
}

.contact-card-icon--accent {
  background: var(--accent);
  color: #0a0a0a;
}

.contact-card--cta {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
}

.contact-card--cta:hover {
  background: var(--accent);
  transform: translateY(-6px) scale(1.01);
}

.contact-card--cta .contact-card-label {
  color: rgba(10, 10, 10, 0.6);
}

.contact-card-label {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin: 0;
}

.contact-card-value {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 80px 32px 0;
}

.footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.footer-logo-text {
  font-family: var(--display);
  font-size: 20px;
  text-transform: uppercase;
}

.footer-logo-text em {
  font-style: normal;
  color: var(--accent);
}

.footer-tagline {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 32ch;
  line-height: 1.6;
  margin: 0 0 26px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, border-color .25s ease, transform .25s ease, color .25s ease;
}

.footer-social:hover {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
  transform: translateY(-3px);
}

.footer-col-title {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 18px;
}

.footer-line {
  display: block;
  font-size: 15.5px;
  margin-bottom: 10px;
  transition: color .2s ease;
}

a.footer-line:hover {
  color: var(--accent);
}

.footer-line--muted {
  color: var(--muted);
  line-height: 1.55;
}

.footer-bottom {
  max-width: 1360px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted-2);
  flex-wrap: wrap;
  gap: 12px;
}

/* podpis wykonawcy strony */
.footer-credit {
  height: 22px;
  width: auto;
  opacity: .5;
}

.footer-top {
  color: var(--muted);
  transition: color .2s ease;
}

.footer-top:hover {
  color: var(--accent);
}

/* ===================== LOADING SCREEN ===================== */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loading-logo-wrap {
  position: relative;
  width: 140px;
}

.loading-logo {
  width: 100%;
  height: auto;
  display: block;
}

.loading-logo--dimmed {
  opacity: 0.15;
  filter: grayscale(100%);
}

.loading-logo--bright {
  position: absolute;
  top: 0;
  left: 0;
  clip-path: inset(100% 0 0 0);
}

.loading-bar-wrap {
  width: 160px;
  height: 3px;
  background: rgba(243, 242, 236, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.loading-bar {
  width: 0%;
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
}

/* ===================== FAB MENU ===================== */
.fab-wrapper {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 64px;
  height: 64px;
  background: #0a0a0a;
  border-radius: 32px;
  border: 1px solid var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  transition: height 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), border-color 0.3s ease;
  overflow: hidden;
}

/* Wysokość musi być konkretna, żeby dało się ją animować (auto się nie animuje).
   Wzór: liczba pozycji × 44px + odstępy (n-1) × 12px + 40px paddingu + 64px przycisku.
   Przy 6 pozycjach: 264 + 60 + 40 + 64 = 428px — po dodaniu lub usunięciu
   pozycji w .fab-menu trzeba przeliczyć tę wartość. */
.fab-wrapper.is-open {
  height: 428px;
}

.fab-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 0;
  width: 100%;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.fab-wrapper.is-open .fab-menu {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0.1s;
}

.fab-menu-item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(243, 242, 236, 0.05);
  color: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.fab-menu-item:hover {
  background: var(--accent);
  color: #0a0a0a;
  transform: scale(1.1);
}

.fab-btn {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.fab-btn-icons {
  display: flex;
  gap: 4px;
  align-items: center;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.fab-btn-close {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5) rotate(-45deg);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.fab-wrapper.is-open .fab-btn-icons {
  opacity: 0;
  transform: scale(0.5) rotate(45deg);
}

.fab-wrapper.is-open .fab-btn-close {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(0);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1080px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about-media {
    max-width: 440px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-top {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 30px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 950px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .nav-drawer {
    visibility: visible;
  }

  .stats-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .stat-divider {
    width: 64px;
    height: 1px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery-item--wide {
    grid-column: span 2;
  }

  .gallery-item--tall {
    grid-row: span 1;
  }
}

@media (max-width: 600px) {
  .fab-wrapper {
    bottom: 20px;
    right: 20px;
  }

  .nav-inner {
    padding: 0 18px;
  }

  .hero {
    padding: calc(var(--nav-h) + 24px) 18px 110px;
    align-items: flex-end;
  }

  .hero-eyebrow {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .about,
  .services,
  .process,
  .gallery,
  .contact {
    padding-left: 18px;
    padding-right: 18px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-map {
    aspect-ratio: 16 / 9;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .about-media-tag {
    left: -12px;
    bottom: -18px;
    padding: 14px 16px;
    border-radius: 14px;
  }

  .about-media-tag-num {
    font-size: 24px;
  }

  .about-media-tag-label {
    font-size: 10px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-item--wide {
    grid-column: span 1;
  }

  .services-more {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cursor-glow {
    display: none;
  }
}