/* =========================================================================
   DIAMOND CAR STUDIO — DESIGN SYSTEM
   Paleta: czerń / grafit / biel + subtelny srebrny akcent (diament, połysk)
   Typografia: Unbounded (display) + Inter (body) + Space Mono (dane/ceny)
   Sygnatura: diamentowy "sheen" — smuga światła przesuwająca się po kartach
   i przyciskach przy hover, nawiązująca do odbicia światła na lakierze.
   ========================================================================= */

:root {
  --black: #08080a;
  --graphite: #111114;
  --charcoal: #1b1b1f;
  --charcoal-2: #232328;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --white: #f4f4f2;
  --white-dim: rgba(244, 244, 242, 0.68);
  --white-faint: rgba(244, 244, 242, 0.42);
  --silver: #c7cbd1;
  --silver-bright: #eef0f3;
  --accent: #dfe3e8;
  --accent-soft: rgba(223, 227, 232, 0.14);

  --font-display: "Unbounded", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Space Mono", monospace;

  --container: 1180px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  background-color: var(--black);
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.5px),
    radial-gradient(650px circle at 12% 8%, rgba(199, 203, 209, 0.06), transparent 60%),
    radial-gradient(550px circle at 88% 28%, rgba(199, 203, 209, 0.05), transparent 60%),
    radial-gradient(750px circle at 22% 88%, rgba(199, 203, 209, 0.045), transparent 60%),
    radial-gradient(600px circle at 92% 82%, rgba(199, 203, 209, 0.04), transparent 60%);
  background-size: 28px 28px, auto, auto, auto, auto;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-attachment: fixed, fixed, fixed, fixed, fixed;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  body { background-attachment: scroll, scroll, scroll, scroll, scroll; }
}

body.no-scroll { overflow: hidden; }

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

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

button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }

input, select, textarea { font-family: inherit; font-size: 1rem; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

::selection { background: var(--silver); color: var(--black); }

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

/* ---- typography helpers ---- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
  margin: 0 0 14px;
  display: inline-block;
  position: relative;
  padding-left: 22px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--silver);
  transform: translateY(-50%);
}
.eyebrow--light { color: rgba(244, 244, 242, 0.75); }
.eyebrow--light::before { background: rgba(244, 244, 242, 0.75); }
.eyebrow--center {
  display: block;
  text-align: center;
  padding-left: 0;
}
.eyebrow--center::before { display: none; }

.section-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 48px;
  max-width: 720px;
}
.section-heading--light { color: var(--white); margin-bottom: 20px; }
.section-heading--center { text-align: center; max-width: none; margin-left: auto; margin-right: auto; margin-bottom: 18px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--accent {
  background: var(--white);
  color: var(--black);
}
.btn--accent::before {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(0,0,0,0.18), transparent);
  transition: left 0.6s var(--ease);
}
.btn--accent:hover::before { left: 130%; }
.btn--accent:hover { transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--silver-bright);
  background: rgba(255,255,255,0.04);
}

.btn--sm { padding: 10px 20px; font-size: 0.82rem; }
.btn--wide { width: 100%; padding: 17px 30px; }

.btn--wide.is-loading { opacity: 0.7; pointer-events: none; }

/* =========================================================================
   NAVBAR
   ========================================================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.navbar--solid {
  background: rgba(8, 8, 10, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.navbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__logo { display: flex; align-items: center; height: 100%; overflow: visible; }
.navbar__logo-img { height: 46px; width: auto; display: block; }
.footer__logo-img { height: 40px; width: auto; display: block; margin-bottom: 4px; }

.navbar__links { display: flex; gap: 34px; }
.navbar__links a {
  font-size: 0.88rem;
  color: var(--white-dim);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.navbar__links a:hover { color: var(--white); }
.navbar__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--silver-bright);
  transition: width 0.3s var(--ease);
}
.navbar__links a:hover::after { width: 100%; }

.navbar__actions { display: flex; align-items: center; gap: 18px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  flex-shrink: 0;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.hamburger:hover { border-color: var(--silver-bright); background: rgba(255,255,255,0.04); }
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(8,8,10,0.98);
  display: flex;
  flex-direction: column;
  padding: 96px 24px 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  margin-bottom: auto;
}
.mobile-menu nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--white);
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  padding: 18px;
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mobile-menu__call svg { flex-shrink: 0; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(8,8,10,0.96) 0%, rgba(8,8,10,0.55) 42%, rgba(8,8,10,0.35) 65%, rgba(8,8,10,0.75) 100%);
}
.hero__grain {
  position: absolute; inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 110px;
  padding-top: 160px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  max-width: 16ch;
}
.hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--white-dim);
  max-width: 44ch;
  margin: 0 0 36px;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--white-faint);
  margin: 0;
}

.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  z-index: 1;
}
.hero__scroll span {
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 8px;
  background: var(--silver-bright);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; top: 7px; }
  70% { opacity: 0; top: 18px; }
  100% { opacity: 0; top: 18px; }
}

/* =========================================================================
   INTRO / O MARCE
   ========================================================================= */
.intro { padding: 120px 0 100px; border-top: 1px solid var(--line); }
.intro__grid { max-width: 780px; }
.intro__heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.28;
  margin: 0 0 26px;
}
.intro__text { color: var(--white-dim); font-size: 1.02rem; line-height: 1.8; }

