/* =====================================================================
   LITTLE FLOWERS — Żłobek Językowy w Krakowie
   Style własny — Mobile First, Premium Minimalizm
   Paleta: biel, ciepłe beże, jasne drewno, pastelowa zieleń
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. ZMIENNE / DESIGN TOKENS
   --------------------------------------------------------------------- */
:root {
  /* Kolory podstawowe */
  --lf-white: #ffffff;
  --lf-cream: #FCFAF6;
  --lf-beige-50: #F8F3EA;
  --lf-beige-100: #F1E9D9;
  --lf-beige-200: #E7DAC0;
  --lf-wood: #C9A876;
  --lf-wood-dark: #A9825A;
  --lf-green-50: #EFF3E9;
  --lf-green-100: #D9E4CD;
  --lf-green-300: #AECB9F;
  --lf-green-500: #86AB78;
  --lf-green-600: #6B9260;
  --lf-green-700: #557A4C;

  /* Tekst */
  --lf-text: #3B372E;
  --lf-text-soft: #6B6558;
  --lf-text-muted: #948C7C;

  /* Powierzchnie */
  --lf-surface: var(--lf-white);
  --lf-surface-alt: var(--lf-beige-50);

  /* Typografia */
  --lf-font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --lf-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Promienie / cienie */
  --lf-radius-sm: 10px;
  --lf-radius-md: 18px;
  --lf-radius-lg: 28px;
  --lf-radius-pill: 999px;
  --lf-shadow-sm: 0 4px 16px rgba(60, 50, 30, 0.06);
  --lf-shadow-md: 0 12px 32px rgba(60, 50, 30, 0.10);
  --lf-shadow-lg: 0 24px 60px rgba(60, 50, 30, 0.14);

  /* Przejścia */
  --lf-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Wysokość nawigacji (aktualizowana przez JS przy scrollu) */
  --lf-navbar-h: 84px;
}

/* ---------------------------------------------------------------------
   2. RESET / BAZA
   --------------------------------------------------------------------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--lf-font-body);
  color: var(--lf-text);
  background-color: var(--lf-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

img { max-width: 100%; height: auto; display: block; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--lf-font-heading);
  color: var(--lf-text);
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.container { max-width: 1240px; }

/* Skip link — dostępność klawiaturowa */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--lf-green-600);
  color: #fff;
  padding: 12px 20px;
  z-index: 2000;
  border-radius: 0 0 var(--lf-radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}

::selection { background: var(--lf-green-300); color: var(--lf-text); }

/* ---------------------------------------------------------------------
   3. WSPÓLNE ELEMENTY — EYEBROW, PRZYCISKI, SEKCJE
   --------------------------------------------------------------------- */
.lf-eyebrow {
  display: inline-block;
  font-family: var(--lf-font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lf-green-700);
  background: var(--lf-green-50);
  padding: 7px 18px;
  border-radius: var(--lf-radius-pill);
  margin-bottom: 18px;
}
.lf-eyebrow-dark { color: var(--lf-green-700); }

.lf-section {
  padding: 88px 0;
  background: var(--lf-surface);
  position: relative;
}
.lf-section-alt { background: var(--lf-surface-alt); }

.lf-section-header { max-width: 720px; margin: 0 auto 56px; }

.lf-section-title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 18px;
}
.lf-section-title-left { text-align: left; margin-bottom: 22px; }

.lf-section-lead {
  color: var(--lf-text-soft);
  font-size: 1.08rem;
  margin-bottom: 0;
}

