/* =========================================================
   RentalCarGroup 24 — główny arkusz stylów
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Syne:wght@700&family=DM+Sans:wght@400;600&display=swap');

/* =========================================================
   ZMIENNE BRANDOWE
   ========================================================= */
:root {
  /* Paleta (potwierdzona) */
  --color-midnight:       #0D1B2A;
  --color-heritage:       #1B2D4D;
  --color-graphite:       #2A3B55;
  --color-anthracite:     #1F232A;
  --color-light-gray:     #E6E8EB;
  --color-gold:           #C8A25B;
  --color-gold-soft:      rgba(200, 162, 91, 0.12);
  --color-white:          #FFFFFF;
  --color-black:          #000000;

  /* Aliasy semantyczne */
  --color-bg:             var(--color-white);
  --color-bg-dark:        var(--color-midnight);
  --color-text:           var(--color-anthracite);
  --color-text-inverse:   var(--color-white);
  --color-text-muted:     rgba(255, 255, 255, 0.72);
  --color-accent:         var(--color-gold);

  /* Typografia */
  --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --tracking-wide:    0.05em;
  --tracking-wider:   0.1em;
  --tracking-widest:  0.2em;

  /* Układ */
  --container-max:    1600px;
  --radius-sm:        2px;
  --radius-md:        4px;

  /* Przejścia */
  --transition:       300ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg,
picture,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition);
}

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

button {
  cursor: pointer;
  background: none;
  border: none;
}

/* =========================================================
   POMOCNICZE
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}

.accent {
  color: var(--color-gold);
}

/* =========================================================
   PRZYCISKI
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2.25rem;
  font-family: var(--font-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-gold);
  color: var(--color-midnight);
  border-color: var(--color-gold);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: transparent;
  color: var(--color-gold);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background-color: var(--color-gold);
  color: var(--color-midnight);
}

/* =========================================================
   HEADER — biały, sticky, desktop + mobile popup
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #FFFFFF;
  border-bottom: 1px solid rgba(13, 27, 42, 0.07);
  transition: box-shadow 300ms ease;
}

.header.is-scrolled {
  box-shadow: 0 8px 24px -14px rgba(13, 27, 42, 0.18);
}

.header__inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 0.9rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}

/* Brand / logo placeholder */
.header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--color-midnight);
  flex-shrink: 0;
}

.header__logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--color-midnight);
  border: 1.5px solid var(--color-midnight);
  line-height: 1;
}

.header__wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-midnight);
  line-height: 1;
}

.header__wordmark-num { color: var(--color-gold); }

/* Nawigacja desktop */
.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.header__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-anthracite);
  padding: 0.6rem 0;
  white-space: nowrap;
  cursor: pointer;
}

.header__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.2rem;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: width 350ms cubic-bezier(.22,.7,.25,1);
}

.header__link:hover,
.header__link:focus-visible { color: var(--color-gold); }
.header__link:hover::after,
.header__link:focus-visible::after { width: 100%; }

.header__link--trigger { background: none; border: none; }
.header__chev {
  transition: transform 300ms ease;
  margin-top: 1px;
}
.header__dropdown:hover .header__chev,
.header__dropdown:focus-within .header__chev { transform: rotate(180deg); }

/* Dropdown Oferta */
.header__dropdown { position: relative; }

.header__sub {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  padding: 0.6rem;
  background: #FFFFFF;
  border: 1px solid rgba(13, 27, 42, 0.08);
  box-shadow: 0 18px 42px -14px rgba(13, 27, 42, 0.22);
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 250ms ease, transform 250ms ease;
}

.header__dropdown:hover .header__sub,
.header__dropdown:focus-within .header__sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.header__sub a {
  padding: 0.75rem 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-anthracite);
  transition: color 200ms ease, background-color 200ms ease, padding-left 200ms ease;
}

.header__sub a:hover,
.header__sub a:focus-visible {
  color: var(--color-gold);
  background-color: rgba(200, 162, 91, 0.06);
  padding-left: 1.25rem;
}

/* CTA Zarezerwuj */
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header__cta {
  padding: 0.75rem 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

/* Hamburger */
.header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-right: -0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.header__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--color-midnight);
  transition: transform 300ms ease, opacity 200ms ease;
  transform-origin: center;
}

