/* =========================================================
   LIFTGO — main.css
   Paleta: pomarańcz f87600 + grafit + biały (industrial)
   Fonty: Oswald (display) + Inter (body)
   ========================================================= */

/* ---------- TOKENY ---------- */
:root {
  /* Kolory marki */
  --lg-primary: #f87600;
  --lg-primary-dark: #d65f00;
  --lg-primary-light: #ff8c1a;
  --lg-dark: #1a1a1a;
  --lg-graphite: #2b2e33;
  --lg-graphite-2: #3a3e45;
  --lg-muted: #6b7280;
  --lg-bg: #ffffff;
  --lg-bg-alt: #f5f5f7;
  --lg-bg-dark: #0f1013;
  --lg-border: #e5e7eb;
  --lg-line: #d9d9d9;
  --lg-accent-yellow: var(--lg-primary-light);

  /* Spacing */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.25rem; --s-6: 1.5rem; --s-8: 2rem; --s-10: 2.5rem;
  --s-12: 3rem; --s-16: 4rem; --s-20: 5rem; --s-24: 6rem;

  /* Sekcje (fluid) */
  --section-sm: clamp(2.5rem, 5vw, 3.5rem);
  --section-md: clamp(3rem, 6vw, 5rem);
  --section-lg: clamp(4rem, 8vw, 6rem);

  /* Typografia (fluid clamp) */
  --fs-h1: clamp(2rem, 1.6rem + 2vw, 3.25rem);
  --fs-h2: clamp(1.375rem, 1.2rem + 0.75vw, 1.875rem);
  --fs-h3: clamp(1.125rem, 1.05rem + 0.5vw, 1.5rem);
  --fs-h4: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-lead: clamp(1.025rem, 1rem + 0.15vw, 1.125rem);
  --fs-body: clamp(0.9375rem, 0.925rem + 0.06vw, 0.975rem);
  --fs-small: 0.8125rem;

  /* Fonty */
  --ff-display: "Oswald", "Arial Narrow", sans-serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Kontener */
  --container: 1280px;
  --container-narrow: 960px;
  --container-pad: clamp(1.25rem, 3vw, 3rem);

  /* Radius, shadows, ease */
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px; --r-xl: 20px;
  --sh-sm: 0 1px 3px rgba(0,0,0,0.08);
  --sh-md: 0 8px 24px rgba(0,0,0,0.08);
  --sh-lg: 0 20px 40px rgba(0,0,0,0.12);
  --sh-primary: 0 10px 30px -10px rgba(248,118,0,0.45);
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --dur: 220ms;

  /* Nagłówek */
  --header-h: 80px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--lg-dark);
  background: var(--lg-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--lg-primary); }
button { font: inherit; cursor: pointer; border: none; background: transparent; color: inherit; }
ul, ol { padding-left: 1.25rem; margin: 0 0 var(--s-4); }
p { margin: 0 0 var(--s-4); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--lg-dark);
  margin: 0 0 var(--s-5);
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); text-transform: none; font-weight: 600; }

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

/* ---------- LAYOUT ---------- */
.lg-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
.lg-container--narrow { max-width: var(--container-narrow); }
.lg-section { padding: var(--section-md) 0; }
.lg-section--sm { padding: var(--section-sm) 0; }
.lg-section--lg { padding: var(--section-lg) 0; }
.lg-section--alt { background: var(--lg-bg-alt); }
.lg-section--dark { background: var(--lg-bg-dark); color: #fff; }
.lg-section--dark h1, .lg-section--dark h2, .lg-section--dark h3, .lg-section--dark h4 { color: #fff; }
.lg-section--primary { background: var(--lg-primary); color: #fff; }
.lg-section--primary h1, .lg-section--primary h2, .lg-section--primary h3 { color: #fff; }

/* ---------- BUTTONS ---------- */
.lg-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.95rem 1.5rem;
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--r-md);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1.1;
}
.lg-btn svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.lg-btn--primary {
  background: var(--lg-primary);
  color: #fff;
  box-shadow: var(--sh-primary);
}
.lg-btn--primary:hover {
  background: var(--lg-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -8px rgba(248,118,0,0.55);
}
.lg-btn--primary:hover svg { transform: translateX(4px); }
.lg-btn--ghost {
  background: transparent;
  color: var(--lg-dark);
  border: 2px solid var(--lg-dark);
}
.lg-btn--ghost:hover { background: var(--lg-dark); color: #fff; }
.lg-btn--light {
  background: #fff;
  color: var(--lg-dark);
  box-shadow: var(--sh-md);
}
.lg-btn--light:hover { transform: translateY(-2px); background: var(--lg-primary); border-color: var(--lg-primary); color: #fff; }
.lg-btn--outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.lg-btn--outline-light:hover { background: #fff; color: var(--lg-dark); border-color: #fff; }
.lg-btn--lg { padding: 1.125rem 2rem; font-size: 1.0625rem; }

/* Telefon */
.lg-tel {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--lg-dark);
  text-transform: none;
  letter-spacing: 0.02em;
  transition: color var(--dur) var(--ease);
}
.lg-tel svg { color: var(--lg-primary); }
.lg-tel:hover { color: var(--lg-primary); }
.lg-tel--light { color: #fff; }
.lg-tel--light svg { color: var(--lg-primary-light); }

/* ---------- HEADER ---------- */
.lg-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.lg-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-bottom-color: var(--lg-border);
}
.lg-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  height: var(--header-h);
}
.lg-logo { display: inline-flex; align-items: center; }
.lg-logo img { height: 68px; width: auto; }
.lg-logo__text {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--lg-dark);
  letter-spacing: 0.03em;
}
.lg-logo__text span { color: var(--lg-primary); }

.lg-nav {
  display: flex;
  align-items: center;
  gap: var(--s-1);
}
.lg-nav__list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lg-nav__item { position: relative; }
.lg-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem 1.15rem;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--lg-dark);
  transition: color var(--dur) var(--ease);
  position: relative;
}
.lg-nav__link::after {
  content: "";
  position: absolute;
  left: 1.15rem; right: 1.15rem; bottom: 0.6rem;
  height: 2px;
  background: var(--lg-primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}
.lg-nav__link:hover,
.lg-nav__item.is-active > .lg-nav__link,
.lg-nav__item.current-menu-item > .lg-nav__link,
.lg-nav__item.current-menu-ancestor > .lg-nav__link {
  color: var(--lg-primary);
}
.lg-nav__link:hover::after,
.lg-nav__item.is-active > .lg-nav__link::after,
.lg-nav__item.current-menu-item > .lg-nav__link::after,
.lg-nav__item.current-menu-ancestor > .lg-nav__link::after {
  transform: scaleX(1);
}
.lg-nav__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--lg-border);
  border-radius: var(--r-md);
  padding: var(--s-2);
  box-shadow: var(--sh-lg);
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  z-index: 10;
}
.lg-nav__item:hover > .lg-nav__submenu,
.lg-nav__item:focus-within > .lg-nav__submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lg-nav__submenu .lg-nav__link {
  display: block;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  border-radius: var(--r-sm);
  text-transform: none;
  letter-spacing: 0;
}
.lg-nav__submenu .lg-nav__link:hover { background: var(--lg-bg-alt); }
.lg-nav__submenu .lg-nav__link::after { display: none; }

