/* ==========================================================================
   Atlas LiuGong - arkusz motywu
   Odwzorowanie prototypu design/liugong-atlas-landing-standalone.html
   Wszystkie wartosci pochodza z tabeli tokenow w README handoffu.
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokeny */

:root {
  /* kolory
     Paleta marki LiuGong (wytyczne klienta, sierpien 2026):
     288C #002D72, 165C #FF671F, 360C #6CC24A, 646C #5E8AB4,
     425C #54585A, 423C #898D8D, 421C #B2B4B2.
     Dawny akcent #0074DB byl spoza palety. Zastapil go granat 288C, a jedyny
     blekit z wytycznych (646C) pracuje na ciemnym tle, bo z biela ma tylko
     3,6:1 i nie przechodzi AA. Odcienie posrednie (linie, tla) sa wyprowadzone
     z 421C/423C. */
  --lg-navy:            #002D72; /* granat marki, Pantone 288C */
  --lg-navy-dark:       #001B45; /* hero, electric, kontakt */
  --lg-navy-card:       #0A2F6E; /* karty modeli elektrycznych */
  --lg-accent:          #002D72; /* CTA glowne, kickery */
  --lg-accent-hover:    #001B45;
  --lg-accent-light:    #5E8AB4; /* akcent na ciemnym tle, Pantone 646C */
  --lg-bg-light:        #F4F5F4;
  --lg-line:            #DEE0DE;
  --lg-line-soft:       #E6E7E6;
  --lg-line-field:      #CFD1CF;
  --lg-line-hover:      #B2B4B2; /* Pantone 421C */
  --lg-text:            #101418;
  --lg-text-2:          #54585A; /* Pantone 425C */
  --lg-text-3:          #6D7173;
  --lg-text-muted:      #6F7375; /* przyciemnione 423C: linki prawne musza miec 4,5:1 */
  --lg-placeholder:     #898D8D; /* Pantone 423C */
  --lg-on-navy:         #C3D2E2; /* akapity na granacie */
  --lg-label-navy:      #9FB4CC; /* etykiety na granacie */
  --lg-white:           #FFFFFF;
  --lg-row-hover:       #FAFBFA;

  /* linie na ciemnym tle */
  --lg-line-dark:       rgba(255, 255, 255, 0.16);
  --lg-line-dark-soft:  rgba(255, 255, 255, 0.12);
  --lg-line-dark-card:  rgba(255, 255, 255, 0.14);
  --lg-line-dark-btn:   rgba(255, 255, 255, 0.4);
  --lg-line-dark-tabs:  rgba(255, 255, 255, 0.22);
  --lg-line-dark-badge: rgba(255, 255, 255, 0.28);

  /* typografia
     Kolejnosc jest celowa: licencjonowany krój projektu, potem systemowa
     Helvetica Neue (macOS), potem nasz zastepnik Inter. "Helvetica" stoi PO
     Interze, bo Windows podmienia ją na Ariala i zjadlaby webfont. */
  --lg-font: 'HelveticaNeueLTPro', 'Helvetica Neue', 'Inter', Helvetica, Arial, sans-serif;

  /* uklad */
  --lg-container: 1280px;
  --lg-gutter: 32px;
  --lg-header-h: 76px;

  /* promienie */
  --lg-radius-focus: 3px;
  --lg-radius: 5px;
  --lg-radius-lg: 6px;

  /* cienie */
  --lg-shadow-card: 0 20px 44px rgba(0, 27, 69, 0.12);
  --lg-shadow-fab: 0 10px 30px rgba(0, 27, 69, 0.35);
  --lg-shadow-fab-hover: 0 16px 38px rgba(0, 27, 69, 0.45);

  /* ruch */
  --lg-instant: 200ms;
  --lg-fast: 300ms;
  --lg-normal: 600ms;
  --lg-ease-in: cubic-bezier(.16, 1, .3, 1);
}

/* ------------------------------------------------------------ 2. Podstawy */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--lg-white);
  color: var(--lg-text);
  font-family: var(--lg-font);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  color: var(--lg-navy);
  text-decoration: none;
}

a:hover {
  color: var(--lg-accent);
}

img {
  max-width: 100%;
}

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

input::placeholder,
textarea::placeholder {
  color: var(--lg-placeholder);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--lg-accent);
  outline-offset: 2px;
  border-radius: var(--lg-radius-focus);
}

/* Kotwice nie moga chowac sie pod przyklejonym naglowkiem. */
[id] {
  scroll-margin-top: var(--lg-header-h);
}

.lp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--lg-navy);
  color: var(--lg-white);
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
}

.lp-skip:focus {
  left: 0;
  color: var(--lg-white);
}

.lp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lp-page {
  width: 100%;
  overflow-x: hidden;
}

/* --------------------------------------------------------------- 3. Uklad */

.lp-wrap {
  max-width: var(--lg-container);
  margin: 0 auto;
  padding: 0 var(--lg-gutter);
}

.lp-sec {
  padding: 104px 0 96px;
}

.lp-sec--wide {
  padding: 112px 0 96px;
}

.lp-sec--light {
  background: var(--lg-bg-light);
}

.lp-sec--white {
  background: var(--lg-white);
}

.lp-sec--navy {
  background: var(--lg-navy-dark);
  color: var(--lg-white);
}

.lp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---------------------------------------------------- 4. Typografia wspolna */

