/* ==========================================================================
   wypozyczalniapodlasie.pl — design system
   Kierunek: automotive editorial dark (grafit + crimson lakieru Vito)
   Typografia: Anton (display) + Archivo (body)
   ========================================================================== */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f4f4f6;
  --surface-3: #e9e8ec;
  --line: rgba(14, 13, 17, 0.1);
  --line-strong: rgba(14, 13, 17, 0.22);

  --red: #d5182f;
  --red-bright: #d5182f;
  --red-deep: #8e0f20;
  --red-glow: rgba(213, 24, 47, 0.3);

  --text: #0e0d11;
  --muted: #54515b;
  --muted-2: #8f8c96;

  /* tokeny ciemnych stref (hero, stopka) — premium granat Mercedes */
  --dark-bg: #0b1424;
  --dark-surface: #101b30;

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 10px;
  --radius-sm: 6px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 16px 40px -20px rgba(14, 13, 17, 0.28);
}

/* Ciemne strefy: hero ze zdjeciem, hero podstron, stopka, sticky CTA.
   Nadpisuja tokeny, wiec komponenty w srodku same sie adaptuja. */
.hero,
.page-hero,
.site-footer,
.sticky-cta {
  --text: #f4f2ef;
  --muted: #a8adb8;
  --muted-2: #8b909c;
  --line: rgba(210, 224, 255, 0.1);
  --line-strong: rgba(210, 224, 255, 0.2);
  --surface: var(--dark-surface);
  --surface-2: #16223a;
  --red-bright: #ff3348;
  color: var(--text);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--red);
  color: #fff;
}

/* Grain overlay — subtelna faktura na całej stronie */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ---------- Typografia ---------- */
h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  letter-spacing: 0.02em;
}

.accent {
  color: var(--red-bright);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--red-bright);
  margin-bottom: 1.1rem;
}

.kicker::before {
  content: '';
  width: 2.25rem;
  height: 2px;
  background: var(--red);
}

.lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 56ch;
}

/* ---------- Layout ---------- */
.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
  position: relative;
}

.section--surface {
  background: var(--surface-2);
  border-block: 1px solid var(--line);
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 720px;
}

.section-head .lead {
  margin-top: 1.1rem;
}

/* Wielki numer sekcji w tle — sygnatura layoutu */
.section-index {
  position: absolute;
  top: clamp(1rem, 4vw, 2.5rem);
  right: var(--gutter);
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 11rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(213, 24, 47, 0.22);
  user-select: none;
  pointer-events: none;
}

/* ---------- Przyciski ---------- */
.btn {
  --btn-bg: var(--red);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.1rem;
  font-weight: 700;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--btn-bg);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px var(--red-glow);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn--ghost {
  --btn-bg: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--red);
  box-shadow: 0 14px 34px -14px var(--red-glow);
}

.btn--lg {
  padding: 1.2rem 2.75rem;
  font-size: 1rem;
}

/* ---------- Header ---------- */
/* Solidny bialy pasek od samego poczatku — zero przezroczystosci */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.4s;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 32px -20px rgba(14, 13, 17, 0.35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.logo__main {
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.logo__main em {
  font-style: normal;
  color: var(--red-bright);
}

.logo__sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--muted);
  margin-top: 0.3rem;
  transition: color 0.4s;
}

.site-header .logo__main em {
  color: var(--red);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.main-nav a:not(.btn) {
  position: relative;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
  transition: color 0.3s;
  padding-block: 0.4rem;
}

.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.main-nav a:not(.btn):hover,
.main-nav a.is-active {
  color: var(--text);
}

.main-nav a:not(.btn):hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Rozwijana "Oferta" */
.nav-drop {
  position: relative;
  display: flex;
  align-items: center;
}

/* mostek — kursor nie gubi menu w przerwie miedzy linkiem a lista */
.nav-drop::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-drop__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, 8px);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 250px;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
}