.header.is-open .header__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.header.is-open .header__toggle span:nth-child(2) { opacity: 0; }
.header.is-open .header__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile popup */
.header__mobile {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #FFFFFF;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 350ms cubic-bezier(.22,.7,.25,1),
    transform 350ms cubic-bezier(.22,.7,.25,1),
    visibility 0s 350ms;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.header.is-open .header__mobile {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 350ms cubic-bezier(.22,.7,.25,1),
    transform 350ms cubic-bezier(.22,.7,.25,1),
    visibility 0s 0s;
}

.header__mobile-nav {
  padding: 2rem clamp(1.5rem, 6vw, 3rem) 3rem;
  display: flex;
  flex-direction: column;
}

.header__mobile-nav > a {
  padding: 1.35rem 0;
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-midnight);
  border-bottom: 1px solid rgba(13, 27, 42, 0.08);
  transition: color 200ms ease, padding-left 200ms ease;
}

.header__mobile-nav > a:hover {
  color: var(--color-gold);
  padding-left: 0.5rem;
}

.header__mobile-sub {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0 0.5rem 1rem;
  border-bottom: 1px solid rgba(13, 27, 42, 0.08);
}

.header__mobile-sub a {
  padding: 0.75rem 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(31, 35, 42, 0.7);
}

.header__mobile-sub a:hover { color: var(--color-gold); }

.header__mobile-cta {
  margin-top: 2rem;
  padding: 1.2rem !important;
  background-color: var(--color-gold);
  color: var(--color-midnight) !important;
  text-align: center;
  border-bottom: none !important;
  font-weight: 600 !important;
}

.header__mobile-cta:hover {
  padding-left: 1.2rem !important;
  background-color: #B88B3F;
}

body.body--locked { overflow: hidden; }

@media (max-width: 980px) {
  .header__nav { display: none; }
  .header__cta { display: none; }
  .header__toggle { display: inline-flex; }
}

/* =========================================================
   HERO — cinematic, 70vh, left-aligned text, car right
   ========================================================= */
.hero {
  position: relative;
  height: 70vh;
  min-height: 520px;
  max-height: 780px;
  background-color: var(--color-midnight);
  color: var(--color-white);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
}

/* Zdjęcie auta jako tło — pozycja "center right", żeby auto
   siedziało po prawej stronie kadru */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/hero-bg.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  animation: heroBgIn 1.4s ease both;
  z-index: 0;
}

/* MOCNY left-to-right gradient — lewa strona prawie czarna (czytelność tekstu),
   prawa ~25% przyciemnienia (widać auto w pełnej krasie) */
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(13, 27, 42, 0.97) 0%,
      rgba(13, 27, 42, 0.92) 30%,
      rgba(13, 27, 42, 0.55) 60%,
      rgba(13, 27, 42, 0.25) 100%
    ),
    linear-gradient(
      to top,
      rgba(13, 27, 42, 0.45) 0%,
      transparent 40%
    );
  z-index: 1;
}

@keyframes heroBgIn {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: scale(1); }
}

/* === Górne markery (subtelne) === */
.hero__top {
  position: absolute;
  top: 1.75rem;
  left: 0;
  right: 0;
  padding-inline: clamp(1.5rem, 6vw, 4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  z-index: 3;
  pointer-events: none;
}

.hero__loc { color: var(--color-gold); }

/* === Kontener z treścią === */
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 0 clamp(1.5rem, 6vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 4rem);
  animation: heroFadeIn 900ms 200ms ease both;
}

.hero__text {
  flex: 1 1 620px;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === Brand eyebrow === */
.hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.hero__brand .accent { color: var(--color-gold); font-weight: 600; }

.hero__dash {
  display: inline-block;
  width: 44px;
  height: 1px;
  background-color: var(--color-gold);
  flex-shrink: 0;
}

/* === Tytuł — stackowany, proporcjonalny do 70vh === */
.hero__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
}

.hero__line {
  display: block;
  overflow: hidden;
  /* Miejsce na polskie diakrytyki (Ż, Ź kropki u góry, Ę ogonek na dole) +
     ujemny margin, żeby wizualne odstępy między liniami zostały te same */
  padding: 0.12em 0 0.22em;
  margin: -0.12em 0 -0.22em;
}

.hero__line > span {
  display: inline-block;
  animation: heroLineIn 900ms ease both;
}

.hero__line:nth-child(1) > span { animation-delay: 300ms; }
.hero__line:nth-child(2) > span { animation-delay: 450ms; }
.hero__line:nth-child(3) > span { animation-delay: 600ms; }