.lp-h1 {
  font-family: var(--lg-font);
  font-weight: 700;
  font-size: 62px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  max-width: 900px;
  text-wrap: balance;
}

.lp-h2 {
  font-family: var(--lg-font);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--lg-text);
}

.lp-sec--navy .lp-h2 {
  color: var(--lg-white);
}

.lp-h2--balance {
  text-wrap: balance;
}

.lp-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lg-accent);
  margin-bottom: 20px;
}

.lp-kicker--light {
  color: var(--lg-accent-light);
}

.lp-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--lg-text-2);
  margin: 0;
  text-wrap: pretty;
}

.lp-lead--navy {
  color: var(--lg-on-navy);
}

/* --------------------------------------------------------------- 5. Przyciski */

.lp-btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: var(--lg-radius);
  cursor: pointer;
  text-align: center;
  font-family: var(--lg-font);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--lg-instant) ease, color var(--lg-instant) ease,
              border-color var(--lg-instant) ease, transform var(--lg-instant) ease,
              box-shadow var(--lg-instant) ease;
}

/* rozmiary - dokladnie te z prototypu */
.lp-btn--sm  { font-size: 14px; padding: 14px 24px; }
.lp-btn--md  { font-size: 14px; padding: 16px 34px; }
.lp-btn--lg  { font-size: 15px; padding: 17px 36px; }
.lp-btn--xl  { font-size: 15px; padding: 18px 38px; }
.lp-btn--cta { font-size: 15px; padding: 16px 34px; }
.lp-btn--card { display: block; font-size: 14px; padding: 13px 20px; }
.lp-btn--form { width: 100%; font-size: 15px; padding: 18px 24px; }
.lp-btn--reset { font-size: 14px; padding: 13px 28px; }

.lp-btn--nowrap { white-space: nowrap; }

/* warianty */
.lp-btn--accent {
  background: var(--lg-accent);
  color: var(--lg-white);
}

.lp-btn--accent:hover,
.lp-btn--accent:focus-visible {
  background: var(--lg-accent-hover);
  color: var(--lg-white);
}

.lp-btn--navy {
  background: var(--lg-navy);
  color: var(--lg-white);
}

.lp-btn--navy:hover,
.lp-btn--navy:focus-visible {
  background: var(--lg-navy-dark);
  color: var(--lg-white);
}

.lp-btn--ghost {
  border-color: var(--lg-line-dark-btn);
  color: var(--lg-white);
  background: transparent;
}

.lp-btn--ghost:hover,
.lp-btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: var(--lg-white);
}

.lp-btn--outline {
  border-color: var(--lg-navy);
  color: var(--lg-navy);
  background: transparent;
}

.lp-btn--outline:hover,
.lp-btn--outline:focus-visible {
  background: var(--lg-navy);
  color: var(--lg-white);
}

.lp-btn--outline-light {
  border-color: var(--lg-line-dark-btn);
  color: var(--lg-white);
  background: transparent;
}

.lp-btn--outline-light:hover,
.lp-btn--outline-light:focus-visible {
  background: var(--lg-white);
  color: var(--lg-navy-dark);
}

.lp-btn--outline-grey {
  border-color: var(--lg-line-hover);
  color: var(--lg-navy);
  background: transparent;
}

.lp-btn--outline-grey:hover,
.lp-btn--outline-grey:focus-visible {
  background: var(--lg-navy);
  color: var(--lg-white);
  border-color: var(--lg-navy);
}

/* --------------------------------------------------------------- 6. Naglowek */

.lp-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--lg-white);
  border-bottom: 1px solid var(--lg-line);
}

.lp-header__inner {
  max-width: var(--lg-container);
  margin: 0 auto;
  padding: 0 var(--lg-gutter);
  height: var(--lg-header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.lp-brand__logo {
  height: 26px;
  width: auto;
  display: block;
}

.lp-brand__sep {
  width: 1px;
  height: 28px;
  background: var(--lg-line);
  display: block;
}

.lp-brand__name {
  font-family: var(--lg-font);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lg-text-3);
  line-height: 1.2;
}

.lp-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  align-items: center;
}

.lp-nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lg-text);
  transition: color var(--lg-instant) ease;
}

.lp-nav a:hover {
  color: var(--lg-accent);
}

.lp-header__cta {
  flex-shrink: 0;
}

/* przycisk menu - widoczny dopiero, gdy nawigacja zwija sie do panelu */
.lp-burger {
  display: none;
  margin-left: auto;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-radius);
  background: var(--lg-white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: border-color var(--lg-instant) ease, background var(--lg-instant) ease;
}

.lp-burger:hover {
  border-color: var(--lg-line-hover);
}

.lp-burger__box {
  display: block;
  position: relative;
  width: 20px;
  height: 14px;
}

.lp-burger__line {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--lg-text);
  transition: transform var(--lg-instant) ease, opacity var(--lg-instant) ease;
}

.lp-burger__line:nth-child(1) { top: 0; }
.lp-burger__line:nth-child(2) { top: 6px; }
.lp-burger__line:nth-child(3) { top: 12px; }

.lp-burger[aria-expanded="true"] .lp-burger__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.lp-burger[aria-expanded="true"] .lp-burger__line:nth-child(2) {
  opacity: 0;
}

.lp-burger[aria-expanded="true"] .lp-burger__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ------------------------------------------------------------------ 7. Hero */

