/* vivopuu.com — wynajem.css — Matrix #19 */
/* Brutalizm-lajt: ugolny #1a1a1a + limonowy #e9ff70 + bialy #fafafa */

:root {
  --c-coal: #1a1a1a;
  --c-lemon: #e9ff70;
  --c-white: #fafafa;
  --c-grey: #2e2e2e;
  --c-mid: #555555;
  --c-border: #1a1a1a;
  --shadow-brut: 4px 4px 0 var(--c-coal);
  --shadow-brut-lemon: 4px 4px 0 var(--c-lemon);
  --radius: 0px;
  --nav-w: 64px;
  --nav-w-open: 220px;
  --font-head: 'Arial Black', 'Arial Bold', 'Helvetica Neue', sans-serif;
  --font-body: 'Arial', 'Helvetica Neue', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--c-white);
  color: var(--c-coal);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  padding-left: var(--nav-w);
  transition: padding-left 0.25s ease;
}

/* ═══════════════════════════════════
   RAIL NAVIGATION
═══════════════════════════════════ */

.r-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--nav-w);
  height: 100vh;
  background: var(--c-coal);
  border-right: 3px solid var(--c-coal);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  overflow: hidden;
  transition: width 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.r-nav:hover {
  width: var(--nav-w-open);
}

.r-nav__logo {
  display: flex;
  align-items: center;
  width: 100%;
  height: 72px;
  padding: 0 16px;
  border-bottom: 2px solid var(--c-grey);
  text-decoration: none;
  flex-shrink: 0;
  overflow: hidden;
}

.r-nav__logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.r-nav__logo-text {
  color: var(--c-lemon);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 14px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.18s ease 0.05s, transform 0.18s ease 0.05s;
}

.r-nav:hover .r-nav__logo-text {
  opacity: 1;
  transform: translateX(0);
}

.r-nav__list {
  list-style: none;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 8px;
}

.r-nav__item {
  width: 100%;
}

.r-nav__link {
  display: flex;
  align-items: center;
  width: 100%;
  height: 56px;
  padding: 0 16px;
  text-decoration: none;
  color: var(--c-white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  transition: background 0.15s;
}

.r-nav__link:hover,
.r-nav__link--aktywna {
  background: var(--c-grey);
}

.r-nav__link--aktywna {
  border-left: 3px solid var(--c-lemon);
}

.r-nav__link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--c-lemon);
  transform: scaleY(0);
  transition: transform 0.15s;
}

.r-nav__link:hover::before {
  transform: scaleY(1);
}

.r-nav__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.r-nav__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.r-nav__link--aktywna .r-nav__icon svg {
  stroke: var(--c-lemon);
}

.r-nav__label {
  margin-left: 14px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.16s ease 0.06s, transform 0.16s ease 0.06s;
}

.r-nav:hover .r-nav__label {
  opacity: 1;
  transform: translateX(0);
}

.r-nav__footer {
  padding: 16px;
  border-top: 2px solid var(--c-grey);
  width: 100%;
  overflow: hidden;
}

.r-nav__contact {
  display: flex;
  align-items: center;
  color: var(--c-mid);
  font-size: 11px;
  white-space: nowrap;
}

.r-nav__contact-text {
  margin-left: 10px;
  opacity: 0;
  transition: opacity 0.16s ease 0.06s;
}

.r-nav:hover .r-nav__contact-text {
  opacity: 1;
}

/* ═══════════════════════════════════
   HERO — KINEMATOGRAFICZNY
═══════════════════════════════════ */

.r-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 64px;
  background: var(--c-coal);
  position: relative;
  overflow: hidden;
}

.r-hero__bg-num {
  position: absolute;
  right: 40px;
  bottom: 60px;
  font-family: var(--font-head);
  font-size: 400px;
  font-weight: 900;
  color: var(--c-white);
  opacity: 0.03;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.r-hero__eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-lemon);
  margin-bottom: 24px;
}

.r-hero__title {
  font-family: var(--font-head);
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--c-white);
  max-width: 900px;
  margin-bottom: 40px;
}

