/* ==========================================================
   OSIEDLE PIEKNY WIDOK - LP v2
   Paleta: typografia #2E4A3A (deep forest), tla BelArosa
   Layout: editorial broken-grid (asymetryczne marginesy)
   Data: 2026-05-21
   ========================================================== */

:root {
  /* Typografia (zielen na calej LP) */
  --c-text: #2E4A3A;
  --c-text-muted: #5A6E5F;
  --c-text-light: #8A9A8F;

  /* Paleta BelArosa - tla, ramki, akcenty */
  --c-blue: #2779A7;
  --c-blue-dark: #1E5F84;
  --c-brown: #987654;
  --c-brown-light: #B89878;
  --c-white: #FFFFFF;
  --c-cream: #F7F4ED;
  --c-cream-dark: #EDE8DC;

  /* Funkcjonalne */
  --c-line: rgba(46, 74, 58, 0.15);
  --c-line-strong: rgba(46, 74, 58, 0.3);
  --c-shadow: rgba(46, 74, 58, 0.1);

  /* Fonty */
  /* "f-serif" trzyma teraz Open Sans - klient odrzucil Cormorant Garamond 2026-05-22 */
  --f-serif: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rozmiary */
  --r-radius: 4px;
  --r-radius-lg: 12px;
  --r-shadow-card: 0 2px 16px var(--c-shadow);
  --r-shadow-card-hover: 0 8px 32px var(--c-shadow);

  /* Easing */
  --e-default: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Layout - marginesy boczne + szerokosc tresci (2026-05-22) */
  --pad-x: clamp(20px, 4vw, 56px);
  --content-max: 1200px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-cream);
  overflow-x: hidden;
  text-align: center;
}

/* Wszystkie elementy text centered (decyzja Anny 2026-05-21 wieczor) */
ul, ol, li { text-align: center; }
.header-inner { text-align: center; }
.header-nav { justify-content: center; }

/* Wszystkie ledy/body z max-width centrowane (margin: 0 auto) */
.branching-lead,
.tension-body,
.produkt-lead,
.mechanizm-lead,
.wellness-lead,
.spec-lead,
.trust-lead,
.lokalizacja-lead,
.cennik-lead,
.o-deweloperze-lead,
.kwal-lead,
.kalkulator-intro,
.galeria-lead,
.hero-body,
.hero-sub,
.hero-eyebrow,
.hero-trust,
.section-headline,
.eyebrow,
p {
  margin-left: auto !important;
  margin-right: auto !important;
}

h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; color: var(--c-text); font-weight: 700; }
p { margin: 0 0 1em; color: var(--c-text); }
a { color: var(--c-text); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s var(--e-default); }
a:hover { color: var(--c-blue); }
img, picture { max-width: 100%; height: auto; display: block; }
ul, ol { color: var(--c-text); }
button { font-family: inherit; cursor: pointer; color: var(--c-text); }
input, textarea, select { font-family: inherit; color: var(--c-text); }
blockquote { margin: 0; }
cite { font-style: normal; }

.skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--c-text); color: var(--c-white);
  padding: 12px 20px; z-index: 1000;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ===== TYPOGRAFIA ===== */
.eyebrow {
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-brown);
  margin: 0 0 1.5em;
  display: block;
}

.section-headline {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.7em;
  color: var(--c-text);
}

