/* ============================================================
   STYL-BUD – Stylesheet
   Tomasz Pietraszak | Rzeszów & Przemyśl
   Charset: UTF-8 | Polskie znaki: Manrope latin-ext
   ============================================================ */

/* ── Fonts: self-hosted, brak zapytań do Google ── */

/* Manrope latin-ext — polskie znaki: ą ę ó ś ź ż ć ń ł */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Manrope latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* Syncopate 700 — tylko logo/akcenty, bez polskich znaków */
@font-face {
  font-family: 'Syncopate';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/syncopate-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Syncopate';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/syncopate-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* ── 1. Variables ── */
:root {
  /* Kolory: oryginalna paleta premium – złoto-bursztynowy akcent */
  --c-bg: #ffffff;
  --c-bg-alt: #f7f5f2;
  --c-bg-dark: #111111;
  --c-bg-dark2: #1a1a1a;
  --c-text: #1e1e1e;
  --c-muted: #6b7280;
  --c-accent: #c8a96e;
  /* złoto-bursztyn */
  --c-accent-h: #a8843b;
  /* ciemniejszy bursztyn hover */
  --c-border: #e8e3db;
  --c-white: #ffffff;

  /* Typografia: Manrope dla wszystkich tekstów (UTF-8 + polskie znaki)
     Syncopate tylko dla elementów logo-style bez polskich liter */
  --f-display: 'Syncopate', 'Arial Narrow', Arial, sans-serif;
  --f-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --f-serif: 'Manrope', Arial, sans-serif;

  --max-w: 1280px;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);

  --transition: 0.2s ease;
}

/* ── 2. Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--f-sans);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── 3. Typography ── */
h1,
h2,
h3,
h4 {
  font-family: var(--f-sans);
  /* Manrope — obsługuje polskie znaki */
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-text);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.2rem;
}

h4 {
  font-size: 1rem;
}

p {
  color: var(--c-muted);
  font-size: 1.025rem;
  font-family: var(--f-sans);
}

strong {
  color: var(--c-text);
  font-weight: 700;
}

/* ── 4. Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 24px;
}

section.alt {
  background: var(--c-bg-alt);
}

section.dark {
  background: var(--c-bg-dark);
  color: var(--c-white);
}

section.dark h1,
section.dark h2,
section.dark h3,
section.dark p {
  color: rgba(255, 255, 255, 0.85);
}

section.dark h1,
section.dark h2,
section.dark h3 {
  color: var(--c-white);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent-h);
  margin-bottom: 14px;
}

.section-header {
  margin-bottom: 48px;
}

.section-header p {
  margin-top: 12px;
  max-width: 580px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered p {
  margin: 12px auto 0;
}

/* ── 5. Skip link ── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--c-accent);
  color: #111;
  padding: 8px 16px;
  font-weight: 700;
  z-index: 999;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* ── 6. Header & Nav ── */
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: var(--max-w);
  z-index: 900;
  background: rgba(16, 16, 16, 0.85);
  /* Ciemne szkło tła, budujące kontrast pod białe logo */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* Jasna bardzo subtelna obwódka nadająca formę */
  border-radius: 12px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.site-header.scrolled {
  top: 0;
  max-width: 100%;
  width: 100%;
  border-radius: 0;
  border-top: none;
  border-left: none;
  border-right: none;
  background: rgba(12, 12, 12, 0.96);
  /* Twardszy czarny by nie odciągać od czytania scrolla */
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  padding: 0 16px;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  /* WIĘCEJ ODDECHU DLA LOGO */
  max-width: 100%;
  padding: 0 40px;
  /* Margines bezpieczeństwa */
  transition: padding 0.4s ease, height 0.4s ease;
}

.site-header.scrolled .nav {
  height: 72px;
  /* Lżejszy navbar po zmniejszeniu */
}

