/* ==========================================================================
   LEASING360 — DESIGN SYSTEM
   Odwzorowanie prototypu https://leasing360.online (Lovable / Tailwind v4)
   Wszystkie wartości przeliczone z OKLCH -> HEX 1:1.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENY
   -------------------------------------------------------------------------- */
:root {
  /* --- Kolory marki --- */
  --l360-brand:            #0C25EC;   /* oklch(45% .28 265)  - primary / CTA */
  --l360-brand-hover:      #0B21D4;   /* brand @ 90%         - hover buttonów */
  --l360-brand-fg:         #FFFFFF;
  --l360-brand-soft:       #EAF6FF;   /* oklch(97% .03 260)  - tła sekcji */
  --l360-ink:              #0A121F;   /* oklch(18% .03 260)  - nagłówki */
  --l360-muted:            #EFF6FF;   /* oklch(97% .015 255) */
  --l360-muted-fg:         #545E6F;   /* oklch(48% .03 260)  - tekst zwykły */
  --l360-accent:           #DFF0FF;   /* oklch(95% .04 260) */
  --l360-secondary:        #EDF6FF;   /* oklch(97% .02 260) */
  --l360-border:           #DCE6F2;   /* oklch(92% .02 255) */
  --l360-danger:           #EE0F1F;   /* oklch(60% .24 27) */
  --l360-white:            #FFFFFF;

  /* Wersje półprzezroczyste (u źródła: brand/15, brand/25, ink/80 ...) */
  --l360-brand-15:         rgba(12, 37, 236, .15);
  --l360-brand-20:         rgba(12, 37, 236, .20);
  --l360-brand-25:         rgba(12, 37, 236, .25);
  --l360-brand-30:         rgba(12, 37, 236, .30);
  --l360-brand-45:         rgba(12, 37, 236, .45);
  --l360-brand-10bg:       rgba(12, 37, 236, .10);
  --l360-ink-80:           rgba(10, 18, 31, .80);
  --l360-ink-85:           rgba(10, 18, 31, .85);
  --l360-border-60:        rgba(220, 230, 242, .60);
  --l360-brand-soft-30:    rgba(234, 246, 255, .30);
  --l360-brand-soft-40:    rgba(234, 246, 255, .40);
  --l360-brand-soft-50:    rgba(234, 246, 255, .50);
  --l360-brand-soft-60:    rgba(234, 246, 255, .60);
  --l360-brand-soft-70:    rgba(234, 246, 255, .70);

  /* --- Promienie (skala Tailwind v4 przy --radius:.875rem) --- */
  --l360-r-sm:  10px;
  --l360-r-md:  12px;   /* przyciski */
  --l360-r-lg:  14px;
  --l360-r-xl:  18px;   /* zdjęcia w kartach */
  --l360-r-2xl: 22px;   /* karty */
  --l360-r-3xl: 26px;   /* duże panele / CTA */
  --l360-r-full: 9999px;

  /* --- Cienie --- */
  --l360-shadow-card:  0 4px 20px -8px rgba(17, 57, 215, .12);
  --l360-shadow-soft:  0 8px 30px -12px rgba(17, 57, 215, .18);
  --l360-shadow-lift:  0 10px 28px -12px rgba(12, 37, 236, .35);
  --l360-shadow-btn:   0 1px 3px 0 rgba(0,0,0,.10), 0 1px 2px -1px rgba(0,0,0,.10);

  /* --- Typografia --- */
  --l360-font-display: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;
  --l360-font-sans:    "Inter", ui-sans-serif, system-ui, sans-serif;

  /* --- Layout --- */
  --l360-container: 1280px;   /* max-w-7xl */
  --l360-container-narrow: 896px; /* max-w-4xl - FAQ */
  --l360-gutter: 16px;        /* px-4 */
  --l360-gutter-md: 32px;     /* md:px-8 */
  --l360-section-y: 80px;     /* py-20 */

  /* --- Ruch --- */
  --l360-ease: cubic-bezier(0, 0, .2, 1);
  --l360-ease-inout: cubic-bezier(.4, 0, .2, 1);
  --l360-marquee-speed: 40s;

  /* Znak wodny (sygnet) – podmieniany w functions.php na realny URL */
  --l360-watermark: url("../img/leasing360-sygnet.png");
}