.lp-hero {
  position: relative;
  background: var(--lg-navy-dark);
  color: var(--lg-white);
  min-height: 660px;
  display: flex;
  align-items: flex-end;
}

.lp-hero__bg {
  position: absolute;
  inset: 0;
}

.lp-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lp-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
              rgba(0, 27, 69, 0.95) 0%,
              rgba(0, 27, 69, 0.84) 46%,
              rgba(0, 27, 69, 0.2) 100%);
  pointer-events: none;
}

.lp-hero__wrap {
  position: relative;
  max-width: var(--lg-container);
  margin: 0 auto;
  padding: 120px var(--lg-gutter) 88px;
  width: 100%;
  pointer-events: none;
}

.lp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--lg-line-dark-badge);
  border-radius: var(--lg-radius);
  padding: 8px 18px;
  margin-bottom: 32px;
}

.lp-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lg-accent-light);
  display: block;
  flex-shrink: 0;
}

.lp-hero__badge span:last-child {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lg-white);
}

/* Akcent w H1 siedzi na granatowym hero, wiec bierze jasny wariant.
   Po zejsciu --lg-accent do granatu 288C bylby tu niewidoczny. */
.lp-hero__title .lp-hero__accent,
.lp-hero__title span {
  color: var(--lg-accent-light);
}

.lp-hero__lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--lg-on-navy);
  max-width: 620px;
  margin: 0 0 40px;
  text-wrap: pretty;
}

.lp-hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  pointer-events: auto;
}

/* ---------------------------------------------------------- 8. Pasek liczb */

.lp-stats {
  background: var(--lg-navy);
  color: var(--lg-white);
}

.lp-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.lp-stats__item {
  padding: 36px 24px;
  border-right: 1px solid var(--lg-line-dark);
}

.lp-stats__item:first-child {
  padding-left: 0;
}

.lp-stats__item:last-child {
  padding-right: 0;
  border-right: 0;
}

.lp-stats__value {
  font-family: var(--lg-font);
  font-weight: 700;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.lp-stats__value--accent {
  color: var(--lg-accent-light);
}

/* Etykiety sa dluzsze niz w prototypie (pelne zdania zamiast jednego slowa),
   wiec mniejszy stopien i ciasniejszy tracking, zeby zmiescily sie w kolumnie. */
.lp-stats__label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-wrap: pretty;
  color: var(--lg-label-navy);
  margin-top: 8px;
}

/* ----------------------------------------------------------------- 9. Marka */

.lp-split {
  display: grid;
  align-items: center;
}

/* Lewa kolumna to sam naglowek, prawa akapit z przyciskiem. Mapa zeszla
   pod spod, na pelna szerokosc. */
.lp-brand-sec__split {
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.lp-brand-sec__title {
  margin-bottom: 0;
}

.lp-brand-sec__sub {
  font-size: 20px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--lg-navy);
  margin: 0 0 20px;
}

.lp-brand-sec__text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--lg-text-2);
  margin: 0 0 36px;
  max-width: 560px;
  text-wrap: pretty;
}

.lp-map {
  background: var(--lg-bg-light);
  padding: 28px 28px 20px;
}

.lp-map__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.lp-map__title {
  font-family: var(--lg-font);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--lg-text);
}

.lp-map__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lg-accent);
}

.lp-map img {
  width: 100%;
  height: auto;
  display: block;
}

.lp-map__note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--lg-text-3);
  margin: 16px 0 0;
}

/* Mapa pelna szerokoscia kontenera: w kolumnie splitu podpisy miast byly
   nieczytelne. Obraz dostaje teraz okolo 1224 px zamiast 580 px. */
.lp-map--wide {
  margin-top: 56px;
  padding: 32px 32px 24px;
}

.lp-map--wide img {
  max-width: 1000px;
  margin: 0 auto;
}

/* Klikniecie otwiera mape w oknie podgladu (plik ma 1585 px szerokosci,
   czyli wiecej, niz pokazujemy w sekcji). */
.lp-map__zoom {
  display: block;
  position: relative;
  cursor: zoom-in;
}

.lp-map__zoom-hint {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--lg-white);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-radius);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lg-navy);
  transition: background var(--lg-instant) ease, color var(--lg-instant) ease;
}

.lp-map__zoom:hover .lp-map__zoom-hint,
.lp-map__zoom:focus-visible .lp-map__zoom-hint {
  background: var(--lg-navy);
  color: var(--lg-white);
}

/* ------------------------------------------------------- 9c. Okno podgladu */

.lp-lightbox {
  border: 0;
  padding: 0;
  max-width: 96vw;
  max-height: 94vh;
  background: var(--lg-white);
  border-radius: var(--lg-radius-lg);
  box-shadow: var(--lg-shadow-fab-hover);
  overflow: visible;
}

.lp-lightbox::backdrop {
  background: rgba(0, 27, 69, 0.82);
}

.lp-lightbox__scroll {
  overflow: auto;
  padding: 28px;
  max-height: 94vh;
}

.lp-lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 82vh;
  margin: 0 auto;
}

.lp-lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lg-navy);
  color: var(--lg-white);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--lg-shadow-fab);
  transition: background var(--lg-instant) ease;
}

.lp-lightbox__close:hover,
.lp-lightbox__close:focus-visible {
  background: var(--lg-accent-light);
  color: var(--lg-navy-dark);
}