.nav-drop:hover .nav-drop__menu,
.nav-drop:focus-within .nav-drop__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.main-nav .nav-drop__menu a:not(.btn) {
  padding: 0.55rem 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
  border-radius: 4px;
  transition: background 0.25s, color 0.25s;
}

.main-nav .nav-drop__menu a:not(.btn)::after {
  display: none;
}

.main-nav .nav-drop__menu a:not(.btn):hover,
.main-nav .nav-drop__menu a.is-active {
  background: var(--surface-2);
  color: var(--text);
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.03em !important;
  text-transform: none !important;
  color: #0e0d11 !important;
  background: #f1f1f4;
  padding: 0.62rem 1.2rem;
  border-radius: 100px;
  transition: background 0.3s, transform 0.3s;
}

.nav-phone:hover {
  background: #e7e7ec;
  transform: translateY(-1px);
}

.nav-phone svg {
  width: 17px;
  height: 17px;
  fill: var(--red);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 1102;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 980px);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(6rem, 11vh, 8.5rem) clamp(2.5rem, 5vh, 4rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1.08);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(9, 16, 30, 0.82) 0%, rgba(9, 16, 30, 0.34) 45%, transparent 72%),
    linear-gradient(to top, rgba(9, 16, 30, 0.97) 8%, rgba(9, 16, 30, 0.4) 45%, rgba(9, 16, 30, 0.5) 100%);
}

/* ukośny pas rajdowy */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(-8rem, -6vw, -3rem);
  width: clamp(5rem, 9vw, 9rem);
  background: linear-gradient(180deg, var(--red) 0%, var(--red-deep) 100%);
  transform: skewX(-12deg);
  opacity: 0.85;
  z-index: -1;
}

.hero__content {
  max-width: 60rem;
}

.hero__topline {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: rgba(9, 16, 30, 0.6);
  backdrop-filter: blur(6px);
}

.hero__topline .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 12px #3ddc84;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.hero h1 {
  line-height: 1.06;
}

.hero__h1-topic {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1.3vw, 0.95rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.18em;
  color: rgba(244, 242, 239, 0.9);
}

.hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.hero h1 .line > span {
  display: block;
}

.hero__sub {
  margin-top: 1.4rem;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: rgba(244, 242, 239, 0.85);
  max-width: 46ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero__specs {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vh, 3.75rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-strong);
}

.spec {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.spec__value {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
}

.spec__value sup {
  font-size: 0.45em;
  color: var(--red-bright);
}

.spec__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* Checki w hero — zamiast ciasnego rzedu spec */
.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.9rem;
  margin-top: 1.6rem;
}

.hero__checks li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(244, 242, 239, 0.92);
}

.hero__checks svg {
  width: 18px;
  height: 18px;
  stroke: #ff3348;
  fill: none;
  stroke-width: 2.4;
  flex: 0 0 auto;
}

/* Statyczny pasek cen w hero — szklana plansza informacyjna */
.hero-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-top: 2.4rem;
  max-width: 820px;
  background: rgba(9, 16, 30, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(210, 224, 255, 0.16);
  border-radius: 10px;
  overflow: hidden;
}

.hp-tier {
  flex: 1 1 0;
  min-width: 130px;
  padding: 0.95rem 1.25rem;
  border-right: 1px solid rgba(210, 224, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.hp-tier em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244, 242, 239, 0.55);
}

.hp-tier strong {
  font-size: 1.05rem;
  color: #fff;
  white-space: nowrap;
}

.hp-tier strong span {
  font-weight: 500;
  font-size: 0.8rem;
  color: rgba(244, 242, 239, 0.55);
}

.hp-tier--hot strong {
  color: #ff3348;
}

.hp-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-inline: 1.4rem;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(213, 24, 47, 0.92);
  transition: background 0.3s;
  white-space: nowrap;
}

.hp-more:hover {
  background: var(--red-deep);
}

.hp-more svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

.hero__scroll::after {
  content: '';
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--red-bright), transparent);
  animation: scrollHint 2s var(--ease-out) infinite;
}