/* --------------------------------------------------------------------------
   2. RESET / BAZA
   -------------------------------------------------------------------------- */
body {
  font-family: var(--l360-font-sans);
  color: var(--l360-muted-fg);
  background: var(--l360-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.l360-display {
  font-family: var(--l360-font-display);
  color: var(--l360-ink);
  font-weight: 700;
  letter-spacing: -.02em;
}

/* Skala nagłówków 1:1 z prototypem ------------------------------------------ */
.l360-h1,
.elementor-widget-heading.l360-h1 .elementor-heading-title {
  font-size: 36px;          /* text-4xl */
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--l360-ink);
}
.l360-h2,
.elementor-widget-heading.l360-h2 .elementor-heading-title {
  font-size: 30px;          /* text-3xl */
  line-height: 1.11;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--l360-ink);
}
.l360-h3,
.elementor-widget-heading.l360-h3 .elementor-heading-title {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--l360-ink);
}
.l360-lead,
.elementor-widget-text-editor.l360-lead {
  font-size: 16px;
  line-height: 1.62;
  color: var(--l360-muted-fg);
}

@media (min-width: 768px) {
  .l360-h1, .elementor-widget-heading.l360-h1 .elementor-heading-title { font-size: 48px; }
  .l360-h2, .elementor-widget-heading.l360-h2 .elementor-heading-title { font-size: 36px; line-height: 1.11; }
  .l360-lead, .elementor-widget-text-editor.l360-lead { font-size: 18px; line-height: 1.56; }
}
@media (min-width: 1025px) {
  .l360-h1, .elementor-widget-heading.l360-h1 .elementor-heading-title { font-size: 60px; letter-spacing: -1.2px; }
}

/* Akcent w nagłówku: <span class="l360-accent-text"> */
.l360-accent-text { color: var(--l360-brand); }
.l360-ink-text    { color: var(--l360-ink); }

/* --------------------------------------------------------------------------
   3. PRZYCISKI  (h-9 = 36px, radius 12px, 14px/500)
   -------------------------------------------------------------------------- */
.l360-btn,
.elementor-button.l360-btn,
a.l360-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 8px 16px;
  border-radius: var(--l360-r-md);
  font-family: var(--l360-font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  box-shadow: var(--l360-shadow-btn);
  transition: background-color .18s var(--l360-ease), color .18s var(--l360-ease),
              border-color .18s var(--l360-ease), transform .18s var(--l360-ease);
}
/* Wariant główny */
.l360-btn--primary,
.elementor-button.l360-btn--primary {
  background: var(--l360-brand);
  color: var(--l360-brand-fg);
}
.l360-btn--primary:hover,
.elementor-button.l360-btn--primary:hover {
  background: var(--l360-brand-hover);
  color: var(--l360-brand-fg);
}
/* Wariant obrysowy */
.l360-btn--outline,
.elementor-button.l360-btn--outline {
  background: var(--l360-white);
  color: var(--l360-ink);
  border: 1px solid var(--l360-brand-30);
  box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
}
.l360-btn--outline:hover,
.elementor-button.l360-btn--outline:hover {
  background: var(--l360-accent);
  color: var(--l360-ink);
}
/* Wariant duży (h-10 = 40px, px-8) */
.l360-btn--lg,
.elementor-button.l360-btn--lg { height: 40px; padding: 8px 32px; }
/* Wariant mały (h-8 = 32px, 12px) */
.l360-btn--sm,
.elementor-button.l360-btn--sm { height: 32px; padding: 6px 12px; font-size: 12px; }