h3 {
  font-family: var(--f-serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

/* ===== BROKEN-GRID SYSTEM (offset variations) =====
   Kazda sekcja ma .offset-* + .section-inner z roznymi sciezkami siatki */

.section {
  position: relative;
  padding: clamp(60px, 10vh, 120px) var(--pad-x);
  background: var(--c-white);
}

/* Naprzemienne tla broken-grid */
.section:nth-of-type(odd) { background: var(--c-cream); }
.section:nth-of-type(even) { background: var(--c-white); }
.section.section-hero { background: var(--c-text); }

.section-inner {
  position: relative;
  max-width: var(--content-max);
  padding: 0;
  margin: 0 auto;
}

/* Bez paddingow poziomych (decyzja Anny 2026-05-21 wieczor) */
.offset-left .section-inner,
.offset-right .section-inner,
.offset-center .section-inner {
  margin: 0 auto;
  max-width: var(--content-max);
  padding: 0;
}

.narrow-left, .wide-right { max-width: var(--content-max) !important; }
.shift-right, .shift-left { padding: 0; margin: 0; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(46, 74, 58, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--content-max);
  padding: 16px var(--pad-x);
  margin: 0 auto;
}
.logo img { height: 36px; width: auto; }
.header-nav {
  display: flex; gap: 32px;
}
.header-nav-link {
  font-family: var(--f-serif);
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-white);
  transition: color 0.2s var(--e-default);
}
.header-nav-link:hover { color: var(--c-brown-light); }
.header-phone {
  display: flex; flex-direction: column; align-items: flex-end;
  text-decoration: none; line-height: 1.1;
}
.header-phone-label { font-size: 11px; color: rgba(255, 255, 255, 0.72); text-transform: uppercase; letter-spacing: 0.1em; }
.header-phone-number { font-size: 16px; font-weight: 600; color: var(--c-white); }

/* Na desktop wrapper przezroczysty - nav i telefon ukladaja sie jak dotad */
.header-collapse { display: contents; }

/* Hamburger - widoczny tylko na mobile (2026-05-22) */
.header-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 9px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.header-burger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--c-white);
  transition: transform 0.3s var(--e-default), opacity 0.2s var(--e-default);
}
.site-header.menu-open .header-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.menu-open .header-burger span:nth-child(2) { opacity: 0; }
.site-header.menu-open .header-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .header-burger { display: flex; }
  .header-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 28px var(--pad-x) 32px;
    background: rgba(46, 74, 58, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .site-header.menu-open .header-collapse { display: flex; }
  .header-nav {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .header-nav-link { font-size: 17px; }
  .header-phone { align-items: center; }
}

/* ===== HERO ===== */
.section-hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 1;
}
.hero-bg-kenburns {
  animation: kenburns 28s ease-in-out infinite alternate;
  transform-origin: center;
}
@keyframes kenburns {
  0%   { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.12) translate(-2%, -3%); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(46,74,58,0.3) 0%, rgba(46,74,58,0.6) 100%);
  z-index: 2;
}
.hero-inner {
  position: relative; z-index: 3;
  padding: 140px 0 80px;
  max-width: 100%;
  margin: 0 auto;
  color: var(--c-white);
  text-align: center;
}
.hero-inner * { color: var(--c-white); }
.hero-eyebrow {
  color: var(--c-cream) !important;
  border-left: 2px solid var(--c-brown-light);
  padding-left: 16px;
  margin-bottom: 32px;
}
.hero-headline {
  font-family: var(--f-serif);
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--c-white);
}
.hero-sub {
  font-family: var(--f-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-style: italic;
  font-weight: 500;
  margin: 0 0 24px;
  opacity: 0.95;
}
.hero-body {
  font-size: 17px;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 32px;
  opacity: 0.92;
}
.hero-trust {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.85;
  margin: 0 0 40px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-eyebrow { border-left: none !important; padding-left: 0 !important; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--r-radius);
  border: 2px solid;
  transition: all 0.25s var(--e-default);
  cursor: pointer;
  text-align: center;
}
.btn-primary {
  background: var(--c-text);
  color: var(--c-white) !important;
  border-color: var(--c-text);
}
.btn-primary:hover {
  background: var(--c-blue);
  border-color: var(--c-blue);
  color: var(--c-white) !important;
  transform: translateY(-2px);
  box-shadow: var(--r-shadow-card);
}
.btn-secondary {
  background: transparent;
  color: var(--c-white) !important;
  border-color: var(--c-white);
}
.btn-secondary:hover {
  background: var(--c-white);
  color: var(--c-text) !important;
}
.section-bab .btn-secondary,
.section-branching .btn-secondary,
.section-produkt .btn-secondary,
.section-cennik .btn-secondary,
.section-kwalifikacja .btn-secondary {
  color: var(--c-text) !important;
  border-color: var(--c-text);
}
.section-bab .btn-secondary:hover,
.section-branching .btn-secondary:hover,
.section-produkt .btn-secondary:hover,
.section-cennik .btn-secondary:hover,
.section-kwalifikacja .btn-secondary:hover {
  background: var(--c-text);
  color: var(--c-white) !important;
}

/* ===== SEKCJA 2: BRANCHING CTA ===== */
.branching-headline { margin-bottom: 24px; }
.branching-lead {
  font-size: 18px;
  color: var(--c-text-muted);
  max-width: 640px;
  margin: 0 0 56px;
}
.branching-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.branching-card {
  display: block;
  padding: 48px 36px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-radius-lg);
  text-decoration: none;
  position: relative;
  transition: all 0.3s var(--e-default);
  overflow: hidden;
}
.branching-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--c-brown);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--e-default);
}
.branching-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--r-shadow-card-hover);
  border-color: transparent;
}
.branching-card:hover::before { transform: scaleX(1); }
.card-num {
  font-family: var(--f-serif);
  font-size: 14px;
  color: var(--c-brown);
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 24px;
}
.branching-card-title { margin: 0 0 16px; font-size: 1.4rem; }
.branching-card-sub { color: var(--c-text-muted); font-size: 15px; margin: 0 0 24px; }
.branching-card-cta {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-blue);
}
.branching-card-cta::after {
  content: " \2192";
  transition: transform 0.2s var(--e-default);
  display: inline-block;
}
.branching-card:hover .branching-card-cta::after { transform: translateX(4px); }

@media (max-width: 768px) {
  .branching-grid { grid-template-columns: 1fr; }
}

/* ===== SEKCJA 3: TENSION ===== */
.tension-body {
  font-family: var(--f-serif);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.55;
  font-style: italic;
  color: var(--c-text-muted);
  max-width: 720px;
  margin: 0 0 24px;
}