/* Na waskich ekranach zmieszczenie calej mapy w oknie nic by nie dalo:
   podpisy bylyby mniejsze niz w sekcji. Zamiast tego pokazujemy ja w stalej
   szerokosci i pozwalamy przesuwac w poziomie. */
@media (max-width: 900px) {
  .lp-lightbox__scroll {
    padding: 20px;
    overscroll-behavior: contain;
  }

  .lp-lightbox img {
    max-width: none;
    width: 900px;
    max-height: none;
  }
}

/* ------------------------------------------- 9b. Serwis i czesci w Polsce */

.lp-support {
  margin-top: 56px;
}

.lp-support__title {
  font-family: var(--lg-font);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--lg-text);
  margin: 0 0 32px;
}

.lp-support__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lp-support__item {
  background: var(--lg-bg-light);
  border: 1px solid var(--lg-line);
  padding: 32px 30px;
}

.lp-support__icon {
  display: block;
  margin-bottom: 18px;
  color: var(--lg-accent);
}

.lp-support__name {
  font-family: var(--lg-font);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--lg-text);
  margin: 0 0 10px;
}

.lp-support__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--lg-text-2);
  margin: 0;
  text-wrap: pretty;
}

.lp-support__foot {
  margin-top: 32px;
}

/* --------------------------------------------------------------- 10. Oferta */

.lp-offer__title {
  margin-bottom: 24px;
}

.lp-offer__intro {
  max-width: 760px;
  margin: 0 0 48px;
}

.lp-tabs {
  display: flex;
  background: var(--lg-white);
  border: 1px solid var(--lg-line-field);
  border-radius: var(--lg-radius);
  padding: 6px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 40px;
}

.lp-tab {
  border: none;
  cursor: pointer;
  border-radius: var(--lg-radius);
  transition: background var(--lg-instant) ease, color var(--lg-instant) ease;
  padding: 16px 40px;
  font-family: var(--lg-font);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  color: var(--lg-text-3);
}

.lp-tab[aria-selected="true"] {
  background: var(--lg-navy);
  color: var(--lg-white);
}

.lp-tab-intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--lg-text-2);
  max-width: 820px;
  margin: 0 0 44px;
  border-left: 3px solid var(--lg-accent);
  padding-left: 20px;
  text-wrap: pretty;
}

.lp-panel[hidden] {
  display: none;
}

.lp-offer__grid {
  margin-bottom: 48px;
}

/* karta modelu */
.lp-card {
  background: var(--lg-white);
  border: 1px solid var(--lg-line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--lg-fast) var(--lg-ease-in),
              box-shadow var(--lg-fast) ease,
              border-color var(--lg-fast) ease;
}

.lp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lg-shadow-card);
  border-color: var(--lg-line-hover);
}

.lp-card__media {
  height: 210px;
  background: var(--lg-white);
  border-bottom: 1px solid var(--lg-line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lp-card__media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.lp-card__head {
  padding: 24px 24px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.lp-card__name {
  font-family: var(--lg-font);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--lg-text);
}

.lp-card__class {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lg-accent);
  text-align: right;
}

.lp-card__specs {
  margin: 18px 24px 0;
  display: flex;
  flex-direction: column;
}

.lp-card__spec {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--lg-line-soft);
}

.lp-card__spec dt {
  font-size: 14px;
  color: var(--lg-text-3);
  margin: 0;
}

.lp-card__spec dd {
  font-size: 15px;
  font-weight: 600;
  color: var(--lg-text);
  text-align: right;
  margin: 0;
}

/* Dwa przyciski jeden pod drugim: specyfikacja PDF i skrot do formularza. */
.lp-card__foot {
  margin-top: auto;
  padding: 22px 24px 24px;
  display: grid;
  gap: 10px;
}

/* pasek CTA pod siatka */
.lp-bar {
  background: var(--lg-white);
  border: 1px solid var(--lg-line);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.lp-bar__text {
  font-family: var(--lg-font);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--lg-text);
  max-width: 620px;
}

/* ------------------------------------------------------------- 11. Electric */

.lp-electric__split {
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  margin-bottom: 72px;
}

.lp-electric__title {
  font-size: 48px;
  line-height: 1.08;
  margin-bottom: 24px;
}

.lp-electric__text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--lg-on-navy);
  margin: 0 0 36px;
  max-width: 600px;
  text-wrap: pretty;
}

.lp-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--lg-line-dark);
  border: 1px solid var(--lg-line-dark);
  overflow: hidden;
}

.lp-benefit {
  background: var(--lg-navy-dark);
  padding: 32px 24px;
}

.lp-benefit svg {
  display: block;
  margin-bottom: 18px;
  color: var(--lg-accent-light); /* ikony na granacie: kontrast AA */
}

.lp-benefit__title {
  font-family: var(--lg-font);
  font-weight: 700;
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.lp-benefit__title--accent {
  color: var(--lg-accent-light);
}

.lp-benefit__text {
  font-size: 14px;
  color: var(--lg-label-navy);
  margin-top: 8px;
}

.lp-tabs--dark {
  background: transparent;
  border-color: var(--lg-line-dark-tabs);
  margin-bottom: 36px;
}

.lp-tab--dark {
  padding: 14px 34px;
  font-size: 15px;
  color: var(--lg-on-navy);
}

.lp-tab--dark[aria-selected="true"] {
  background: var(--lg-white);
  color: var(--lg-navy-dark);
}

.lp-electric__grid {
  align-items: start;
}

/* karta modelu elektrycznego */
.lp-ecard {
  background: var(--lg-navy-card);
  border: 1px solid var(--lg-line-dark-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--lg-fast) var(--lg-ease-in),
              border-color var(--lg-fast) ease;
}

.lp-ecard:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 116, 219, 0.7);
}