/* Elementor button – nadpisania, żeby nie walczyć z domyślnym stylem */
.elementor-widget-button .elementor-button.l360-btn { width: auto; }
.elementor-widget-button .elementor-button.l360-btn .elementor-button-content-wrapper { gap: 8px; }
.elementor-widget-button .elementor-button.l360-btn .elementor-button-icon svg { width: 16px; height: 16px; }

/* Link ze strzałką „Więcej →” (gap-1 -> gap-2 na hover) */
.l360-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--l360-brand);
  text-decoration: none;
  transition: gap .2s var(--l360-ease);
}
.l360-link-arrow:hover,
.l360-card:hover .l360-link-arrow { gap: 8px; color: var(--l360-brand); }
.l360-link-arrow svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   4. KARTY / PANELE
   -------------------------------------------------------------------------- */
.l360-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--l360-white);
  border: 1px solid var(--l360-border);
  border-radius: var(--l360-r-2xl);
  box-shadow: var(--l360-shadow-card);
  transition: border-color .25s var(--l360-ease), box-shadow .25s var(--l360-ease),
              transform .25s var(--l360-ease);
}
.l360-card--hover:hover {
  border-color: var(--l360-brand);
  box-shadow: var(--l360-shadow-soft);
}
/* Karta z obramowaniem w kolorze marki (opinie, case studies) */
.l360-card--brand { border-color: var(--l360-brand-15); }

/* Duży panel z gradientem (CTA / sekcja założyciela) */
.l360-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--l360-r-3xl);
  border: 1px solid var(--l360-brand-25);
  background: linear-gradient(to bottom right,
              var(--l360-brand-soft) 0%, var(--l360-white) 50%, var(--l360-brand-soft) 100%);
  box-shadow: var(--l360-shadow-card);
}
.l360-panel--founder {
  border-color: var(--l360-brand-15);
  background: linear-gradient(to bottom right, var(--l360-brand-soft-70) 0%, var(--l360-white) 100%);
  box-shadow: none;
}

/* Notka informacyjna (jasne tło + obrys marki) */
.l360-note {
  border: 1px solid var(--l360-brand-20);
  background: var(--l360-brand-soft-60);
  border-radius: var(--l360-r-xl);
  padding: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--l360-ink);
}

/* Badge / pigułka */
.l360-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--l360-r-full);
  border: 1px solid var(--l360-brand-25);
  background: var(--l360-white);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--l360-brand);
  line-height: 1.4;
}
.l360-badge svg { width: 14px; height: 14px; }

/* Eyebrow (nadtytuł sekcji) */
.l360-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--l360-brand);
}

/* --------------------------------------------------------------------------
   5. ZNAK WODNY (sygnet Leasing360)
   -------------------------------------------------------------------------- */
