:root {
  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-stencil: "Allerta Stencil", "Arial Narrow", sans-serif;
}

html {
  scroll-padding-top: 96px;
  scrollbar-color: #ffd419 #050505;
  scrollbar-width: thin;
}

body {
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 212, 25, 0.16), transparent 26rem),
    radial-gradient(circle at 12% 40%, rgba(255, 212, 25, 0.08), transparent 20rem),
    #050505;
}

/* Pasek przewijania w barwach warsztatu */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #050505;
}

::-webkit-scrollbar-thumb {
  background: #ffd419;
  border: 2px solid #050505;
}

::-webkit-scrollbar-thumb:hover {
  background: #fff29b;
}

.stencil-tag {
  font-family: var(--font-stencil);
  font-weight: 400 !important;
}

.hero-section {
  background: #050505;
}

.hero-noise {
  background-image:
    linear-gradient(rgba(255, 212, 25, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 212, 25, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, black, transparent 82%);
  opacity: 0.28;
}

/* ---------- Hero: auto zaczyna "zarysowany", jeden ruch ściera rysy i odsłania efekt ---------- */
.hero-reveal {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.42;
}

.hero-reveal-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-reveal-before {
  filter: grayscale(0.85) contrast(0.7) brightness(0.5) blur(1.5px) saturate(0.5);
}

.hero-reveal-after {
  clip-path: inset(0 100% 0 0);
  animation: hero-wipe 1.7s 0.5s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.hero-reveal-wiper {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  z-index: 2;
  background: #ffd419;
  box-shadow: 0 0 24px rgba(255, 212, 25, 0.65), 0 0 70px rgba(255, 212, 25, 0.28);
  animation: hero-wiper 1.7s 0.5s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes hero-wipe {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes hero-wiper {
  to {
    left: 100%;
  }
}

.hero-copy-reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: hero-copy-in 0.9s 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hero-copy-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-logo-in {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-reveal-before {
    display: none;
  }

  .hero-reveal-after {
    clip-path: inset(0 0 0 0);
    animation: none;
  }

  .hero-reveal-wiper {
    display: none;
  }

  .hero-copy-reveal,
  .hero-logo-panel {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.nav-link {
  border-radius: 4px;
  color: rgb(255 255 255 / 0.72);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.7rem 1rem;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease;
}

.nav-link:hover {
  background: rgb(255 212 25 / 0.12);
  color: #ffd419;
}

.mobile-link {
  display: block;
  border-radius: 4px;
  color: rgb(255 255 255 / 0.78);
  font-weight: 700;
  padding: 0.85rem 0.75rem;
  text-transform: uppercase;
}

.mobile-link:hover {
  background: rgb(255 212 25 / 0.1);
  color: #ffd419;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #ffd419;
  content: "";
}

.menu-icon::before {
  transform: translateY(-6px);
}

.menu-icon::after {
  transform: translateY(4px);
}

.primary-btn,
.secondary-btn {
  border-radius: 4px;
  display: inline-flex;
  justify-content: center;
  padding: 1rem 1.35rem;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.primary-btn {
  background: #ffd419;
  color: #050505;
  box-shadow: 0 0 42px rgba(255, 212, 25, 0.24);
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.primary-btn:hover {
  background: #fff7d5;
}

.secondary-btn {
  border: 1px solid rgb(255 212 25 / 0.45);
  color: #fff7d5;
}

.secondary-btn:hover {
  background: rgb(255 212 25 / 0.12);
  color: #ffd419;
}

.hero-logo-panel {
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 26px rgba(255, 212, 25, 0.18));
  padding: clamp(1rem, 3vw, 2rem);
  opacity: 0;
  transform: scale(0.94);
  animation: hero-logo-in 1s 1.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ---------- Proces: 3 połączone etapy + osobna usługa równoległa ---------- */
.process-track {
  display: grid;
  gap: 2.5rem;
  position: relative;
}

@media (min-width: 1024px) {
  .process-track {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.3rem;
    right: -1.75rem;
    width: 1.75rem;
    height: 1px;
    background: repeating-linear-gradient(90deg, #ffd419 0 6px, transparent 6px 11px);
  }
}

.process-step {
  position: relative;
  border-left: 1px solid rgb(255 212 25 / 0.34);
  padding: 0.35rem 1.25rem;
}

.process-num {
  color: #ffd419;
  display: block;
  font-family: var(--font-stencil);
  font-size: 1.7rem;
  line-height: 1;
}

.process-step h3 {
  color: white;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-top: 0.9rem;
  text-transform: uppercase;
}

.process-addon {
  align-items: flex-start;
  background: rgb(255 212 25 / 0.03);
  border: 1px dashed rgb(255 212 25 / 0.32);
  border-radius: 6px;
  display: flex;
  gap: 1.25rem;
  padding: 1.4rem 1.6rem;
}

.addon-plus {
  color: #ffd419;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.addon-label {
  color: rgb(255 255 255 / 0.5);
  display: block;
  font-family: var(--font-stencil);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.process-addon h3 {
  color: white;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
}

.process-step p,
.process-addon p,
.info-box p,
.price-card li {
  color: rgb(255 255 255 / 0.66);
  line-height: 1.7;
}

.section-kicker,
.price-label {
  color: #ffd419;
  font-family: var(--font-stencil);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.trust-item {
  border-left: 1px solid rgb(255 212 25 / 0.35);
  padding: 0.35rem 1.1rem;
}

.trust-item strong {
  color: white;
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
}

.trust-item span {
  color: rgb(255 255 255 / 0.58);
  display: block;
  line-height: 1.55;
  margin-top: 0.3rem;
}

.section-title {
  color: white;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 0.98;
  margin-top: 0.75rem;
}

.gallery-title {
  font-size: clamp(2.15rem, 4.2vw, 3.55rem);
  max-width: 12ch;
}

.garage-frame {
  border: 1px solid rgb(255 212 25 / 0.25);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  overflow: hidden;
  position: relative;
}

.garage-frame::after {
  border: 2px solid rgb(255 212 25 / 0.76);
  content: "";
  inset: 14px;
  pointer-events: none;
  position: absolute;
}

.info-box {
  border: 1px solid rgb(255 212 25 / 0.22);
  border-radius: 6px;
  background: #101010;
  padding: 1.25rem;
}

.info-box h3 {
  color: white;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

.gallery-filters button {
  border: 1px solid rgb(255 212 25 / 0.28);
  border-radius: 4px;
  color: rgb(255 255 255 / 0.72);
  font-family: var(--font-stencil);
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.gallery-filters button:hover,
.gallery-filters button.is-active {
  background: #ffd419;
  border-color: #ffd419;
  color: #050505;
}

.gallery-card {
  border: 1px solid rgb(255 212 25 / 0.22);
  border-radius: 8px;
  background: #090909;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.compare {
  aspect-ratio: 4 / 3;
  background: #050505;
  overflow: hidden;
  position: relative;
}

.compare-img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.compare-img.before {
  filter: grayscale(0.92) contrast(0.82) brightness(0.55) blur(0.5px);
}

.compare-img.after {
  clip-path: inset(0 0 0 var(--split));
  filter: saturate(1.15) contrast(1.08) brightness(1.05);
}

.interior-before {
  object-position: 48% 38%;
}

.interior-after {
  object-position: 48% 38%;
}

.ceramic-before {
  filter: grayscale(0.45) contrast(0.78) brightness(0.62) blur(0.35px);
}

.ceramic-after {
  filter: saturate(1.25) contrast(1.14) brightness(1.09);
}

.compare::after {
  background: #ffd419;
  box-shadow: 0 0 20px rgb(255 212 25 / 0.55);
  content: "";
  height: 100%;
  left: var(--split);
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 3px;
  z-index: 2;
}

.compare-label {
  background: rgb(5 5 5 / 0.78);
  border: 1px solid rgb(255 212 25 / 0.4);
  border-radius: 4px;
  color: #ffd419;
  font-family: var(--font-stencil);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.55rem;
  position: absolute;
  text-transform: uppercase;
  top: 0.75rem;
  z-index: 3;
}

.before-label {
  left: 0.75rem;
}

.after-label {
  right: 0.75rem;
}

.compare input {
  appearance: none;
  background: transparent;
  bottom: 0;
  cursor: ew-resize;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  width: 100%;
  z-index: 4;
}

.gallery-copy {
  padding: 1.15rem;
}

.gallery-copy p {
  color: #ffd419;
  font-family: var(--font-stencil);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-copy h3 {
  color: white;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0.45rem;
  text-transform: uppercase;
}

.price-card {
  border: 1px solid rgb(255 212 25 / 0.2);
  border-radius: 8px;
  background: #181818;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.6rem;
  position: relative;
}

.price-card h3 {
  color: white;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 0.7rem;
  text-transform: uppercase;
}

.price {
  color: #ffd419;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  margin: 1.1rem 0;
}

/* Perforacja jak w bilecie serwisowym, oddzielająca cenę od zakresu usług */
.ticket-perf {
  border-top: 2px dashed rgb(255 212 25 / 0.22);
  margin: 0 -1.6rem 1.4rem;
  position: relative;
}

.ticket-perf::before,
.ticket-perf::after {
  background: #101010;
  border-radius: 50%;
  content: "";
  height: 16px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
}

.ticket-perf::before {
  left: -8px;
}

.ticket-perf::after {
  right: -8px;
}

.featured-card .ticket-perf {
  border-top-color: rgba(5, 5, 5, 0.25);
}

.price-card ul {
  display: grid;
  gap: 0.72rem;
  margin-bottom: 1.5rem;
}

.price-card li {
  color: rgb(255 255 255 / 0.68);
  padding-left: 1.35rem;
  position: relative;
}

.price-card li::before {
  background: #ffd419;
  border: 2px solid #181818;
  border-radius: 99px;
  content: "";
  height: 0.58rem;
  left: 0;
  position: absolute;
  top: 0.62rem;
  width: 0.58rem;
}

.price-card a,
.contact-form button {
  border-radius: 4px;
  background: #050505;
  color: #ffd419;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.04em;
  margin-top: auto;
  padding: 0.95rem 1.1rem;
  text-transform: uppercase;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.price-card a:hover,
.contact-form button:hover {
  background: #ffd419;
  color: #050505;
  transform: translateY(-2px);
}

.featured-card {
  background: #ffd419;
  border-color: #ffd419;
  color: #050505;
  box-shadow: 0 24px 60px rgba(255, 212, 25, 0.24);
}

.featured-card .price-label,
.featured-card .price,
.featured-card h3 {
  color: #050505;
}

.featured-card li {
  color: rgb(5 5 5 / 0.72);
}

.featured-card li::before {
  background: #050505;
  border-color: #ffd419;
}

.featured-card a {
  background: #050505;
  color: #ffd419;
}

/* Zawieszka jak przypięta do zlecenia warsztatowego */
.featured-tag {
  background: #050505;
  border-radius: 3px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  color: #ffd419;
  font-family: var(--font-stencil);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.9rem;
  position: absolute;
  right: 22px;
  text-transform: uppercase;
  top: -14px;
  transform: rotate(4deg);
}

/* Dopisek do cennika: wnętrze jako dodatek do każdego pakietu, nie kolejny stopień */
.addon-price {
  align-items: center;
  background: rgb(255 212 25 / 0.04);
  border: 1px dashed rgb(255 212 25 / 0.3);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.75rem;
  padding: 1.5rem 1.75rem;
}

.addon-price-plus {
  color: #ffd419;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
}

.addon-price-copy {
  flex: 1 1 240px;
}

.addon-price-label {
  color: #ffd419;
  display: block;
  font-family: var(--font-stencil);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.addon-price-copy h3 {
  color: white;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
}

.addon-price-copy p {
  color: rgb(255 255 255 / 0.62);
  line-height: 1.6;
  margin-top: 0.25rem;
}

.addon-price-tag {
  color: #ffd419;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  margin-left: auto;
  white-space: nowrap;
}

.contact-form {
  border: 1px solid rgb(255 212 25 / 0.25);
  border-radius: 8px;
  background: #101010;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  color: white;
  padding: 1.35rem;
}

@media (min-width: 640px) {
  .contact-form {
    padding: 1.8rem;
  }
}

.contact-form label {
  color: rgb(255 255 255 / 0.74);
  display: grid;
  font-size: 0.85rem;
  font-weight: 700;
  gap: 0.45rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

input,
select,
textarea {
  background: #050505;
  border: 1px solid rgb(255 212 25 / 0.28);
  border-radius: 4px;
  color: white;
  font: inherit;
  font-weight: 500;
  outline: none;
  padding: 0.9rem 0.95rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

input::placeholder,
textarea::placeholder {
  color: rgb(255 255 255 / 0.36);
}

input:focus,
select:focus,
textarea:focus {
  border-color: #ffd419;
  box-shadow: 0 0 0 4px rgb(255 212 25 / 0.16);
}

textarea {
  resize: vertical;
}

.contact-form button {
  border: 0;
  cursor: pointer;
  width: 100%;
}

@media (max-width: 640px) {
  .hero-logo-panel {
    padding: 0.75rem;
  }

  .process-step {
    padding-left: 1rem;
  }

  .featured-tag {
    right: 14px;
  }
}