/* ===== SEKCJA 4: BAB ===== */
.bab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.bab-col {
  padding: 40px 32px;
  border-right: 1px solid var(--c-line);
}
.bab-col:last-child { border-right: none; }
.bab-before { background: var(--c-cream); }
.bab-after { background: var(--c-white); }
.bab-bridge { background: var(--c-text); color: var(--c-white); }
.bab-bridge * { color: var(--c-white); }
.bab-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-brown);
  display: inline-block;
  margin-bottom: 16px;
}
.bab-bridge .bab-tag { color: var(--c-brown-light); }
.bab-col-title { font-size: 1.2rem; margin: 0 0 16px; }
.bab-col p { font-size: 15px; line-height: 1.6; }

@media (max-width: 900px) {
  .bab-grid { grid-template-columns: 1fr; }
  .bab-col { border-right: none; border-bottom: 1px solid var(--c-line); }
}

/* ===== SEKCJA 5: WELLNESS ===== */
.wellness-lead {
  font-family: var(--f-serif);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  font-style: italic;
  max-width: 700px;
  margin: 0 0 48px;
}
.wellness-circles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  margin-top: 16px;
}
.wellness-circle {
  position: relative;
  overflow: hidden;
  width: clamp(220px, 58vw, 264px);
  height: clamp(220px, 58vw, 264px);
  border-radius: 50%;
  background: var(--c-text);
  color: var(--c-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  box-shadow: 0 12px 38px rgba(46, 74, 58, 0.3),
              0 0 0 0 rgba(152, 118, 84, 0);
  /* stan poczatkowy - obrocone i schowane, czeka na klase .is-visible (script.js) */
  opacity: 0;
  transform: rotate(-220deg) scale(0.4);
  transition: opacity 0.7s var(--e-default),
              transform 0.7s var(--e-default),
              box-shadow 0.5s var(--e-default);
}
.wellness-circle.is-visible {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.wellness-circle:nth-child(2) { transition-delay: 0.15s; }
.wellness-circle:nth-child(3) { transition-delay: 0.3s; }

/* Swietlisty refleks przesuwajacy sie po kole przy hover */
.wellness-circle::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -130%;
  width: 75%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: rotate(22deg);
  pointer-events: none;
  transition: left 0.75s var(--e-default);
}

/* Hover premium: uniesienie + powiekszenie + cieplejszy cien + pierscien cognac + refleks */
.wellness-circle:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 26px 56px rgba(46, 74, 58, 0.42),
              0 0 0 8px rgba(152, 118, 84, 0.22);
  transition-delay: 0s;
}
.wellness-circle:hover::before {
  left: 130%;
}
.wellness-circle-main {
  font-family: var(--f-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-white);
  transition: letter-spacing 0.5s var(--e-default);
}
.wellness-circle:hover .wellness-circle-main {
  letter-spacing: 0.03em;
}
.wellness-circle-sub {
  font-size: 0.82rem;
  line-height: 1.4;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
}
@media (prefers-reduced-motion: reduce) {
  .wellness-circle {
    transition: opacity 0.3s linear;
    transform: none;
  }
  .wellness-circle.is-visible { transform: none; }
  .wellness-circle:hover { transform: none; }
  .wellness-circle::before,
  .wellness-circle:hover::before { transition: none; left: -130%; }
}

/* ===== PRODUKT (sekcje 6, 7) ===== */
.produkt-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-text-muted);
  max-width: 760px;
  margin: 0 0 24px;
}
/* Cena przy produkcie (2026-05-22, przeniesiona z usunietej sekcji Cennik) */
.produkt-cena {
  font-family: var(--f-serif);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
  color: var(--c-text);
  margin: 0 0 40px;
}
.produkt-cena-nota {
  display: block;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--c-text-muted);
  margin-top: 6px;
}
.produkt-content {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.section-produkt-dzialka .produkt-content { grid-template-columns: 1fr 1.15fr; }
.produkt-specs h3 {
  margin: 0 0 24px;
  font-size: 1.3rem;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--c-brown);
  display: inline-block;
}
.spec-list { list-style: none; padding: 0; margin: 0 0 32px; text-align: center; }
.spec-list li {
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-line);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}
.spec-list li::before {
  content: "\2192  ";
  color: var(--c-brown);
  font-weight: 700;
  margin-right: 6px;
}
.spec-list li:last-child { border-bottom: none; }
.spec-list-praktyczna li { padding: 14px 20px; }
.spec-list-praktyczna li strong { display: block; margin-bottom: 4px; }

/* ===== Wyrownanie per sekcja - korekty 2026-05-22 (arkusz Anny) ===== */
/* Sekcje 6, 7: lista pozycji do lewej, naglowek h3 zostaje wycentrowany */
.section-produkt .produkt-specs .spec-list,
.section-produkt .produkt-specs .spec-list li { text-align: left; }