.l360-wm { position: relative; overflow: hidden; }
.l360-wm::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background-image: var(--l360-watermark);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .05;
  z-index: 0;
}
/* mały – w rogu karty (h-14 w-14, -bottom-2 -right-2) */
.l360-wm--corner::after { right: -8px; bottom: -8px; width: 56px; height: 56px; }
/* duży – case study (h-44 w-44, -bottom-10 -right-10) */
.l360-wm--lg::after { right: -40px; bottom: -40px; width: 176px; height: 176px; }
/* panel CTA (h-56 w-56, -top-10 -right-10, opacity .06) */
.l360-wm--panel::after { right: -40px; top: -40px; width: 224px; height: 224px; opacity: .06; }
/* hero (w-[572px], -top-24 -right-[22px], opacity .06, tylko desktop) */
.l360-wm--hero::after {
  right: -22px; top: -96px; width: 572px; height: 572px; opacity: .06; display: none;
}
@media (min-width: 768px) { .l360-wm--hero::after { display: block; } }
/* FAQ – pionowy pas na środku */
.l360-wm--faq::after {
  left: 50%; top: 0; bottom: 0; height: 100%; width: 620px;
  transform: translateX(33%); opacity: .06; background-position: center;
}
/* Treść nad znakiem wodnym */
.l360-wm > * { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   6. MARQUEE – karuzela partnerów finansowych
   -------------------------------------------------------------------------- */
.l360-marquee {
  --l360-marquee-duration: var(--l360-marquee-speed);
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.l360-marquee__track {
  display: flex;
  width: max-content;
  animation: l360-marquee var(--l360-marquee-duration) linear infinite;
  will-change: transform;
}
.l360-marquee:hover .l360-marquee__track { animation-play-state: paused; }
/* Kierunek odwrotny (drugi pas) */
.l360-marquee--reverse .l360-marquee__track { animation-direction: reverse; }

.l360-marquee__item {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  height: 78px;
  width: 190px;
  margin: 0 12px;
  padding: 0 16px;
  border: 1px solid var(--l360-brand-15);
  border-radius: var(--l360-r-xl);
  background: var(--l360-white);
  box-shadow: var(--l360-shadow-card);
  transition: transform .3s var(--l360-ease), border-color .3s var(--l360-ease),
              box-shadow .3s var(--l360-ease);
}
.l360-marquee__item:hover {
  transform: scale(1.04);
  border-color: var(--l360-brand-45);
  box-shadow: var(--l360-shadow-lift);
}
.l360-marquee__label {
  text-align: center;
  font-family: var(--l360-font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--l360-ink-85);
}
.l360-marquee__item img {
  max-height: 46px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .75;
  transition: filter .3s var(--l360-ease), opacity .3s var(--l360-ease);
}
.l360-marquee__item:hover img { filter: grayscale(0); opacity: 1; }

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

@media (max-width: 767px) {
  .l360-marquee__item { height: 66px; width: 152px; margin: 0 8px; }
  .l360-marquee__label { font-size: 13px; }
}

/* --------------------------------------------------------------------------
   7. KROKI PROCESU (1-2-3-4)
   -------------------------------------------------------------------------- */
.l360-steps {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 768px) { .l360-steps { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.l360-step {
  position: relative;
  overflow: hidden;
  background: var(--l360-white);
  border: 1px solid var(--l360-border);
  border-radius: var(--l360-r-2xl);
  box-shadow: var(--l360-shadow-card);
  padding: 20px;
  transition: border-color .25s var(--l360-ease), transform .25s var(--l360-ease);
}
.l360-step:hover { border-color: var(--l360-brand-45); transform: translateY(-2px); }
.l360-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--l360-r-lg);
  background: var(--l360-brand);
  color: var(--l360-brand-fg);
  font-family: var(--l360-font-sans);
  font-size: 14px;
  font-weight: 700;
}
.l360-step__title {
  margin: 12px 0 0;
  font-family: var(--l360-font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--l360-ink);
}
.l360-step__desc {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--l360-muted-fg);
}

/* --------------------------------------------------------------------------
   8. TABELA PORÓWNAWCZA  (typowa firma vs Leasing360)
   -------------------------------------------------------------------------- */
.l360-compare {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--l360-border);
  border-radius: var(--l360-r-3xl);
  background: var(--l360-white);
  box-shadow: var(--l360-shadow-card);
}
.l360-compare__head,
.l360-compare__row {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .l360-compare__head,
  .l360-compare__row { grid-template-columns: minmax(0, .75fr) minmax(0, 1.05fr); }
}
/* Nagłówek */
.l360-compare__head > div {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
}
@media (min-width: 768px) { .l360-compare__head > div { display: flex; } }
.l360-compare__head-bad  { background: var(--l360-ink); }
.l360-compare__head-good { background: var(--l360-brand); }
.l360-compare__head-bad span {
  font-family: var(--l360-font-display);
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; color: #fff;
}
.l360-compare__head-good span {
  font-family: var(--l360-font-display);
  font-size: 16px; font-weight: 700; color: #fff;
}
/* Wiersze – zebra */
.l360-compare__row:nth-child(odd)  { background: var(--l360-white); }
.l360-compare__row:nth-child(even) { background: var(--l360-brand-soft-30); }