@keyframes heroLineIn {
  from { opacity: 0; transform: translateY(50%); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === Lead + CTA === */
.hero__lead {
  max-width: 420px;
  font-size: clamp(0.95rem, 1.2vw, 1.0625rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.hero__link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-gold);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--transition);
}
.hero__link:hover { border-bottom-color: var(--color-gold); }

/* === Twarde liczby marki (blok po prawej, w tym samym kontenerze co tekst) === */
.hero__stats {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 2.5vh, 2.25rem);
  padding: clamp(1.5rem, 3vh, 2.25rem) clamp(1.75rem, 3vw, 2.5rem);
  background: rgba(13, 27, 42, 0.55);
  border: 1px solid rgba(200, 162, 91, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-width: 230px;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  text-align: left;
  animation: heroStatIn 900ms ease both;
}

.hero__stat:nth-child(1) { animation-delay: 550ms; }
.hero__stat:nth-child(2) { animation-delay: 700ms; }
.hero__stat:nth-child(3) { animation-delay: 850ms; }

@keyframes heroStatIn {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero__stat-num {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-gold);
  font-variant-numeric: tabular-nums;
}

.hero__stat-plus {
  font-size: 0.6em;
  font-weight: 700;
  vertical-align: top;
  margin-left: 0.05em;
}

.hero__stat-line {
  display: block;
  width: 44px;
  height: 1px;
  background-color: var(--color-gold);
}

.hero__stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  max-width: 150px;
}

/* =========================================================
   RESPONSYWNOŚĆ HERO
   ========================================================= */
@media (max-width: 900px) {
  .hero {
    display: block; /* stos pionowy zamiast flex-row, żeby stats wpadły pod CTA */
    height: auto;
    min-height: 68vh;
    max-height: none;
  }

  /* Na mobilu auto w tle "wjeżdża" więcej w środek, gradient mocniejszy
     bo tekst siedzi na całej szerokości */
  .hero__bg { background-position: center center; }

  .hero__veil {
    background:
      linear-gradient(
        180deg,
        rgba(13, 27, 42, 0.75) 0%,
        rgba(13, 27, 42, 0.6) 50%,
        rgba(13, 27, 42, 0.95) 100%
      );
  }

  .hero__inner { padding: 6rem clamp(1.5rem, 5vw, 2rem) 4rem; }
  .hero__title { font-size: clamp(2.25rem, 10vw, 4rem); }
  .hero__top { font-size: 0.6rem; }

  /* Na mobilce: rozbijamy flex-row hero__inner na stos pionowy */
  .hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .hero__text { max-width: 100%; flex: 1 1 auto; }

  .hero__stats {
    width: 100%;
    max-width: 620px;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    min-width: 0;
  }
  .hero__stat { gap: 0.5rem; flex: 1; }
  .hero__stat-num { font-size: clamp(1.5rem, 5vw, 2rem); }
  .hero__stat-line { width: 28px; }
  .hero__stat-label { font-size: 0.6rem; max-width: none; }
}

@media (max-width: 560px) {
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero__stat-label { font-size: 0.55rem; letter-spacing: 0.15em; }
}

/* =========================================================
   WSPÓLNE: SEKCJE, NAGŁÓWKI, REVEAL
   ========================================================= */
.section {
  position: relative;
  padding-block: clamp(5rem, 9vh, 7.5rem);
  background-color: var(--color-bg);
  color: var(--color-text);
}

.section__container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 6vw, 4rem);
}

.section__header {
  max-width: 820px;
  margin-bottom: clamp(2rem, 4vh, 3rem);
}

.section__over {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.1rem;
}

.section__over-dash {
  display: inline-block;
  width: 28px;
  height: 1px;
  background-color: var(--color-gold);
  flex-shrink: 0;
}

.section__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0.9rem;
}

.section__title .accent { color: var(--color-gold); }

.section__lead {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.65;
  color: rgba(31, 35, 42, 0.72);
  max-width: 620px;
}

.section__foot {
  margin-top: clamp(2rem, 4vh, 3rem);
  display: flex;
  justify-content: center;
}

/* Modyfikator: wyśrodkowany header sekcji */
.section__header--center {
  margin-inline: auto;
  text-align: center;
}
.section__header--center .section__lead { margin-inline: auto; }
.section__header--center .section__over { justify-content: center; }