.lg-header__cta { display: flex; align-items: center; gap: var(--s-4); }
.lg-header__cta .lg-tel { font-size: 1rem; }

/* Hamburger */
.lg-hamburger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--lg-dark);
}
.lg-hamburger svg { width: 28px; height: 28px; }

/* Mobile overlay — legacy selectors (overridden by template alignment section) */

/* Body padding — header in flow (not fixed), no padding needed */

/* ---------- HERO (HOME) ---------- */
.lg-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--lg-bg-dark);
  color: #fff;
  padding: var(--s-16) 0 var(--s-20);
}
.lg-hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.lg-hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.55;
  filter: saturate(0.9);
}
.lg-hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(15,16,19,0.92) 0%, rgba(15,16,19,0.55) 55%, rgba(15,16,19,0.85) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(248,118,0,0.25) 0%, transparent 60%);
}
.lg-hero__bg::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 12px, rgba(248,118,0,0.04) 12px 14px);
  z-index: 1;
}
.lg-hero__inner {
  position: relative;
  z-index: 2;
}
.lg-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.45rem 0.9rem;
  background: rgba(248,118,0,0.15);
  border: 1px solid rgba(248,118,0,0.4);
  color: var(--lg-primary-light);
  border-radius: 999px;
  font-family: var(--ff-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--s-6);
}
.lg-hero__eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--lg-primary);
  border-radius: 50%;
}
.lg-hero h1:not(.lg-hero__heading) {
  color: #fff;
  font-size: clamp(2.5rem, 1.8rem + 3.5vw, 5.25rem);
  line-height: 0.98;
  margin-bottom: var(--s-5);
  font-weight: 700;
}
.lg-hero h1 .lg-hero__accent {
  display: block;
  color: var(--lg-primary);
  position: relative;
}
.lg-hero h1 .lg-hero__accent::after {
  content: "";
  display: inline-block;
  width: 0.6em; height: 0.1em;
  background: var(--lg-accent-yellow);
  vertical-align: middle;
  margin-left: 0.4em;
}
.lg-hero__lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin-bottom: var(--s-8);
}
.lg-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4) var(--s-6);
  margin-bottom: var(--s-10);
}
.lg-hero__tel-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-right: -var(--s-2);
}
/* hero trust — główne reguły w sekcji HERO HOME niżej */

/* Hero (inner pages) */
/* ---------- BREADCRUMBS ---------- */
.lg-breadcrumbs {
  background: var(--lg-bg-alt);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--lg-border);
  font-size: 0.875rem;
}
.lg-breadcrumbs ol {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  align-items: center;
}
.lg-breadcrumbs li + li::before {
  content: "›";
  margin-right: var(--s-2);
  color: var(--lg-muted);
}
.lg-breadcrumbs a { color: var(--lg-muted); }
.lg-breadcrumbs a:hover { color: var(--lg-primary); }
.lg-breadcrumbs li[aria-current] { color: var(--lg-dark); font-weight: 500; }

/* ---------- SECTION HEADINGS ---------- */
.lg-section__header {
  max-width: 800px;
  margin: 0 auto var(--s-10);
  text-align: center;
}
.lg-section__header--left { margin-left: 0; text-align: left; }
.lg-section__eyebrow {
  display: inline-block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--lg-primary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
  padding-left: 2.75rem;
  position: relative;
}
.lg-section__eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 34px; height: 2.5px;
  background: var(--lg-primary);
  transform: translateY(-50%);
}
.lg-section__header--left .lg-section__eyebrow { padding-left: 2.5rem; }
.lg-section__header--center .lg-section__eyebrow,
.lg-section__header .lg-section__eyebrow { display: inline-block; }
.lg-section__header h2 { margin-bottom: var(--s-3); }
.lg-section__lead {
  font-size: var(--fs-lead);
  color: var(--lg-muted);
  line-height: 1.6;
  margin: 0 auto;
}

/* ---------- USŁUGI (HOME) ---------- */
.lg-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-6);
}
.lg-service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--lg-border);
  border-radius: var(--r-lg);
  padding: clamp(1rem, 2vw, 1.5rem);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  min-height: 220px;
}
.lg-service-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background: var(--lg-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 360ms var(--ease);
}
.lg-service-card:hover {
  transform: translateY(-4px);
  border-color: var(--lg-primary);
  box-shadow: var(--sh-lg);
}
.lg-service-card:hover::before { transform: scaleY(1); }
.lg-service-card__icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  background: rgba(248,118,0,0.08);
  border: 1px solid rgba(248,118,0,0.2);
  color: var(--lg-primary);
  border-radius: var(--r-md);
  margin-bottom: var(--s-2);
}
.lg-service-card__icon svg { width: 24px; height: 24px; }
.lg-service-card h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: var(--s-2);
}
.lg-service-card p {
  color: var(--lg-muted);
  margin-bottom: var(--s-4);
  flex: 1;
}
.lg-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lg-dark);
  margin-top: auto;
}
.lg-service-card__link svg { transition: transform var(--dur) var(--ease); }
.lg-service-card:hover .lg-service-card__link { color: var(--lg-primary); }
.lg-service-card:hover .lg-service-card__link svg { transform: translateX(4px); }

/* ---------- O NAS ---------- */
.lg-about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-12);
  align-items: center;
}
.lg-about__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.lg-about__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.lg-about__media::after {
  content: "";
  position: absolute;
  right: -12px; bottom: -12px;
  width: 120px; height: 120px;
  background:
    repeating-linear-gradient(45deg, var(--lg-accent-yellow) 0 14px, var(--lg-dark) 14px 28px);
  border: 6px solid #fff;
  border-radius: var(--r-md);
  z-index: 2;
}
.lg-about__content h2 { margin-bottom: var(--s-5); }
.lg-about__content .lg-lead {
  font-size: var(--fs-lead);
  color: var(--lg-graphite);
  margin-bottom: var(--s-5);
}
.lg-about__atuty {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-8);
}
.lg-atut {
  text-align: left;
  padding: var(--s-4) 0;
  border-left: 3px solid var(--lg-primary);
  padding-left: var(--s-4);
}
.lg-atut__liczba {
  font-family: var(--ff-display);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--lg-primary);
  margin-bottom: var(--s-1);
  display: block;
}
.lg-atut__opis {
  font-size: 0.9375rem;
  color: var(--lg-muted);
  line-height: 1.4;
}

/* ---------- OBSZAR ---------- */
.lg-obszar { background: var(--lg-bg-alt); }

/* ---------- CTA BANNER ---------- */
.lg-cta {
  background: var(--lg-dark);
  position: relative;
  overflow: hidden;
  color: #fff;
}
.lg-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(248,118,0,0.35) 0%, transparent 50%),
    repeating-linear-gradient(45deg, transparent 0 30px, rgba(248,118,0,0.04) 30px 32px);
}
.lg-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-8);
  align-items: center;
}
.lg-cta h2 {
  color: #fff;
  margin-bottom: var(--s-3);
}
.lg-cta__text {
  font-size: var(--fs-lead);
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin: 0;
}
.lg-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  align-items: center;
}