.lp-ecard__media {
  height: 200px;
  background: var(--lg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lp-ecard__media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.lp-ecard__head {
  padding: 22px 22px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.lp-ecard__name {
  font-family: var(--lg-font);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--lg-white);
}

.lp-ecard__class {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lg-accent-light);
  text-align: right;
}

.lp-ecard__specs {
  margin: 16px 22px 0;
  display: flex;
  flex-direction: column;
}

.lp-ecard__spec {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--lg-line-dark-soft);
}

.lp-ecard__spec dt {
  font-size: 14px;
  color: var(--lg-label-navy);
  margin: 0;
}

.lp-ecard__spec dd {
  font-size: 15px;
  font-weight: 600;
  color: var(--lg-white);
  text-align: right;
  margin: 0;
}

.lp-ecard__foot {
  margin-top: auto;
  padding: 20px 22px 22px;
  display: grid;
  gap: 10px;
}

/* Wypelniony przycisk na granatowej karcie: bialy blok z granatowym napisem,
   bo blekit 646C dalby na tym tle za slaby kontrast. */
.lp-btn--solid-light {
  background: var(--lg-white);
  color: var(--lg-navy-dark);
  border-color: var(--lg-white);
}

.lp-btn--solid-light:hover,
.lp-btn--solid-light:focus-visible {
  background: var(--lg-accent-light);
  border-color: var(--lg-accent-light);
  color: var(--lg-navy-dark);
}

/* ------------------------------------------------------------- 12. Przewagi */

.lp-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.lp-adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--lg-line);
  border: 1px solid var(--lg-line);
  overflow: hidden;
}

.lp-adv {
  background: var(--lg-white);
  padding: 40px 32px;
}

.lp-adv svg {
  display: block;
  margin-bottom: 20px;
  color: var(--lg-accent);
}

.lp-adv__title {
  font-family: var(--lg-font);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--lg-text);
}

.lp-adv__text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--lg-text-2);
  margin: 0;
  text-wrap: pretty;
}

/* ----------------------------------------------------------- 13. Komponenty */

.lp-comp__title {
  margin-bottom: 24px;
}

.lp-comp__intro {
  max-width: 760px;
  margin: 0 0 48px;
}

/* Obie karty dziela te same wiersze siatki (subgrid), dzieki czemu kicker,
   naglowek, podtytul i linia nad stopka stoja w kolumnach na tej samej
   wysokosci niezaleznie od dlugosci tekstu. Wiersz z tekstem bierze reszte
   miejsca. Bez subgrid karty zachowuja sie jak wczesniej. */
.lp-comp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto 1fr auto;
  background: var(--lg-white);
  border: 1px solid var(--lg-line);
  margin-bottom: 44px;
}

.lp-comp {
  padding: 48px 44px;
}

@supports (grid-template-rows: subgrid) {
  .lp-comp {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    align-content: start;
  }
}

/* Puste sloty nie moga wnosic wlasnych marginesow, bo rozjechalyby wiersze. */
.lp-comp__kicker.is-empty,
.lp-comp__sub.is-empty,
.lp-comp__foot.is-empty {
  margin: 0;
  padding: 0;
  border: 0;
  min-height: 0;
}

.lp-comp:first-child {
  border-right: 1px solid var(--lg-line);
}

.lp-comp__kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lg-accent);
  margin-bottom: 18px;
}

.lp-comp__name {
  font-family: var(--lg-font);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--lg-text);
}

.lp-comp__sub {
  font-family: var(--lg-font);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
  color: var(--lg-navy);
  margin-bottom: 20px;
}

.lp-comp__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--lg-text-2);
  margin: 0 0 28px;
  text-wrap: pretty;
}

.lp-comp__foot {
  border-top: 1px solid var(--lg-line-soft);
  padding-top: 22px;
}

.lp-comp__stat {
  font-family: var(--lg-font);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lg-accent);
}

.lp-comp__stat-note {
  font-size: 14px;
  color: var(--lg-text-3);
  margin-top: 6px;
}

.lp-comp__note {
  font-family: var(--lg-font);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  color: var(--lg-navy);
}

/* --------------------------------------------------------------- 14. Branze */

.lp-ind__title {
  margin-bottom: 48px;
}

.lp-ind-grid {
  margin-bottom: 56px;
}

.lp-tile {
  position: relative;
  height: 290px;
  background: var(--lg-navy-dark);
  overflow: hidden;
}

.lp-tile__media {
  position: absolute;
  inset: 0;
}

.lp-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lp-tile__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 27, 69, 0.9) 0%, rgba(0, 27, 69, 0.12) 68%);
  pointer-events: none;
}

.lp-tile__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px;
  pointer-events: none;
}

.lp-tile__name {
  font-family: var(--lg-font);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--lg-white);
}

.lp-tile__text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--lg-on-navy);
  margin: 0;
}