/* --- 3-Zonowy układ pole ochronne --- */
.nav-mobile-wrapper {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 901px) {

  .nav-list.nav-left,
  .nav-list.nav-right {
    display: flex;
    flex: 1;
    /* Równo zajmują miejsce po bokach, odpychając logo na bezpieczny dystans */
    gap: 24px;
  }

  .nav-list.nav-left {
    justify-content: flex-end;
    padding-right: 120px;
  }

  .nav-list.nav-right {
    justify-content: flex-start;
    padding-left: 120px;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a,
.nav-dropdown-trigger {
  color: rgba(255, 255, 255, 0.7);
  /* Szaro-biel w stand-by do wtopienia z ciemnym szkłem */
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
}

.nav-list a:hover,
.nav-list a.active,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  /* Brak białego klocka - bardzo luksusowa transparentna wkładka */
}

.nav-dropdown-trigger:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

/* Subtelny ciemny Dropdown jako zgrabna chmurka */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(16, 16, 16, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  transition: all 0.25s ease;
  z-index: 10;
  list-style: none;
  margin: 0;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.nav-dropdown-menu li {
  margin: 0;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  font-size: 0.85rem;
  width: 100%;
  color: rgba(255, 255, 255, 0.75);
  box-sizing: border-box;
}

.nav-dropdown-menu li a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.center-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  z-index: 20;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
}

.center-logo .logo-img {
  height: 108px;
  /* OGROMNE ODDYCHAJĄCE LOGO WEDŁUG WYTYCZNYCH */
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-header.scrolled .center-logo .logo-img {
  height: 64px;
  /* Przy scrollu nadal zostaje w ryzach żeby nie psuło używalności */
}

/* Stare klasy zachowane */
.logo-brand {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: 0.02em;
  line-height: 1;
}

.logo-brand span {
  color: var(--c-accent);
}

.logo-tagline {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-top: 2px;
}

.footer-logo .logo-img {
  height: 192px;
  width: auto;
  display: block;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

/* Toggle Mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  box-shadow: none;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Moduł narzędziowy: Floating Phone CTA & strzałka. Subtelny, nie zagłuszający layoutu */
.floating-tools {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 800;
}

.scroll-to-top {
  width: 44px;
  height: 44px;
  background: rgba(16, 16, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--c-accent);
  color: #111;
  border-color: var(--c-accent);
  transform: translateY(-3px);
}

.scroll-to-top svg {
  width: 22px;
  height: 22px;
}

/* Subtelna redukcja agresywności Floating CTA */
.floating-phone {
  width: 52px;
  height: 52px;
  background: var(--c-accent);
  color: #111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(200, 169, 110, 0.3);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.floating-phone:hover,
.floating-phone:focus-visible {
  transform: translateY(-4px);
  /* Płynna elewacja bez disco effect */
  box-shadow: 0 8px 24px rgba(200, 169, 110, 0.45);
  background: var(--c-accent-h);
}

/* Mobile Overrides */
@media (max-width: 900px) {

  /* ── Navbar: zawsze solid ciemny, nigdy transparent ── */
  .site-header {
    width: 100%;
    top: 0;
    left: 0;
    transform: none;
    max-width: 100%;
    background: rgba(14, 14, 14, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
    border-radius: 0;
    padding-top: 0;
  }

  .site-header.scrolled {
    top: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0;
  }

  .nav {
    padding: 0 20px;
    height: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .site-header.scrolled .nav {
    padding: 0 20px;
    height: 56px;
  }

  .nav-left,
  .nav-right {
    display: none;
  }

  .center-logo {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    display: flex;
    align-items: center;
  }

  .center-logo .logo-img {
    height: 42px;
    width: auto;
    max-width: 50vw;
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) invert(1);
  }

  .site-header.scrolled .center-logo {
    transform: none;
  }
  .site-header.scrolled .center-logo .logo-img {
    height: 30px;
    width: auto;
    max-width: 50vw;
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) invert(1);
  }

  .nav-toggle {
    display: flex;
    position: static;
    transform: none;
    right: auto;
    top: auto;
    padding: 8px;
    margin-right: -8px;
  }

  /* ── Menu mobilne: fixed, pełna szerokość, solid bg ── */
  .nav-mobile-wrapper {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    flex-direction: column;
    padding: 8px 0 24px;
    gap: 0;
    align-items: flex-start;
    display: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  }

  .site-header.scrolled .nav-mobile-wrapper {
    top: 56px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-mobile-wrapper.open {
    display: flex;
  }

  .nav-mobile-wrapper .nav-left,
  .nav-mobile-wrapper .nav-right {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 0;
    width: 100%;
    align-items: flex-start;
  }

  /* ── Linki menu: czytelne, wyraźne separatory ── */
  .nav-mobile-wrapper .nav-list a,
  .nav-mobile-wrapper .nav-dropdown-trigger {
    display: block;
    width: 100%;
    font-size: 1.05rem;
    font-weight: 500;
    padding: 16px 24px;
    color: #ffffff;
    text-shadow: none;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-mobile-wrapper .nav-right li:last-child a {
    border-bottom: none;
  }

  /* ── Podlinki Usługi: wcięte, wyraźnie odróżnione ── */
  .nav-mobile-wrapper .nav-dropdown-menu {
    border-left: none;
    margin-left: 0;
    padding: 0;
    width: 100%;
  }

  .nav-mobile-wrapper .nav-dropdown-menu li a {
    font-size: 0.92rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    padding: 12px 24px 12px 40px;
    text-shadow: none;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-mobile-wrapper .nav-dropdown-menu li:last-child a {
    border-bottom: none;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    min-width: 0;
    display: block;
    transition: none;
  }

  /* Blokuj hover/focus-within transform z base CSS – wyższy specificity */
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: none;
  }

  /* Kolor podświetlenia przy tapnięciu – bez żadnego ruchu */
  .nav-mobile-wrapper .nav-dropdown-menu li a:active,
  .nav-mobile-wrapper .nav-dropdown-menu li a:focus {
    color: var(--c-accent);
    background: rgba(255, 255, 255, 0.04);
    outline: none;
  }

  .nav-dropdown-trigger {
    pointer-events: none;
    padding-left: 24px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-top: 20px;
    padding-bottom: 8px;
    border-bottom: none;
  }

  .nav-dropdown-trigger small {
    display: none;
  }

  .floating-tools {
    bottom: 16px;
    right: 16px;
    gap: 12px;
  }

  .floating-phone {
    width: 38px;
    height: 38px;
    font-size: 1.0rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .scroll-to-top {
    width: 34px;
    height: 34px;
  }

  .scroll-to-top svg {
    width: 14px;
    height: 14px;
  }

  /* Hero: padding-top = wysokość navbara + oddech */
  .hero {
    padding: 90px 20px 80px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
  }
  .btn-lg {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

/* ── 7. Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), transform 0.15s, box-shadow var(--transition);
}

.btn-primary {
  background: var(--c-accent);
  color: #111111;
  border: 2px solid var(--c-accent);
}

.btn-primary:hover {
  background: var(--c-accent-h);
  border-color: var(--c-accent-h);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 169, 110, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--c-accent);
  border: 2px solid var(--c-accent);
}

.btn-outline:hover {
  background: var(--c-accent);
  color: #111111;
}

.btn-ghost {
  background: transparent;
  color: var(--c-muted);
  border: 1px solid var(--c-border);
}

.btn-ghost:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 0.95rem;
}

.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

.faq-question:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── 8. Hero ── */
.hero {
  background: var(--c-bg-dark);
  padding: 96px 24px 96px;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 169, 110, 0.3), transparent);
  z-index: 3;
}

/* Hero slideshow */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 1;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Hero slider dots */
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.hero-dot.active {
  background: var(--c-accent);
  transform: scale(1.25);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--c-accent);
  flex-shrink: 0;
}

.hero h1 {
  color: var(--c-white);
  max-width: 700px;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--c-accent);
}

.hero-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-desc strong {
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-note {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.hero-note-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

.hero-note-item::before {
  content: '✓';
  color: var(--c-accent);
  font-weight: 700;
}

/* ── 9. Intro / Lead text ── */
.lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--c-text);
  max-width: 760px;
}

.lead+.lead {
  margin-top: 16px;
}

.highlight-box {
  border-left: 3px solid var(--c-accent);
  background: #fdf9f3;
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--c-text);
}

/* ── 10. Cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: var(--c-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 14px;
  display: block;
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  font-size: 0.9rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--c-muted);
  border: 1px solid var(--c-border);
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--c-bg-alt);
}

/* ── 11. Two-column layouts ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.two-col.center {
  align-items: center;
}

/* ── 12. Feature list ── */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--c-text);
}

.feature-list li::before {
  content: '✓';
  color: var(--c-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── 13. Premium Vertical Timeline ── */
.premium-timeline {
  list-style: none;
  padding: 0;
  margin: 32px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.premium-timeline li {
  display: flex;
  gap: 20px;
  position: relative;
}
/* Subtelna złota linia pionowa łącząca etapy */
.premium-timeline li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 5px; /* idealnie przechodzi przez środek znacznika 12px */
  top: 24px;
  bottom: -24px;
  width: 2px;
  background: var(--c-accent);
  opacity: 0.3;
}
.premium-timeline .pt-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 6px rgba(200, 169, 110, 0.15); /* Elegancja poświata */
  margin-top: 6px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.premium-timeline .pt-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 8px;
}
.premium-timeline .pt-content strong {
  font-size: 1.15rem;
  color: var(--c-text);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.premium-timeline .pt-content span {
  font-size: 0.95rem;
  color: var(--c-muted);
  line-height: 1.6;
}

/* ── 13. Process steps ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 40px;
  right: 40px;
  height: 1px;
  background: var(--c-border);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #111;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.875rem;
}

/* ── 14. Comparison boxes ── */
.comparison {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comp-item {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
}

.comp-item.good {
  border-color: rgba(200, 169, 110, 0.4);
  background: #fdf9f3;
}

.comp-item.bad {
  opacity: 0.65;
  background: var(--c-bg-alt);
}

.comp-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.comp-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-text);
  margin-bottom: 3px;
}

.comp-desc {
  font-size: 0.875rem;
  color: var(--c-muted);
}

/* ── 15. Points (icon + text) ── */
.points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.point {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.point:hover {
  border-color: var(--c-accent);
}

.point-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.point h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.point p {
  font-size: 0.875rem;
}

/* ── 16. CTA section ── */
.cta-section {
  background: var(--c-bg-dark);
  padding: 80px 24px;
  text-align: center;
}

.cta-box {
  max-width: 640px;
  margin: 0 auto;
}

.cta-box h2 {
  color: var(--c-white);
  margin-bottom: 16px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.phone-display {
  display: block;
  font-family: var(--f-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--c-accent);
  text-decoration: none;
  margin: 20px 0 8px;
  transition: color var(--transition);
}

.phone-display:hover {
  color: var(--c-accent-h);
}

.phone-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ── 17. Trust bar ── */
.trust-bar {
  background: var(--c-bg-alt);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 24px;
}

.trust-items {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--c-muted);
}

.trust-item strong {
  color: var(--c-text);
}

/* ── 18. FAQ Accordion ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--c-text);
  font-family: var(--f-sans);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--c-accent);
}

.faq-icon {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--c-accent);
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  font-size: 0.925rem;
  color: var(--c-muted);
  line-height: 1.7;
  padding: 0 20px;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 20px 18px;
}

/* ── 19. Contact page ── */
/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-family: var(--f-sans);
  font-size: 1rem;
  color: var(--c-text);
  background: var(--c-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--c-muted);
  margin-top: 2px;
}

.form-success {
  display: none;
  padding: 16px 20px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  color: #166534;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ── Opinie klientów ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.review-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--c-text);
  margin: 0;
  font-style: italic;
  flex: 1;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 4px;
}

.review-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--c-text);
}

.review-loc {
  font-size: 0.8rem;
  color: var(--c-muted);
}

/* ── Obszar działania ── */
.obszar-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.obszar-cities h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--c-text);
}