@keyframes scrollHint {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  55% {
    transform: scaleY(1);
    transform-origin: top;
  }
  56% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ---------- Marquee ---------- */
/* Czerwony pas brandowy — mocny akcent pod hero */
.marquee {
  --marquee-speed: 26s;
  overflow: hidden;
  background: linear-gradient(90deg, var(--red-deep), var(--red) 45%, var(--red));
  padding-block: 1.05rem;
  user-select: none;
}

.marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee var(--marquee-speed) linear infinite;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.marquee__item strong {
  color: #fff;
  font-weight: 400;
}

.marquee__item::after {
  content: '';
  width: 10px;
  height: 10px;
  background: #0b1424;
  transform: rotate(45deg);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Trust bar ---------- */
/* ---------- Karty usług ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem 1.5rem;
}

.service-card {
  position: relative;
  grid-column: span 6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  transition: transform 0.45s var(--ease-out), border-color 0.45s, box-shadow 0.45s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(213, 24, 47, 0.5);
  box-shadow: var(--shadow-card);
}

.service-card--featured {
  grid-column: span 12;
  min-height: 460px;
  flex-direction: row;
  align-items: stretch;
}

.service-card__media {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  flex: 1 1 46%;
}

.service-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.service-card:hover .service-card__media img {
  transform: scale(1.06);
}

.service-card__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(-45deg, transparent 0 22px, rgba(14, 13, 17, 0.028) 22px 44px),
    linear-gradient(160deg, var(--surface-2), var(--surface));
}

.service-card__media--placeholder svg {
  width: clamp(64px, 9vw, 110px);
  height: auto;
  stroke: var(--muted-2);
  fill: none;
  stroke-width: 1.1;
  opacity: 0.85;
}

.badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.4rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 3px;
  background: var(--red);
  color: #fff;
}

.badge--soon {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  color: var(--muted);
  border: 1px solid var(--line);
}

.service-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.75rem;
  flex: 1 1 54%;
}

.service-card__body h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.service-card__body p {
  color: var(--muted);
  font-size: 0.975rem;
  max-width: 52ch;
}

.service-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
}

.chip {
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  white-space: nowrap;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-bright);
}

.service-card__link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.35s var(--ease-out);
}

.service-card:hover .service-card__link svg {
  transform: translateX(6px);
}

/* stretched-link: cała karta klikalna */
.service-card__link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* ---------- Feature grid (wyróżniki busa) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.feature {
  padding: 1.9rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
}

.feature::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent 70%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.feature:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.feature:hover::before {
  transform: scaleX(1);
}

.feature svg {
  width: 30px;
  height: 30px;
  stroke: var(--red-bright);
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 1.1rem;
}

.feature h3 {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.feature p {
  margin-top: 0.5rem;
  font-size: 0.925rem;
  color: var(--muted);
}

/* ---------- Split section (zdjęcie + treść) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: stretch;
}

.split__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 100%;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__media::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(20, 16, 14, 0.1);
  border-radius: var(--radius);
  pointer-events: none;
}

.split__media--offset {
  transform: none;
}

@media (max-width: 1024px) {
  .split__media {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
}

.checklist li {
  display: flex;
  gap: 0.9rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.985rem;
}

.checklist li:last-child {
  border-bottom: 0;
}

.checklist svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  stroke: var(--red-bright);
  fill: none;
  stroke-width: 2;
  margin-top: 0.15rem;
}

/* ---------- Kroki ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 2.2rem 1.8rem 1.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.step::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  top: -0.6rem;
  right: 0.6rem;
  font-family: var(--font-display);
  font-size: 5.2rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(20, 16, 14, 0.13);
}

.step h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 34ch;
}

.step__icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.step__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--red-bright);
  fill: none;
  stroke-width: 1.7;
}

/* ---------- Galeria ---------- */
.section--gallery {
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  max-width: none;
}

.gallery-nav--inline {
  margin-top: 0;
  align-items: center;
  flex: 0 0 auto;
}

.gallery-count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  padding-inline: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
}

.gallery-count i {
  font-style: normal;
  color: var(--muted-2);
  font-size: 0.9rem;
}

.gallery-count .js-gallery-total {
  color: var(--muted-2);
  font-size: 0.95rem;
}

.gallery-swiper {
  overflow: visible;
}

.gallery-swiper .swiper-slide {
  width: min(72vw, 760px);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
  transition: opacity 0.5s;
}

.gallery-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.gallery-swiper .swiper-slide:hover img {
  transform: scale(1.04);
}

.gallery-swiper .swiper-slide:not(.swiper-slide-active) {
  opacity: 0.45;
}

.gallery-nav {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.75rem;
}

.gallery-nav button {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.gallery-nav button:hover {
  border-color: var(--red);
  background: var(--red);
  transform: translateY(-2px);
}

.gallery-nav svg {
  width: 20px;
  height: 20px;
  stroke: var(--text);
  fill: none;
  stroke-width: 2;
  transition: stroke 0.3s;
}

.gallery-nav button:hover svg {
  stroke: #fff;
}

/* ---------- Sekcja wideo ---------- */
.video-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.video-frame {
  position: relative;
  width: min(380px, 100%);
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  border-radius: 26px;
  overflow: hidden;
  background: var(--dark-bg);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 70px -30px rgba(11, 20, 36, 0.55);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* poswiata wokol ramki — zeby nie wygladalo jak goly player */
.video-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(210, 224, 255, 0.14);
  z-index: 2;
}

/* przycisk play: lewy dolny rog (nie zaslania napisu na posterze), pulsuje */
.video-play {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #fff;
}

.video-play__btn {
  position: relative;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 10px 26px -8px rgba(213, 24, 47, 0.7);
  transition: transform 0.3s var(--ease-out), background 0.3s;
}

.video-play__btn svg {
  width: 26px;
  height: 26px;
  fill: #fff;
  margin-left: 3px;
}

/* pulsujace pierscienie */
.video-play__btn::before,
.video-play__btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 74, 91, 0.85);
  animation: playPulse 2.2s ease-out infinite;
}

.video-play__btn::after {
  animation-delay: 1.1s;
}

@keyframes playPulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  70%,
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.video-play__label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.video-play:hover .video-play__btn {
  transform: scale(1.08);
  background: var(--red-deep);
}

.video-frame.is-playing .video-play {
  display: none;
}

@media (max-width: 1024px) {
  .video-split {
    grid-template-columns: 1fr;
  }
}

/* ---------- Cennik ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 2.2rem 1.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.price-card--hot {
  border: 2px solid var(--red);
  box-shadow: 0 20px 44px -22px var(--red-glow);
}

.price-card__tag {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-bright);
}

.price-card__period {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.price-card__value {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  line-height: 1;
  margin-block: 0.5rem 0.2rem;
}

.price-card__value small {
  font-size: 0.34em;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.price-card__note {
  font-size: 0.875rem;
  color: var(--muted);
}

.pricing-disclaimer {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: var(--muted-2);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.4rem;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--red-bright);
}

.faq-item summary .faq-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform 0.4s var(--ease-out), background 0.3s, border-color 0.3s;
}

.faq-item summary .faq-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
}

.faq-item[open] summary {
  color: var(--red-bright);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.faq-item__body {
  padding-bottom: 1.5rem;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- Formularz / kontakt ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.contact-info__items {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 2rem;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.3s, transform 0.3s;
}

.contact-info__item:hover {
  border-color: rgba(213, 24, 47, 0.45);
  transform: translateX(4px);
}

.contact-info__item svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  stroke: var(--red-bright);
  fill: none;
  stroke-width: 1.7;
  margin-top: 0.2rem;
}

.contact-info__item strong {
  display: block;
  font-size: 1.05rem;
}

.contact-info__item span {
  font-size: 0.875rem;
  color: var(--muted);
}

.form-card {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.form-field label em {
  color: var(--red-bright);
  font-style: normal;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: #fafafb;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(213, 24, 47, 0.18);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted-2);
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a3a0a8' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input::-webkit-calendar-picker-indicator {
  opacity: 0.6;
}

.form-consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.8rem;
  color: var(--muted-2);
  margin-top: 1.1rem;
}

.form-consent input {
  margin-top: 0.25rem;
  accent-color: var(--red);
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.form-actions {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.form-status {
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status.is-ok {
  color: #1a8f52;
}

.form-status.is-error {
  color: var(--red-bright);
}

.hp-field {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.75rem, 5vw, 4rem);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(120deg, var(--red-deep), var(--red) 60%, #e6452f);
  text-align: left;
  isolation: isolate;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.12;
  z-index: -1;
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -12%;
  width: 46%;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.18);
  transform: rotate(45deg);
  z-index: -1;
}

.cta-banner h2 {
  max-width: 22ch;
  color: #fff;
}

.cta-banner p {
  margin-top: 1rem;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.88);
}

.cta-banner .btn {
  margin-top: 1.9rem;
  background: #0b1424;
  color: #fff;
}

.cta-banner .btn:hover {
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5);
}

/* ---------- Stopka ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
}

.site-footer__brand p {
  margin-top: 1rem;
  font-size: 0.925rem;
  color: var(--muted);
  max-width: 38ch;
}

.site-footer h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.site-footer__links li {
  margin-bottom: 0.65rem;
}

.site-footer__links a {
  color: var(--text);
  font-size: 0.95rem;
  transition: color 0.3s;
}

.site-footer__links a:hover {
  color: var(--red-bright);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted-2);
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 990;
  display: none;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  transform: translateY(100%);
  transition: transform 0.45s var(--ease-out);
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(11, 20, 36, 0.97);
  backdrop-filter: blur(10px);
}

.sticky-cta a.call {
  background: var(--red);
}

.sticky-cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---------- Podstrony: hero pojazdu ---------- */
.page-hero {
  position: relative;
  padding-top: clamp(8rem, 16vh, 11rem);
  padding-bottom: clamp(3rem, 6vh, 4.5rem);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(75% 90% at 85% 10%, rgba(213, 24, 47, 0.16), transparent 60%),
    var(--dark-bg);
}

/* Bardzo delikatnie przeswitujace zdjecie w tle hero podstrony */
.page-hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.page-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  opacity: 0.1;
  filter: saturate(0.65);
  /* wygasza zdjecie przy dole, zeby pasek cen i specyfikacja zostaly czytelne */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 96%);
}