/* ---------- PAGE CONTENT (podstrony) ---------- */
.lg-page-content {
  padding: 0;
}
.lg-section:has(.lg-page-content) {
  padding: var(--s-8) 0 var(--s-10);
}
.lg-lead {
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--lg-graphite);
  margin-bottom: var(--s-6);
  padding: var(--s-4) 0 var(--s-4) var(--s-5);
  border-left: 3px solid var(--lg-primary);
  background: linear-gradient(90deg, rgba(248,118,0,0.03) 0%, transparent 60%);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.lg-lead-sm {
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--lg-graphite);
  line-height: 1.65;
  margin-bottom: var(--s-3);
}
.lg-small-note {
  font-size: 0.8125rem;
  color: var(--lg-muted);
  margin-top: var(--s-6);
  padding: var(--s-3) var(--s-4);
  background: var(--lg-bg-alt);
  border-radius: var(--r-sm);
  border: 1px solid var(--lg-border);
  font-style: italic;
}
.lg-page-content h2 {
  margin-top: var(--s-10);
  margin-bottom: var(--s-4);
  padding: var(--s-3) 0 var(--s-2);
  border-bottom: 2px solid var(--lg-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-h3);
}
.lg-page-content h2::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--lg-primary);
  border-radius: 50%;
  flex-shrink: 0;
}
.lg-page-content h2:first-child { margin-top: 0; }
.lg-page-content h3 {
  color: var(--lg-primary);
  margin-top: var(--s-6);
  margin-bottom: var(--s-3);
  font-size: 1.125rem;
}
.lg-page-content h4 {
  font-family: var(--ff-display);
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: var(--s-6);
  margin-bottom: var(--s-3);
  color: var(--lg-dark);
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.lg-page-content h4::before {
  content: "";
  width: 20px; height: 2px;
  background: var(--lg-primary);
  flex-shrink: 0;
}
.lg-page-content p {
  max-width: none;
  line-height: 1.7;
  color: var(--lg-graphite);
}
.lg-page-content ul {
  list-style: none;
  padding: 0;
  margin: var(--s-4) 0 var(--s-6);
}
.lg-page-content ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: var(--s-3);
  line-height: 1.65;
  color: var(--lg-graphite);
}
.lg-page-content ul li::before {
  content: "";
  position: absolute;
  left: 0.25rem; top: 0.55em;
  width: 7px; height: 7px;
  background: var(--lg-primary);
  border-radius: 50%;
}

/* Lista "feature" — podstrony */
.lg-feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-4);
  list-style: none !important;
  padding: 0 !important;
  margin: var(--s-5) 0 var(--s-6) !important;
  counter-reset: feature;
}
.lg-feature-list li {
  padding: var(--s-4) var(--s-5) var(--s-4) calc(var(--s-5) + 6px) !important;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-left: 4px solid var(--lg-primary);
  border-radius: var(--r-md);
  position: relative;
  margin: 0 !important;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--lg-graphite);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.02);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
  overflow: hidden;
}
.lg-feature-list li::after {
  content: "";
  position: absolute;
  bottom: 0; left: -4px; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lg-primary), transparent 80%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.lg-feature-list li:hover {
  box-shadow: 0 4px 16px rgba(248,118,0,0.1), 0 8px 28px rgba(0,0,0,0.06);
  transform: translateY(-2px);
  border-left-color: var(--lg-primary-light);
}
.lg-feature-list li:hover::after { opacity: 1; }
.lg-feature-list li::before { content: none !important; }
.lg-feature-list li strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--lg-dark);
  margin-bottom: var(--s-1);
}
.lg-feature-list li strong:not(:only-child) {
  padding-bottom: var(--s-2);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.lg-feature-list--check li {
  padding-left: calc(var(--s-5) + 2rem) !important;
  border-left-color: transparent;
  border-top: 1px solid rgba(248,118,0,0.12);
  background: linear-gradient(135deg, #fff 0%, rgba(248,118,0,0.03) 100%);
}
.lg-feature-list--check li::before {
  content: "" !important;
  position: absolute !important;
  left: calc(var(--s-5) + 0.25rem) !important;
  top: 1.5rem !important;
  width: 7px !important; height: 7px !important;
  background: var(--lg-primary) !important;
  border-radius: 50% !important;
  border: 0 !important;
  mask: none !important;
  -webkit-mask: none !important;
}

/* Box "kluczowy" */
.lg-info-box {
  background: linear-gradient(135deg, var(--lg-dark) 0%, var(--lg-graphite) 100%);
  color: #fff;
  padding: var(--s-6) var(--s-8) var(--s-6) calc(var(--s-8) + 4px);
  border-radius: var(--r-lg);
  margin: var(--s-8) 0;
  position: relative;
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 1.65;
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 4px solid var(--lg-primary);
}
.lg-info-box::before {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(248,118,0,0.18) 0%, transparent 70%);
}
.lg-info-box h4 { color: var(--lg-primary-light); margin-top: 0; font-size: 0.9375rem; font-weight: 700; }
.lg-info-box h4::before { display: none; }
.lg-info-box h3 { color: var(--lg-primary-light); margin-top: 0; font-size: 1rem; }
.lg-info-box p { color: rgba(255,255,255,0.88); max-width: none; margin-bottom: var(--s-3); font-size: 0.875rem; }
.lg-info-box p:last-child { margin-bottom: 0; }
.lg-info-box ul li { color: rgba(255,255,255,0.9); }
.lg-info-box ul li::before { background: var(--lg-primary-light); }

/* ---------- CTA INLINE (podstrony) ---------- */
.lg-cta-inline {
  background: linear-gradient(135deg, var(--lg-dark) 0%, var(--lg-graphite) 100%);
  color: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--s-10) 0;
}
.lg-cta-inline::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(248,118,0,0.25) 0%, transparent 55%),
    repeating-linear-gradient(45deg, transparent 0 50px, rgba(248,118,0,0.04) 50px 52px);
}
.lg-cta-inline__box {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-8);
  align-items: center;
  justify-content: space-between;
}
.lg-cta-inline__title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.15;
  color: #fff;
  margin: 0 0 var(--s-2);
  letter-spacing: -0.01em;
}
.lg-cta-inline__text {
  font-size: var(--fs-body);
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
  margin: 0;
  max-width: 540px;
}
.lg-cta-inline__actions {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: stretch;
}
@media (max-width: 700px) {
  .lg-cta-inline__box { flex-direction: column; text-align: center; align-items: stretch; }
  .lg-cta-inline__actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

.lg-price-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-4);
  margin: var(--s-6) 0;
}
.lg-price-item {
  background: #fff;
  border: 1px solid var(--lg-border);
  border-top: 4px solid var(--lg-primary);
  padding: var(--s-6);
  border-radius: var(--r-md);
  text-align: left;
}
.lg-price-item__label {
  font-size: 0.875rem;
  color: var(--lg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--s-2);
  font-family: var(--ff-display);
}
.lg-price-item__value {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lg-dark);
}
.lg-price-item__value .lg-small {
  font-size: 0.875rem;
  color: var(--lg-muted);
  font-weight: 400;
  font-family: var(--ff-body);
}
.lg-price-item__sub {
  font-size: 0.875rem;
  color: var(--lg-muted);
  margin-top: var(--s-2);
}