/* Przyciski */
.lf-btn {
  font-family: var(--lf-font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 30px;
  border-radius: var(--lf-radius-pill);
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform var(--lf-transition), box-shadow var(--lf-transition), background var(--lf-transition), color var(--lf-transition), border-color var(--lf-transition);
  white-space: nowrap;
}
.lf-btn:active { transform: scale(0.97); }

.lf-btn-primary {
  background: var(--lf-green-600);
  color: #fff;
  box-shadow: 0 10px 24px rgba(107, 146, 96, 0.35);
}
.lf-btn-primary:hover {
  background: var(--lf-green-700);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(107, 146, 96, 0.42);
}

.lf-btn-outline {
  background: transparent;
  border-color: var(--lf-beige-200);
  color: var(--lf-text);
}
.lf-btn-outline:hover {
  background: var(--lf-beige-100);
  border-color: var(--lf-beige-200);
  transform: translateY(-3px);
}

.lf-btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  backdrop-filter: blur(6px);
}
.lf-btn-outline-light:hover {
  background: #fff;
  color: var(--lf-green-700);
  transform: translateY(-3px);
}

.lf-btn-lg { padding: 17px 38px; font-size: 1.05rem; }
.lf-btn-sm { padding: 10px 22px; font-size: 0.9rem; }

/* ---------------------------------------------------------------------
   4. NAWIGACJA
   --------------------------------------------------------------------- */
.lf-navbar {
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  box-shadow: var(--lf-shadow-sm);
  transition: background var(--lf-transition), padding var(--lf-transition), box-shadow var(--lf-transition);
  z-index: 1030;
}
.lf-navbar.lf-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: var(--lf-shadow-sm);
}
.lf-navbar-static {
  position: static;
  background: var(--lf-white);
  box-shadow: var(--lf-shadow-sm);
}

.lf-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--lf-font-heading);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--lf-text);
}
.lf-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lf-green-500);
  color: #fff;
  font-size: 1.1rem;
}

.lf-navbar .nav-link {
  font-weight: 500;
  color: var(--lf-text);
  padding: 10px 16px;
  border-radius: var(--lf-radius-pill);
  transition: background var(--lf-transition), color var(--lf-transition);
}
.lf-navbar .nav-link:hover,
.lf-navbar .nav-link:focus {
  background: var(--lf-green-50);
  color: var(--lf-green-700);
}

.lf-nav-actions { flex-wrap: wrap; }

.lf-nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--lf-text);
  padding: 10px 14px;
  border-radius: var(--lf-radius-pill);
  transition: color var(--lf-transition), background var(--lf-transition);
}
.lf-nav-phone i { color: var(--lf-green-600); }
.lf-nav-phone:hover { color: var(--lf-green-700); background: var(--lf-green-50); }

/* ---------------------------------------------------------------------
   5. HERO
   --------------------------------------------------------------------- */
.lf-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 100px;
  overflow: hidden;
}

.lf-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.lf-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lf-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43, 46, 33, 0.55) 0%, rgba(43, 46, 33, 0.45) 45%, rgba(38, 40, 28, 0.78) 100%);
}

.lf-hero-content { position: relative; z-index: 1; color: #fff; }

.lf-hero .lf-eyebrow {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(6px);
}

.lf-hero-title {
  color: #fff;
  font-size: clamp(2.3rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.lf-hero-title span { color: var(--lf-green-300); }

.lf-hero-subtitle {
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.lf-hero-text {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 auto 32px;
}

.lf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
}

.lf-hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
}
.lf-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}
.lf-trust-item i { color: var(--lf-green-300); }

.lf-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  animation: lf-bounce 2.2s infinite;
}
@keyframes lf-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------------------------------------------------------------------
   6. PASEK JĘZYKÓW
   --------------------------------------------------------------------- */
.lf-languages-strip {
  background: var(--lf-green-600);
  padding: 20px 0;
}
.lf-languages-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  color: #fff;
}
.lf-languages-label {
  font-family: var(--lf-font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.92;
}
.lf-language-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  padding: 8px 18px;
  border-radius: var(--lf-radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--lf-transition), transform var(--lf-transition);
}
.lf-language-chip:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------------
   7. DLACZEGO MY — KARTY FUNKCJI
   --------------------------------------------------------------------- */