/* Wariant dark */
.section--dark {
  background-color: var(--color-midnight);
  color: var(--color-white);
}
.section--dark .section__title { color: var(--color-white); }
.section--dark .section__lead  { color: rgba(255, 255, 255, 0.72); }

/* Nagłówek rozbity na 2 kolumny (title lewa, lead prawa) */
.section__header--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.section__header--split .section__title { margin-bottom: 0; }
.section__header--split .section__lead  { max-width: 520px; }

@media (max-width: 900px) {
  .section__header--split { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 900ms cubic-bezier(.22, .7, .25, 1),
    transform 900ms cubic-bezier(.22, .7, .25, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================
   02 — FLOTA
   ========================================================= */
.flota-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1rem, 1.8vw, 1.5rem);
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  color: var(--color-anthracite);
  background-color: #F4F5F7;
  border: 1px solid rgba(13, 27, 42, 0.07);
  transition:
    transform 500ms cubic-bezier(.22, .7, .25, 1),
    border-color 500ms ease,
    box-shadow 500ms ease;
}

.tile:hover,
.tile:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(200, 162, 91, 0.55);
  box-shadow: 0 24px 48px -24px rgba(13, 27, 42, 0.22);
}

/* Górna część kafla — zdjęcie w pełnej krasie (contain, żeby auto się nie cięło) */
.tile__media {
  flex: 1;
  min-height: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  padding: clamp(1rem, 1.5vw, 1.5rem);
  transition: transform 700ms cubic-bezier(.22, .7, .25, 1);
}

.tile:hover .tile__media { transform: scale(1.045); }

/* Ścieżki do zdjęć */
.tile__media--hatchback { background-image: url('/assets/img/flota-hatchback.png'); }
.tile__media--kombi     { background-image: url('/assets/img/flota-kombi.png');     }
.tile__media--sedan     { background-image: url('/assets/img/flota-sedan.png');     }
.tile__media--suv       { background-image: url('/assets/img/flota-suv.png');       }
.tile__media--bus       { background-image: url('/assets/img/flota-9osobowe.png');  }

/* Dolna część — pasek z tekstem na białym tle, oddzielony cienką złotą linią */
.tile__body {
  padding: 1rem clamp(1rem, 1.5vw, 1.35rem) 1.2rem;
  background-color: #FFFFFF;
  border-top: 1px solid rgba(200, 162, 91, 0.28);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.tile__num {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold);
}

.tile__name {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-midnight);
  line-height: 1;
}

.tile__link {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(31, 35, 42, 0.52);
  transition: color 300ms ease;
}

.tile:hover .tile__link { color: var(--color-gold); }

@media (max-width: 1200px) {
  .flota-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .flota-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 440px) {
  .flota-grid { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 16 / 10; }
}

/* =========================================================
   03 — O FIRMIE
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.about-media {
  position: sticky;
  top: 2rem;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--color-heritage) 0%, var(--color-midnight) 100%);
  border: 1px solid rgba(200, 162, 91, 0.2);
  overflow: hidden;
}

.about-media__photo {
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/about.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.92;
}

.about-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 27, 42, 0.75) 0%,
    rgba(13, 27, 42, 0.1) 60%,
    transparent 100%
  );
  pointer-events: none;
}

.about-media__tag {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold);
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(200, 162, 91, 0.35);
  background: rgba(13, 27, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.about-intro {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.65;
  color: var(--color-text);
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(200, 162, 91, 0.2);
}

.about-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  align-items: start;
}

.about-block + .about-block {
  border-top: 1px solid rgba(31, 35, 42, 0.08);
}

.about-block__num {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  line-height: 1;
  color: var(--color-gold);
  letter-spacing: -0.02em;
}

.about-block__title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
  margin-bottom: 0.6rem;
}

.about-block__body p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(31, 35, 42, 0.75);
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-media {
    position: static;
    aspect-ratio: 16 / 10;
  }
}
@media (max-width: 560px) {
  .about-block { grid-template-columns: 48px 1fr; gap: 1rem; }
}

/* =========================================================
   04 — DLACZEGO MY
   ========================================================= */
.section--why {
  position: relative;
  overflow: hidden;
}

.why-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: blur(4px);
  z-index: 0;
}