.l360-compare__cell {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-top: 1px solid var(--l360-border);
}
@media (min-width: 768px) {
  .l360-compare__cell      { border-top: 0; padding: 8px 24px; }
  .l360-compare__cell--good { border-left: 1px solid var(--l360-border); }
}
.l360-compare__cell--bad  span.l360-compare__txt { font-size: 14px; color: var(--l360-ink-80); }
.l360-compare__cell--good span.l360-compare__txt { font-size: 14px; font-weight: 500; color: var(--l360-ink); }
.l360-compare__icon { flex: none; width: 18px; height: 18px; }
.l360-compare__icon--bad  { color: var(--l360-muted-fg); }
.l360-compare__icon--good { color: var(--l360-brand); }
/* Etykiety mobilne */
.l360-compare__mlabel {
  display: inline; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
.l360-compare__cell--bad  .l360-compare__mlabel { color: var(--l360-muted-fg); }
.l360-compare__cell--good .l360-compare__mlabel { color: var(--l360-brand); }
@media (min-width: 768px) { .l360-compare__mlabel { display: none; } }

.l360-compare__footnote {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--l360-muted-fg);
}

/* --------------------------------------------------------------------------
   9. KARTA SAMOCHODU (promocje / Flota360)
   -------------------------------------------------------------------------- */
.l360-cars {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 576px)  { .l360-cars { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1025px) { .l360-cars--4 { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (min-width: 1025px) { .l360-cars--3 { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.l360-car {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--l360-white);
  border: 1px solid var(--l360-border);
  border-radius: var(--l360-r-2xl);
  box-shadow: var(--l360-shadow-card);
  text-decoration: none;
  transition: border-color .25s var(--l360-ease), box-shadow .25s var(--l360-ease),
              transform .25s var(--l360-ease);
}
.l360-car:hover {
  border-color: var(--l360-brand);
  box-shadow: var(--l360-shadow-soft);
  transform: translateY(-3px);
}
.l360-car__body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.l360-car__top  { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.l360-car__brand {
  margin: 0;
  font-family: var(--l360-font-display);
  font-size: 18px; font-weight: 700; color: var(--l360-ink);
}
.l360-car__model {
  margin: 2px 0 0;
  min-height: 2.5rem;
  font-size: 14px;
  line-height: 1.4;
  color: var(--l360-muted-fg);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Plakietka PROMOCJA (pełny brand) */
.l360-car__tag {
  display: inline-flex; align-items: center; gap: 4px;
  flex: none;
  border-radius: var(--l360-r-full);
  background: var(--l360-brand);
  color: #fff;
  padding: 4px 10px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
/* Plakietka FLOTA360 (miękka) */
.l360-car__tag--soft {
  background: var(--l360-brand-10bg);
  color: var(--l360-brand);
  text-transform: none;
  letter-spacing: normal;
}
.l360-car__tag svg { width: 12px; height: 12px; }

.l360-car__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--l360-r-xl);
  background: linear-gradient(to bottom right, var(--l360-brand-soft), var(--l360-white));
}
.l360-car__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s var(--l360-ease);
}
.l360-car:hover .l360-car__media img { transform: scale(1.04); }
.l360-car__media--empty svg { width: 56px; height: 56px; color: var(--l360-brand-25); }

.l360-car__price { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; }
.l360-car__price strong {
  font-family: var(--l360-font-display);
  font-size: 24px; font-weight: 700; color: var(--l360-brand);
}
.l360-car__price span { font-size: 12px; color: var(--l360-muted-fg); }

.l360-car__meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px;
  font-size: 12px; color: var(--l360-muted-fg);
}
.l360-car__meta span { display: inline-flex; align-items: center; gap: 4px; }
.l360-car__meta svg { width: 14px; height: 14px; }
.l360-car__cta { margin-top: 20px; align-self: flex-start; }

/* Filtr marek (Flota360) */
.l360-carfilter {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
}
.l360-carfilter__btn {
  border: 1px solid var(--l360-border);
  background: var(--l360-white);
  color: var(--l360-ink);
  border-radius: var(--l360-r-full);
  padding: 8px 16px;
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: all .2s var(--l360-ease);
}
.l360-carfilter__btn:hover { border-color: var(--l360-brand-45); color: var(--l360-brand); }
.l360-carfilter__btn.is-active {
  background: var(--l360-brand); border-color: var(--l360-brand); color: #fff;
}
.l360-car.is-hidden { display: none; }

/* --------------------------------------------------------------------------
   10. OPINIE / CASE STUDIES
   -------------------------------------------------------------------------- */
.l360-quote {
  margin: 0;
  background: var(--l360-white);
  border: 1px solid var(--l360-brand-15);
  border-radius: var(--l360-r-2xl);
  box-shadow: var(--l360-shadow-card);
  padding: 24px;
  transition: transform .25s var(--l360-ease), box-shadow .25s var(--l360-ease);
}
.l360-quote:hover { transform: translateY(-3px); box-shadow: var(--l360-shadow-soft); }
.l360-quote__icon { width: 20px; height: 20px; color: var(--l360-brand); }
.l360-quote blockquote {
  margin: 12px 0 0; padding: 0; border: 0;
  font-size: 14px; line-height: 1.6; color: var(--l360-ink);
}
.l360-quote figcaption {
  margin-top: 16px;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--l360-muted-fg);
}

.l360-case {
  position: relative; overflow: hidden;
  background: var(--l360-white);
  border: 1px solid var(--l360-brand-15);
  border-radius: var(--l360-r-2xl);
  box-shadow: var(--l360-shadow-card);
  padding: 24px;
}
.l360-case__title {
  font-family: var(--l360-font-display);
  font-size: 20px; font-weight: 600; color: var(--l360-ink); margin: 0;
}
.l360-case dl { margin: 16px 0 0; font-size: 14px; }
.l360-case dl > div + div { margin-top: 12px; }
.l360-case dt { font-weight: 600; color: var(--l360-brand); }
.l360-case dd { margin: 0; color: var(--l360-muted-fg); line-height: 1.55; }

/* Lista z „ptaszkami” (sekcja założyciela) */
.l360-checklist { list-style: none; margin: 24px 0 0; padding: 0; }
.l360-checklist li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--l360-ink);
}
.l360-checklist li + li { margin-top: 8px; }
.l360-checklist svg { flex: none; width: 18px; height: 18px; color: var(--l360-brand); }