.r-hero__title span {
  color: var(--c-lemon);
}

.r-hero__line {
  width: 100%;
  height: 2px;
  background: var(--c-grey);
  margin-bottom: 40px;
}

.r-hero__meta {
  display: flex;
  align-items: center;
  gap: 48px;
}

.r-hero__cta {
  display: inline-block;
  background: var(--c-lemon);
  color: var(--c-coal);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border: 3px solid var(--c-coal);
  box-shadow: var(--shadow-brut);
  transition: transform 0.1s, box-shadow 0.1s;
}

.r-hero__cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--c-lemon);
  background: var(--c-white);
}

.r-hero__sub {
  color: var(--c-mid);
  font-size: 14px;
  max-width: 360px;
  line-height: 1.5;
}

/* ═══════════════════════════════════
   METRYKI — 3 LICZBY W JEDNEJ LINII
═══════════════════════════════════ */

.r-metryki {
  background: var(--c-lemon);
  border-top: 3px solid var(--c-coal);
  border-bottom: 3px solid var(--c-coal);
  padding: 0;
}

.r-metryki__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.r-metryki__item {
  padding: 32px 40px;
  border-right: 3px solid var(--c-coal);
}

.r-metryki__item:last-child {
  border-right: none;
}

.r-metryki__liczba {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  color: var(--c-coal);
  line-height: 1;
  display: block;
}

.r-metryki__opis {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-coal);
  opacity: 0.65;
  margin-top: 6px;
  display: block;
}

/* ═══════════════════════════════════
   SEKCJA — WSPÓLNE
═══════════════════════════════════ */

.r-sekcja {
  padding: 96px 48px;
  position: relative;
  overflow: hidden;
}

.r-sekcja--ciemna {
  background: var(--c-coal);
  color: var(--c-white);
}

.r-sekcja--jasna {
  background: var(--c-white);
  color: var(--c-coal);
}

.r-sekcja__num {
  position: absolute;
  left: 30px;
  top: 40px;
  font-family: var(--font-head);
  font-size: 200px;
  font-weight: 900;
  color: currentColor;
  opacity: 0.05;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.r-sekcja__naglowek {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.r-sekcja__podtytul {
  font-size: 15px;
  opacity: 0.6;
  max-width: 560px;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════
   USŁUGI — HORIZONTAL SCROLL-SNAP
═══════════════════════════════════ */

.r-usugi-wrapper {
  position: relative;
  z-index: 1;
}

.r-suwak {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--c-lemon) var(--c-grey);
  padding-bottom: 16px;
  cursor: grab;
  border: 3px solid var(--c-white);
}

.r-suwak:active {
  cursor: grabbing;
}

.r-suwak::-webkit-scrollbar {
  height: 4px;
}

.r-suwak::-webkit-scrollbar-track {
  background: var(--c-grey);
}

.r-suwak::-webkit-scrollbar-thumb {
  background: var(--c-lemon);
}

.r-karta {
  scroll-snap-align: start;
  flex: 0 0 320px;
  min-width: 320px;
  background: var(--c-coal);
  border-right: 3px solid var(--c-white);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: background 0.18s;
}

.r-sekcja--jasna .r-karta {
  background: var(--c-white);
  border: 3px solid var(--c-coal);
  border-right: none;
  margin-right: 0;
}

.r-sekcja--jasna .r-karta:last-child {
  border-right: 3px solid var(--c-coal);
}

.r-karta:hover {
  background: var(--c-grey);
}

.r-sekcja--jasna .r-karta:hover {
  background: #f0f0f0;
}

.r-karta:last-child {
  border-right: none;
}

.r-karta__ikona {
  width: 48px;
  height: 48px;
  background: var(--c-lemon);
  border: 3px solid var(--c-coal);
  box-shadow: var(--shadow-brut);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.r-karta__ikona svg {
  width: 24px;
  height: 24px;
  stroke: var(--c-coal);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.r-karta__tytul {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--c-white);
}

.r-sekcja--jasna .r-karta__tytul {
  color: var(--c-coal);
}

.r-karta__opis {
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-mid);
  flex: 1;
}

.r-sekcja--jasna .r-karta__opis {
  color: #444;
}

.r-karta__cena {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--c-lemon);
  border-top: 2px solid var(--c-grey);
  padding-top: 16px;
}

.r-sekcja--jasna .r-karta__cena {
  color: var(--c-coal);
  border-top-color: #ddd;
}

.r-karta__btn {
  display: inline-block;
  padding: 10px 20px;
  background: transparent;
  border: 2px solid var(--c-white);
  color: var(--c-white);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  box-shadow: 3px 3px 0 var(--c-lemon);
}

.r-karta__btn:hover {
  background: var(--c-lemon);
  color: var(--c-coal);
  border-color: var(--c-lemon);
}

.r-sekcja--jasna .r-karta__btn {
  border-color: var(--c-coal);
  color: var(--c-coal);
  box-shadow: 3px 3px 0 var(--c-coal);
}

.r-sekcja--jasna .r-karta__btn:hover {
  background: var(--c-coal);
  color: var(--c-lemon);
}

.r-suwak__hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════
   KONFIGURATOR
═══════════════════════════════════ */

.r-konfig {
  background: var(--c-lemon);
  border: 3px solid var(--c-coal);
  box-shadow: var(--shadow-brut);
  padding: 48px;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.r-konfig__label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-coal);
  margin-bottom: 12px;
  display: block;
}