.lg-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-4) var(--s-5);
  background: #fff;
  border-left: 4px solid var(--lg-primary);
  border-radius: var(--r-md);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.lg-price-row + .lg-price-row { margin-top: var(--s-2); }
.lg-price-row:hover {
  box-shadow: 0 4px 12px rgba(248,118,0,0.08);
  transform: translateX(2px);
}
.lg-price-row__label {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--lg-dark);
}
.lg-price-row__value {
  font-size: 0.875rem;
  color: var(--lg-muted);
  text-align: right;
  white-space: nowrap;
}
.lg-price-row__value strong {
  font-family: var(--ff-display);
  font-size: 1.125rem;
  color: var(--lg-primary);
}
@media (max-width: 600px) {
  .lg-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-1);
  }
  .lg-price-row__value { text-align: left; }
}

/* Pod-sekcje z obrazkiem side-by-side */
.lg-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-10);
  align-items: center;
  margin: var(--s-10) 0;
}
.lg-split--reverse { direction: rtl; }
.lg-split--reverse > * { direction: ltr; }
.lg-split__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.lg-split__media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

/* Steps */
.lg-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-5);
  list-style: none !important;
  padding: 0 !important;
  margin: var(--s-5) 0 var(--s-6) !important;
}
.lg-steps li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-5) !important;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-md);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 6px 20px rgba(0,0,0,0.03);
  margin: 0 !important;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.lg-steps li::before { content: none !important; }
.lg-steps li:hover {
  box-shadow: 0 4px 16px rgba(248,118,0,0.1), 0 8px 28px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.lg-steps__num {
  flex-shrink: 0;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  background: var(--lg-primary);
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50%;
  line-height: 1;
}
.lg-steps li h4 {
  font-family: var(--ff-display);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 var(--s-1);
  color: var(--lg-dark);
}
.lg-steps li h4::before { display: none; }
.lg-steps li p {
  font-size: 0.8125rem;
  color: var(--lg-muted);
  margin: 0;
  line-height: 1.55;
}

/* ---------- GALERIA REALIZACJI ---------- */
.lg-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-4);
}
.lg-gallery__item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--r-md);
  cursor: pointer;
  background: var(--lg-bg-alt);
}
.lg-gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease);
}
.lg-gallery__item:hover img { transform: scale(1.06); }
.lg-gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent 50%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.lg-gallery__item:hover::after { opacity: 1; }

/* Lightbox */
/* ---------- KONTAKT ---------- */
.lg-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-12);
  align-items: start;
}
.lg-contact__heading {
  font-family: var(--ff-display);
  font-size: var(--fs-h3);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 var(--s-4);
  padding-bottom: var(--s-2);
  border-bottom: 3px solid var(--lg-primary);
  display: inline-block;
}
.lg-contact__company {
  font-size: 1.125rem;
  margin-bottom: var(--s-3);
}
.lg-contact__address {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  line-height: 1.6;
}
.lg-contact__address svg {
  flex-shrink: 0;
  color: var(--lg-primary);
  margin-top: 0.2em;
}
.lg-contact__list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.lg-contact__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-top: 1px solid var(--lg-border);
  position: relative;
}
.lg-contact__list li::before { content: none !important; }
.lg-contact__list li svg {
  flex-shrink: 0;
  color: var(--lg-primary);
  margin-top: 0.15em;
}
.lg-contact__list li a {
  color: var(--lg-dark);
  font-weight: 600;
  font-family: var(--ff-display);
  font-size: 1.0625rem;
}
.lg-contact__list li a:hover { color: var(--lg-primary); }
.lg-contact__list li small {
  display: block;
  font-size: 0.8125rem;
  color: var(--lg-muted);
  margin-top: var(--s-1);
}
.lg-contact__lead {
  color: var(--lg-muted);
  margin-bottom: var(--s-5);
}

/* FORMULARZ */
.lg-form {
  background: #fff;
  border: 1px solid var(--lg-border);
  border-radius: var(--r-lg);
  padding: var(--s-8);
  box-shadow: var(--sh-md);
}
.lg-form__row { margin-bottom: var(--s-4); }
.lg-form__row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
.lg-form__field { display: block; }
.lg-form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--s-2);
  color: var(--lg-graphite);
}
.lg-form input[type="text"],
.lg-form input[type="email"],
.lg-form input[type="tel"],
.lg-form select,
.lg-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  background: var(--lg-bg-alt);
  border: 1.5px solid var(--lg-border);
  border-radius: var(--r-md);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  color: var(--lg-dark);
}
.lg-form input:focus,
.lg-form select:focus,
.lg-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--lg-primary);
  box-shadow: 0 0 0 4px rgba(248,118,0,0.12);
}
.lg-form textarea { min-height: 140px; resize: vertical; }
.lg-form__hp { position: absolute; left: -10000px; opacity: 0; pointer-events: none; }
.lg-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: 0.8125rem;
  color: var(--lg-muted);
  line-height: 1.5;
  cursor: pointer;
  margin-bottom: var(--s-4);
}
.lg-form__checkbox input { margin-top: 0.2rem; width: 18px; height: 18px; accent-color: var(--lg-primary); flex-shrink: 0; }
.lg-form__checkbox a { color: var(--lg-primary); text-decoration: underline; }
.lg-form__submit { margin-top: var(--s-4); }
.lg-form__submit button { width: 100%; justify-content: center; }
.lg-form__message {
  padding: var(--s-4);
  border-radius: var(--r-md);
  margin-top: var(--s-4);
  font-size: 0.9375rem;
  display: none;
}
.lg-form__message.is-visible { display: block; }
.lg-form__message--ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.lg-form__message--err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* MAPA */
.lg-section--flat { padding: 0; }
.lg-map {
  width: 100%;
  height: 400px;
  position: relative;
}
.lg-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .lg-contact__grid {
    grid-template-columns: 1fr;
    gap: var(--s-8);
  }
  .lg-form__row--2 { grid-template-columns: 1fr; }
}

/* ---------- FOOTER ---------- */
.lg-footer {
  background: var(--lg-bg-dark);
  color: rgba(255,255,255,0.8);
  padding: var(--s-16) 0 var(--s-8);
}
.lg-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s-8);
  margin-bottom: var(--s-10);
}
.lg-footer__brand img { height: 72px; width: auto; margin-bottom: var(--s-4); filter: brightness(0) invert(1); }
.lg-footer__brand .lg-logo__text { color: #fff; font-size: 2rem; }
.lg-footer__brand p { color: rgba(255,255,255,0.65); font-size: 0.9375rem; }
.lg-footer h4 {
  font-family: var(--ff-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--lg-primary);
  margin-bottom: var(--s-4);
}
.lg-footer ul { list-style: none; padding: 0; margin: 0; }
.lg-footer ul li { margin-bottom: var(--s-2); }
.lg-footer ul a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9375rem;
  transition: color var(--dur) var(--ease), padding var(--dur) var(--ease);
}
.lg-footer ul a:hover { color: var(--lg-primary); padding-left: 4px; }
.lg-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
  color: rgba(255,255,255,0.75);
  font-size: 0.9375rem;
}
.lg-footer__contact svg { flex: 0 0 18px; color: var(--lg-primary); margin-top: 3px; }
.lg-footer__social {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-4);
}
.lg-footer__social a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-radius: 50%;
  transition: all var(--dur) var(--ease);
}
.lg-footer__social a:hover { background: var(--lg-primary); transform: translateY(-2px); }
.lg-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--s-6);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}
.lg-footer__bottom a { color: var(--lg-primary-light); }
.lg-footer__bottom a:hover { color: #fff; }
.lg-footer__oc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: var(--s-3);
}