/* =========================================================================
   USŁUGI — przegląd oferty (6 kart, linki do cennika)
   ========================================================================= */
.services { padding: 100px 0; background: rgba(17, 17, 20, 0.93); border-top: 1px solid var(--line); }
.services__subtitle {
  color: var(--white-dim);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 52ch;
  margin: 0 auto 48px;
  text-align: center;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.offer-card {
  display: block;
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 26px 30px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.offer-card:hover {
  border-color: var(--line-strong);
  background: var(--charcoal-2);
  transform: translateY(-2px);
}
.offer-card__icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--charcoal-2);
  border-radius: 10px;
  color: var(--silver-bright);
  margin-bottom: 20px;
}
.offer-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 10px;
}
.offer-card p {
  color: var(--white-dim);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

/* =========================================================================
   CENNIK
   ========================================================================= */
.pricing { padding: 110px 0; }
.pricing--page { padding-top: 160px; }

.pricing__page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--white-dim);
  margin-bottom: 36px;
  transition: color 0.3s var(--ease);
}
.pricing__page-back:hover { color: var(--white); }
.pricing__page-back svg { flex-shrink: 0; }

.pricing__intro-block {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.pricing__eyebrow { display: flex; justify-content: center; }
.pricing__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}
.pricing__subtitle {
  color: var(--white-dim);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 46ch;
  margin: 0 auto 22px;
}
.pricing__disclaimer {
  color: var(--white-faint);
  font-size: 0.82rem;
  line-height: 1.7;
  max-width: 56ch;
  margin: 0 auto 34px;
}

/* ---- przełącznik rozmiaru auta — zawsze widoczny ---- */
.size-switch {
  display: flex;
  gap: 6px;
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 4px;
}
.size-switch--global {
  max-width: 760px;
  margin: 0 auto;
}
.pricing__switch-hint {
  margin: 18px 0 0;
  font-size: 0.82rem;
  color: var(--white-faint);
}
.pricing__switch-hint a {
  color: var(--silver-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pricing__switch-hint a:hover { color: var(--white); }
.size-switch__btn {
  flex: 1;
  padding: 11px 8px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--white-dim);
  border-radius: 26px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  text-align: center;
  white-space: normal;
}
.size-switch__btn.is-active { background: var(--white); color: var(--black); }

@media (max-width: 700px) {
  .size-switch--global {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
    max-width: 420px;
  }
  .size-switch--global .size-switch__btn {
    background: var(--charcoal);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 8px;
  }
  .size-switch--global .size-switch__btn.is-active { background: var(--white); border-color: var(--white); }
}

/* ---- karty kategorii ---- */
.price-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.price-card {
  background: var(--graphite);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 32px 12px;
}
.price-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.price-card__icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--charcoal-2);
  border-radius: 10px;
  color: var(--silver-bright);
}
.price-card__header h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0;
}

/* nagłówek kolumn cenowych — zawsze widoczny */
.price-card__cols {
  display: grid;
  grid-template-columns: 1fr repeat(4, 86px);
  gap: 14px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 4px;
}
.price-card__cols span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.03em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--white-faint);
}
.price-card__cols span:not(:first-child) {
  text-align: right;
  transition: color 0.25s var(--ease);
}
.price-card__cols span.is-active-size { color: var(--silver-bright); }

.price-card__list { list-style: none; margin: 0; padding: 0; }
.price-item { border-top: 1px solid var(--line); }
.price-item:first-child { border-top: none; }

.price-item__toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr repeat(4, 86px);
  align-items: start;
  gap: 14px;
  padding: 20px 0;
  text-align: left;
}
.price-item__toggle:disabled { cursor: default; }