.r-konfig__grupa {
  margin-bottom: 32px;
}

.r-konfig__przyciski {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.r-konfig__btn {
  padding: 12px 24px;
  background: transparent;
  border: 2px solid var(--c-coal);
  color: var(--c-coal);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.12s;
  margin-right: -2px;
  margin-bottom: -2px;
  position: relative;
}

.r-konfig__btn:hover {
  background: rgba(26,26,26,0.08);
}

.r-konfig__btn--aktywny {
  background: var(--c-coal);
  color: var(--c-lemon);
}

.r-konfig__wynik {
  border-top: 3px solid var(--c-coal);
  padding-top: 32px;
  margin-top: 8px;
}

.r-konfig__cena {
  font-family: var(--font-head);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  color: var(--c-coal);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
  transition: opacity 0.2s;
}

.r-konfig__opis-wynik {
  font-size: 14px;
  color: var(--c-coal);
  opacity: 0.65;
  max-width: 480px;
  transition: opacity 0.2s;
}

/* ═══════════════════════════════════
   OBRAZKI Z PODPISAMI
═══════════════════════════════════ */

.r-galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 3px solid var(--c-coal);
  position: relative;
  z-index: 1;
}

.r-galeria__element {
  border-right: 3px solid var(--c-coal);
  overflow: hidden;
  position: relative;
}

.r-galeria__element:last-child {
  border-right: none;
}

.r-galeria__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  filter: grayscale(0.2);
  transition: transform 0.3s, filter 0.3s;
}

.r-galeria__element:hover .r-galeria__img {
  transform: scale(1.04);
  filter: grayscale(0);
}

.r-galeria__podpis {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--c-coal);
  color: var(--c-lemon);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-top: 2px solid var(--c-lemon);
}

/* ═══════════════════════════════════
   FORMULARZ
═══════════════════════════════════ */

.r-formularz {
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.r-formularz__rzad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.r-formularz__pole {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.r-formularz__pole--pelna {
  grid-column: 1 / -1;
}

.r-formularz__etykieta {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: currentColor;
  opacity: 0.7;
}

.r-formularz__input,
.r-formularz__textarea {
  background: transparent;
  border: 2px solid currentColor;
  color: inherit;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  resize: vertical;
}

.r-formularz__input:focus,
.r-formularz__textarea:focus {
  border-color: var(--c-lemon);
  box-shadow: 3px 3px 0 var(--c-lemon);
}

.r-sekcja--ciemna .r-formularz__input,
.r-sekcja--ciemna .r-formularz__textarea {
  background: var(--c-grey);
}

.r-formularz__textarea {
  min-height: 120px;
}

.r-formularz__btn {
  margin-top: 24px;
  padding: 16px 40px;
  background: var(--c-lemon);
  color: var(--c-coal);
  border: 3px solid var(--c-coal);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-brut);
  transition: transform 0.1s, box-shadow 0.1s;
  display: inline-block;
}

.r-formularz__btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--c-coal);
}