.lp-bar--light {
  background: var(--lg-bg-light);
  border: 0;
  padding: 40px;
}

.lp-bar--light .lp-bar__text {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 640px;
}

/* ------------------------------------------------------------------ 15. FAQ */

.lp-faq__head {
  margin-bottom: 48px;
}

.lp-faq__title {
  margin-bottom: 16px;
}

.lp-faq__text {
  max-width: 620px;
}

.lp-acc {
  background: var(--lg-white);
  border: 1px solid var(--lg-line);
}

.lp-acc__item {
  border-bottom: 1px solid var(--lg-line-soft);
}

.lp-acc__btn {
  width: 100%;
  cursor: pointer;
  background: transparent;
  border: none;
  text-align: left;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: background var(--lg-instant) ease;
}

.lp-acc__btn:hover {
  background: var(--lg-row-hover);
}

.lp-acc__q {
  font-family: var(--lg-font);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--lg-text);
}

.lp-acc__sign {
  font-family: var(--lg-font);
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  color: var(--lg-accent);
  flex-shrink: 0;
}

.lp-acc__panel {
  padding: 0 32px 28px;
}

.lp-acc__panel[hidden] {
  display: none;
}

.lp-acc__a {
  font-size: 17px;
  line-height: 1.7;
  color: var(--lg-text-2);
  margin: 0;
  text-wrap: pretty;
}

/* -------------------------------------------------------------- 16. Kontakt */

.lp-contact__split {
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.lp-contact__title {
  margin-bottom: 24px;
}

.lp-contact__lead {
  margin: 0 0 36px;
}

.lp-contact__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid var(--lg-line-dark);
  padding-top: 28px;
}

.lp-contact__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lg-label-navy);
  margin-bottom: 6px;
}

.lp-contact__value {
  font-family: var(--lg-font);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.lp-contact__value a {
  color: inherit;
}

.lp-contact__value a:hover {
  color: var(--lg-accent-light);
}

.lp-contact__value--tight {
  line-height: 1;
}

.lp-contact__hours {
  font-size: 16px;
  line-height: 1.5;
  color: var(--lg-on-navy);
}

/* karta formularza */
.lp-formcard {
  background: var(--lg-white);
  color: var(--lg-text);
  padding: 40px;
}

.lp-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.lp-field {
  display: block;
}

.lp-field__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lg-text-3);
  margin-bottom: 8px;
}

.lp-field input[type="text"],
.lp-field input[type="tel"],
.lp-field input[type="email"],
.lp-field textarea {
  width: 100%;
  border: 1px solid var(--lg-line-field);
  border-radius: 0;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--lg-text);
  background: var(--lg-white);
  transition: border-color var(--lg-instant) ease;
}

.lp-field textarea {
  resize: vertical;
}

.lp-field input:focus,
.lp-field textarea:focus {
  border-color: var(--lg-navy);
  outline: none;
}

.lp-field--msg {
  margin-bottom: 20px;
}

.lp-field--error input,
.lp-field--error textarea {
  border-color: #B3261E;
}

.lp-error {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: #B3261E;
  margin-top: 6px;
}

.lp-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 24px;
  cursor: pointer;
}

.lp-consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--lg-accent);
  flex-shrink: 0;
}

.lp-consent__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--lg-text-3);
}

.lp-form__note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--lg-text-muted);
  margin: 16px 0 0;
}

.lp-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lp-btn--form[aria-busy="true"] {
  opacity: 0.7;
  pointer-events: none;
}

.lp-alert {
  border: 1px solid #B3261E;
  background: #FDF4F4;
  color: #B3261E;
  font-size: 14px;
  line-height: 1.55;
  padding: 14px 16px;
  margin-bottom: 20px;
}

/* stan po wyslaniu */
.lp-sent {
  padding: 40px 0;
  text-align: center;
}

.lp-sent__title {
  font-family: var(--lg-font);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--lg-navy);
  margin: 0 0 12px;
}

.lp-sent__text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--lg-text-2);
  margin: 0 0 24px;
}

/* --------------------------------------------------------------- 17. Stopka */

.lp-footer {
  background: var(--lg-white);
  color: var(--lg-text);
  padding: 72px 0 32px;
  border-top: 1px solid var(--lg-line);
}

.lp-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--lg-line);
}

.lp-footer__logo {
  display: inline-block;
  margin-bottom: 20px;
}

/* Logo Atlas Poland jest dwuwierszowe i ma proporcje blizsze kwadratu niz
   jednowierszowy LiuGong w naglowku, wiec potrzebuje wiecej wysokosci. */
.lp-footer__logo img {
  height: 36px;
  width: auto;
  display: block;
}

.lp-footer__about {
  font-size: 15px;
  line-height: 1.6;
  color: var(--lg-text-2);
  margin: 0;
  max-width: 320px;
}

.lp-footer__head {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lg-accent);
  margin-bottom: 16px;
}

.lp-footer__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--lg-text-2);
  margin: 0;
}

.lp-footer__text a {
  color: var(--lg-text-2);
}

.lp-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-footer__links a {
  font-size: 15px;
  color: var(--lg-text-2);
}

/* Ikony serwisow spolecznosciowych. Dopoki adres nie jest uzupelniony w ACF,
   renderuje sie sam znacznik <span>, bez stanu hover i bez kursora linku. */