/* Sekcje 12-15: tekst do lewej */
.section-lokalizacja .section-inner,
.section-cennik .section-inner,
.section-faq .section-inner,
.section-formularz .section-inner { text-align: left; }

/* Sekcje 12, 13: naglowek h2 + eyebrow zostaja wycentrowane */
.section-lokalizacja .eyebrow,
.section-lokalizacja .section-headline,
.section-cennik .eyebrow,
.section-cennik .section-headline { text-align: center; }

/* Listy punktowane sekcji 12-14 do lewej */
.section-lokalizacja .spec-list,
.section-lokalizacja .spec-list li,
.section-cennik .spec-list,
.section-cennik .spec-list li,
.section-faq .spec-list,
.section-faq .spec-list li { text-align: left; }
.produkt-cta { margin-top: 24px; }
.produkt-subcta {
  font-size: 13px;
  color: var(--c-text-muted);
  margin: 16px 0 0;
}
.produkt-subcta a { font-weight: 600; }

/* Produkt galeria - tabs */
.produkt-tabs {}
.tabs-buttons {
  display: flex;
  border-bottom: 2px solid var(--c-line);
  margin-bottom: 24px;
}
.tab-btn {
  background: transparent;
  border: none;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  color: var(--c-text-muted);
  transition: color 0.2s var(--e-default);
}
.tab-btn::after {
  content: ""; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--c-brown);
  transform: scaleX(0);
  transition: transform 0.3s var(--e-default);
}
.tab-btn.active { color: var(--c-text); }
.tab-btn.active::after { transform: scaleX(1); }
.tab-btn:hover { color: var(--c-text); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Podpis pod wizualizacjami (taby Dom) */
.wizualizacja-nota {
  font-size: 12px;
  font-style: italic;
  color: var(--c-text-muted);
  margin: 12px 0 0;
  text-align: center;
}

/* Tab Technologia - sekcja 6 (2026-05-22, przeniesiona dawna sekcja 8) */
.tech-panel { text-align: left; }
.tech-intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text-muted);
  margin: 0 0 20px;
}
.tech-lista { list-style: none; padding: 0; margin: 0 0 24px; }
.tech-lista li {
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 15px;
  line-height: 1.55;
  color: var(--c-text-muted);
}
.tech-lista li:last-child { border-bottom: none; }
.tech-lista strong { color: var(--c-text); }
.tech-figure { margin: 0 0 16px; }
.tech-figure:last-of-type { margin-bottom: 0; }
.tech-figure img {
  width: 100%;
  border-radius: var(--r-radius);
  display: block;
  cursor: zoom-in;
}
/* Powiekszenie obrazow technologii po kliknieciu */
.tech-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(46, 74, 58, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  cursor: zoom-out;
}
.tech-lightbox[hidden] { display: none; }
.tech-lightbox img {
  max-width: 95%;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: var(--r-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.photo-grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.photo-thumb {
  border-radius: var(--r-radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s var(--e-default);
}
.photo-thumb:hover { transform: scale(1.03); }

/* Produkt dzialka photos */
/* Zdjecia dzialki - w pionie, wieksze, klikalne (2026-05-22) */
.dzialka-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.dzialka-photo {
  border-radius: var(--r-radius);
  object-fit: cover;
  width: 100%;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}

@media (max-width: 900px) {
  .produkt-content { grid-template-columns: 1fr !important; gap: 40px; }
  .photo-grid-4 { grid-template-columns: 1fr; }
  .dzialka-photos { grid-template-columns: 1fr; }
}

/* ===== SEKCJA 8: MECHANIZM ===== */
.mechanizm-lead {
  font-size: 17px;
  line-height: 1.65;
  max-width: 820px;
  margin: 0 0 40px;
  color: var(--c-text-muted);
}
.mechanizm-cytat {
  border-top: 4px solid var(--c-brown);
  border-bottom: 4px solid var(--c-brown);
  padding: 32px;
  margin: 0 auto 64px;
  background: var(--c-cream-dark);
  max-width: 820px;
  text-align: center;
}
.mechanizm-cytat p {
  font-family: var(--f-serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-style: italic;
  line-height: 1.4;
  margin: 0 0 12px;
}
.mechanizm-cytat cite {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-brown);
}
.mechanizm-figure {
  margin: 0 0 64px;
  padding: 0;
  background: var(--c-white);
  border-radius: var(--r-radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--r-shadow-card);
}
.mechanizm-figure img {
  width: 100%;
  height: auto;
  display: block;
}
.mechanizm-figure figcaption {
  font-size: 13px;
  font-style: italic;
  color: var(--c-text-muted);
  padding: 16px 24px;
  background: var(--c-cream-dark);
  line-height: 1.5;
  border-top: 1px solid var(--c-line);
}

.mechanizm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.mech-pozycja {
  padding: 32px 28px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-radius-lg);
  position: relative;
}
.mech-pozycja-zamkniecie {
  background: var(--c-text);
  color: var(--c-white);
  border-color: var(--c-text);
}
.mech-pozycja-zamkniecie * { color: var(--c-white); }
.mech-num {
  font-family: var(--f-serif);
  font-size: 14px;
  color: var(--c-brown);
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 20px;
}
.mech-pozycja-zamkniecie .mech-num { color: var(--c-brown-light); }
.mech-title { margin: 0 0 16px; font-size: 1.2rem; }
.mech-pozycja p { font-size: 14.5px; line-height: 1.6; margin: 0; }

@media (max-width: 900px) { .mechanizm-grid { grid-template-columns: 1fr; } }
@media (min-width: 900px) and (max-width: 1200px) { .mechanizm-grid { grid-template-columns: 1fr 1fr; } }

/* ===== SEKCJA 9: AUTORYTET + GALERIA ===== */
.o-deweloperze-lead {
  font-size: 18px;
  line-height: 1.6;
  max-width: 820px;
  margin: 0 0 48px;
  color: var(--c-text-muted);
}
.autorytet-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
  padding: 40px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.realizacje-named h3, .rejestr-publiczny h3 {
  margin: 0 0 20px;
  font-size: 1.2rem;
  color: var(--c-brown);
  text-align: center;
}
.realizacje-named-list { list-style: none; padding: 0; margin: 0; text-align: center; }
.realizacje-named-list li {
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-line);
  text-align: center;
}
.realizacje-named-list a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.realizacje-named-list a:hover { color: var(--c-blue); text-decoration: underline; }
.rejestr-publiczny p { font-size: 14.5px; line-height: 1.6; }

/* Galeria carousel - Aqua v10a style, full-bleed */
.galeria-lead {
  font-size: 15px;
  color: var(--c-text-muted);
  margin: 24px 0 0;
}
.galeria-carousel {
  position: relative;
  width: calc(100% + 2 * var(--pad-x));
  margin-left: calc(-1 * var(--pad-x));
  margin-right: calc(-1 * var(--pad-x));
  padding-bottom: 8px;
  margin-top: 32px;
}
.galeria-viewport {
  overflow: hidden;
  padding: 0 40px;
}
.galeria-track {
  display: flex;
  gap: 12px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  align-items: stretch;
}
.galeria-track.no-transition { transition: none; }
.galeria-slide {
  flex: 0 0 calc((100% - 2 * 12px) / 3);
  aspect-ratio: 4 / 3;
  border-radius: var(--r-radius);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  background: var(--c-cream-dark);
}
.galeria-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.galeria-slide:hover img { transform: scale(1.04); }

.galeria-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background: rgba(46, 74, 58, 0.55);
  border: 1px solid rgba(152, 118, 84, 0.5);
  color: var(--c-white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px);
}
.galeria-arrow:hover { background: rgba(46, 74, 58, 0.95); border-color: var(--c-brown); }
.galeria-arrow-prev { left: 0; }
.galeria-arrow-next { right: 0; }