/* ukosny pas rajdowy — jak na hero strony glownej */
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(-8rem, -6vw, -3rem);
  width: clamp(5rem, 9vw, 9rem);
  background: linear-gradient(180deg, var(--red) 0%, var(--red-deep) 100%);
  transform: skewX(-12deg);
  opacity: 0.85;
  z-index: -1;
}

.page-hero--media {
  min-height: 82svh;
  display: flex;
  align-items: flex-end;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.97) 10%, rgba(10, 10, 12, 0.35) 60%, rgba(10, 10, 12, 0.6) 100%);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.breadcrumbs a {
  color: var(--muted);
  transition: color 0.3s;
}

.breadcrumbs a:hover {
  color: var(--red-bright);
}

.breadcrumbs .sep {
  color: var(--muted-2);
}

.breadcrumbs [aria-current] {
  color: var(--text);
}

/* Grupy wyposażenia */
.equip-group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.9rem 1.7rem;
}

.equip-group h3 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.equip-group h3 svg {
  width: 26px;
  height: 26px;
  stroke: var(--red-bright);
  fill: none;
  stroke-width: 1.6;
}

.equip-group ul li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.4rem;
  font-size: 0.94rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.equip-group ul li:last-child {
  border-bottom: 0;
}

.equip-group ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 7px;
  height: 7px;
  background: var(--red);
  transform: rotate(45deg);
}