.lp-footer__socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.lp-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-radius);
  color: var(--lg-navy);
  transition: background var(--lg-instant) ease, border-color var(--lg-instant) ease,
              color var(--lg-instant) ease;
}

a.lp-social:hover,
a.lp-social:focus-visible {
  background: var(--lg-navy);
  border-color: var(--lg-navy);
  color: var(--lg-white);
}

.lp-social--plain {
  color: var(--lg-text-3);
  border-color: var(--lg-line-soft);
}

.lp-footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--lg-text-muted);
}

.lp-footer__legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.lp-footer__legal a {
  color: var(--lg-text-muted);
}

/* ---------------------------------------------------------- 18. Sticky CTA */

.lp-fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 70;
  background: var(--lg-accent);
  color: var(--lg-white);
  font-family: var(--lg-font);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 18px 30px;
  border-radius: var(--lg-radius);
  box-shadow: var(--lg-shadow-fab);
  transition: background var(--lg-instant) ease, transform var(--lg-instant) ease,
              box-shadow var(--lg-instant) ease;
}

.lp-fab:hover,
.lp-fab:focus-visible {
  background: var(--lg-accent-hover);
  color: var(--lg-white);
  transform: translateY(-2px);
  box-shadow: var(--lg-shadow-fab-hover);
}

/* Powrot na gore. Stoi nad przyklejonym CTA. Bez JS jest widoczny zawsze,
   ze skryptem pokazuje sie dopiero po wyjsciu z hero (klasa is-visible). */
.lp-totop {
  position: fixed;
  right: 28px;
  bottom: 96px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--lg-white);
  color: var(--lg-navy);
  border: 1px solid var(--lg-line-hover);
  border-radius: var(--lg-radius);
  box-shadow: var(--lg-shadow-fab);
  transition: background var(--lg-instant) ease, color var(--lg-instant) ease,
              transform var(--lg-instant) ease, opacity var(--lg-fast) ease,
              visibility var(--lg-fast) ease;
}

.lp-totop:hover,
.lp-totop:focus-visible {
  background: var(--lg-navy);
  border-color: var(--lg-navy);
  color: var(--lg-white);
  transform: translateY(-2px);
}

.lp-totop--auto {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lp-totop--auto.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ------------------------------------------------------------- 19. Animacje */

@keyframes lgUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

@keyframes lgIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Ukrywanie wlacza sie dopiero, gdy JS ustawi data-anim-ready na <html>.
     Bez JS cala tresc jest widoczna od razu. */
  [data-anim-ready] [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity var(--lg-normal) var(--lg-ease-in),
                transform var(--lg-normal) var(--lg-ease-in);
  }

  [data-anim-ready] [data-reveal="in"] {
    opacity: 1;
    transform: none;
  }

  [data-anim-ready] [data-stagger] > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--lg-fast) var(--lg-ease-in),
                transform var(--lg-fast) var(--lg-ease-in);
  }

  [data-anim-ready] [data-stagger="in"] > * {
    opacity: 1;
    transform: none;
  }

  [data-anim-ready] [data-stagger="in"] > *:nth-child(2) { transition-delay: .07s; }
  [data-anim-ready] [data-stagger="in"] > *:nth-child(3) { transition-delay: .14s; }
  [data-anim-ready] [data-stagger="in"] > *:nth-child(4) { transition-delay: .21s; }
  [data-anim-ready] [data-stagger="in"] > *:nth-child(5) { transition-delay: .28s; }
  [data-anim-ready] [data-stagger="in"] > *:nth-child(6) { transition-delay: .35s; }

  [data-hero-in] > * { animation: lgUp var(--lg-normal) var(--lg-ease-in) both; }
  [data-hero-in] > *:nth-child(2) { animation-delay: .1s; }
  [data-hero-in] > *:nth-child(3) { animation-delay: .2s; }
  [data-hero-in] > *:nth-child(4) { animation-delay: .3s; }

  [data-hero-bg] { animation: lgIn 1.4s ease both; }

  [data-zoom] img { transition: transform var(--lg-normal) var(--lg-ease-in); }
  [data-zoom]:hover img { transform: scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------- 20. Responsywnosc */

@media (max-width: 1180px) {
  .lp-header__inner { gap: 16px; }
  .lp-burger { display: flex; }

  /* Nawigacja schodzi do panelu pod naglowkiem. Panel jest pozycjonowany
     wzgledem naglowka, wiec nie rozpycha jego wysokosci. */
  .lp-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 4px var(--lg-gutter) 16px;
    background: var(--lg-white);
    border-bottom: 1px solid var(--lg-line);
    box-shadow: 0 18px 32px rgba(0, 27, 69, 0.1);
  }

  .lp-nav.is-open { display: flex; }

  .lp-nav a {
    display: flex;
    align-items: center;
    min-height: 52px;
    border-top: 1px solid var(--lg-line-soft);
  }

  .lp-nav a:first-child { border-top: 0; }
}