.galeria-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.galeria-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-line-strong);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.galeria-dot.active { background: var(--c-text); transform: scale(1.4); }

@media (max-width: 900px) {
  .autorytet-layout { grid-template-columns: 1fr; gap: 32px; }
  .galeria-slide { flex: 0 0 calc((100% - 12px) / 2); }
  .galeria-viewport { padding: 0 24px; }
  .galeria-arrow { width: 40px; height: 40px; }
}
@media (max-width: 600px) {
  .galeria-slide { flex: 0 0 85%; }
  .galeria-viewport { padding: 0 20px; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(46, 74, 58, 0.95);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw; max-height: 85vh;
  object-fit: contain;
  border-radius: var(--r-radius);
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--c-white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--e-default);
  z-index: 1001;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: var(--c-white);
  color: var(--c-text);
}
.lightbox-close { top: 24px; right: 24px; font-size: 32px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-licznik {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: var(--c-white);
  font-size: 14px;
  letter-spacing: 0.1em;
  margin: 0;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 16px;
  border-radius: 24px;
}

/* ===== SEKCJA 10: TRUST ===== */
.trust-lead {
  font-size: 17px;
  max-width: 760px;
  margin: 0 0 40px;
  color: var(--c-text-muted);
}
.trust-empatia, .trust-weryfikacja {
  margin-bottom: 40px;
  padding: 28px 32px;
  background: var(--c-cream-dark);
  border-left: 3px solid var(--c-brown);
  border-radius: 0 var(--r-radius) var(--r-radius) 0;
}
.trust-empatia h3, .trust-weryfikacja h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}
.trust-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.trust-card {
  position: relative;
  z-index: 1;
  padding: 20px 16px;
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: var(--r-radius);
  text-align: center;
  /* luksusowy delikatny cien - staly, lekka poswiata (2026-05-22) */
  box-shadow: 0 8px 30px rgba(46, 74, 58, 0.12),
              0 0 16px rgba(152, 118, 84, 0.10);
  /* efekt wejscia - czeka na klase .is-visible (script.js) */
  opacity: 0;
  transform: translateY(32px) scale(0.96);
  transition: opacity 0.8s var(--e-default), transform 0.8s var(--e-default);
}
.trust-card * { color: var(--c-text); }
.trust-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.trust-card:nth-child(2) { transition-delay: 0.12s; }
.trust-card:nth-child(3) { transition-delay: 0.24s; }
.trust-card:nth-child(4) { transition-delay: 0.36s; }
@media (prefers-reduced-motion: reduce) {
  .trust-card { transition: opacity 0.3s linear; transform: none; }
  .trust-card.is-visible { transform: none; }
  .trust-grid::after { animation: none; }
}
.trust-number {
  display: block;
  font-family: var(--f-serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--c-text);
}
.trust-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-text-muted);
}
/* tresc kafelka nad refleksem */
.trust-number, .trust-label { position: relative; z-index: 1; }