.lf-feature-card {
  background: var(--lf-white);
  border: 1px solid var(--lf-beige-100);
  border-radius: var(--lf-radius-md);
  padding: 38px 30px;
  height: 100%;
  transition: transform var(--lf-transition), box-shadow var(--lf-transition), border-color var(--lf-transition);
}
.lf-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--lf-shadow-md);
  border-color: transparent;
}
.lf-feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--lf-green-50);
  color: var(--lf-green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  transition: background var(--lf-transition), color var(--lf-transition), transform var(--lf-transition);
}
.lf-feature-card:hover .lf-feature-icon {
  background: var(--lf-green-600);
  color: #fff;
  transform: rotate(-6deg) scale(1.06);
}
.lf-feature-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.lf-feature-card p { color: var(--lf-text-soft); font-size: 0.96rem; margin-bottom: 0; }

/* ---------------------------------------------------------------------
   8. GALERIA / SWIPER / LIGHTBOX
   --------------------------------------------------------------------- */
.lf-gallery-wrap {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 54px;
}
.lf-gallery-swiper { padding: 6px 0 46px; }
.lf-gallery-swiper .swiper-slide { height: auto; }

.lf-gallery-item {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  border-radius: var(--lf-radius-md);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  background: var(--lf-beige-50);
}
.lf-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.lf-gallery-item:hover img { transform: scale(1.08); }

.lf-gallery-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 55, 46, 0.0);
  color: #fff;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity var(--lf-transition), background var(--lf-transition);
}
.lf-gallery-item:hover .lf-gallery-zoom {
  opacity: 1;
  background: rgba(59, 55, 46, 0.32);
}

.lf-swiper-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--lf-beige-200);
  background: #fff;
  color: var(--lf-text);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background var(--lf-transition), color var(--lf-transition), box-shadow var(--lf-transition);
  box-shadow: var(--lf-shadow-sm);
}
.lf-swiper-nav:hover { background: var(--lf-green-600); color: #fff; box-shadow: var(--lf-shadow-md); }
.lf-swiper-prev { left: 0; }
.lf-swiper-next { right: 0; }

.swiper-pagination-bullet { background: var(--lf-beige-200); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--lf-green-600); }

.lf-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(30, 28, 22, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--lf-transition);
  padding: 24px;
}
.lf-lightbox.is-active { opacity: 1; visibility: visible; }
.lf-lightbox img {
  max-width: 90vw;
  max-height: 86vh;
  border-radius: var(--lf-radius-sm);
  box-shadow: var(--lf-shadow-lg);
  transform: scale(0.94);
  transition: transform var(--lf-transition);
}
.lf-lightbox.is-active img { transform: scale(1); }
.lf-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--lf-transition);
}
.lf-lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }

/* ---------------------------------------------------------------------
   9. O NAS
   --------------------------------------------------------------------- */
.lf-about-image {
  position: relative;
  border-radius: var(--lf-radius-lg);
  overflow: hidden;
  box-shadow: var(--lf-shadow-md);
}
.lf-about-image img { aspect-ratio: 5/6; object-fit: cover; }

.lf-about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-radius: var(--lf-radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--lf-shadow-sm);
}
.lf-about-badge i { font-size: 1.5rem; color: var(--lf-green-600); }
.lf-about-badge strong { display: block; font-family: var(--lf-font-heading); font-size: 1.05rem; }
.lf-about-badge span { font-size: 0.85rem; color: var(--lf-text-soft); }

.lf-about-text { color: var(--lf-text-soft); font-size: 1.02rem; }

.lf-about-list { list-style: none; padding: 0; margin: 22px 0 30px; }
.lf-about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 500;
}
.lf-about-list i { color: var(--lf-green-600); margin-top: 3px; }

/* ---------------------------------------------------------------------
   10. PROGRAM DNIA — TIMELINE
   Uwaga: elementy ikon są zwykłymi elementami flex (bez position:absolute
   z ujemnym "left"), dzięki czemu nigdy nie wystają poza kontener,
   niezależnie od szerokości ekranu.
   --------------------------------------------------------------------- */