.r-formularz__email {
  margin-top: 20px;
  font-size: 13px;
  opacity: 0.55;
}

.r-formularz__email a {
  color: var(--c-lemon);
  text-decoration: none;
  font-weight: 700;
}

.r-sekcja--jasna .r-formularz__email a {
  color: var(--c-coal);
  text-decoration: underline;
}

/* ═══════════════════════════════════
   TOAST
═══════════════════════════════════ */

.r-toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  padding: 16px 28px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 3px solid var(--c-coal);
  box-shadow: var(--shadow-brut);
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.25s, opacity 0.25s;
  pointer-events: none;
}

.r-toast--sukces {
  background: var(--c-lemon);
  color: var(--c-coal);
}

.r-toast--blad {
  background: #ff4444;
  color: var(--c-white);
}

.r-toast--widoczny {
  transform: translateY(0);
  opacity: 1;
}

/* ═══════════════════════════════════
   STOPKA
═══════════════════════════════════ */

.r-stopka {
  background: var(--c-coal);
  border-top: 3px solid var(--c-coal);
  color: var(--c-white);
  padding: 64px 48px 32px;
}

.r-stopka__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.r-stopka__logo {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--c-lemon);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  margin-bottom: 16px;
}

.r-stopka__opis {
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-mid);
  max-width: 280px;
}

.r-stopka__naglowek {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-lemon);
  margin-bottom: 20px;
  display: block;
}

.r-stopka__lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.r-stopka__lista a {
  color: var(--c-mid);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}

.r-stopka__lista a:hover {
  color: var(--c-lemon);
}

.r-stopka__dolny {
  border-top: 2px solid var(--c-grey);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.r-stopka__copy {
  font-size: 12px;
  color: var(--c-mid);
  letter-spacing: 0.05em;
}

.r-stopka__prawne {
  display: flex;
  gap: 24px;
}

.r-stopka__prawne a {
  font-size: 12px;
  color: var(--c-mid);
  text-decoration: none;
  transition: color 0.15s;
}

.r-stopka__prawne a:hover {
  color: var(--c-lemon);
}

/* ═══════════════════════════════════
   PODSTRONY — HEADER
═══════════════════════════════════ */

.r-page-header {
  background: var(--c-coal);
  color: var(--c-white);
  padding: 80px 48px 56px;
  border-bottom: 3px solid var(--c-coal);
  position: relative;
  overflow: hidden;
}

.r-page-header__bg {
  position: absolute;
  right: 40px;
  bottom: -20px;
  font-family: var(--font-head);
  font-size: 200px;
  font-weight: 900;
  color: var(--c-white);
  opacity: 0.04;
  line-height: 1;
  user-select: none;
}

.r-page-header__kategoria {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-lemon);
  margin-bottom: 16px;
  display: block;
}

.r-page-header__title {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════
   TREŚĆ PODSTRON
═══════════════════════════════════ */

.r-tresc {
  max-width: 840px;
  padding: 64px 48px;
}

.r-tresc h2 {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--c-coal);
}

.r-tresc h2:first-child {
  margin-top: 0;
}

.r-tresc h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 28px 0 10px;
  color: var(--c-coal);
}

.r-tresc p {
  font-size: 15px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 16px;
}

.r-tresc ul, .r-tresc ol {
  margin: 12px 0 20px 24px;
}

.r-tresc li {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 6px;
}

/* Styl §  dla polityk */
.r-tresc .r-paragraf {
  margin-bottom: 40px;
}

.r-tresc .r-par-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--c-lemon);
  background: var(--c-coal);
  padding: 4px 10px;
  display: inline-block;
  margin-bottom: 12px;
}

/* ═══════════════════════════════════
   BREADCRUMB (kontakt, podstrony)
═══════════════════════════════════ */