/* Swietlisty refleks - JEDNA ciagla fala swiatla plynaca przez caly rzad 4 kafelkow.
   Pojedynczy pasek na .trust-grid, z-index 0 (za kafelkami, widoczny przez przezroczyste tlo) */
.trust-grid::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -12%;
  width: 26%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(100deg,
    rgba(212, 176, 110, 0) 0%,
    rgba(212, 176, 110, 0.42) 50%,
    rgba(212, 176, 110, 0) 100%);
  animation: trust-wave 6.5s linear infinite;
}
@keyframes trust-wave {
  0%   { transform: translateX(0);    opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateX(370%); opacity: 0; }
}

@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== SEKCJA 11: SPECYFIKACJA ===== */
.spec-lead {
  font-size: 17px;
  max-width: 820px;
  margin: 0 0 48px;
  color: var(--c-text-muted);
}
.spec-bloki {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 32px;
}
.spec-co-w-cenie {
  grid-column: 1;
  grid-row: 1 / 3;
  padding: 40px 36px;
  background: var(--c-cream-dark);
  border-radius: var(--r-radius-lg);
}
.spec-co-doplacasz {
  grid-column: 2;
  grid-row: 1;
  padding: 32px 28px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-radius-lg);
}
.spec-rejestr {
  grid-column: 2;
  grid-row: 2;
  padding: 28px;
  background: var(--c-text);
  border-radius: var(--r-radius-lg);
}
.spec-rejestr * { color: var(--c-white); }
.spec-rejestr a { color: var(--c-brown-light) !important; }
.spec-blok h3 { margin: 0 0 20px; font-size: 1.15rem; }
.spec-co-w-cenie h3 { border-bottom: 2px solid var(--c-brown); padding-bottom: 12px; display: inline-block; }
.spec-list-praktyczna li strong { color: var(--c-text); display: block; margin-bottom: 4px; }

@media (max-width: 900px) {
  .spec-bloki { grid-template-columns: 1fr; }
  .spec-co-w-cenie, .spec-co-doplacasz, .spec-rejestr { grid-column: 1; grid-row: auto; }
}

/* ===== SEKCJA 12: LOKALIZACJA ===== */
.lokalizacja-lead {
  font-size: 17px;
  max-width: 820px;
  margin: 0 0 40px;
  color: var(--c-text-muted);
}
.lokalizacja-photos {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  margin: 48px 0;
}
.lok-photo { border-radius: var(--r-radius); object-fit: cover; width: 100%; }
.lok-photo-large { aspect-ratio: 16 / 10; grid-row: span 2; height: 100%; }
.lok-photo-small { aspect-ratio: 4 / 3; }
.lok-photo-tall { aspect-ratio: 4 / 3; }
.lokalizacja-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.lok-kolumna h3 { margin: 0 0 20px; font-size: 1.15rem; }
.lokalizacja-mapa { border-radius: var(--r-radius-lg); overflow: hidden; border: 1px solid var(--c-line); }
.lokalizacja-mapa iframe { display: block; }

