:root {
  --bg: #090909;
  --bg-raised: #111111;
  --ink: #f3efe6;
  --muted: #a79f94;
  --line: rgba(243, 239, 230, 0.12);
  --gold: #d4b483;
  --gold-deep: #b8925d;
  --ink-on-gold: #16130e;
  --header: 4.5rem;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(212, 180, 131, 0.14), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: Manrope, "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' 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;
}

::selection {
  background: var(--gold);
  color: var(--ink-on-gold);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--gold);
  color: var(--ink-on-gold);
  padding: 0.6rem 0.9rem;
}

.skip:focus {
  top: 0.6rem;
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.85rem var(--pad);
  transition: background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(9, 9, 9, 0.78);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.logo {
  text-decoration: none;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: #f3efe6;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.nav__fb {
  color: var(--ink-on-gold) !important;
  background: var(--gold);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  letter-spacing: 0.16em;
}

.nav__fb:hover,
.nav__fb:focus-visible {
  background: #e4c89a;
  color: var(--ink-on-gold) !important;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header) + 0.85rem) var(--pad) 3.4rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(9, 9, 9, 0.28) 0%, rgba(9, 9, 9, 0.08) 42%, #090909 100%),
    linear-gradient(90deg, rgba(9, 9, 9, 0.82) 0%, rgba(9, 9, 9, 0.42) 48%, rgba(9, 9, 9, 0.12) 100%),
    url("images/tlo.jpg") center 62% / cover no-repeat;
}

.hero__car {
  position: absolute;
  z-index: 0;
  right: 1%;
  bottom: 6%;
  width: min(54vw, 680px);
  height: auto;
  mix-blend-mode: screen;
  opacity: 0.92;
  pointer-events: none;
  user-select: none;
}

.hero > :not(.hero__car) {
  position: relative;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    520px circle at var(--x, 70%) var(--y, 30%),
    rgba(212, 180, 131, 0.12),
    transparent 42%
  );
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero__layout {
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(4.1rem, 11vw, 7.4rem);
  line-height: 0.84;
}

.wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #f3efe6;
}

.wordmark__mk {
  display: block;
  background: linear-gradient(100deg, #f7f1e6 0%, #f7f1e6 34%, #e7c98a 48%, #fff6e4 54%, #f7f1e6 68%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 9s ease-in-out infinite;
  text-shadow: none;
}

.wordmark__name {
  display: block;
  margin-top: 0.22em;
  padding-top: 0.18em;
  border-top: 1px solid rgba(212, 180, 131, 0.75);
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 0.34em;
  line-height: 1;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #e4c89a;
}

.tagline {
  margin: 1.6rem 0 0.85rem;
  max-width: 18ch;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--solid {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.button--solid:hover,
.button--solid:focus-visible {
  border-color: rgba(243, 239, 230, 0.4);
}

.button--gold {
  background: var(--gold);
  color: var(--ink-on-gold);
  box-shadow: 0 0 0 0 rgba(212, 180, 131, 0.45);
  animation: pulse 3.6s ease-out infinite;
}

.button--gold:hover,
.button--gold:focus-visible {
  background: #e4c89a;
}

.button--large {
  min-height: 3.6rem;
  padding-inline: 1.5rem;
  font-size: 1rem;
}

.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 0.85rem 0;
  color: var(--muted);
}

.ticker__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: ticker 42s linear infinite;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ticker__track span::before {
  content: "·";
  margin-right: 2.5rem;
  color: var(--gold);
}

.section,
.realizacje {
  scroll-margin-top: calc(var(--header) + 1rem);
}

.section {
  padding: clamp(4rem, 9vw, 7rem) var(--pad);
}

#uslugi {
  padding-bottom: 0.5rem;
}

.cennik {
  padding-top: 1.25rem;
}

.section__head h2,
.realizacje h2 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.9;
}

.services {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 2rem 0 0;
  padding: 0;
}

.service {
  display: grid;
  grid-template-columns: 5.4rem 1fr;
  gap: 0.9rem 1.1rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: rgba(20, 18, 15, 0.72);
}

.service:hover {
  border-color: rgba(212, 180, 131, 0.4);
}

.service img {
  width: 5.4rem;
  height: 5.4rem;
  display: block;
}