.cities-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.cities-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.95rem;
}

.obszar-note {
  font-size: 0.875rem;
  color: var(--c-muted);
  margin-top: 12px;
  line-height: 1.5;
}

.obszar-note a {
  color: var(--c-accent);
}

.obszar-map iframe {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.gallery-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.02);
}

.photo-col .gallery-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.photo-col .gallery-grid {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 0;
}

.photo-col .gallery-grid .gallery-img {
  aspect-ratio: 1/1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  transition: border-color var(--transition);
}

.contact-item:hover {
  border-color: var(--c-accent);
}

.contact-item-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-muted);
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-text);
}

.contact-item-value a {
  text-decoration: none;
  color: inherit;
}

.contact-item-value a:hover {
  color: var(--c-accent);
}

.contact-item-note {
  font-size: 0.8rem;
  color: var(--c-muted);
  margin-top: 2px;
}

/* ── 20. Footer ── */
.site-footer {
  background: var(--c-bg-dark);
  padding: 60px 24px 32px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 10px;
}

.footer-logo span {
  color: var(--c-accent);
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
  font-family: var(--f-sans);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--c-accent);
}

.footer-col p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}

.footer-col a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--c-accent);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ── 21. Utilities ── */
.text-accent {
  color: var(--c-accent);
}

.text-white {
  color: var(--c-white);
}