.section--why::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--color-midnight) 0%,
    rgba(13, 27, 42, 0.92) 50%,
    var(--color-midnight) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.section--why .section__container {
  position: relative;
  z-index: 1;
}

/* Editorial zigzag — naprzemienne wiersze z wielkimi gold numbers */
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(200, 162, 91, 0.18);
}

.why-row {
  position: relative;
  display: grid;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
  padding: clamp(1.75rem, 3.5vh, 2.75rem) clamp(0.5rem, 2vw, 1.5rem);
  border-bottom: 1px solid rgba(200, 162, 91, 0.18);
  transition: background-color 400ms ease;
}

.why-row:hover {
  background-color: rgba(200, 162, 91, 0.04);
}

.why-row--left  { grid-template-columns: minmax(140px, 200px) 1fr auto; }
.why-row--right { grid-template-columns: auto 1fr minmax(140px, 200px); }

.why-row--right .why-row__num   { order: 3; justify-self: end; text-align: right; }
.why-row--right .why-row__body  { order: 2; text-align: right; }
.why-row--right .why-row__marker { order: 1; justify-self: start; }
.why-row--right .why-row__text  { margin-left: auto; }

.why-row__num {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(3rem, 6.5vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--color-gold);
  display: block;
  transition: transform 500ms cubic-bezier(.22, .7, .25, 1), color 300ms ease;
}

.why-row:hover .why-row__num {
  transform: scale(1.04);
}

.why-row__body {
  max-width: 640px;
}

.why-row__title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.why-row__text {
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
}

/* Mały złoty marker — pionowa kreska wskazująca aktywny wiersz (na hover świeci) */
.why-row__marker {
  align-self: stretch;
  width: 2px;
  background-color: rgba(200, 162, 91, 0.15);
  transition: background-color 400ms ease, transform 400ms ease;
}

.why-row:hover .why-row__marker {
  background-color: var(--color-gold);
  transform: scaleY(1.02);
}

@media (max-width: 900px) {
  .why-row--left,
  .why-row--right {
    grid-template-columns: auto 1fr !important;
  }
  .why-row--right .why-row__num    { order: 0; justify-self: start; text-align: left; }
  .why-row--right .why-row__body   { order: 0; text-align: left; }
  .why-row--right .why-row__marker { display: none; }
  .why-row--left  .why-row__marker { display: none; }
  .why-row--right .why-row__text   { margin-left: 0; }
  .why-row__num { font-size: clamp(2.25rem, 8vw, 3rem); }
}

/* =========================================================
   O FIRMIE — dekoracyjna typografia w tle
   ========================================================= */
.section--about { position: relative; overflow: hidden; }

.about-bgtext {
  position: absolute;
  top: clamp(1rem, 5vh, 3rem);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: clamp(6rem, 16vw, 14rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: rgba(13, 27, 42, 0.035);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.section--about .section__container {
  position: relative;
  z-index: 1;
}

/* =========================================================
   05 — OPINIE (full-width marquee)
   ========================================================= */
.section--reviews {
  background-color: #F8F9FB;
  padding-bottom: clamp(5rem, 9vh, 7rem);
  overflow: hidden;
}

.reviews-marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 4%,
    #000 96%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 4%,
    #000 96%,
    transparent 100%
  );
}

.reviews-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 60s linear infinite;
}

.reviews-marquee:hover .reviews-track { animation-play-state: paused; }

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

.review-card {
  flex: 0 0 auto;
  width: 360px;
  padding: 1.6rem 1.75rem;
  background-color: #FFFFFF;
  border: 1px solid rgba(13, 27, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}

.review-card:hover {
  border-color: rgba(200, 162, 91, 0.45);
  box-shadow: 0 16px 32px -18px rgba(13, 27, 42, 0.18);
  transform: translateY(-2px);
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-heritage), var(--color-midnight));
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.review-card__meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.review-card__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-midnight);
  letter-spacing: 0.01em;
}

.review-card__date {
  font-size: 0.72rem;
  color: rgba(31, 35, 42, 0.55);
}

.review-card__google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #FFFFFF;
  border: 1px solid rgba(13, 27, 42, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.review-card__stars {
  font-size: 1.02rem;
  line-height: 1;
  color: var(--color-gold);
  letter-spacing: 0.08em;
}

.review-card__text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(31, 35, 42, 0.82);
}

@media (max-width: 560px) {
  .review-card { width: 300px; padding: 1.35rem 1.5rem; }
}