.lf-timeline {
  --tl-time-w: 52px;
  --tl-gap: 14px;
  --tl-icon: 40px;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.lf-timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--tl-gap);
  padding-bottom: 38px;
}
.lf-timeline-item:last-child { padding-bottom: 0; }

/* Kreskowana linia łącząca ikony — wyliczana względem tych samych
   zmiennych, więc zawsze trafia w środek kółka ikony */
.lf-timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: calc(var(--tl-icon) + 6px);
  bottom: -22px;
  left: calc(var(--tl-time-w) + var(--tl-gap) + (var(--tl-icon) / 2));
  border-left: 2px dashed var(--lf-beige-200);
}

.lf-timeline-icon {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: var(--tl-icon);
  height: var(--tl-icon);
  border-radius: 50%;
  background: var(--lf-green-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 0 0 6px var(--lf-surface-alt);
}

.lf-timeline-time {
  flex-shrink: 0;
  width: var(--tl-time-w);
  padding-top: 9px;
  font-family: var(--lf-font-heading);
  font-weight: 700;
  color: var(--lf-green-700);
  font-size: 1.02rem;
  text-align: right;
}

.lf-timeline-content { flex: 1 1 auto; min-width: 0; padding-top: 6px; }
.lf-timeline-content h3 { font-size: 1.08rem; margin-bottom: 4px; }
.lf-timeline-content p { color: var(--lf-text-soft); font-size: 0.94rem; margin-bottom: 0; }

@media (max-width: 575.98px) {
  .lf-timeline {
    --tl-time-w: 40px;
    --tl-gap: 10px;
    --tl-icon: 32px;
  }
  .lf-timeline-time { font-size: 0.85rem; padding-top: 7px; }
  .lf-timeline-icon { font-size: 0.85rem; box-shadow: 0 0 0 4px var(--lf-surface-alt); }
  .lf-timeline-content h3 { font-size: 1rem; }
  .lf-timeline-content p { font-size: 0.88rem; }
}

/* ---------------------------------------------------------------------
   11. DOTACJA
   --------------------------------------------------------------------- */
.lf-dotacja {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.lf-dotacja-bg { position: absolute; inset: 0; z-index: 0; }
.lf-dotacja-bg img { width: 100%; height: 100%; object-fit: cover; }
.lf-dotacja-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(85, 122, 76, 0.92), rgba(60, 90, 54, 0.9));
}
.lf-dotacja .container { position: relative; z-index: 1; }

.lf-dotacja-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 8px 20px;
  border-radius: var(--lf-radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.lf-dotacja-title {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 18px;
}
.lf-dotacja-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  margin-bottom: 32px;
}
.lf-dotacja-text strong { color: #fff; }

/* ---------------------------------------------------------------------
   12. OPINIE / TESTIMONIALS
   --------------------------------------------------------------------- */
.lf-testimonials-wrap { max-width: 1300px; margin: 0 auto; padding: 0 20px; }
.lf-testimonials-swiper { padding: 6px 0 50px; }
.lf-testimonials-swiper .swiper-slide { height: auto; }

.lf-testimonial-card {
  background: var(--lf-surface-alt);
  border-radius: var(--lf-radius-md);
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--lf-transition), box-shadow var(--lf-transition);
}
.lf-testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--lf-shadow-md); }
.lf-stars { color: #E9A85F; font-size: 1.05rem; letter-spacing: 3px; margin-bottom: 14px; }
.lf-testimonial-card p {
  font-size: 0.98rem;
  color: var(--lf-text);
  flex-grow: 1;
  margin-bottom: 18px;
}
.lf-testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--lf-font-heading);
  font-weight: 600;
  color: var(--lf-green-700);
}
.lf-testimonial-author i { font-size: 1.5rem; color: var(--lf-green-300); }

/* ---------------------------------------------------------------------
   13. FAQ / AKORDEON
   --------------------------------------------------------------------- */