.price-item__name-col { display: flex; flex-direction: column; gap: 6px; }
.price-item__name {
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.price-item__subtitle {
  font-size: 0.86rem;
  color: var(--white-faint);
}
.price-item__scope-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
  margin-top: 2px;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  font-weight: 600;
}
.badge--popular {
  background: var(--accent-soft);
  color: var(--silver-bright);
  border: 1px solid var(--line-strong);
}

.price-item__prices {
  display: grid;
  grid-template-columns: repeat(4, 86px);
  gap: 14px;
  padding-top: 1px;
}
.price-item--single .price-item__prices { grid-template-columns: 1fr; }

.price-item__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--white-faint);
  text-align: right;
  line-height: 1.3;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.price-item__value.is-active-size { color: var(--white); }
.price-item__value--single { color: var(--white); }

.price-item__chevron { position: relative; width: 9px; height: 9px; flex-shrink: 0; }
.price-item__chevron::before {
  content: "";
  position: absolute; top: 30%; left: 50%;
  width: 7px; height: 7px;
  border-right: 1.4px solid var(--silver);
  border-bottom: 1.4px solid var(--silver);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.price-item.is-open .price-item__chevron::before { transform: translate(-50%, -10%) rotate(-135deg); }

.price-item__scope {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}
.price-item.is-open .price-item__scope { max-height: 460px; padding-bottom: 22px; }
.price-item__scope ul {
  margin: 0;
  padding: 0;
  list-style: none;
  column-count: 2;
  column-gap: 40px;
}
.price-item__scope li {
  position: relative;
  padding-left: 18px;
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.9;
  break-inside: avoid;
}
.price-item__scope li::before {
  content: "";
  position: absolute; left: 0; top: 12px;
  width: 5px; height: 1px;
  background: var(--silver);
}

.price-card__note {
  margin: 8px 0 0;
  padding: 18px 0 22px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  font-style: italic;
  color: var(--white-faint);
  line-height: 1.7;
}

.pricing__note { color: var(--white-faint); font-size: 0.86rem; max-width: 560px; margin: 0 auto 44px; text-align: center; }

/* ---- CTA panel ---- */
.pricing__cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  background: var(--graphite);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 36px 40px;
}
.pricing__cta-panel h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  margin: 0 0 8px;
}
.pricing__cta-panel p {
  color: var(--white-dim);
  font-size: 0.92rem;
  margin: 0;
  max-width: 46ch;
}

/* ---- mobile: przełącznik rozmiaru auta zamiast 4 kolumn ---- */
@media (max-width: 699px) {
  .price-card__cols { grid-template-columns: 1fr 110px; }
  .price-card__cols [data-col] { display: none; }
  .price-card__cols [data-col].is-active-size { display: block; }
  .price-item__toggle { grid-template-columns: 1fr 110px; }
  .price-item__prices { grid-template-columns: 110px; }
  .price-item__value { display: none; font-size: 0.9rem; }
  .price-item__value.is-active-size { display: block; }
  .price-item__scope li { font-size: 0.84rem; }
}

@media (max-width: 420px) {
  .price-item__scope ul { column-count: 1; }
}

/* =========================================================================
   DLACZEGO DIAMOND CAR STUDIO
   ========================================================================= */
.why { padding: 100px 0; background: rgba(17, 17, 20, 0.93); border-top: 1px solid var(--line); }
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.why-card__mark { color: var(--silver); display: inline-flex; margin-bottom: 18px; }
.why-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin: 0 0 10px; }
.why-card p { color: var(--white-dim); font-size: 0.9rem; line-height: 1.65; margin: 0; }

/* =========================================================================
   REALIZACJE
   ========================================================================= */