/* =========================================================
   06 — FAQ
   ========================================================= */
.section--faq {
  background-color: #FFFFFF;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

/* Lista FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(13, 27, 42, 0.08);
}

.faq-item {
  border-bottom: 1px solid rgba(13, 27, 42, 0.08);
  transition: background-color 300ms ease;
}

.faq-item:hover { background-color: rgba(200, 162, 91, 0.035); }

.faq-item__head {
  width: 100%;
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: 48px 1fr 32px;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
  color: var(--color-midnight);
  transition: color 300ms ease;
}

.faq-item__head:hover { color: var(--color-gold); }

.faq-item__num {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: var(--tracking-widest);
  color: var(--color-gold);
}

.faq-item__q {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.faq-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-gold);
  transition: transform 400ms cubic-bezier(.22,.7,.25,1);
}

.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }

.faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 450ms cubic-bezier(.22,.7,.25,1);
}

.faq-item.is-open .faq-item__body { grid-template-rows: 1fr; }

.faq-item__body-inner {
  overflow: hidden;
}

.faq-item__body-inner p {
  padding: 0.25rem 0 1.75rem calc(48px + 1.25rem);
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(31, 35, 42, 0.75);
  max-width: 760px;
}

.faq-item__body-inner a {
  color: var(--color-gold);
  border-bottom: 1px solid rgba(200, 162, 91, 0.4);
  padding-bottom: 1px;
  transition: border-color 200ms ease;
}
.faq-item__body-inner a:hover { border-bottom-color: var(--color-gold); }

/* Boczna karta kontaktowa */
.faq-side {
  position: sticky;
  top: 96px; /* under sticky header */
  padding: clamp(1.75rem, 2.5vw, 2.5rem);
  background-color: var(--color-midnight);
  color: var(--color-white);
  border: 1px solid rgba(200, 162, 91, 0.25);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-side__symbol {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--color-gold);
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
}

.faq-side__title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  line-height: 1.25;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.faq-side__title .accent { color: var(--color-gold); }

.faq-side__text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.faq-side__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(200, 162, 91, 0.2);
  border-bottom: 1px solid rgba(200, 162, 91, 0.2);
}

.faq-side__link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--color-white);
  padding: 0.35rem 0;
  transition: color 200ms ease;
}

.faq-side__link svg { color: var(--color-gold); flex-shrink: 0; }
.faq-side__link:hover { color: var(--color-gold); }

.faq-side__cta {
  margin-top: 0.5rem;
  width: fit-content;
}

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .faq-side { position: static; }
}

@media (max-width: 560px) {
  .faq-item__head { grid-template-columns: 32px 1fr 24px; gap: 0.75rem; padding: 1.25rem 0; }
  .faq-item__body-inner p { padding-left: calc(32px + 0.75rem); }
}

/* =========================================================
   FOOTER — 1:1 z brandingu klienta (granatowy wariant)
   ========================================================= */
.footer {
  background-color: var(--color-midnight);
  color: var(--color-white);
  padding: clamp(3.5rem, 7vh, 5.5rem) 0 clamp(1.75rem, 3vh, 2.5rem);
  font-size: 0.85rem;
}

.footer__container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 6vw, 4rem);
}

/* Top — 3 kolumny z pionowymi gold divider-ami */
.footer__top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(1.75rem, 3vh, 2.5rem);
}

.footer__col { position: relative; }

.footer__col + .footer__col::before {
  content: '';
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: calc(-1 * clamp(1rem, 2.5vw, 2rem));
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(200, 162, 91, 0.5) 22%,
    rgba(200, 162, 91, 0.5) 78%,
    transparent 100%
  );
}

/* === KOL 1 — BRAND === */
.footer__col--brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.85rem;
  letter-spacing: -0.04em;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.footer__wordmark {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-white);
  line-height: 1;
}
.footer__wordmark .accent { color: var(--color-gold); }

.footer__tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.35rem;
}

.footer__tagline-dash {
  display: inline-block;
  width: 22px;
  height: 1px;
  background-color: var(--color-gold);
}

/* === KOL 2 — OSOBA + KONTAKT === */
.footer__col--contact {
  display: flex;
  flex-direction: column;
}

.footer__person {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-white);
  line-height: 1.2;
}

.footer__role {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-top: 0.3rem;
  margin-bottom: 1.25rem;
}