@media (max-width: 1080px) {
  .lp-wrap,
  .lp-nav,
  .lp-hero__wrap { padding-left: 24px; padding-right: 24px; }
  .lp-split { grid-template-columns: 1fr; gap: 44px; }
  .lp-grid-3,
  .lp-adv-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .lp-sec,
  .lp-sec--wide { padding: 64px 0 56px; }
  .lp-footer { padding-top: 52px; }

  .lp-wrap,
  .lp-nav { padding-left: 18px; padding-right: 18px; }
  .lp-hero__wrap { padding: 104px 18px 64px; }

  .lp-header__inner { gap: 12px; height: 66px; }
  :root { --lg-header-h: 66px; }

  /* CTA znika z naglowka: przy logo i nazwie marki nie miesci sie nawet
     w wersji zmniejszonej i wychodzilo poza ekran. Jego role przejmuje
     pasek przyklejony u dolu, ponizej. */
  .lp-header__cta { display: none; }

  .lp-grid-3,
  .lp-adv-grid,
  .lp-stats__grid,
  .lp-benefits,
  .lp-comp-grid,
  .lp-form__grid,
  .lp-footer__grid { grid-template-columns: 1fr; }

  .lp-stats__item,
  .lp-footer__grid > div { border-right: none; }

  .lp-stats__item {
    padding: 24px 0;
    border-bottom: 1px solid var(--lg-line-dark);
  }

  .lp-stats__item:last-child { border-bottom: none; }

  .lp-footer__grid { gap: 32px; }

  .lp-comp:first-child {
    border-right: none;
    border-bottom: 1px solid var(--lg-line);
  }

  .lp-comp { padding: 34px 24px; }

  /* Jedna kolumna: wiersze nie maja juz czego wyrownywac, wiec zdejmujemy
     subgrid. Inaczej karta rozciagnelaby sie na piec wierszy siatki. */
  .lp-comp-grid { grid-template-rows: none; }

  @supports (grid-template-rows: subgrid) {
    .lp-comp {
      display: block;
      grid-row: auto;
    }
  }

  .lp-support__grid { grid-template-columns: 1fr; }
  .lp-support__item { padding: 26px 22px; }
  .lp-map--wide { padding: 24px 18px 18px; }

  /* Strzalka powrotu siada nad przyklejonym paskiem CTA. */
  .lp-totop {
    right: 16px;
    bottom: 72px;
    width: 44px;
    height: 44px;
  }

  /* Przyciski CTA nie moga trzymac nowrap: na waskim ekranie dluga etykieta
     ("Dobierz maszynę z doradcą") wychodzila poza pasek. */
  .lp-btn--nowrap { white-space: normal; }

  .lp-bar .lp-btn,
  .lp-head-row .lp-btn { width: 100%; }

  /* Przyklejone CTA: pelnej szerokosci pasek u dolu, wjezdza dopiero
     po minieciu hero. Bez JS zostaje widoczny od razu. */
  .lp-fab {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 20px;
    font-size: 14px;
    text-align: center;
    border-radius: 0;
    box-shadow: 0 -6px 24px rgba(0, 27, 69, 0.28);
  }

  .lp-fab--auto {
    transform: translateY(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--lg-fast) var(--lg-ease-in),
                visibility var(--lg-fast) linear,
                background var(--lg-instant) ease;
  }

  .lp-fab--auto.is-visible {
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  /* Podniesienie w hover jest dla pigulki, nie dla paska przy krawedzi. */
  .lp-fab:hover,
  .lp-fab:focus-visible { transform: none; box-shadow: 0 -6px 24px rgba(0, 27, 69, 0.28); }

  .lp-fab--auto.is-visible:hover,
  .lp-fab--auto.is-visible:focus-visible { transform: none; }

  /* Miejsce, zeby pasek nie przykrywal dolu stopki. */
  .lp-footer { padding-bottom: 84px; }

  .lp-hero__lead { font-size: 17px; }
  .lp-stats__value { font-size: 34px; }

  .lp-map { padding: 34px 22px; }
  .lp-bar,
  .lp-bar--light { padding: 26px 20px; }
  .lp-formcard { padding: 34px 22px; }
  .lp-acc__btn { padding: 22px 18px; }
  .lp-acc__panel { padding: 0 18px 24px; }

  .lp-tile { height: 230px; }

  .lp-h1 { font-size: 36px; line-height: 1.14; letter-spacing: -0.02em; }
  .lp-h2 { font-size: 29px; line-height: 1.2; letter-spacing: -0.015em; }
  .lp-electric__title { font-size: 29px; line-height: 1.2; letter-spacing: -0.015em; }
  .lp-card__name,
  .lp-ecard__name,
  .lp-adv__title,
  .lp-comp__name,
  .lp-tile__name,
  .lp-acc__q,
  .lp-benefit__title { font-size: 22px; line-height: 1.25; }

  .lp-tabs { width: 100%; }

  /* min-height pilnuje progu 44px dla palca: sam padding dawal 42px. */
  .lp-tab {
    flex: 1 1 0;
    padding: 14px 12px;
    font-size: 14px;
    min-height: 44px;
  }

  .lp-tab--dark { padding: 13px 12px; font-size: 14px; }
}

/* ------------------------------------------------------- 20b. Strona awaryjna */

.lp-404__lead {
  margin: 24px 0 32px;
}

/* ------------------------------------------------------------------ 21. Druk */

@media print {
  .lp-header,
  .lp-totop,
  .lp-fab { display: none !important; }

  [data-reveal],
  [data-stagger] > *,
  [data-hero-in] > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .lp-panel[hidden],
  .lp-acc__panel[hidden] { display: block !important; }

  .lp-sec,
  .lp-sec--wide { padding: 24px 0; }
}