/* --------------------------------------------------------------------------
   11. FORMULARZ LEAD (1:1 z prototypem)
   -------------------------------------------------------------------------- */
.l360-form {
  background: var(--l360-white);
  border: 1px solid var(--l360-brand-15);
  border-radius: var(--l360-r-2xl);
  box-shadow: var(--l360-shadow-card);
  padding: 24px;
}
@media (min-width: 768px) { .l360-form { padding: 28px; } }

.l360-form__title {
  margin: 0;
  font-family: var(--l360-font-display);
  font-size: 18px; font-weight: 600; color: var(--l360-ink);
}
.l360-form__sub { margin: 4px 0 0; font-size: 14px; color: var(--l360-muted-fg); }
.l360-form__grid { display: grid; gap: 12px; margin-top: 16px; }
.l360-form__row2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }

.l360-form label {
  display: block;
  font-size: 12px; font-weight: 500; color: var(--l360-ink);
  margin-bottom: 4px;
}
.l360-form input[type="text"],
.l360-form input[type="tel"],
.l360-form input[type="email"],
.l360-form input[type="number"],
.l360-form select,
.l360-form textarea {
  display: block;
  width: 100%;
  height: 36px;
  padding: 4px 12px;
  font-family: var(--l360-font-sans);
  font-size: 16px;                 /* 16px na mobile = brak zoomu w iOS */
  color: var(--l360-ink);
  background: transparent;
  border: 1px solid var(--l360-border);
  border-radius: var(--l360-r-sm);
  box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
  transition: border-color .18s var(--l360-ease), box-shadow .18s var(--l360-ease);
  appearance: none;
  -webkit-appearance: none;
}
@media (min-width: 768px) {
  .l360-form input, .l360-form select, .l360-form textarea { font-size: 14px; }
}
.l360-form textarea { height: auto; min-height: 96px; padding: 10px 12px; resize: vertical; }
.l360-form select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23545E6F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
}
.l360-form input:focus,
.l360-form select:focus,
.l360-form textarea:focus {
  outline: none;
  border-color: var(--l360-brand);
  box-shadow: 0 0 0 1px var(--l360-brand);
}
.l360-form input::placeholder, .l360-form textarea::placeholder { color: var(--l360-muted-fg); }