/* Floating tel CTA */
.lg-floating-cta {
  position: fixed;
  right: var(--s-5); bottom: var(--s-5);
  z-index: 70;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  width: 56px; height: 56px;
  justify-content: center;
  background: var(--lg-primary);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 28px rgba(248,118,0,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 300ms var(--ease);
}
.lg-floating-cta.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.lg-floating-cta:hover { background: var(--lg-primary-dark); color: #fff; transform: translateY(-3px); }
.lg-floating-cta svg { width: 22px; height: 22px; }
.lg-floating-cta span { display: none; }

/* Scroll to top */
.lg-scroll-top {
  position: fixed;
  right: var(--s-5); bottom: calc(var(--s-5) + 68px);
  width: 48px; height: 48px;
  background: var(--lg-dark);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--sh-lg);
  z-index: 49;
  opacity: 0;
  visibility: hidden;
  transition: all 250ms var(--ease);
}
.lg-scroll-top.is-visible { opacity: 1; visibility: visible; }
.lg-scroll-top:hover { background: var(--lg-primary); color: #fff; transform: translateY(-2px); }
.lg-scroll-top svg { transform: rotate(-90deg); }

/* Cookies */
.lg-cookies {
  position: fixed;
  bottom: var(--s-3);
  left: var(--s-3); right: var(--s-3);
  max-width: 440px;
  background: #fff;
  border: 1px solid var(--lg-border);
  border-left: 3px solid var(--lg-primary);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  z-index: 60;
  font-size: 0.8125rem;
  line-height: 1.5;
  transform: translateY(calc(100% + 20px));
  transition: transform 300ms var(--ease);
}
.lg-cookies.is-visible { transform: translateY(0); }
.lg-cookies p { margin: 0 0 var(--s-2); color: var(--lg-graphite); }
.lg-cookies__actions { display: flex; gap: var(--s-2); align-items: center; }
.lg-cookies .lg-btn { font-size: 0.75rem; padding: 0.5rem 1rem; }

/* Preloader */
.lg-preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: grid;
  place-items: center;
  transition: opacity 380ms var(--ease), visibility 380ms;
}
.lg-preloader.is-hidden { opacity: 0; visibility: hidden; }
.lg-preloader__logo {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.04em;
  animation: pulse 1.2s ease-in-out infinite;
}
.lg-preloader__logo span { color: var(--lg-primary); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Animacje scroll — subtelne, nigdy nie ukrywają treści.
   Content-first: elementy widoczne domyślnie, a .is-visible dodaje jedynie
   delikatne przesunięcie (efekt "zaistniało") dla oglądających na żywo. */
.lg-anim {
  opacity: 1;
  transform: none;
  transition: transform 500ms var(--ease);
}
html.lg-js .lg-anim { transform: translateY(8px); }
html.lg-js .lg-anim.is-visible { transform: translateY(0); }
.lg-anim-delay-1 { transition-delay: 80ms; }
.lg-anim-delay-2 { transition-delay: 160ms; }
.lg-anim-delay-3 { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  html.lg-js .lg-anim { transform: none; transition: none; }
}

/* Focus */
:focus-visible {
  outline: 3px solid var(--lg-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip link */
.lg-skip-link {
  position: absolute;
  left: -9999px;
  top: var(--s-2);
  padding: var(--s-2) var(--s-4);
  background: var(--lg-primary);
  color: #fff;
  z-index: 9999;
}
.lg-skip-link:focus { left: var(--s-2); }

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .lg-about { grid-template-columns: 1fr; }
  .lg-contact { grid-template-columns: 1fr; }
  .lg-footer__top { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .lg-nav, .lg-header__cta .lg-tel { display: none; }
  .lg-hamburger { display: grid; }
  .lg-header__cta { gap: var(--s-2); }
  .lg-footer__top { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .lg-footer__brand { grid-column: 1 / -1; }
  .lg-cta__inner { grid-template-columns: 1fr; }
  .lg-split, .lg-split--reverse { grid-template-columns: 1fr; direction: ltr; }
}

@media (max-width: 768px) {
  :root { --section-md: clamp(3rem, 9vw, 5rem); }
  .lg-hero { min-height: 620px; padding: var(--s-10) 0 var(--s-12); }
  .lg-hero h1 { font-size: clamp(2.25rem, 8vw, 3.5rem); }
  .lg-hero__cta { flex-direction: column; align-items: flex-start; }
  .lg-form { padding: var(--s-5); }
  .lg-form__grid { grid-template-columns: 1fr; }
  .lg-floating-cta { padding: 0; width: 56px; height: 56px; border-radius: 50%; }
}

@media (max-width: 540px) {
  .lg-footer__top { grid-template-columns: 1fr; }
  .lg-services { grid-template-columns: 1fr; }
  .lg-price-table { grid-template-columns: 1fr; }
  .lg-steps { grid-template-columns: 1fr; }
  .lg-about__atuty { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   TEMPLATE ALIGNMENT — klasy używane faktycznie w szablonach
   (uzupełnienie do pierwotnego CSS aby nic nie było nieobsłużone)
   ============================================================ */

/* FIX: .lg-about is a section wrapper with one child — must not be grid */
.lg-about {
  display: block;
}

/* Eyebrow + section heads (używane w szablonach) */
.lg-eyebrow {
  display: inline-block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--lg-primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 var(--s-3);
  padding-left: 2.75rem;
  position: relative;
}
.lg-eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 32px; height: 2px;
  background: var(--lg-primary);
  transform: translateY(-50%);
}
.lg-eyebrow--light { color: var(--lg-primary-light); }
.lg-eyebrow--light::before { background: var(--lg-primary-light); }

.lg-section__head {
  max-width: 820px;
  margin: 0 auto var(--s-8);
  text-align: center;
}
.lg-section__title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: 1.15;
  margin: 0 0 var(--s-3);
  color: var(--lg-dark);
}
.lg-section__title--light { color: #fff; }
.lg-section__lead {
  font-size: var(--fs-lead);
  color: var(--lg-muted);
  line-height: 1.65;
  margin: 0 auto;
  max-width: 760px;
}
.lg-section__lead--light { color: rgba(255,255,255,0.85); }

/* ---------- HERO (home) — nowe klasy z hero-home.php ---------- */
.lg-hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; min-height: 680px; padding: calc(var(--header-h, 80px) + var(--s-10)) 0 var(--s-12); display: flex; align-items: center; }
.lg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--lg-hero-bg, none);
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.lg-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,12,16,0.65) 0%, rgba(10,12,16,0.85) 60%, rgba(10,12,16,0.95) 100%);
  z-index: -1;
}
.lg-hero__inner { position: relative; z-index: 2; }
.lg-hero__content { display: flex; flex-direction: column; gap: var(--s-5); }

.lg-hero__pre {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--lg-primary-light);
  margin: 0;
  width: fit-content;
}
.lg-hero__pre-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--lg-primary-light);
  box-shadow: 0 0 0 4px rgba(248,118,0,0.2);
  animation: lg-pulse 2s var(--ease) infinite;
}
@keyframes lg-pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(248,118,0,0.2);} 50% { box-shadow: 0 0 0 10px rgba(248,118,0,0); } }