.lf-accordion .accordion-item {
  border: none;
  border-radius: var(--lf-radius-md) !important;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--lf-white);
  box-shadow: var(--lf-shadow-sm);
}
.lf-accordion .accordion-button {
  font-family: var(--lf-font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--lf-text);
  background: var(--lf-white);
  padding: 22px 26px;
  box-shadow: none !important;
}
.lf-accordion .accordion-button:not(.collapsed) {
  color: var(--lf-green-700);
  background: var(--lf-green-50);
}
.lf-accordion .accordion-button::after {
  filter: none;
  background-size: 1.1rem;
}
.lf-accordion .accordion-body {
  padding: 4px 26px 24px;
  color: var(--lf-text-soft);
  font-size: 0.98rem;
}

/* ---------------------------------------------------------------------
   14. FORMULARZ
   --------------------------------------------------------------------- */
.lf-form-section { background: var(--lf-surface-alt); }

.lf-form-card {
  background: var(--lf-white);
  border-radius: var(--lf-radius-lg);
  box-shadow: var(--lf-shadow-lg);
  overflow: hidden;
}

.lf-form-side {
  background: linear-gradient(160deg, var(--lf-green-700), var(--lf-green-600));
  color: #fff;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lf-form-side .lf-eyebrow { background: rgba(255, 255, 255, 0.16); color: #fff; }
.lf-form-side h2 { color: #fff; font-size: 1.7rem; margin-bottom: 16px; }
.lf-form-side p { color: rgba(255, 255, 255, 0.88); margin-bottom: 22px; }

.lf-form-benefits { list-style: none; padding: 0; margin: 0 0 28px; }
.lf-form-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 0.95rem;
}
.lf-form-benefits i { color: var(--lf-green-300); }

.lf-form-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.lf-form-phone i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.lf-form-phone span { display: block; font-size: 0.82rem; color: rgba(255, 255, 255, 0.75); }
.lf-form-phone a { font-family: var(--lf-font-heading); font-weight: 700; font-size: 1.15rem; color: #fff; }
.lf-form-phone a:hover { text-decoration: underline; }

.lf-form { padding: 48px 40px; }

.lf-form .form-label {
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 8px;
  color: var(--lf-text);
}

.lf-input-group {
  position: relative;
  display: flex;
  align-items: center;
}
.lf-input-group i {
  position: absolute;
  left: 18px;
  color: var(--lf-text-muted);
  font-size: 0.95rem;
}
.lf-input-group .form-control {
  padding: 14px 18px 14px 46px;
  border-radius: var(--lf-radius-sm);
  border: 1.5px solid var(--lf-beige-200);
  background: var(--lf-surface-alt);
  font-size: 0.98rem;
  transition: border-color var(--lf-transition), box-shadow var(--lf-transition), background var(--lf-transition);
}
.lf-input-group .form-control:focus {
  border-color: var(--lf-green-500);
  box-shadow: 0 0 0 4px var(--lf-green-50);
  background: #fff;
}

.lf-form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 0;
}
.lf-form-check .form-check-input {
  margin-top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border-color: var(--lf-beige-200);
  flex-shrink: 0;
}
.lf-form-check .form-check-input:checked {
  background-color: var(--lf-green-600);
  border-color: var(--lf-green-600);
}
.lf-form-check .form-check-label {
  font-size: 0.92rem;
  color: var(--lf-text-soft);
}

.lf-form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--lf-text-muted);
  margin-top: 16px;
}

.form-control.is-invalid { border-color: #d9765a; }
.form-check-input.is-invalid { border-color: #d9765a; }

/* ---------------------------------------------------------------------
   15. KONTAKT
   --------------------------------------------------------------------- */
.lf-contact-card {
  background: var(--lf-surface-alt);
  border-radius: var(--lf-radius-lg);
  padding: 40px 34px;
  height: 100%;
}
.lf-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 26px;
}
.lf-contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--lf-white);
  color: var(--lf-green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: var(--lf-shadow-sm);
}
.lf-contact-row h3 { font-size: 1.02rem; margin-bottom: 4px; }
.lf-contact-row p { color: var(--lf-text-soft); margin-bottom: 0; }
.lf-contact-row a { color: var(--lf-green-700); font-weight: 600; }
.lf-contact-row a:hover { text-decoration: underline; }