/* Zgoda RODO */
.l360-form__consent {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 4px;
}
.l360-form__consent input[type="checkbox"] {
  flex: none;
  width: 16px; height: 16px;
  margin-top: 2px;
  accent-color: var(--l360-brand);
  cursor: pointer;
}
.l360-form__consent label {
  margin: 0;
  font-size: 12px; font-weight: 400; line-height: 1.5;
  color: var(--l360-muted-fg);
  cursor: pointer;
}
.l360-form__submit { width: 100%; margin-top: 4px; }
.l360-form__foot { margin: 12px 0 0; font-size: 12px; color: var(--l360-muted-fg); }

/* Komunikaty */
.l360-form__msg { margin-top: 12px; font-size: 14px; border-radius: var(--l360-r-sm); padding: 10px 12px; display: none; }
.l360-form__msg.is-ok   { display: block; background: var(--l360-brand-soft); color: var(--l360-ink); border: 1px solid var(--l360-brand-20); }
.l360-form__msg.is-err  { display: block; background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.l360-form.is-busy { opacity: .6; pointer-events: none; }
/* Honeypot */
.l360-hp { position: absolute !important; left: -9999px !important; opacity: 0 !important; height: 0 !important; }

/* --------------------------------------------------------------------------
   12. AKORDEON FAQ  (styl Elementor Accordion / Nested Accordion)
   -------------------------------------------------------------------------- */
.l360-faq .elementor-accordion .elementor-accordion-item,
.l360-faq .e-n-accordion-item {
  border: 0 !important;
  border-bottom: 1px solid var(--l360-brand-15) !important;
  background: transparent !important;
}
.l360-faq .elementor-accordion .elementor-tab-title,
.l360-faq .e-n-accordion-item-title {
  padding: 16px 0 !important;
  background: transparent !important;
  border: 0 !important;
  font-family: var(--l360-font-sans);
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--l360-ink) !important;
  cursor: pointer;
  transition: color .2s var(--l360-ease);
}
.l360-faq .elementor-accordion .elementor-tab-title:hover,
.l360-faq .e-n-accordion-item-title:hover { color: var(--l360-brand) !important; text-decoration: underline; }
.l360-faq .elementor-accordion .elementor-tab-content,
.l360-faq .e-n-accordion-item > .e-con {
  padding: 0 0 16px !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 14px;
  line-height: 1.62;
  color: var(--l360-muted-fg) !important;
}
.l360-faq .elementor-accordion-icon { color: var(--l360-muted-fg) !important; }
.l360-faq .elementor-active .elementor-accordion-icon { color: var(--l360-brand) !important; }

/* --------------------------------------------------------------------------
   13. NAGŁÓWEK / STOPKA
   -------------------------------------------------------------------------- */
.l360-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  border-bottom: 1px solid var(--l360-border-60);
  background: rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.l360-header .elementor-nav-menu > li > a,