.text-muted {
  color: var(--c-muted);
}

.mt-4 {
  margin-top: 16px;
}

.mt-8 {
  margin-top: 32px;
}

.mt-12 {
  margin-top: 48px;
}

.gap-section {
  margin-top: 64px;
}

.divider {
  height: 1px;
  background: var(--c-border);
  margin: 48px 0;
}

/* ── 22b. Service Cards 2×2 ── */
.srv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.srv-card {
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  box-shadow: var(--shadow);
}

.srv-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.srv-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--c-bg-alt);
}

.srv-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.srv-body .card-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
  display: block;
}

.srv-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--c-text);
}

.srv-body>p {
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.6;
  flex: 1;
}

.srv-gallery-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── 22c. Gallery Preview (homepage) ── */
.gp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.gp-tab {
  background: var(--c-bg);
  border: 2px solid var(--c-border);
  border-radius: var(--radius);
  padding: 8px 18px;
  font-family: var(--f-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.gp-tab:hover {
  border-color: var(--c-accent);
  color: var(--c-text);
}

.gp-tab.active {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}

.gp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 32px;
  min-height: 360px;
}

.gp-item {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-bg-alt);
}

.gp-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.gp-item:hover img {
  transform: scale(1.06);
}

.gp-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── 22. Responsive ── */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid::before {
    display: none;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  section {
    padding: 56px 20px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-col .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .obszar-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cities-list {
    grid-template-columns: 1fr 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero {
    padding: 64px 20px 56px;
  }

  .hero-note {
    gap: 20px;
  }

  .phone-display {
    font-size: 1.7rem;
  }

  .hero-dots {
    bottom: 16px;
  }

  .trust-items {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    justify-content: center;
  }

  .gallery-grid,
  .gallery-grid.cols-2,
  .gallery-grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .photo-col .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 56px 16px 48px;
  }

  .hero-note {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .footer-logo .logo-img {
    height: 96px;
  }

  .srv-grid {
    grid-template-columns: 1fr;
  }

  .gp-grid {
    grid-template-columns: repeat(2, 1fr);
    min-height: 200px;
  }

  .lb-prev {
    left: 8px;
    padding: 12px 14px;
  }

  .lb-next {
    right: 8px;
    padding: 12px 14px;
  }

  .lb-prev,
  .lb-next {
    font-size: 2rem;
  }
}

/* ── Lightbox ── */
.gallery-img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  cursor: pointer;
}

.lb-img {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.6);
  user-select: none;
  transition: opacity 0.2s ease;
}