.lg-hero__heading {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  text-wrap: balance;
  max-width: 720px;
}
.lg-hero__desc {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  max-width: 680px;
  margin: 0;
}
.lg-hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-3); }
.lg-hero__trust {
  list-style: none;
  padding: var(--s-5) 0 0;
  margin: var(--s-3) 0 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
}
.lg-hero__trust li {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.01em;
}
.lg-hero__trust-icon {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  background: rgba(248,118,0,0.18);
  border: 1px solid rgba(248,118,0,0.35);
  border-radius: 50%;
  flex: 0 0 auto;
}
.lg-hero__trust-icon svg { width: 14px; height: 14px; color: var(--lg-primary-light); }

.lg-hero__accent {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  top: 50%;
  transform: translateY(-50%) rotate(-4deg);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--s-6) var(--s-8);
  background: var(--lg-primary);
  color: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  pointer-events: none;
}
.lg-hero__accent-num {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.lg-hero__accent-num small { font-size: 0.45em; font-weight: 700; margin-left: 0.1em; vertical-align: super; }
.lg-hero__accent-label {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: var(--s-1);
}
@media (max-width: 960px) { .lg-hero__accent { display: none; } }

.lg-hero__scroll {
  display: none;
}
.lg-hero__scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px; height: 8px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: lg-scroll 1.8s var(--ease) infinite;
}
@keyframes lg-scroll { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 16px); } }

/* ---------- HERO INNER (strony wewnętrzne) ---------- */
.lg-hero-inner {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding: var(--s-10) 0 var(--s-6);
  background: var(--lg-dark) center/cover no-repeat;
  overflow: hidden;
}
.lg-hero-inner__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,12,16,0.82), rgba(10,12,16,0.92)),
    repeating-linear-gradient(45deg, transparent 0 60px, rgba(248,118,0,0.05) 60px 62px);
}
.lg-hero-inner__pre {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--lg-primary-light);
  margin: 0 0 var(--s-2);
}
.lg-hero-inner__icon {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  background: rgba(248,118,0,0.15);
  border-radius: 50%;
}
.lg-hero-inner__title {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-3);
  color: #fff;
  text-wrap: balance;
}
.lg-hero-inner__subtitle {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

.lg-service-card__title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--lg-dark);
  margin: 0 0 var(--s-3);
}
.lg-service-card__desc {
  color: var(--lg-muted);
  line-height: 1.6;
  margin: 0 0 var(--s-4);
  flex: 1;
}
.lg-service-card--featured {
  background: linear-gradient(140deg, rgba(248,118,0,0.06), #fff 55%);
  border-color: var(--lg-primary);
  box-shadow: 0 1px 3px rgba(248,118,0,0.15);
}
.lg-service-card--featured .lg-service-card__icon {
  background: var(--lg-primary);
  color: #fff;
  border-color: var(--lg-primary);
}

/* ---------- O FIRMIE (home) — centered layout ---------- */
.lg-about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  margin-bottom: var(--s-10);
}
.lg-stat {
  text-align: center;
  padding: var(--s-6) var(--s-4);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
}
.lg-stat strong {
  display: block;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1;
  color: var(--lg-primary);
  margin-bottom: var(--s-2);
  letter-spacing: -0.02em;
}
.lg-stat strong small { font-size: 0.5em; font-weight: 700; margin-left: 0.1em; }
.lg-stat span {
  display: block;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lg-about__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
.lg-about-card {
  padding: var(--s-6);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  border-top: 3px solid var(--lg-primary);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.lg-about-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.07);
}
.lg-about-card__icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: rgba(248,118,0,0.15);
  color: var(--lg-primary-light);
  border: 1px solid rgba(248,118,0,0.3);
  margin-bottom: var(--s-4);
}
.lg-about-card h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin: 0 0 var(--s-2);
  color: #fff;
  text-transform: uppercase;
}
.lg-about-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
}

@media (max-width: 960px) {
  .lg-about__stats { grid-template-columns: repeat(2, 1fr); }
  .lg-about__features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .lg-about__stats { grid-template-columns: repeat(2, 1fr); }
  .lg-about__features { grid-template-columns: 1fr; }
}

/* ---------- OBSZAR — grid z mapą ---------- */
.lg-obszar__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: stretch;
}
.lg-obszar__desc {
  font-size: var(--fs-body);
  color: var(--lg-muted);
  line-height: 1.65;
  margin: 0 0 var(--s-5);
}
.lg-miasta {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-5);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-2);
}
.lg-miasto {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  background: #fff;
  border: 1px solid var(--lg-border);
  border-radius: var(--r-md);
  padding: var(--s-2) var(--s-3);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--lg-dark);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.lg-miasto svg { color: var(--lg-primary); flex: 0 0 auto; width: 11px; height: 11px; }
.lg-miasto small {
  margin-left: auto;
  font-size: 0.5625rem;
  font-family: var(--ff-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--lg-primary);
  padding: 2px 5px;
  border-radius: 3px;
}
.lg-miasto--siedziba {
  background: linear-gradient(135deg, rgba(248,118,0,0.06), #fff 60%);
  border-color: var(--lg-primary);
  box-shadow: 0 2px 8px rgba(248,118,0,0.12);
}
.lg-miasto:hover {
  border-color: var(--lg-primary);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.lg-obszar__note {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  background: linear-gradient(135deg, rgba(248,118,0,0.04), #fff 40%);
  border: 1px solid rgba(248,118,0,0.2);
  border-left: 3px solid var(--lg-primary);
  border-radius: var(--r-md);
  font-size: 0.8125rem;
  color: var(--lg-graphite);
  line-height: 1.5;
}
.lg-obszar__note svg { color: var(--lg-primary); flex: 0 0 auto; margin-top: 0.1em; }
.lg-obszar__map {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--lg-border);
  box-shadow: var(--sh-md);
  min-height: 340px;
}
.lg-obszar__map iframe { display: block; width: 100%; height: 100%; }

@media (max-width: 960px) {
  .lg-obszar__grid { grid-template-columns: 1fr; }
  .lg-miasta { grid-template-columns: repeat(3, 1fr); }
  .lg-obszar__map { min-height: 320px; }
  .lg-obszar__map iframe { min-height: 320px; }
}
@media (max-width: 600px) {
  .lg-miasta { grid-template-columns: repeat(2, 1fr); }
  .lg-obszar__map { min-height: 260px; }
  .lg-obszar__map iframe { min-height: 260px; }
}

/* ---------- CTA BANNER (home) ---------- */
.lg-cta-banner {
  position: relative;
  isolation: isolate;
  background: linear-gradient(135deg, #0f1218 0%, #1a1f2a 100%);
  color: #fff;
  overflow: hidden;
}
.lg-cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(248,118,0,0.32) 0%, transparent 55%),
    repeating-linear-gradient(45deg, transparent 0 40px, rgba(248,118,0,0.035) 40px 42px);
  z-index: -1;
}
.lg-cta-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-8);
  align-items: center;
}
.lg-cta-banner__text { max-width: 700px; }
.lg-cta-banner__title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  line-height: 1.15;
  color: #fff;
  margin: 0 0 var(--s-4);
  letter-spacing: -0.01em;
}
.lg-cta-banner__desc {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  margin: 0;
}
.lg-cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: stretch;
}
@media (max-width: 860px) {
  .lg-cta-banner__inner { grid-template-columns: 1fr; }
  .lg-cta-banner__actions { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- GALLERY (realizacje) ---------- */
.lg-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--s-3);
}
.lg-gallery__item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--lg-bg-alt, #f5f5f5);
  aspect-ratio: 4 / 3;
}
.lg-gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}
.lg-gallery__item:hover img { transform: scale(1.05); }
.lg-gallery__item::before {
  content: "";
  position: absolute;
  inset: 0; z-index: 1;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity 300ms var(--ease);
  pointer-events: none;
}
.lg-gallery__item::after {
  content: "+";
  position: absolute;
  top: 50%; left: 50%; z-index: 2;
  transform: translate(-50%, -50%) scale(0.7);
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  background: var(--lg-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 300;
  opacity: 0;
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
  pointer-events: none;
}
.lg-gallery__item:hover::before { opacity: 1; }
.lg-gallery__item:hover::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.lg-empty-state {
  text-align: center;
  padding: var(--s-16) var(--s-6);
  max-width: 540px;
  margin: 0 auto;
}
.lg-empty-state__icon {
  width: 96px; height: 96px;
  margin: 0 auto var(--s-6);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(248,118,0,0.08);
  color: var(--lg-primary);
}
.lg-empty-state h2 { margin-bottom: var(--s-3); }
.lg-empty-state p { color: var(--lg-muted); margin-bottom: var(--s-6); }

/* ---------- LIGHTBOX ---------- */
.lg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8,10,14,0.95);
  display: none;
  place-items: center;
  padding: var(--s-8);
  opacity: 0;
  transition: opacity 300ms var(--ease);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lg-lightbox:not([hidden]) { display: grid; }