.l360-header .hfe-nav-menu > li > a {
  position: relative;
  font-family: var(--l360-font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--l360-ink-80);
  padding: 8px 0 !important;
  transition: color .2s var(--l360-ease);
}
.l360-header .elementor-nav-menu > li > a:hover,
.l360-header .hfe-nav-menu > li > a:hover { color: var(--l360-brand); }
/* Podkreślenie aktywnej pozycji – scale-x 0 -> 1 */
.l360-header .elementor-nav-menu > li > a::after,
.l360-header .hfe-nav-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--l360-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--l360-ease);
}
.l360-header .elementor-nav-menu > li > a:hover::after,
.l360-header .elementor-nav-menu > li.current-menu-item > a::after,
.l360-header .hfe-nav-menu > li > a:hover::after,
.l360-header .hfe-nav-menu > li.current-menu-item > a::after { transform: scaleX(1); }
.l360-header .elementor-nav-menu > li.current-menu-item > a,
.l360-header .hfe-nav-menu > li.current-menu-item > a { color: var(--l360-brand); }

.l360-header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 600; color: var(--l360-ink);
  text-decoration: none;
}
.l360-header__phone svg { width: 20px; height: 20px; color: var(--l360-brand); }

.l360-footer { border-top: 1px solid var(--l360-border); background: var(--l360-brand-soft-50); }
.l360-footer h4 {
  font-family: var(--l360-font-sans);
  font-size: 14px; font-weight: 600; color: var(--l360-ink); margin: 0 0 12px;
}
.l360-footer ul { list-style: none; margin: 0; padding: 0; }
.l360-footer li + li { margin-top: 8px; }
.l360-footer a, .l360-footer p, .l360-footer li {
  font-size: 14px; color: var(--l360-muted-fg); text-decoration: none;
}
.l360-footer a:hover { color: var(--l360-brand); }
.l360-footer__bottom {
  border-top: 1px solid var(--l360-border);
  font-size: 12px; color: var(--l360-muted-fg);
}

/* --------------------------------------------------------------------------
   14. ANIMACJE WEJŚCIA (scroll reveal)
   -------------------------------------------------------------------------- */
.l360-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--l360-ease), transform .6s var(--l360-ease);
}
.l360-reveal.is-visible { opacity: 1; transform: none; }
.l360-reveal--d1 { transition-delay: .08s; }
.l360-reveal--d2 { transition-delay: .16s; }
.l360-reveal--d3 { transition-delay: .24s; }

/* Puls sygnetu w sekcji promocji (promoGaragePulse z prototypu) */
@keyframes l360-pulse {
  0%, 100%      { transform: scale(1); }
  16%, 50%, 83% { transform: scale(1.33); }
  33%, 66%      { transform: scale(1); }
}
.l360-pulse { animation: l360-pulse 2.4s var(--l360-ease-inout) infinite; transform-origin: center; }

/* Szanuj preferencje użytkownika */
@media (prefers-reduced-motion: reduce) {
  .l360-marquee__track { animation: none; }
  .l360-reveal { opacity: 1; transform: none; transition: none; }
  .l360-pulse { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* --------------------------------------------------------------------------
   15. POMOCNICZE / ELEMENTOR
   -------------------------------------------------------------------------- */
/* Obraz wypełniający wysokość kolumny (grid „obraz obok kart”) */
.l360-img-fill img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--l360-r-2xl);
  box-shadow: var(--l360-shadow-card);
}
.l360-img-plain img { border-radius: var(--l360-r-2xl); }

/* Sekcje o tle */
.l360-bg-soft  { background: var(--l360-brand-soft-40); }
.l360-bg-white { background: var(--l360-white); }
.l360-border-y { border-top: 1px solid var(--l360-border); border-bottom: 1px solid var(--l360-border); }
.l360-border-b { border-bottom: 1px solid var(--l360-border); }

/* Gradient hero */
.l360-hero-grad {
  background: linear-gradient(to bottom right,
              var(--l360-brand-soft) 0%, var(--l360-white) 50%, var(--l360-white) 100%);
}

/* Elementor: usuń domyślny margines nagłówków w widgetach */
.elementor-widget-heading .elementor-heading-title { margin: 0; }

/* Elementor Container – domyślna szerokość treści zgodna z max-w-7xl */
.e-con.l360-container > .e-con-inner { max-width: var(--l360-container); }

/* Ikony inline w tekście */
.l360-icon { display: inline-block; vertical-align: middle; width: 1em; height: 1em; }