.r-breadcrumb {
  padding: 16px 48px;
  background: var(--c-white);
  border-bottom: 2px solid #e0e0e0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-mid);
}

.r-breadcrumb a {
  color: var(--c-coal);
  text-decoration: none;
  font-weight: 700;
}

.r-breadcrumb a:hover {
  color: var(--c-coal);
  text-decoration: underline;
}

.r-breadcrumb__sep {
  margin: 0 8px;
}

/* ═══════════════════════════════════
   404
═══════════════════════════════════ */

.r-404 {
  min-height: 100vh;
  background: var(--c-coal);
  color: var(--c-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px;
}

.r-404__num {
  font-family: var(--font-head);
  font-size: clamp(120px, 20vw, 240px);
  font-weight: 900;
  color: var(--c-lemon);
  line-height: 1;
  display: block;
  border-bottom: 6px solid var(--c-lemon);
  padding-bottom: 16px;
  margin-bottom: 32px;
}

.r-404__msg {
  font-family: var(--font-head);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.r-404__sub {
  font-size: 15px;
  color: var(--c-mid);
  margin-bottom: 40px;
}

/* ═══════════════════════════════════
   RESPONSYWNOŚĆ
═══════════════════════════════════ */

@media (max-width: 900px) {
  :root {
    --nav-w: 0px;
  }

  body {
    padding-left: 0;
    padding-top: 56px;
  }

  .r-nav {
    width: 100%;
    height: 56px;
    flex-direction: row;
    border-right: none;
    border-bottom: 3px solid var(--c-coal);
    overflow: visible;
    z-index: 2000;
  }

  .r-nav:hover {
    width: 100%;
  }

  .r-nav__logo {
    height: 56px;
    border-bottom: none;
    border-right: 2px solid var(--c-grey);
    min-width: 56px;
    padding: 0 12px;
  }

  .r-nav__logo-text {
    opacity: 1;
    transform: none;
    font-size: 13px;
  }

  .r-nav:hover .r-nav__logo-text {
    opacity: 1;
  }

  .r-nav__list {
    flex-direction: row;
    padding: 0;
    overflow-x: auto;
    flex: 1;
  }

  .r-nav__item {
    width: auto;
  }

  .r-nav__link {
    height: 56px;
    padding: 0 14px;
    font-size: 12px;
  }

  .r-nav__link::before {
    width: 100%;
    height: 3px;
    top: auto;
    bottom: 0;
    transform: scaleX(0);
  }

  .r-nav__link:hover::before {
    transform: scaleX(1);
  }

  .r-nav__label {
    opacity: 1;
    transform: none;
    display: none;
  }

  .r-nav__footer {
    display: none;
  }

  .r-hero {
    padding: 0 24px 48px;
  }

  .r-sekcja {
    padding: 64px 24px;
  }

  .r-metryki__grid {
    grid-template-columns: 1fr;
  }

  .r-metryki__item {
    border-right: none;
    border-bottom: 3px solid var(--c-coal);
  }

  .r-metryki__item:last-child {
    border-bottom: none;
  }

  .r-formularz__rzad {
    grid-template-columns: 1fr;
  }

  .r-stopka__grid {
    grid-template-columns: 1fr;
  }

  .r-galeria {
    grid-template-columns: 1fr;
  }

  .r-galeria__element {
    border-right: none;
    border-bottom: 3px solid var(--c-coal);
  }

  .r-galeria__element:last-child {
    border-bottom: none;
  }

  .r-tresc {
    padding: 40px 24px;
  }

  .r-konfig {
    padding: 28px 20px;
  }

  .r-breadcrumb {
    padding: 12px 24px;
  }

  .r-page-header {
    padding: 48px 24px 40px;
  }

  .r-stopka {
    padding: 48px 24px 24px;
  }

  .r-hero__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ═══════════════════════════════════
   ANIMACJE SCROLL
═══════════════════════════════════ */

.r-pojawia {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.r-pojawia--widoczny {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .r-pojawia {
    opacity: 1;
    transform: none;
  }
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