.lg-lightbox.is-open { opacity: 1; }
.lg-lightbox__img {
  max-width: min(90vw, 1100px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  transition: transform 300ms var(--ease);
}
.lg-lightbox__btn {
  position: absolute;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--dur), transform var(--dur);
}
.lg-lightbox__btn:hover { background: var(--lg-primary); transform: scale(1.1); }
.lg-lightbox__close { top: var(--s-4); right: var(--s-4); }
.lg-lightbox__prev { left: var(--s-4); top: 50%; transform: translateY(-50%); }
.lg-lightbox__next { right: var(--s-4); top: 50%; transform: translateY(-50%); }
.lg-lightbox__prev:hover { transform: translateY(-50%) scale(1.1); }
.lg-lightbox__next:hover { transform: translateY(-50%) scale(1.1); }
.lg-lightbox__counter {
  position: absolute;
  bottom: var(--s-4);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-display);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
}
@media (max-width: 600px) {
  .lg-lightbox { padding: var(--s-2); }
  .lg-lightbox__prev, .lg-lightbox__next { width: 40px; height: 40px; }
  .lg-lightbox__prev { left: var(--s-2); }
  .lg-lightbox__next { right: var(--s-2); }
}

/* ============================================================
   TEMPLATE ALIGNMENT FIX — brakujące style
   ============================================================ */

/* ---------- TOPBAR ---------- */
.lg-topbar {
  background: var(--lg-bg-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
  line-height: 1;
  position: relative;
  z-index: 100;
  border-top: 3px solid var(--lg-primary);
}
.lg-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  gap: var(--s-4);
}
.lg-topbar__left,
.lg-topbar__right {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}
.lg-topbar__left > :first-child {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.lg-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: rgba(255,255,255,0.7);
  transition: color var(--dur) var(--ease);
  white-space: nowrap;
  font-size: 0.8125rem;
}
.lg-topbar__item:hover { color: var(--lg-primary); }
.lg-topbar__item--muted { color: rgba(255,255,255,0.5); }
.lg-topbar__item--muted:hover { color: var(--lg-primary-light); }
.lg-topbar__item svg { flex: 0 0 auto; color: var(--lg-primary); opacity: 0.7; }

/* ---------- HEADER — no z-index here (children have their own) ---------- */
.lg-header {
  position: relative;
  width: 100%;
  background: transparent;
}

/* ---------- NAV WRAP (sticky, above mobile menu) ---------- */
.lg-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--lg-border);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.lg-header.is-scrolled .lg-nav-wrap {
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  border-color: transparent;
}
.lg-nav-wrap__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  height: var(--header-h);
}
.lg-nav-wrap__cta {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}

/* ---------- NAV — fix list + submenu ---------- */
.lg-nav__list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lg-nav__list > li { position: relative; }
.lg-nav__list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 1rem 0.85rem;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--lg-dark);
  transition: color var(--dur) var(--ease);
  position: relative;
}
.lg-nav__list > li > a::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.6rem;
  height: 2px;
  background: var(--lg-primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}
.lg-nav__list > li > a:hover { color: var(--lg-primary); }
.lg-nav__list > li > a:hover::after,
.lg-nav__list > li.current-menu-item > a::after,
.lg-nav__list > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.lg-nav__list > li.current-menu-item > a,
.lg-nav__list > li.current-menu-ancestor > a { color: var(--lg-primary); }

.lg-nav .sub-menu,
.lg-nav__list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--lg-border);
  border-radius: var(--r-md);
  padding: var(--s-2);
  box-shadow: var(--sh-lg);
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  z-index: 10;
}
.lg-nav__list > li:hover > .sub-menu,
.lg-nav__list > li:focus-within > .sub-menu,
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sub-menu a {
  display: block;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  border-radius: var(--r-sm);
  color: var(--lg-dark);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.sub-menu a:hover {
  background: var(--lg-bg-alt);
  color: var(--lg-primary);
}

/* ---------- HAMBURGER (spans, not SVG) ---------- */
.lg-hamburger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  position: relative;
  z-index: 2;
}
.lg-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--lg-dark);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  transform-origin: center;
}
.lg-hamburger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.lg-hamburger.is-active span:nth-child(2) { opacity: 0; }
.lg-hamburger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- MOBILE MENU ---------- */
.lg-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  background: var(--lg-bg-dark);
  color: #fff;
  padding: calc(var(--header-h) + var(--s-8)) var(--s-6) var(--s-8);
  transform: translateX(100%);
  transition: transform 380ms var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.lg-mobile-menu.is-open { transform: translateX(0); }
.lg-mobile-menu__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.lg-mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lg-mobile-menu__list > li > a {
  display: block;
  padding: var(--s-4) 0;
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--dur) var(--ease);
}
.lg-mobile-menu__list > li > a:hover { color: var(--lg-primary); }

/* Parent item with children — flex row for link + toggle */
.lg-mobile-menu__list .menu-item-has-children {
  position: relative;
}
.lg-mobile-menu__list .menu-item-has-children > a {
  padding-right: 3rem;
}