/* Sekcja 12 - tlo parallax (zdjecie sarna-3) - 2026-05-22 */
/* .section.section-* - wyzsza specyficznosc, bije .section:nth-of-type ktore resetowalo background-image */
.section.section-lokalizacja-bg {
  background-image:
    linear-gradient(rgba(46, 74, 58, 0.80), rgba(46, 74, 58, 0.80)),
    url('assets/lokalizacja/sarna-3.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.section-lokalizacja-bg .eyebrow { color: var(--c-brown-light); }
.section-lokalizacja-bg .section-headline,
.section-lokalizacja-bg .lokalizacja-lead,
.section-lokalizacja-bg .lok-kolumna h3,
.section-lokalizacja-bg .spec-list li { color: var(--c-white); }
.section-lokalizacja-bg .spec-list li { border-bottom-color: rgba(255, 255, 255, 0.22); }
.section-lokalizacja-bg .lokalizacja-mapa { border-color: rgba(255, 255, 255, 0.25); }
/* mniejsze odstepy miedzy podpunktami w sekcji 12 */
.section-lokalizacja .spec-list li { padding-top: 5px; padding-bottom: 5px; }
@media (max-width: 768px) {
  .section.section-lokalizacja-bg { background-attachment: scroll; }
}

@media (max-width: 900px) {
  .lokalizacja-photos { grid-template-columns: 1fr; }
  .lok-photo-large { grid-row: auto; aspect-ratio: 16 / 10; }
  .lokalizacja-lists { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== SEKCJA 13: CENNIK + KALKULATOR ===== */
.cennik-lead {
  font-size: 17px;
  max-width: 820px;
  margin: 0 0 48px;
  color: var(--c-text-muted);
}
.cennik-grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.cennik-opcja {
  padding: 40px 36px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-radius-lg);
  position: relative;
}
.cennik-opcja-highlight {
  background: var(--c-text);
  color: var(--c-white);
  border-color: var(--c-text);
}
.cennik-opcja-highlight * { color: var(--c-white); }
.cennik-opcja-highlight .spec-list li::before { color: var(--c-brown-light); }
.cennik-opcja-highlight .spec-list li { border-color: rgba(255,255,255,0.15); }
.cennik-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--c-brown);
  color: var(--c-white);
  margin-bottom: 20px;
}
.cennik-opcja h3 { margin: 0 0 16px; font-size: 1.3rem; }
.cennik-cena {
  font-family: var(--f-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin: 0 0 24px;
  line-height: 1;
}
.cennik-disclaimer {
  font-size: 12px;
  color: var(--c-text-light);
  margin-bottom: 64px;
  font-style: italic;
}

/* Kalkulator */
.kalkulator-wrapper {
  padding: 40px 36px;
  background: var(--c-cream-dark);
  border-radius: var(--r-radius-lg);
  margin-top: 32px;
}
.kalkulator-wrapper h3 { margin: 0 0 12px; font-size: 1.3rem; }
.kalkulator-intro { font-size: 14.5px; color: var(--c-text-muted); margin: 0 0 32px; }
.kalkulator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.kalk-field { display: flex; flex-direction: column; text-align: center; }
.kalk-field label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  color: var(--c-text-muted);
  text-align: center;
}
.kalk-field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--c-line-strong);
  border-radius: 2px;
  outline: none;
  margin-bottom: 12px;
}
.kalk-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--c-text);
  border-radius: 50%;
  cursor: pointer;
}
.kalk-field input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--c-text);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
.kalk-output {
  font-family: var(--f-serif);
  font-size: 1.2rem;
  font-weight: 700;
}
.kalk-wynik {
  padding: 28px 32px;
  background: var(--c-text);
  color: var(--c-white);
  border-radius: var(--r-radius-lg);
  text-align: center;
}
.kalk-wynik * { color: var(--c-white); }
.kalk-wynik-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.85;
  margin-bottom: 8px;
}
.kalk-wynik-kwota {
  display: block;
  font-family: var(--f-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
}
.kalk-wynik-podsumowanie { font-size: 13px; opacity: 0.85; margin: 0; }
.kalkulator-dane { font-size: 12px; color: var(--c-text-light); margin: 24px 0 12px; }
.kalkulator-disclaimer { font-size: 11px; color: var(--c-text-light); line-height: 1.5; font-style: italic; }

@media (max-width: 768px) {
  .cennik-grid-2 { grid-template-columns: 1fr; }
  .kalkulator-grid { grid-template-columns: 1fr; }
}

/* ===== SEKCJA 14: FAQ ===== */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
}
.faq-sidebar {}
.faq-sidebar h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; margin: 0 0 16px; }
.faq-sidebar p { font-size: 14.5px; color: var(--c-text-muted); margin: 0 0 24px; }
.faq-btn { margin-top: 8px; }
.faq-accordion {}
.faq-item {
  border-bottom: 1px solid var(--c-line);
}
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  text-align: left;
  font-family: var(--f-serif);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 700;
  color: var(--c-text);
  transition: color 0.2s var(--e-default);
}
.faq-question:hover { color: var(--c-blue); }
.faq-question-text { flex: 0 1 auto; text-align: left; }
.faq-icon {
  width: 24px; height: 24px;
  position: relative; flex-shrink: 0;
  order: -1;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute;
  background: var(--c-brown);
  transition: transform 0.3s var(--e-default);
}
.faq-icon::before {
  top: 50%; left: 0; right: 0;
  height: 2px; transform: translateY(-50%);
}
.faq-icon::after {
  left: 50%; top: 0; bottom: 0;
  width: 2px; transform: translateX(-50%);
}
.faq-question[aria-expanded="true"] .faq-icon::after { transform: translateX(-50%) rotate(90deg); }

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--e-default), padding 0.4s var(--e-default);
}
.faq-answer p { padding: 0 0 24px; margin: 0; font-size: 15px; line-height: 1.65; color: var(--c-text-muted); }
.faq-answer.open { max-height: 600px; }