.lf-contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

.lf-map-wrap {
  border-radius: var(--lf-radius-lg);
  overflow: hidden;
  box-shadow: var(--lf-shadow-md);
  min-height: 340px;
  height: 100%;
}

/* ---------------------------------------------------------------------
   16. CTA KOŃCOWE
   --------------------------------------------------------------------- */
.lf-final-cta {
  background: linear-gradient(160deg, var(--lf-beige-100), var(--lf-beige-50));
  padding: 80px 0;
  text-align: center;
}
.lf-final-cta h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); margin-bottom: 14px; }
.lf-final-cta p { color: var(--lf-text-soft); max-width: 560px; margin: 0 auto 30px; }

/* ---------------------------------------------------------------------
   17. STOPKA
   --------------------------------------------------------------------- */
.lf-footer {
  background: #2E3226;
  color: rgba(255, 255, 255, 0.78);
  padding: 72px 0 26px;
}
.lf-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
}
.lf-footer-brand { margin-bottom: 16px; color: #fff; }
.lf-footer-brand .lf-brand-icon { background: var(--lf-green-500); }
.lf-footer-text { font-size: 0.92rem; color: rgba(255, 255, 255, 0.62); }

.lf-footer-social { display: flex; gap: 12px; margin-top: 18px; }
.lf-footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--lf-transition), transform var(--lf-transition);
}
.lf-footer-social a:hover { background: var(--lf-green-500); transform: translateY(-3px); }

.lf-footer-links { list-style: none; padding: 0; margin: 0; font-size: 0.92rem; }
.lf-footer-links li { margin-bottom: 12px; color: rgba(255, 255, 255, 0.62); display: flex; gap: 8px; align-items: flex-start; }
.lf-footer-links a { color: rgba(255, 255, 255, 0.78); transition: color var(--lf-transition); }
.lf-footer-links a:hover { color: var(--lf-green-300); }

.lf-footer-divider { border-color: rgba(255, 255, 255, 0.12); margin: 36px 0 22px; }

.lf-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.lf-footer-bottom a { color: rgba(255, 255, 255, 0.75); }
.lf-footer-bottom a:hover { color: var(--lf-green-300); text-decoration: underline; }
.lf-footer-bottom-center { justify-content: center; gap: 20px; }

.lf-footer-simple { padding: 40px 0; }

/* ---------------------------------------------------------------------
   18. STICKY MOBILE CTA BAR
   --------------------------------------------------------------------- */
.lf-mobile-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 -8px 24px rgba(60, 50, 30, 0.12);
}
.lf-mobile-sticky-btn {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 13px 8px;
  border-radius: var(--lf-radius-pill);
  font-family: var(--lf-font-heading);
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1.15;
  transition: transform var(--lf-transition), box-shadow var(--lf-transition);
}
.lf-mobile-sticky-btn i { flex-shrink: 0; }

@media (max-width: 360px) {
  .lf-mobile-sticky-btn { font-size: 0.78rem; padding: 12px 6px; gap: 5px; }
}
.lf-mobile-sticky-btn:active { transform: scale(0.96); }
.lf-mobile-sticky-call {
  background: var(--lf-beige-100);
  color: var(--lf-text);
}
.lf-mobile-sticky-signup {
  background: var(--lf-green-600);
  color: #fff;
  box-shadow: 0 8px 18px rgba(107, 146, 96, 0.35);
}

@media (min-width: 992px) {
  .lf-mobile-sticky-bar { display: none; }
}

/* ---------------------------------------------------------------------
   19. PŁYWAJĄCY PRZYCISK KONTAKTU
   --------------------------------------------------------------------- */
.lf-floating-contact {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 1035;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--lf-green-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: var(--lf-shadow-lg);
  transition: transform var(--lf-transition), background var(--lf-transition);
}
.lf-floating-contact:hover { background: var(--lf-green-700); transform: scale(1.08); }