.equip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
}

/* Placeholder "zdjęcia wkrótce" */
.photo-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 320px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(-45deg, transparent 0 26px, rgba(14, 13, 17, 0.025) 26px 52px),
    var(--surface);
  color: var(--muted-2);
  text-align: center;
  padding: 2rem;
}

.photo-soon svg {
  width: 54px;
  height: 54px;
  stroke: var(--muted-2);
  fill: none;
  stroke-width: 1.3;
}

.photo-soon strong {
  font-size: 1.05rem;
  color: var(--muted);
}

.photo-soon span {
  font-size: 0.875rem;
  max-width: 40ch;
}

/* ---------- Plywajacy przycisk telefonu (desktop) ---------- */
.phone-fab {
  position: fixed;
  right: 1.75rem;
  bottom: 1.75rem;
  z-index: 980;
  width: 58px;
  height: 58px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 16px 36px -12px rgba(213, 24, 47, 0.55);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), background 0.3s;
}

.phone-fab svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.phone-fab:hover {
  background: var(--red-deep);
}

.phone-fab.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (min-width: 641px) {
  .phone-fab {
    display: inline-flex;
  }
}

/* ---------- Reveal (GSAP) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  will-change: transform, opacity;
}

.no-js [data-reveal],
.reduced-motion [data-reveal] {
  opacity: 1;
  transform: none;
}

/* ---------- Responsywność ---------- */
@media (max-width: 1024px) {
  .service-card--featured {
    flex-direction: column;
    grid-column: span 12;
  }

  .service-card {
    grid-column: span 6;
  }

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

  .split__media--offset {
    transform: none;
  }

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

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1100;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1.4rem;
    padding: 5.5rem 1.5rem 3rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(10, 17, 30, 0.97);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
    /* overlay jest zawsze ciemny — tekst zawsze jasny */
    --text: #f4f2ef;
    --muted: #a3a0a8;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .main-nav a:not(.btn) {
    font-size: 1.4rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
  }

  /* Na mobile "Oferta" nie rozwija sie — podstrony sa od razu widoczne */
  .nav-drop {
    flex-direction: column;
    gap: 0.9rem;
  }

  .nav-drop::after {
    display: none;
  }

  .nav-drop__menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .main-nav .nav-drop__menu a:not(.btn) {
    padding: 0;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: var(--muted);
  }

  .main-nav .nav-drop__menu a:not(.btn):hover {
    background: none;
  }

  .nav-toggle {
    display: flex;
  }

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

  .service-card {
    grid-column: span 12;
    min-height: 0;
  }
}