@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== SEKCJA 4a: KWALIFIKACJA ===== */
.kwal-lead {
  font-size: 17px;
  max-width: 820px;
  margin: 0 0 48px;
  color: var(--c-text-muted);
  font-style: italic;
  font-family: var(--f-serif);
}
.kwal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.kwal-col {
  padding: 36px 32px;
  border-radius: var(--r-radius-lg);
}
.kwal-tak {
  background: var(--c-cream-dark);
  border: 2px solid var(--c-brown);
}
.kwal-nie {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  opacity: 0.85;
}
.kwal-col h3 {
  margin: 0 0 24px;
  font-size: 1.25rem;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-line);
}
.kwal-tak h3 { border-color: var(--c-brown); }

@media (max-width: 800px) {
  .kwal-grid { grid-template-columns: 1fr; }
}

/* ===== SEKCJA 15: FORMULARZ ===== */
.formularz-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}
.formularz-sidebar h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; margin: 0 0 20px; }
.formularz-sidebar p { font-size: 15px; color: var(--c-text-muted); margin: 0 0 28px; line-height: 1.6; }
.formularz-kontakt h3 { margin: 32px 0 16px; font-size: 1.05rem; }
.kontakt-list { list-style: none; padding: 0; margin: 0; text-align: center; }
.kontakt-list li { padding: 8px 0; font-size: 14.5px; text-align: center; }
.kontakt-list a { font-weight: 500; }
.formularz-michal-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
}
.formularz-michal-head h2 { margin: 0; }
.formularz-michal {
  width: 72px; height: 72px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
}

.formularz-form {
  padding: 40px 36px;
  background: var(--c-cream-dark);
  border-radius: var(--r-radius-lg);
}
.formularz-form h3 { margin: 0 0 28px; font-size: 1.3rem; }
.form-field { margin-bottom: 20px; text-align: center; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: var(--c-text-muted);
  text-align: center;
}
.req { color: var(--c-brown); }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-radius);
  background: var(--c-white);
  font-size: 15px;
  text-align: center;
  transition: border-color 0.2s var(--e-default);
}
.form-field textarea { text-align: center; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-text);
}
.form-checkbox { display: flex; gap: 12px; align-items: flex-start; justify-content: center; }
.checkbox-label {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13px; line-height: 1.5;
  color: var(--c-text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  cursor: pointer;
  text-align: center;
  max-width: 540px;
  justify-content: center;
}
.checkbox-label input { width: auto; margin-top: 4px; flex-shrink: 0; }
.btn-submit { width: 100%; margin-top: 12px; }
.form-privacy { font-size: 12px; color: var(--c-text-light); margin: 16px 0 0; line-height: 1.5; }
.form-success-msg {
  padding: 24px;
  background: var(--c-text);
  color: var(--c-white);
  border-radius: var(--r-radius);
  margin-top: 24px;
}
.form-success-msg * { color: var(--c-white); }

@media (max-width: 900px) {
  .formularz-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== BACK TO TOP (zielona strzalka - 2026-05-22) ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-text);
  border: none;
  color: var(--c-white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(46, 74, 58, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s var(--e-default);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--c-text);
  color: var(--c-white);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(46, 74, 58, 0.45);
}
.back-to-top-icon { display: block; font-weight: 700; }

@media (max-width: 600px) {
  .back-to-top { width: 44px; height: 44px; bottom: 16px; right: 16px; }
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--c-text);
  color: var(--c-white);
  padding: 64px 0 0;
}
.site-footer * { color: var(--c-white); }
.site-footer a { color: var(--c-brown-light) !important; text-decoration: none; }
.site-footer a:hover { color: var(--c-white) !important; text-decoration: underline; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  max-width: var(--content-max);
  padding: 0 var(--pad-x);
  margin: 0 auto 48px;
}
.footer-logo { filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-adres { font-style: normal; font-size: 14px; line-height: 1.7; }
.footer-h { font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; margin: 0 0 16px; color: var(--c-brown-light) !important; }
.footer-col p { font-size: 14px; margin: 0 0 8px; }
.footer-links { list-style: none; padding: 0; margin: 0; text-align: center; }
.footer-links li { padding: 4px 0; font-size: 14px; text-align: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; }
.footer-bottom-inner {
  max-width: var(--content-max);
  padding: 0 var(--pad-x);
  margin: 0 auto;
}
.footer-disclaimer { font-size: 11px; opacity: 0.7; margin: 0 0 8px; line-height: 1.5; }
.footer-copy { font-size: 11px; opacity: 0.7; margin: 0; }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-bg-kenburns { animation: none; }
}

:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 3px;
  border-radius: var(--r-radius);
}

/* Mobile - bez paddingow */
@media (max-width: 768px) {
  .shift-left, .shift-right { padding: 0; margin: 0; }
  .offset-left .section-inner,
  .offset-right .section-inner,
  .offset-center .section-inner {
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
  }
}