.footer__lines {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__lines li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
}

.footer__lines a {
  color: inherit;
  transition: color 200ms ease;
}
.footer__lines a:hover { color: var(--color-gold); }

.footer__mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  color: var(--color-gold);
  flex-shrink: 0;
  background: transparent;
}

.footer__mini-icon--filled { background: transparent; }

/* === KOL 3 — ADRES + REJESTR === */
.footer__col--info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__address {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.footer__address .footer__mini-icon { margin-top: 0.15rem; }

.footer__address-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}
.footer__address-text strong { font-weight: 600; color: var(--color-white); }

.footer__hline {
  width: 100%;
  max-width: 220px;
  height: 1px;
  border: none;
  background-color: rgba(200, 162, 91, 0.4);
  margin: 0.25rem 0;
}

.footer__registry {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
}

.footer__label {
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.04em;
  margin-right: 0.3rem;
}

/* === DOLNY PASEK === */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-top: clamp(1.5rem, 2.5vh, 2.25rem);
  border-top: 1px solid rgba(200, 162, 91, 0.35);
  flex-wrap: wrap;
}

.footer__social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.6rem;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  color: var(--color-gold);
  transition: background-color 300ms ease, color 300ms ease, transform 300ms ease;
}

.footer__social a:hover {
  background-color: var(--color-gold);
  color: var(--color-midnight);
  transform: translateY(-2px);
}

.footer__thanks {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer__thanks-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer__thanks-brand {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-white);
  padding-left: 1.25rem;
  border-left: 1px solid rgba(200, 162, 91, 0.4);
}
.footer__thanks-brand .accent { color: var(--color-gold); }

/* Responsywność */
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer__col + .footer__col::before { display: none; }
  .footer__col + .footer__col {
    padding-top: 2rem;
    border-top: 1px solid rgba(200, 162, 91, 0.22);
  }
  .footer__col--brand { align-items: flex-start; text-align: left; }
  .footer__col--brand .footer__tagline { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .footer__thanks {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  .footer__thanks-brand {
    padding-left: 0;
    border-left: none;
  }
}

/* === LEGAL STRIP (copyright + polityki + Twój badge) === */
.footer__legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
}

.footer__legal-meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  line-height: 1.6;
}

.footer__legal-meta a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 200ms ease;
}

.footer__legal-meta a:hover { color: var(--color-gold); }

.footer__legal-sep { color: rgba(200, 162, 91, 0.5); }

@media (max-width: 700px) {
  .footer__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}

/* =========================================================
   KJAWOR BADGE — 1:1 z kodu klienta
   (keyframes prefiksowane, żeby nie kolidowały z innymi)
   ========================================================= */
.badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0a0a0a;
  border: none;
  border-radius: 100px;
  padding: 7px 10px 7px 7px;
  font-family: 'DM Sans', sans-serif;
  position: relative;
  overflow: hidden;
  z-index: 2;
  transition: box-shadow 0.4s ease;
}

.badge-wrap:hover {
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.12);
}

.badge-spin {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, #8B0000, #FF3333, #ff6b6b, #FF3333, #8B0000);
  animation: kjawor-rotate 7s linear infinite;
  z-index: -2;
  transition: opacity 0.3s ease;
}

.badge-spin.white {
  background: conic-gradient(from 0deg, #555, #ffffff, #aaa, #ffffff, #555);
}

.badge-wrap::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: #0a0a0a;
  border-radius: inherit;
  z-index: -1;
  transition: background 0.4s ease;
}

.badge-wrap:hover::after { background: #111; }

.badge-logo,
.badge-text,
.badge-divider,
.badge-socials {
  position: relative;
  z-index: 2;
}

.badge-logo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, #aaa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #0a0a0a;
  flex-shrink: 0;
}

.badge-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12.5px;
  font-weight: 400;
  white-space: nowrap;
}

.badge-text strong { color: #fff; font-weight: 600; }

.badge-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.badge-socials {
  display: flex;
  align-items: center;
  gap: 5px;
}

.badge-social-link {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: all 0.25s ease;
}

.badge-social-link:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.badge-social-link.ig:hover {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
}

.badge-social-link.wa:hover {
  background: #25D366;
  border-color: transparent;
  color: #fff;
}

.badge-social-link.www:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  border-color: transparent;
  color: #fff;
}

.badge-social-link svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

@keyframes kjawor-rotate {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