/* Submenu toggle button (injected by JS) */
.lg-submenu-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
  z-index: 2;
}
.lg-submenu-toggle svg {
  transition: transform var(--dur) var(--ease);
}
.menu-item-has-children.is-open > .lg-submenu-toggle svg {
  transform: rotate(180deg);
}
.menu-item-has-children.is-open > .lg-submenu-toggle {
  color: var(--lg-primary);
}

/* Submenu — accordion hidden by default */
.lg-mobile-menu__list .sub-menu {
  padding-left: var(--s-4);
  position: static;
  background: transparent;
  border: none;
  box-shadow: none;
  min-width: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: none;
  visibility: visible;
  transition: max-height 350ms var(--ease), opacity 250ms var(--ease), padding 350ms var(--ease);
  padding-top: 0;
  padding-bottom: 0;
}
.lg-mobile-menu__list .menu-item-has-children.is-open > .sub-menu {
  max-height: 500px;
  opacity: 1;
  padding-top: var(--s-2);
  padding-bottom: var(--s-3);
}

.lg-mobile-menu__list .sub-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-transform: none;
  letter-spacing: 0;
  padding: var(--s-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  border-radius: 0;
  background: transparent;
}
.lg-mobile-menu__list .sub-menu a:hover { color: var(--lg-primary); background: transparent; }
.lg-mobile-menu__contact {
  margin-top: auto;
  padding-top: var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

/* ---------- FOOTER (fix grid/col/heading/list) ---------- */
.lg-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s-10);
  margin-bottom: var(--s-12);
}
.lg-footer__logo {
  height: 80px;
  width: auto;
  margin-bottom: var(--s-5);
  filter: brightness(0) invert(1);
}
.lg-footer__brand-name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
  margin-bottom: var(--s-4);
}
.lg-footer__desc {
  color: rgba(255,255,255,0.65);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0 0 var(--s-5);
}
.lg-footer__heading {
  font-family: var(--ff-display);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--lg-primary);
  margin: 0 0 var(--s-6);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: var(--s-4);
}
.lg-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lg-footer__list li { margin-bottom: var(--s-4); }
.lg-footer__list a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9375rem;
  transition: color var(--dur) var(--ease), padding var(--dur) var(--ease);
}
.lg-footer__list a:hover { color: var(--lg-primary); padding-left: 4px; }
.lg-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
}
.lg-footer__dot { color: rgba(255,255,255,0.3); }
.lg-footer__credit { font-size: 0.8125rem; color: rgba(255,255,255,0.4); }
.lg-footer__credit a { color: var(--lg-primary-light); }
.lg-footer__credit a:hover { color: #fff; }

/* Footer contact list */
.lg-footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lg-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
}
.lg-footer__contact li svg { flex: 0 0 auto; color: var(--lg-primary); margin-top: 0.2em; }
.lg-footer__contact a { color: rgba(255,255,255,0.75); }
.lg-footer__contact a:hover { color: var(--lg-primary); }
.lg-footer__contact small {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-left: var(--s-1);
}

/* Footer bottom */
.lg-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-6);
  padding-bottom: 4.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.5);
  gap: var(--s-4);
  flex-wrap: wrap;
}
.lg-footer__legal a { color: var(--lg-primary-light); }
.lg-footer__legal a:hover { color: #fff; }

/* Footer social */
.lg-footer__social {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-2);
}
.lg-footer__social a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  color: rgba(255,255,255,0.7);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.lg-footer__social a:hover {
  background: var(--lg-primary);
  border-color: var(--lg-primary);
  color: #fff;
}

/* ---------- SERVICES — 4-col grid (7 cards = 4+3) ---------- */
.lg-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}

/* ---------- body — fixed header compensation ---------- */
body { padding-top: 0; }

/* ---------- body lock ---------- */
body.lg-lock { overflow: hidden; }

/* ---------- PRELOADER (spans as dots) ---------- */
.lg-preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 380ms var(--ease), visibility 380ms;
}
.lg-preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.lg-preloader span {
  width: 10px; height: 10px;
  background: var(--lg-primary);
  border-radius: 50%;
  animation: lg-dot 1.2s ease-in-out infinite;
}
.lg-preloader span:nth-child(2) { animation-delay: 0.15s; }
.lg-preloader span:nth-child(3) { animation-delay: 0.3s; }
@keyframes lg-dot {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* ---------- BTN sizes ---------- */
.lg-btn--outline {
  background: transparent;
  color: var(--lg-dark);
  border: 2px solid var(--lg-primary);
}
.lg-btn--outline:hover {
  background: var(--lg-primary);
  color: #fff;
}
.lg-btn--compact {
  padding: 0.65rem 1.35rem;
  font-size: 0.9rem;
}

/* ---------- RESPONSIVE (overrides) ---------- */
@media (max-width: 1100px) {
  .lg-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .lg-footer__col--brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .lg-nav { display: none; }
  .lg-nav-wrap__cta { display: none; }
  .lg-hamburger { display: flex; }
  .lg-topbar { display: none; }
  .lg-nav-wrap { border-top: 3px solid var(--lg-primary); }
  .lg-logo img { height: 52px; }
  .lg-services__grid { grid-template-columns: repeat(2, 1fr); }
  .lg-cta-banner__inner { grid-template-columns: 1fr; text-align: center; }
  .lg-cta-banner__actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .lg-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .lg-footer__col--brand { grid-column: 1 / -1; }
  .lg-floating-cta, .lg-floating-cta:not(.is-visible) {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
  .lg-hero__cta { gap: var(--s-2); margin-top: var(--s-2); }
}
@media (max-width: 600px) {
  .lg-services__grid { grid-template-columns: 1fr; }
  .lg-footer__grid { grid-template-columns: 1fr; }
  .lg-footer__bottom { flex-direction: column; align-items: flex-start; text-align: left; padding-bottom: 4.5rem; }
  .lg-footer__legal { flex-direction: column; gap: var(--s-1); }
  .lg-footer__dot { display: none; }
  .lg-hero { min-height: 520px; padding: var(--s-10) 0 var(--s-8); }
  .lg-hero__heading { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .lg-hero__cta { flex-direction: column; align-items: stretch; }
  .lg-hero__trust { gap: var(--s-2) var(--s-4); }
  .lg-hero__accent { display: none; }
  .lg-cta-banner__actions { flex-direction: column; }
}

/* ---------- NAV — underline only on non-dropdown items ---------- */
.lg-nav__list > .menu-item-has-children > a::after {
  display: none;
}
.lg-nav__list > .menu-item-has-children > a {
  gap: 0.35rem;
}

/* ---------- NAV — dropdown chevron (as separate element) ---------- */
.lg-nav__list > .menu-item-has-children > a::before {
  content: "";
  order: 99;
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-bottom: 0.15em;
  transition: transform var(--dur) var(--ease);
  flex-shrink: 0;
}
.lg-nav__list > .menu-item-has-children:hover > a::before {
  transform: rotate(-135deg);
}

/* ---------- WP generated styles override ---------- */
.wp-singular body,
body.wp-singular { padding-top: 0 !important; }
#wp-img-auto-sizes-contain-inline-css + * { }

/* ---------- Ensure no horizontal overflow ---------- */
html, body { overflow-x: hidden; max-width: 100vw; }
.lg-section, .lg-footer { overflow-x: hidden; }