.portfolio { padding: 110px 0; }
.portfolio--page { padding-top: 160px; }
.portfolio__subtitle {
  color: var(--white-dim);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 56ch;
  margin: 0 0 48px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  display: block;
  text-align: left;
  background: var(--graphite);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.project-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.project-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.project-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
  filter: brightness(0.88);
}
.project-card:hover .project-card__media img { transform: scale(1.05); filter: brightness(1); }
.project-card__badge {
  position: absolute; top: 14px; left: 14px;
  padding: 7px 14px;
  background: rgba(8,8,10,0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  font-size: 0.76rem;
  color: var(--white);
  max-width: calc(100% - 28px);
}
.project-card__zoom-hint {
  position: absolute; bottom: 14px; right: 14px;
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(8,8,10,0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  font-size: 0.72rem;
  color: var(--white);
  white-space: nowrap;
}
.project-card__zoom-hint svg { flex-shrink: 0; }
.project-card__body { padding: 20px 22px 24px; }
.project-card__body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.project-card__body p {
  color: var(--white-dim);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* ---- Galeria (lightbox z nawigacją) ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(4,4,5,0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 100%; }
.lightbox__img { max-width: 100%; max-height: 78vh; border-radius: 2px; }
.lightbox__meta { display: flex; align-items: center; gap: 14px; color: var(--white-dim); font-size: 0.86rem; }
.lightbox__title { font-family: var(--font-display); font-weight: 600; color: var(--white); }
.lightbox__count { font-family: var(--font-mono); color: var(--white-faint); }
.lightbox__close {
  position: absolute; top: 24px; right: 28px;
  font-size: 2rem; color: var(--white); line-height: 1;
}
.lightbox__nav {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--white);
  background: rgba(8,8,10,0.5);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.lightbox__nav:hover { border-color: var(--silver-bright); background: rgba(8,8,10,0.8); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* =========================================================================
   PROCES
   ========================================================================= */
.process { padding: 100px 0; background: rgba(17, 17, 20, 0.93); border-top: 1px solid var(--line); }
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}
.process-card { position: relative; padding-top: 8px; }
.process-card__step {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--silver);
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}
.process-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; margin: 0 0 10px; }
.process-card p { color: var(--white-dim); font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* =========================================================================
   OPINIE
   ========================================================================= */
.reviews { padding: 100px 0; border-top: 1px solid var(--line); }
.reviews__panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 64px 40px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.reviews__empty { display: flex; flex-direction: column; align-items: center; gap: 16px; color: var(--white-faint); }
.reviews__empty svg { color: var(--silver); }
.reviews__empty p { margin: 0; font-size: 0.96rem; max-width: 360px; }

/* =========================================================================
   KONTAKT
   ========================================================================= */
.contact { padding: 120px 0; border-top: 1px solid var(--line); }

.contact__intro { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.contact__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  margin: 0 0 16px;
}
.contact__subtitle { color: var(--white-dim); font-size: 1rem; line-height: 1.7; margin: 0; }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}

.contact-card {
  background: var(--graphite);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}
.contact-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 26px;
}

.contact-details { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-details li { display: flex; align-items: flex-start; gap: 14px; }
.contact-details__icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--charcoal-2);
  border-radius: 10px;
  color: var(--silver-bright);
}
.contact-details strong { display: block; font-size: 0.85rem; color: var(--white-dim); font-weight: 500; margin-bottom: 4px; }
.contact-details a,
.contact-details span { font-size: 0.98rem; color: var(--white); line-height: 1.5; }
.contact-details a:hover { color: var(--silver-bright); }

.contact-hours { border-top: 1px solid var(--line); padding-top: 24px; }
.contact-hours__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.contact-hours__head strong { font-size: 0.98rem; font-weight: 600; }
.contact-hours__row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.9rem;
  color: var(--white-dim);
  padding: 8px 0;
}
.contact-hours__row:not(:last-child) { border-bottom: 1px solid var(--line); }

.status-badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.status-badge--open { background: rgba(120, 200, 150, 0.14); color: #8fd6a8; border: 1px solid rgba(120, 200, 150, 0.3); }
.status-badge--closed { background: rgba(217, 110, 110, 0.14); color: #e39a9a; border: 1px solid rgba(217, 110, 110, 0.3); }

.contact__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 360px; }
.contact__map iframe { width: 100%; height: 100%; border: 0; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { padding: 110px 0 130px; border-top: 1px solid var(--line); }
.faq__list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
}
.faq-item__icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-item__icon::before, .faq-item__icon::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  background: var(--silver-bright);
  transform: translate(-50%, -50%);
}
.faq-item__icon::before { width: 14px; height: 1.4px; }
.faq-item__icon::after { width: 1.4px; height: 14px; transition: transform 0.3s var(--ease); }
.faq-item.is-open .faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-item.is-open .faq-item__a { max-height: 200px; }
.faq-item__a p { color: var(--white-dim); font-size: 0.94rem; line-height: 1.7; margin: 0 0 24px; }

/* =========================================================================
   STOPKA
   ========================================================================= */