/* Dotyk: bez zaciętych hoverów (czerwone bordery po tapnięciu) */
@media (hover: none) {
  .service-card:hover,
  .price-card:hover,
  .feature:hover,
  .contact-info__item:hover {
    transform: none;
    box-shadow: none;
  }

  .service-card:hover {
    border-color: var(--line);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 0.975rem;
    padding-bottom: 54px;
  }

  /* Header: jedna zwarta linia, mniejsze logo */
  .site-header__inner {
    padding-block: 0.8rem;
    gap: 0.75rem;
  }

  .logo__main {
    font-size: 1.02rem;
  }

  .logo__sub {
    font-size: 0.48rem;
    letter-spacing: 0.24em;
    white-space: nowrap;
    margin-top: 0.22rem;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
  }

  /* Typografia: spokojniejsza skala */
  h1 {
    font-size: clamp(2.05rem, 10vw, 2.6rem);
  }

  h2 {
    font-size: clamp(1.5rem, 7vw, 1.85rem);
  }

  .lead {
    font-size: 0.95rem;
  }

  .kicker {
    font-size: 0.68rem;
    margin-bottom: 0.75rem;
  }

  .kicker::before {
    width: 1.5rem;
  }

  .section {
    padding-block: 3rem;
  }

  .section-head {
    margin-bottom: 1.9rem;
  }

  .section-index {
    font-size: 4.2rem;
    top: 0.9rem;
  }

  /* Hero: zwarty, przyciski w jednej linii */
  .hero {
    padding-top: 5.75rem;
    padding-bottom: 2.25rem;
    min-height: 0;
  }

  .hero::before {
    width: 2.75rem;
    left: -1.5rem;
    opacity: 0.5;
  }

  .hero__topline {
    font-size: 0.66rem;
    letter-spacing: 0.13em;
    padding: 0.38rem 0.8rem;
    margin-bottom: 1.1rem;
  }

  .hero__sub {
    font-size: 0.95rem;
    margin-top: 1rem;
  }

  .hero__checks {
    gap: 0.5rem 1.1rem;
    margin-top: 1.15rem;
  }

  .hero__checks li {
    font-size: 0.82rem;
    gap: 0.45rem;
  }

  .hero__checks svg {
    width: 15px;
    height: 15px;
  }

  .hero__cta {
    margin-top: 1.35rem;
    gap: 0.65rem;
  }

  .btn {
    white-space: nowrap;
  }

  .btn--lg {
    padding: 0.95rem 1.5rem;
    font-size: 0.85rem;
  }

  .hero-prices {
    margin-top: 1.5rem;
  }

  .hp-tier {
    min-width: 50%;
    flex-basis: 50%;
    padding: 0.7rem 1rem;
  }

  .hp-tier em {
    font-size: 0.58rem;
  }

  .hp-tier strong {
    font-size: 0.9rem;
  }

  .hp-tier strong span {
    font-size: 0.7rem;
  }

  .hp-more {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
    padding-block: 0.9rem;
  }

  .marquee {
    padding-block: 0.75rem;
  }

  .marquee__item,
  .marquee__track {
    gap: 1.5rem;
  }

  .marquee__item {
    font-size: 0.95rem;
  }

  /* Karty i komponenty: mniej powietrza w srodku, mniejsze chipy */
  .chip {
    font-size: 0.7rem;
    padding: 0.4rem 0.85rem;
    letter-spacing: 0.06em;
    border-width: 1px;
  }

  .service-card__body {
    padding: 1.35rem;
    gap: 0.7rem;
  }

  .service-card__body p {
    font-size: 0.9rem;
  }

  .service-card__link {
    font-size: 0.8rem;
    margin-top: 0.8rem;
  }

  .feature {
    padding: 1.4rem 1.25rem;
  }

  .step {
    padding: 1.7rem 1.4rem 1.4rem;
  }

  .step::before {
    font-size: 3.6rem;
  }

  .price-card {
    padding: 1.6rem 1.4rem;
  }

  .price-card__value {
    font-size: 2.5rem;
  }

  .pricing-disclaimer {
    font-size: 0.8rem;
  }

  .faq-item summary {
    font-size: 0.95rem;
    padding-block: 1.1rem;
    gap: 1rem;
  }

  .faq-item__body {
    font-size: 0.92rem;
  }

  .cta-banner {
    padding: 2.5rem 1.5rem;
  }

  .form-card {
    padding: 1.4rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .form-field label {
    font-size: 0.72rem;
  }

  .contact-info__item {
    padding: 1rem 1.1rem;
  }

  .contact-info__item strong {
    font-size: 0.95rem;
    overflow-wrap: anywhere;
  }

  .equip-group {
    padding: 1.4rem 1.25rem;
  }

  .video-frame {
    width: min(320px, 100%);
  }

  .video-play__btn {
    width: 54px;
    height: 54px;
  }

  /* Dolny pasek: jedna linia, nie zaslania tresci */
  .sticky-cta {
    display: flex;
  }

  .sticky-cta a {
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    padding: 0.95rem 0.5rem;
    white-space: nowrap;
  }

  .sticky-cta svg {
    width: 15px;
    height: 15px;
  }

  .hero__scroll {
    display: none;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer__bottom {
    font-size: 0.72rem;
  }

  .gallery-swiper .swiper-slide {
    width: 86vw;
  }

  .gallery-nav button {
    width: 46px;
    height: 46px;
  }
}

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