.service__index {
  display: block;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.service__spots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.service__spots li {
  margin: 0;
  padding: 0.22rem 0.7rem;
  border: 1px solid rgba(212, 180, 131, 0.4);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.cennik__notice {
  max-width: 54rem;
  margin: 1.35rem 0 0;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(212, 180, 131, 0.55);
  border-radius: 0.9rem;
  background: rgba(212, 180, 131, 0.1);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.55;
}

.cennik__notice strong {
  color: var(--gold);
  font-weight: 600;
}

.cennik__standard {
  max-width: 54rem;
  margin: 1.75rem 0 0;
  padding: 1.15rem 1.25rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 0.9rem 0.9rem 0;
  background: rgba(212, 180, 131, 0.08);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.6;
}

.cennik__standard p {
  margin: 0;
}

.cennik__standard p + p {
  margin-top: 0.85rem;
}

.cennik__standard strong {
  color: var(--gold);
  font-weight: 600;
}

.prices {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.prices li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 2rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.prices h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
}

.prices li > div p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.prices__value {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  line-height: 1;
  color: var(--gold);
  text-align: right;
  white-space: nowrap;
}

.prices__value span {
  display: block;
  margin-top: 0.35rem;
  font-family: Manrope, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 560px) {
  .prices li {
    grid-template-columns: 1fr;
  }

  .prices__value {
    text-align: left;
  }
}

.dojazd {
  margin: 0 var(--pad) clamp(1.75rem, 4vw, 3rem);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background:
    linear-gradient(100deg, rgba(212, 180, 131, 0.1), transparent 46%),
    rgba(20, 18, 15, 0.55);
}

.dojazd h2 {
  margin: 0;
  max-width: 12em;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.02;
}

.dojazd p:not(.eyebrow) {
  max-width: 40rem;
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.service h3 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}

.service p,
.note,
.realizacje p,
.hint {
  margin: 0;
  max-width: 46rem;
  color: var(--muted);
}

.note {
  margin-top: 1.8rem;
  font-style: italic;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.7rem, 2.5vw, 2.05rem);
  line-height: 1.25;
  color: var(--ink);
}

.opinie {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin: clamp(2.75rem, 5vw, 4rem) var(--pad) clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid rgba(212, 180, 131, 0.45);
  border-radius: 1.2rem;
  background: rgba(212, 180, 131, 0.08);
}

.opinie p {
  margin: 0;
  max-width: 38rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.25;
  color: var(--ink);
}

.realizacje {
  margin-inline: var(--pad);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  gap: 2rem;
  align-items: end;
  background:
    linear-gradient(160deg, rgba(212, 180, 131, 0.16), transparent 42%),
    var(--bg-raised);
  border: 1px solid rgba(212, 180, 131, 0.28);
  border-radius: 1.4rem;
}

.realizacje p {
  margin-top: 1rem;
  max-width: 36rem;
}

.kontakt__grid {
  display: grid;
  gap: 2.2rem;
  margin-top: 2.4rem;
}

.label {
  margin: 0 0 0.45rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.kontakt__value {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
}

.phone {
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 180, 131, 0.5);
}

.phone:hover,
.phone:focus-visible {
  border-bottom-color: var(--gold);
}

.text-link {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--ink);
  text-underline-offset: 0.28em;
}

.hint {
  margin-top: 0.7rem;
  font-size: 0.95rem;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  padding: 1.4rem var(--pad) 6.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer a {
  color: var(--ink);
  text-decoration: none;
}

.footer__credit {
  flex-basis: 100%;
  margin: 0.85rem 0 0;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.82rem;
}

.dock {
  position: fixed;
  z-index: 45;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0.5rem;
}

.dock a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.dock a:first-child {
  background: #1a1a1a;
  color: var(--ink);
  border: 1px solid var(--line);
}

.dock a:last-child {
  background: var(--gold);
  color: var(--ink-on-gold);
}

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

.legal {
  max-width: 42rem;
  padding: calc(var(--header) + 1.5rem) var(--pad) 4rem;
}

.legal h1 {
  margin-bottom: 0.6rem;
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--ink);
  animation: none;
}

.legal h2 {
  margin: 2rem 0 0.4rem;
  font-size: 1.8rem;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}

.legal a {
  color: var(--ink);
}

@media (min-width: 860px) {
  .services {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 861px) and (max-width: 1180px) {
  .lead {
    max-width: 30rem;
  }

  .hero__car {
    width: min(38vw, 420px);
    right: -4%;
    bottom: 2%;
  }
}

@media (max-width: 860px) {
  .nav a:not(.nav__fb) {
    display: none;
  }

  .hero {
    padding-bottom: 6.2rem;
    background:
      linear-gradient(180deg, rgba(9, 9, 9, 0.35) 0%, rgba(9, 9, 9, 0.2) 55%, #090909 100%),
      url("images/tlo.jpg") center 70% / cover no-repeat;
  }

  .hero__car {
    width: 92%;
    right: -18%;
    bottom: auto;
    top: 18%;
    opacity: 0.55;
  }

  .wordmark__name {
    letter-spacing: 0.22em;
    font-size: 0.38em;
  }
}

@media (max-width: 860px) and (max-height: 740px) {
  .hero {
    justify-content: flex-start;
    min-height: auto;
  }
}

@media (min-width: 861px) {
  .kontakt__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .realizacje {
    grid-template-columns: 1.4fr auto;
  }

  .dock {
    display: none;
  }

  .footer {
    padding-bottom: 1.6rem;
  }
}

@keyframes sheen {
  0%,
  55% {
    background-position: 120% 0;
  }
  80%,
  100% {
    background-position: -20% 0;
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 180, 131, 0.35);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(212, 180, 131, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 180, 131, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