.lb-img.lb-loading {
  opacity: 0.3;
}

.lb-close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.8);
  font-size: 2.4rem;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 10px;
  transition: color 0.2s;
}

.lb-close:hover {
  color: #fff;
}

.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.85);
  font-size: 2.8rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  padding: 14px 20px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.lb-prev {
  left: 20px;
}

.lb-next {
  right: 20px;
}

.lb-prev:hover,
.lb-next:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.lb-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  pointer-events: none;
}

.lb-caption {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  max-width: 70vw;
  text-align: center;
  pointer-events: none;
}

/* ── 23. Scroll margin for sticky header ── */
h1[id],
h2[id],
section[id],
main[id] {
  scroll-margin-top: 80px;
}

/* ── 24. Reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── 25. Stats bar ── */
.stats-bar {
  background: var(--c-bg-dark);
  padding: 56px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 16px 52px;
  flex: 1;
  min-width: 150px;
}

.stat-number {
  font-family: var(--f-serif);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.stat-divider {
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  align-self: center;
}

@media (max-width: 768px) {
  .stat-item {
    padding: 12px 28px;
  }

  .stat-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .stats-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .stat-item {
    min-width: 0;
  }
}

/* ── 26. Hero scroll arrow ── */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.35);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  transition: color 0.3s;
}