.footer { background: rgba(27, 27, 31, 0.93); border-top: 1px solid var(--line); padding: 80px 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer__brand p { color: var(--white-faint); font-size: 0.88rem; margin: 10px 0 0; }
.footer__col h3 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  margin: 0 0 18px;
}
.footer__col p { color: var(--white-dim); font-size: 0.9rem; margin: 0 0 8px; line-height: 1.6; }
.footer__col a:hover { color: var(--white); }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { color: var(--white-dim); font-size: 0.9rem; }
.footer__social-empty { color: var(--white-faint); font-size: 0.86rem; }
.footer__social-links { display: flex; gap: 12px; }
.footer__social-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--white-dim);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.footer__social-icon:hover { border-color: var(--silver-bright); color: var(--white); background: rgba(255,255,255,0.04); }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 22px 24px;
  font-size: 0.8rem;
  color: var(--white-faint);
}

/* =========================================================================
   MOBILE STICKY BAR
   ========================================================================= */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(8,8,10,0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-strong);
  gap: 12px;
}
.mobile-bar__btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px;
  border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 600;
}
.mobile-bar__btn--ghost { border: 1px solid var(--line-strong); color: var(--white); }
.mobile-bar__btn--accent { background: var(--white); color: var(--black); }

/* =========================================================================
   PRZYCISKI PŁYWAJĄCE — WhatsApp + powrót na górę
   ========================================================================= */
.fab-stack {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.fab-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #08080a;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.fab-whatsapp:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 10px 26px rgba(0,0,0,0.4); }

.fab-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(8,8,10,0.85);
  border: 1px solid var(--line-strong);
  color: var(--white);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, border-color 0.3s var(--ease);
}
.fab-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.fab-top:hover { border-color: var(--silver-bright); }

@media (max-width: 860px) {
  .fab-stack { bottom: calc(90px + env(safe-area-inset-bottom)); right: 16px; }
  .fab-whatsapp { width: 50px; height: 50px; }
  .fab-top { width: 40px; height: 40px; }
}
body.has-cookie-banner .fab-stack { bottom: 110px; }
@media (max-width: 860px) {
  body.has-cookie-banner .fab-stack { bottom: calc(180px + env(safe-area-inset-bottom)); }
}

/* =========================================================================
   BANER COOKIE
   ========================================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: rgba(8,8,10,0.97);
  border-top: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__text {
  margin: 0;
  color: var(--white-dim);
  font-size: 0.86rem;
  line-height: 1.6;
  max-width: 640px;
  text-align: center;
}
.cookie-banner__text a { color: var(--silver-bright); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { display: flex; flex-shrink: 0; }

@media (max-width: 860px) {
  .cookie-banner { bottom: calc(80px + env(safe-area-inset-bottom)); padding: 16px 18px; }
}

/* =========================================================================
   SKIP LINK — dostępność klawiaturowa
   ========================================================================= */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 300;
  background: var(--white);
  color: var(--black);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 16px; }

/* =========================================================================
   STRONA 404
   ========================================================================= */
.error-page {
  padding: 200px 0 140px;
  text-align: center;
  min-height: 70vh;
}
.error-page .container { max-width: 640px; }
.error-page__code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.5rem, 14vw, 8rem);
  line-height: 1;
  margin: 0 0 8px;
  color: var(--silver);
  letter-spacing: -0.02em;
}
.error-page__text {
  color: var(--white-dim);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 46ch;
  margin: 0 auto 40px;
}
.error-page__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.error-page__links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.error-page__links a {
  font-size: 0.88rem;
  color: var(--white-faint);
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.error-page__links a:hover { color: var(--white); border-color: var(--line-strong); }

@media (max-width: 860px) {
  .error-page { padding: 150px 0 100px; }
}

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .process__grid { grid-template-columns: repeat(2, 1fr); gap: 44px; }
  .price-categories { gap: 20px; }
  .contact__grid { grid-template-columns: 1fr; gap: 50px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 44px; }
}

@media (max-width: 860px) {
  .navbar__links { display: none; }
  .hamburger { display: flex; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 78px; }

  .navbar__logo-img { height: 30px; }
  .navbar__actions { gap: 10px; }
  .navbar__actions .btn--sm { padding: 8px 12px; font-size: 0.7rem; }

  .hero__content { padding-top: 130px; padding-bottom: 90px; }
  .intro, .services, .pricing, .why, .portfolio, .process, .reviews, .contact, .faq {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .pricing--page { padding-top: 120px; }
  .portfolio--page { padding-top: 120px; }

  .offer-grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; gap: 30px; }
  .process__grid { grid-template-columns: 1fr; gap: 34px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__cta-panel { flex-direction: column; align-items: flex-start; }
  .price-card { padding: 26px 20px 8px; }
  .pricing__intro-block { margin-bottom: 40px; }

  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-card { padding: 24px 20px; }
  .contact__map { aspect-ratio: 4/3; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .project-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .reviews__panel { padding: 48px 24px; }
}