.lf-floating-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--lf-green-600);
  opacity: 0.55;
  animation: lf-pulse 2.2s infinite;
  z-index: -1;
}
@keyframes lf-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

@media (min-width: 992px) {
  .lf-floating-contact { bottom: 30px; }
}

/* ---------------------------------------------------------------------
   20. POWRÓT NA GÓRĘ
   --------------------------------------------------------------------- */
.lf-back-to-top {
  position: fixed;
  right: 22px;
  bottom: 160px;
  z-index: 1034;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--lf-beige-200);
  background: #fff;
  color: var(--lf-text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--lf-shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--lf-transition), transform var(--lf-transition), background var(--lf-transition), visibility var(--lf-transition);
}
.lf-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.lf-back-to-top:hover { background: var(--lf-green-600); color: #fff; }

@media (min-width: 992px) {
  .lf-back-to-top { bottom: 96px; }
}

/* ---------------------------------------------------------------------
   21. STRONA "DZIĘKUJEMY"
   --------------------------------------------------------------------- */
.lf-thankyou-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--lf-beige-50), var(--lf-green-50));
  padding: 24px;
}
.lf-thankyou-wrap { width: 100%; max-width: 620px; }
.lf-thankyou-card {
  background: #fff;
  border-radius: var(--lf-radius-lg);
  box-shadow: var(--lf-shadow-lg);
  padding: 56px 40px;
  text-align: center;
}
.lf-thankyou-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--lf-green-50);
  color: var(--lf-green-600);
  font-size: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  animation: lf-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes lf-pop {
  0% { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.lf-thankyou-card h1 { font-size: clamp(1.9rem, 5vw, 2.5rem); margin-bottom: 16px; }
.lf-thankyou-card p { color: var(--lf-text-soft); font-size: 1.05rem; margin-bottom: 30px; }
.lf-thankyou-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 34px;
}
.lf-thankyou-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--lf-text-muted);
  padding-top: 24px;
  border-top: 1px solid var(--lf-beige-100);
}
.lf-thankyou-brand .lf-brand-icon { width: 32px; height: 32px; font-size: 0.9rem; }

/* ---------------------------------------------------------------------
   22. STRONA PRAWNA (POLITYKA PRYWATNOŚCI)
   --------------------------------------------------------------------- */
.lf-legal { padding-top: 140px; }
.lf-legal h2 { font-size: 1.25rem; margin-top: 34px; margin-bottom: 12px; }
.lf-legal p { color: var(--lf-text-soft); }
.lf-legal-updated { color: var(--lf-text-muted); font-size: 0.9rem; margin-bottom: 30px; }

/* ---------------------------------------------------------------------
   23. RESPONSYWNOŚĆ — TABLET / DESKTOP
   --------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    margin-top: 16px;
    padding: 20px;
    border-radius: var(--lf-radius-md);
    box-shadow: var(--lf-shadow-md);
  }
  .lf-form-side { padding: 40px 32px; }
  .lf-form { padding: 40px 32px; }
}

@media (max-width: 767.98px) {
  .lf-section { padding: 64px 0; }
  .lf-hero { padding: 130px 0 90px; min-height: 92vh; }
  .lf-gallery-wrap { padding: 0 8px; }
  .lf-swiper-nav { display: none; }
  .lf-timeline { --tl-time-w: 44px; --tl-gap: 12px; --tl-icon: 34px; }
  .lf-contact-card { padding: 32px 24px; }
  .lf-form-side, .lf-form { padding: 34px 24px; }
  .lf-dotacja { padding: 72px 0; }
  body { padding-bottom: 74px; } /* miejsce na sticky bar mobilny */
}

@media (min-width: 992px) {
  .lf-hero-actions .lf-btn { min-width: 220px; }
}

/* ---------------------------------------------------------------------
   24. AOS — DOPRACOWANIE
   --------------------------------------------------------------------- */
[data-aos] { pointer-events: auto; }

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