.hero-scroll:hover {
  color: var(--c-accent);
}

.hero-scroll-arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: scrollBounce 1.8s ease-in-out infinite;
  margin-top: 2px;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: rotate(45deg) translateY(0);
    opacity: 0.5;
  }

  50% {
    transform: rotate(45deg) translateY(5px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-arrow {
    animation: none;
  }
}

@media (max-width: 768px) {
  .hero-scroll {
    display: none;
  }
}

/* ── 27. Back-to-top button (ZDEPRACOWANE - zastąpione przez .scroll-to-top w floating-tools) ── */
.back-to-top {
  display: none !important;
}

/* ── 26. Map consent (click-to-load Google Maps) ── */
.map-consent {
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 32px;
  box-sizing: border-box;
}

.map-consent-icon {
  font-size: 2.2rem;
  line-height: 1;
  margin: 0;
}

.map-consent-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  margin: 0;
}

.map-consent-desc {
  color: var(--c-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  max-width: 280px;
}

.map-consent-desc small {
  font-size: 0.78rem;
}

/* ── 27. Form RODO info ── */
.form-rodo {
  font-size: 0.78rem;
  color: var(--c-muted);
  line-height: 1.55;
  margin-top: 10px;
}

.form-rodo a {
  color: var(--c-accent);
  text-decoration: underline;
}

.form-rodo a:hover {
  color: var(--c-accent-h);
}

/* ── 28. Form success — links inside ── */
.form-success a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

/* ── 29. Privacy policy page ── */
.privacy-content {
  max-width: 760px;
  margin: 0 auto;
}

.privacy-content h2 {
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content p {
  margin-top: 10px;
  line-height: 1.75;
}

.privacy-content ul {
  margin-top: 12px;
  padding-left: 20px;
  line-height: 1.9;
}

.privacy-content ul li {
  margin-bottom: 4px;
}

.privacy-content a {
  color: var(--c-accent);
}

.privacy-content a:hover {
  color: var(--c-accent-h);
}

.privacy-admin {
  margin: 12px 0;
  padding: 16px 20px;
  background: var(--c-bg-alt);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--radius);
  line-height: 1.7;
}

.privacy-date {
  margin-top: 24px;
  color: var(--c-muted);
  font-size: 0.85rem;
}