/* ========================================================================
   ONYKS - system wizualny maciejmieso.com
   Identyfikacja: Brand Board "Onyks v1" (Manrope, jeden krój, cztery wagi).

   ZASADA: ciemne tło jest stanem domyślnym marki. Paleta ma cztery tony
   jednego materiału - onyks, grafit, popiół, kość. Nie ma barwy akcentowej;
   hierarchię buduje światło, waga pisma i puste pole.

   Nazwy zmiennych z poprzedniego systemu zostają - zmienia się ich treść.
   --paper to nadal "tło podstawowe", tylko jest teraz czarne;
   --sepia to nadal "kolor tekstu i teł kontrastowych", tylko jest teraz kość.
   Dzięki temu lokalne bloki <style> na podstronach działają bez zmian,
   a bloki dawniej ciemne stają się blokami jasnymi - kontrast zostaje.
   ======================================================================== */

:root {
  /* --- Paleta marki (Brand Board Onyks, sekcja 03) ------------------ */
  --onyx:       #0D0D0C;   /* Onyks  - tło podstawowe */
  --graphite:   #1C1C1A;   /* Grafit - karty, powierzchnie */
  --ash:        #4A4A44;   /* Popiół - linie, tekst drugorzędny */
  --bone:       #F0EEE9;   /* Kość   - tekst, tła jasne */

  /* --- Aliasy poprzedniego słownika --------------------------------- */
  --paper:      var(--onyx);
  --chalk:      var(--graphite);
  --stone:      #33332F;   /* linie na ciemnym */
  --sepia:      var(--bone);

  /* Stopnie pośrednie. To nie są nowe kolory, tylko rozcieńczenia kości. */
  --ink-2:      #FFFFFF;
  --ink-3:      #C6C4BD;
  --ink-4:      #9C9A93;
  --ink-5:      #7E7C74;
  --stone-2:    #6E6C66;   /* druga litera znaku */
  --line-soft:  #1F1F1D;

  /* --- Tokeny semantyczne ------------------------------------------
     Sekcje odwrócone (.on-ink) nadpisują wyłącznie ten blok, więc
     komponenty nie muszą wiedzieć, na jakim tle stoją. */
  --bg:         var(--onyx);
  --surface:    var(--graphite);
  --surface-2:  #151514;
  --text:       var(--bone);
  --text-2:     var(--ink-3);
  --text-3:     var(--ink-4);
  --text-4:     var(--ink-5);
  --rule:       #262623;
  --rule-soft:  var(--line-soft);
  --rule-strong:var(--ash);
  --quiet:      var(--stone-2);

  /* --- Typografia ---------------------------------------------------
     Jeden krój. Nagłówki to Manrope 200 z ujemnym trackingiem,
     wersaliki to Manrope 400 z trackingiem 30%. Zero szeryfów. */
  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-label: 'Manrope', -apple-system, system-ui, sans-serif;

  /* --- Rytm --------------------------------------------------------- */
  --space-section: clamp(84px, 10vw, 150px);
  --space-section-sm: clamp(56px, 6.5vw, 96px);
  --nav-h: 74px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* --- Zgodność ze starym systemem --------------------------------- */
  --bg-primary:   var(--bg);
  --bg-secondary: var(--surface);
  --bg-subtle:    var(--surface);
  --bg-elevated:  var(--surface-2);
  --text-primary:   var(--text);
  --text-secondary: var(--text-2);
  --text-muted:     var(--text-3);
  --text-faint:     var(--text-4);
  --accent:        var(--bone);
  --accent-hover:  var(--ink-2);
  --accent-bg:     transparent;
  --accent-glow:      transparent;
  --accent-glow-soft: transparent;
  --border-default: var(--rule);
  --border-strong:  var(--rule-strong);
  --border-accent:  var(--bone);
  --warn:    var(--ink-4);
  --warn-bg: transparent;
  --font-mono: var(--font-label);
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-glow: none;
  /* Marka nie ma zaokrągleń. Wszystkie krawędzie są cięte. */
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-xl: 0;
}

/* Sekcja odwrócona - kość na onyksie. W ciemnej identyfikacji to ona
   pełni rolę, którą w jasnej pełniła sepia: podnosi głos przez inwersję.
   Przemapowanie tokenów, nie osobny zestaw reguł. */
.on-ink {
  --bg:        var(--bone);
  --surface:   #FFFFFF;
  --surface-2: #E4E2DC;

  /* Część komponentów sięga po stopnie kości bezpośrednio, z pominięciem
     tokenów semantycznych - one też muszą się odwrócić razem z tłem. */
  --ink-2:     #000000;
  --ink-3:     #5A5852;
  --ink-4:     #6E6C66;
  --ink-5:     #6E6C66;
  --stone:     #D2CFC8;
  --stone-2:   #8A887F;
  --line-soft: #E4E2DC;
  --text:      var(--onyx);
  --text-2:    #5A5852;
  --text-3:    #6E6C66;
  --text-4:    #8A887F;
  --rule:      #D2CFC8;
  --rule-soft: #E4E2DC;
  --rule-strong: #8A887F;
  --quiet:     #8A887F;

  --bg-primary: var(--bg);
  --bg-secondary: var(--surface);
  --bg-subtle: var(--surface);
  --bg-elevated: var(--surface-2);
  --text-primary: var(--text);
  --text-secondary: var(--text-2);
  --text-muted: var(--text-3);
  --text-faint: var(--text-4);
  --accent: var(--onyx);
  --accent-hover: #000000;
  --border-default: var(--rule);
  --border-strong: var(--rule-strong);
  --border-accent: var(--onyx);

  background: var(--bg);
  color: var(--text-2);
}

/* ========================================================================
   RESET & BASE
   ======================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
  text-wrap: pretty;
}

main { position: relative; }

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

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.24s var(--ease-out);
}

a:hover { color: var(--text-3); }

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

::selection {
  background: var(--sepia);
  color: var(--paper);
}

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

/* ========================================================================
   LAYOUT
   ======================================================================== */

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 767px) {
  .container { padding: 0 22px; }
}

/* ========================================================================
   TYPOGRAFIA
   ======================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 200;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

/* Etykieta sekcji: wersaliki Manrope z trackingiem 30%.
   Zastępuje dawny akcent kolorystyczny - hierarchię buduje światło. */
.section-label {
  display: block;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 30px;
}

.section-title {
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.08;
  margin-bottom: 26px;
}

.section-title--center {
  text-align: center;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}

.section-intro {
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 300;
  color: var(--text-2);
  max-width: 640px;
  line-height: 1.8;
}

.section-intro--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Dawny "accent-text". Na jednomateriałowej palecie akcentem jest
   zmiana głosu, nie barwy. Onyks ma jeden krój bez odmiany pochyłej,
   więc drugi głos niesie ton popiołu, nie kursywa. */
.accent-text {
  color: var(--text-3);
}

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

strong, b { color: var(--text); font-weight: 500; }
em { color: var(--text); font-style: italic; }

p a, .section-intro a, li a { border-bottom: 1px solid var(--rule); }
p a:hover, .section-intro a:hover, li a:hover { border-bottom-color: var(--text-3); }

/* ========================================================================
   ZNAK - lockup MM
   Dwie litery Manrope 200 z trackingiem 24% zamknięte w ramce 1 px.
   Wariant podstawowy z arkusza "Onyks v1 / 02 - Warianty znaku".
   Grubość ramki zawsze 1 px. Nie pogrubiać, nie wypełniać, nie zaokrąglać.
   ======================================================================== */

.mm {
  display: inline-block;
  width: calc(var(--mm-size, 34px) * 1.49);
  height: var(--mm-size, 34px);
  background: url("mm-logo-ivory.svg") center / contain no-repeat;
  flex: none;
}

.mm-a, .mm-b, .mm-dot { display: none; }

/* ========================================================================
   PRZYCISKI
   Prostokąt bez zaokrągleń, bez cienia, bez wypełnień gradientem.
   ======================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.28s var(--ease-out),
              color 0.28s var(--ease-out),
              border-color 0.28s var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--sepia);
  color: var(--paper);
  border-color: var(--sepia);
}

.btn-primary:hover {
  background: var(--ink-2);
  border-color: var(--ink-2);
  color: var(--paper);
}

/* Na onyksie linia --rule jest zbyt cicha na krawedz przycisku -
   ghost bierze popiol, zeby pozostac czytelnym w ciemnym polu. */
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--rule-strong);
}

.btn-ghost:hover {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}

.btn-full { width: 100%; }

.btn-large {
  padding: 20px 38px;
  font-size: 12px;
}

/* Na sepii kolory przycisków się odwracają. */
.on-ink .btn-primary {
  background: var(--paper);
  color: var(--sepia);
  border-color: var(--paper);
}

.on-ink .btn-primary:hover {
  background: #000000;
  border-color: #000000;
  color: var(--sepia);
}

.on-ink .btn-ghost {
  color: var(--paper);
  border-color: var(--rule-strong);
}

.on-ink .btn-ghost:hover { border-color: var(--paper); color: var(--paper); }

@media (max-width: 480px) {
  .btn { padding: 15px 22px; letter-spacing: 0.14em; }
  .btn-large { padding: 17px 24px; }
}

/* ========================================================================
   NAWIGACJA
   ======================================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 0;
  background: rgba(13, 13, 12, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--stone);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--nav-h);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--sepia);
  --mm-size: 30px;
}

.nav-brand:hover { color: var(--sepia); }

.nav-brand-name {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--sepia);
  padding-left: 0.34em;
  border-left: 1px solid var(--stone);
  padding-left: 16px;
  line-height: 1.2;
}

.nav-brand-sub {
  display: block;
  font-family: var(--font-label);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-5);
  margin-top: 5px;
}

.nav-cta {
  font-size: 11px;
  padding: 12px 22px;
}

@media (max-width: 600px) {
  .nav-brand { gap: 12px; --mm-size: 26px; }
  .nav-brand-name { font-size: 9px; padding-left: 12px; letter-spacing: 0.28em; }
  .nav-brand-sub { display: none; }
  .nav-cta { padding: 11px 16px; letter-spacing: 0.12em; }
}

/* ========================================================================
   HERO (podstrony ofertowe)
   ======================================================================== */

.hero {
  padding: calc(var(--nav-h) + var(--space-section-sm)) 0 var(--space-section);
  position: relative;
  background: var(--paper);
  border-bottom: 1px solid var(--stone);
}

/* Hero ze zdjęciem w tle. W jasnej identyfikacji zdjęcie schodzi bardzo
   głęboko pod warstwę papieru - ma zostać po nim faktura, nie obraz.
   Przy słabszym kryciu twarz i kontrasty zdjęcia zaczynały konkurować
   z nagłówkiem, a marka mówi spokojnie i na jednolitym tle. */
.hero--with-bg {
  background-size: cover;
  background-position: center 18%;
  background-repeat: no-repeat;
  padding: calc(var(--nav-h) + var(--space-section-sm)) 0 var(--space-section);
}

.hero--with-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(13, 13, 12, 0.985) 0%,
      rgba(13, 13, 12, 0.955) 45%,
      rgba(13, 13, 12, 0.99) 100%);
  z-index: 0;
  pointer-events: none;
}

.hero-inner,
.hero--with-bg .hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-content { text-align: center; }


.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6.6vw, 82px);
  font-weight: 200;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 30px;
  color: var(--sepia);
}

.hero-title .accent-line,
.hero-title .accent-text {
  color: var(--ink-4);
}

.hero-subtitle {
  font-size: clamp(15px, 1.7vw, 18px);
  font-weight: 300;
  color: var(--ink-3);
  max-width: 660px;
  margin: 0 auto 44px;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-meta {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  color: var(--ink-5);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-meta .dot { margin: 0 12px; color: var(--stone); }

@media (max-width: 600px) {
  .hero-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    line-height: 1.6;
  }
  .hero-meta .dot { display: none; }
  .hero-cta-group .btn { width: 100%; }
}


/* --- Hero z kadrem na pelna szerokosc --------------------------------
   Zdjecie wchodzi jako warstwa <img>, nie tlo sekcji: dostaje srcset,
   preload i nie skaluje sie proporcjami okna. Tekst siada po lewej,
   sylwetka zostaje odsonieta po prawej. */

.hero--wide-shot {
  position: relative;
  overflow: hidden;
  text-align: left;
  padding: calc(var(--nav-h) + clamp(72px, 9vw, 128px)) 0 clamp(84px, 10vw, 144px);
}

.hero--wide-shot::after { content: none; }

.hero--wide-shot > .container { position: relative; z-index: 2; }

.hero--wide-shot .hero-inner,
.hero--wide-shot .hero-content { text-align: left; margin: 0; max-width: 560px; }

.hero--wide-shot .hero-subtitle { margin-left: 0; margin-right: 0; max-width: 520px; }

.hero--wide-shot .hero-cta-group { justify-content: flex-start; }

/* Trzy warunki wspolpracy jako wiersze rejestru - tak samo jak w hero
   strony glownej i /leads. W jednej linii separatory zawijaly sie
   z wiszaca kropka na koncu wiersza. */
.hero--wide-shot .hero-meta {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  max-width: 520px;
  border-top: 1px solid var(--stone);
  text-align: left;
}

.hero--wide-shot .hero-meta .hero-meta-item {
  padding: 13px 0;
  border-bottom: 1px solid rgba(74, 74, 68, .75);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-3);
}

.hero--wide-shot .hero-meta .dot { display: none; }

.hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 20% 32%;
  filter: saturate(0.78) contrast(1.02) brightness(0.9);
}

/* Welon papieru: gesty pod tekstem, przezroczysty nad sylwetka. */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(97deg,
    rgba(13, 13, 12, 0.985) 0%,
    rgba(13, 13, 12, 0.965) 42%,
    rgba(13, 13, 12, 0.88) 52%,
    rgba(13, 13, 12, 0.42) 64%,
    rgba(13, 13, 12, 0.12) 80%,
    rgba(13, 13, 12, 0.06) 100%);
}

@media (max-width: 1100px) {
  .hero-media::after {
    background: linear-gradient(97deg,
      rgba(13, 13, 12, 0.985) 0%,
      rgba(13, 13, 12, 0.965) 46%,
      rgba(13, 13, 12, 0.60) 66%,
      rgba(13, 13, 12, 0.18) 100%);
  }
}

/* Na telefonie kadr schodzi pod tekst w swoich proporcjach - nic nie
   jest przycinane, welon niepotrzebny. */
@media (max-width: 1024px) {
  .hero--wide-shot { padding-bottom: 0; overflow: visible; }
  .hero--wide-shot .hero-cta-group .btn { flex: 1 1 240px; }

  /* Baza centruje pasek warunkow na waskich ekranach - tutaj ma
     zostac rejestrem wyrownanym do lewej, jak reszta tresci. */
  .hero--wide-shot .hero-meta { align-items: stretch; max-width: none; }
  .hero--wide-shot .hero-meta .hero-meta-item { text-align: left; }

  .hero-media {
    position: relative;
    inset: auto;
    margin-top: clamp(40px, 8vw, 56px);
  }

  .hero-media img {
    position: relative;
    inset: auto;
    height: auto;
    aspect-ratio: 1312 / 1066;
    object-position: center;
  }

  .hero-media::after { content: none; }
}

/* ========================================================================
   REKOMENDACJA WIDEO
   ======================================================================== */

.proof-video {
  padding: var(--space-section) 0;
  position: relative;
  background: var(--paper);
  border-bottom: 1px solid var(--stone);
}

.proof-video-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.proof-video-title {
  font-size: clamp(30px, 4.2vw, 50px);
  margin-bottom: 22px;
  line-height: 1.12;
}

.proof-video-intro {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto 46px;
  line-height: 1.8;
}

.proof-video-frame {
  margin: 0 auto;
  width: min(100%, 440px, var(--proof-video-max, 440px));
  overflow: hidden;
  background: var(--sepia);
  border: 1px solid var(--stone);
  position: relative;
}

.proof-video-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 464 / 832;
  background: var(--sepia);
  outline: none;
}

.proof-video-caption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  padding: 18px 24px;
  background: var(--chalk);
  border-top: 1px solid var(--stone);
}

.proof-video-author {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 300;
  color: var(--text);
}

.proof-video-role {
  font-family: var(--font-label);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-4);
}

.proof-video-frame-note {
  margin: 34px auto 0;
  max-width: 640px;
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.8;
}

.proof-video-frame-note strong { color: var(--text-2); font-weight: 500; }

/* ========================================================================
   DOWODY LICZBOWE
   Siatka o włosowych spoinach - jak tablica kolorów w brand boardzie.
   ======================================================================== */

.social-proof {
  padding: var(--space-section) 0;
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
  background: var(--chalk);
}

.proof-intro {
  text-align: center;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 20px;
}

.proof-subtitle {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 56px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-2);
}

.proof-bridge {
  text-align: center;
  max-width: 660px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-2);
}

.proof-bridge strong { color: var(--text); font-weight: 500; }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.proof-card {
  text-align: center;
  padding: 44px 24px;
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--rule);
  transition: background-color 0.4s var(--ease-out);
}

.proof-card:hover { background: var(--surface); }

.social-proof .proof-card { background: var(--chalk); }
.social-proof .proof-card:hover { background: var(--paper); }

.proof-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(46px, 5.2vw, 64px);
  font-weight: 200;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 0.94;
  margin-bottom: 18px;
}

.proof-value .accent-text { color: var(--text); font-style: normal; }

.proof-label {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-2);
  margin-bottom: 8px;
  line-height: 1.6;
}

.proof-context {
  font-family: var(--font-label);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-4);
  line-height: 1.8;
}

@media (max-width: 900px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-card { padding: 36px 22px; }
}

/* ========================================================================
   PASEK WIARYGODNOŚCI
   ======================================================================== */

.trust-bar {
  padding: 0;
  background: var(--chalk);
}

.trust-bar .container { padding-left: 0; padding-right: 0; max-width: none; }

.trust-bar-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  padding: 40px 28px;
  background: var(--chalk);
  box-shadow: 0 0 0 1px var(--stone);
}

.trust-item-value {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.9vw, 25px);
  font-weight: 200;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.trust-item-label {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 300;
  color: var(--text-3);
  line-height: 1.7;
}

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

@media (max-width: 480px) {
  .trust-bar-grid { grid-template-columns: 1fr; }
  .trust-item { padding: 28px 22px; }
}

/* ========================================================================
   PROBLEM
   ======================================================================== */

.problem {
  padding: var(--space-section) 0;
  background: var(--paper);
}

.problem-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.problem-body {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 200;
  line-height: 1.28;
  color: var(--text);
  letter-spacing: -0.02em;
}

.problem-body p { margin-bottom: 34px; }
.problem-body p:last-child { margin-bottom: 0; }
.problem-body strong { color: var(--text); font-weight: 400; }

.problem-divider {
  width: 120px;
  height: 1px;
  background: var(--stone);
  margin: 54px auto;
  opacity: 1;
}

/* ========================================================================
   BOLĄCZKI
   ======================================================================== */

.pains {
  padding: var(--space-section) 0;
  background: var(--paper);
}

.pains-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 56px;
}

.pain-item {
  display: flex;
  gap: 26px;
  padding: 38px 34px;
  background: var(--bg);
  border: none;
  border-radius: 0;
  box-shadow: 0 0 0 1px var(--rule);
  transition: background-color 0.3s var(--ease-out);
}

.pain-item:hover { background: var(--surface); }

.pain-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 200;
  color: var(--text-4);
  letter-spacing: -0.03em;
  line-height: 1.3;
  flex-shrink: 0;
}

.pain-text {
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.75;
  font-size: 15px;
}

.pain-text strong { color: var(--text); font-weight: 500; }

@media (max-width: 767px) {
  .pains-grid { grid-template-columns: 1fr; }
  .pain-item { padding: 30px 24px; gap: 20px; }
}

/* ========================================================================
   RÓŻNICA (dwa modele obok siebie)
   ======================================================================== */

.difference {
  padding: var(--space-section) 0;
  background: var(--chalk);
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 60px;
}

.diff-col {
  padding: 48px 42px;
  border: none;
  border-radius: 0;
  background: var(--chalk);
  position: relative;
  box-shadow: 0 0 0 1px var(--stone);
}

.diff-col-old {
  opacity: 1;
  color: var(--text-3);
}

/* Model właściwy dostaje sepię - to jedyne miejsce w sekcji,
   w którym marka podnosi głos. */
.diff-col-new {
  background: var(--sepia);
  color: #5A5852;
}

.diff-col-new .diff-title { color: var(--paper); }
.diff-col-new .diff-tag { color: var(--ink-5); }
.diff-col-new .diff-list li { color: #5A5852; border-bottom-color: #D2CFC8; }
.diff-col-new .diff-list li strong { color: var(--paper); }

.diff-tag {
  display: block;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  padding: 0 0 20px;
  margin-bottom: 26px;
  border: none;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: none;
}

.diff-tag-old { color: var(--text-4); }
.diff-tag-new { color: var(--ink-5); border-bottom-color: #D2CFC8; }

.diff-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 200;
  margin-bottom: 28px;
  color: var(--text);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.diff-list { list-style: none; }

.diff-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--text-2);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

.diff-list li:last-child { border-bottom: none; }

/* Znacznik zamiast ikony kolorowej: krzyżyk i kreska w tonie tekstu. */
.diff-list li::before {
  flex-shrink: 0;
  font-family: var(--font-label);
  font-size: 13px;
  line-height: 1.7;
  width: 14px;
  background: none;
}

.diff-col-old .diff-list li::before {
  content: "×";
  color: var(--text-4);
}

.diff-col-new .diff-list li::before {
  content: "—";
  color: var(--ink-5);
}

@media (max-width: 900px) {
  .diff-grid { grid-template-columns: 1fr; }
  .diff-col { padding: 34px 26px; }
}

/* ========================================================================
   ANATOMIA / ZAKRES
   ======================================================================== */

.anatomy {
  padding: var(--space-section) 0;
  background: var(--chalk);
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
  position: relative;
}

.anatomy-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 64px;
}

.anatomy-card {
  padding: 44px 26px;
  border: none;
  border-radius: 0;
  background: var(--chalk);
  text-align: center;
  transition: background-color 0.4s var(--ease-out);
  position: relative;
  box-shadow: 0 0 0 1px var(--stone);
}

.anatomy-card:hover { background: var(--paper); }

.anatomy-letter {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 200;
  color: var(--stone-2);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
  text-shadow: none;
}

.anatomy-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 14px;
  color: var(--text);
}

.anatomy-card-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.75;
}

@media (max-width: 1024px) {
  .anatomy-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .anatomy-grid { grid-template-columns: 1fr; }
  .anatomy-card { padding: 32px 24px; }
  .anatomy-letter { font-size: 56px; margin-bottom: 16px; }
}

/* Pas dodatkowy pod anatomią */
.anatomy-bonus {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  margin-top: 1px;
  padding: 36px 40px;
  border: none;
  border-radius: 0;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--stone);
}

.anatomy-bonus-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: none;
  border: 1px solid var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
}

.anatomy-bonus-text { flex: 1; min-width: 0; }

.anatomy-bonus-eyebrow {
  display: block;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 12px;
}

.anatomy-bonus-text p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-2);
  margin: 0;
}

.anatomy-bonus-text strong { color: var(--text); font-weight: 500; }

@media (max-width: 600px) {
  .anatomy-bonus { flex-direction: column; padding: 28px 24px; gap: 18px; }
}

/* ========================================================================
   PROCES
   ======================================================================== */

.process {
  padding: var(--space-section) 0;
  background: var(--paper);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 64px;
}

.process-card {
  padding: 44px 38px;
  border: none;
  border-radius: 0;
  background: var(--bg);
  position: relative;
  box-shadow: 0 0 0 1px var(--rule);
  transition: background-color 0.4s var(--ease-out);
}

.process-card:hover { background: var(--surface); }

.process-num {
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 200;
  color: var(--quiet);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 26px;
  opacity: 1;
}

.process-week {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 14px;
}

.process-title {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 300;
  margin-bottom: 16px;
}

.process-desc {
  color: var(--text-2);
  line-height: 1.8;
  font-size: 15px;
  font-weight: 300;
  margin-bottom: 28px;
}

.process-deliverables {
  list-style: none;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.process-deliverables li {
  position: relative;
  padding: 9px 0 9px 24px;
  font-size: 14px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.7;
}

.process-deliverables li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 1px;
  background: var(--stone-2);
  background-image: none;
}

.process-deliverables li.is-mentoring {
  margin-top: 14px;
  padding-top: 16px;
  padding-bottom: 4px;
  padding-left: 24px;
  border-top: 1px solid var(--rule);
  color: var(--text);
  font-weight: 400;
}

.process-deliverables li.is-mentoring::before {
  top: 27px;
  background: var(--text);
  background-image: none;
}

@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-card { padding: 34px 26px; }
}

/* ========================================================================
   AUTOR
   ======================================================================== */

.author {
  padding: var(--space-section) 0;
  background: var(--paper);
  border-top: 1px solid var(--stone);
}

.author-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 80px;
  align-items: center;
}

.author-media { position: relative; }

.author-image-frame {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: var(--chalk);
  border: 1px solid var(--stone);
  box-shadow: none;
  aspect-ratio: 4 / 5;
}

.author-image-frame::after { content: none; }

.author-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Zdjęcia wchodzą w ton papieru: mniej nasycenia, cieplejszy zakres. */
  filter: saturate(0.82) contrast(1.02) brightness(0.9);
}

.author-content { max-width: 600px; }

.author-body { margin-top: 10px; margin-bottom: 40px; }

.author-body p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-2);
  margin-bottom: 22px;
}

.author-body p:last-child { margin-bottom: 0; }
.author-body strong { color: var(--text); font-weight: 500; }

.author-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 34px;
  border-top: 1px solid var(--rule);
}

.author-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.author-stat-label {
  font-family: var(--font-label);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-4);
}

.author-stat-value {
  font-size: 14px;
  color: var(--text);
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .author-grid { grid-template-columns: 1fr; gap: 48px; }
  .author-image-frame { max-width: 440px; margin: 0 auto; }
  .author-stats { grid-template-columns: 1fr; gap: 0; }
  .author-stat {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--rule-soft);
  }
  .author-stat-value { text-align: right; min-width: 0; }
  .author-stat:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
  .author-stat { flex-direction: column; align-items: flex-start; gap: 6px; }
  .author-stat-value { text-align: left; }
}

/* ========================================================================
   KROKI
   ======================================================================== */

.steps {
  padding: var(--space-section) 0;
  background: var(--chalk);
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 60px;
  position: relative;
}

.step-card {
  text-align: center;
  padding: 44px 26px;
  background: var(--chalk);
  box-shadow: 0 0 0 1px var(--stone);
}

.step-circle {
  width: 62px;
  height: 62px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: none;
  border: 1px solid var(--rule-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 200;
  color: var(--text);
  box-shadow: none;
  letter-spacing: -0.02em;
}

.step-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 12px;
  color: var(--text);
}

.step-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.75;
}

.steps-cta {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ========================================================================
   FORMULARZ ZGŁOSZENIOWY
   ======================================================================== */

.application {
  padding: var(--space-section) 0;
  position: relative;
  background: var(--paper);
}

.application::before { content: none; }

.application-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.application-title {
  font-size: clamp(34px, 4.4vw, 56px);
  margin-bottom: 20px;
  line-height: 1.1;
}

.application-subtitle {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-2);
  margin-bottom: 52px;
  line-height: 1.8;
}

.form-card {
  text-align: left;
  padding: 52px;
  border-radius: 0;
  background: var(--chalk);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid var(--stone);
  box-shadow: none;
}

.form-group { margin-bottom: 26px; }

.form-group label {
  display: block;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px 18px;
  background: #FFFFFF;
  border: 1px solid var(--stone);
  border-radius: 0;
  color: var(--sepia);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  transition: border-color 0.25s var(--ease-out);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-5); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--sepia);
  background: #FFFFFF;
  box-shadow: none;
}

select { color-scheme: dark; }
select option { background-color: #1C1C1A; color: #F0EEE9; }

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  font-family: var(--font-body);
  line-height: 1.7;
}

.form-note {
  text-align: center;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-top: 22px;
  line-height: 1.8;
}

.form-error {
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  color: var(--sepia);
  background: var(--surface-2);
  font-size: 14px;
  line-height: 1.6;
}

.form-success { text-align: center; padding: 70px 32px; }

.form-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: none;
  border: 1px solid var(--rule-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  box-shadow: none;
}

.form-success-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 200;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.form-success-body {
  color: var(--text-2);
  line-height: 1.8;
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto;
}

.field-optional {
  color: var(--text-4);
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 300;
}

@media (max-width: 600px) {
  .form-card { padding: 30px 22px; }
}

/* ========================================================================
   FAQ
   ======================================================================== */

.faq {
  padding: var(--space-section) 0;
  background: var(--paper);
}

.faq-list {
  max-width: 860px;
  margin: 60px auto 0;
  border-top: 1px solid var(--rule);
}

.faq-item { border-bottom: 1px solid var(--rule); }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 200;
  color: var(--text);
  cursor: pointer;
  transition: color 0.25s var(--ease-out);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.faq-question:hover { color: var(--text-3); }

.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 0;
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--text);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.faq-icon::before { width: 11px; height: 1px; }
.faq-icon::after { width: 1px; height: 11px; }

.faq-item[aria-expanded="true"] .faq-icon {
  background: var(--sepia);
  border-color: var(--sepia);
}

.faq-item[aria-expanded="true"] .faq-icon::before { background: var(--paper); }

.faq-item[aria-expanded="true"] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-answer-inner {
  padding: 0 0 32px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  max-width: 700px;
}

.faq-answer-inner strong { color: var(--text); font-weight: 500; }

/* ========================================================================
   CTA KOŃCOWE - jedyna pełna plama sepii na podstronach
   ======================================================================== */

.final-cta {
  padding: var(--space-section) 0;
  text-align: center;
  background: var(--sepia);
  color: #5A5852;
  border-top: 1px solid var(--sepia);
  position: relative;
  overflow: hidden;
}

.final-cta::before { content: none; }

.final-cta .section-label { color: var(--ink-5); }

.final-cta-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.8vw, 62px);
  font-weight: 200;
  color: var(--paper);
  max-width: 800px;
  margin: 0 auto 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.final-cta-title .accent-text { color: var(--text-3); }

.final-cta-text {
  font-size: 16px;
  font-weight: 300;
  color: #5A5852;
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.final-cta-text strong { color: var(--paper); font-weight: 500; }

.final-cta .btn-primary {
  background: var(--paper);
  color: var(--sepia);
  border-color: var(--paper);
}

.final-cta .btn-primary:hover { background: #000000; border-color: #000000; }

.final-cta .btn-ghost { color: var(--paper); border-color: #8A887F; }
.final-cta .btn-ghost:hover { border-color: var(--paper); color: var(--paper); }

.final-cta-note {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-5);
  margin: 24px auto 0;
  line-height: 1.9;
}

.final-cta a { color: var(--paper); border-bottom-color: #8A887F; }

/* ========================================================================
   STOPKA
   ======================================================================== */

.footer {
  padding: 56px 0 48px;
  background: var(--paper);
  border-top: 1px solid var(--stone);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  --mm-size: 26px;
}

.footer-brand-sub {
  font-family: var(--font-label);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--ink-5);
  text-transform: uppercase;
  padding-left: 14px;
  border-left: 1px solid var(--stone);
  line-height: 1.4;
}

.footer-meta {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-5);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
  font-size: 13px;
  font-weight: 300;
}

.footer-links a { color: var(--ink-3); }
.footer-links a:hover { color: var(--sepia); }

@media (max-width: 700px) {
  .footer-inner { flex-direction: column; text-align: center; gap: 22px; }
  .footer-links { justify-content: center; }
}

/* ========================================================================
   WCZESNY DOWÓD / STICKY CTA
   ======================================================================== */

.early-proof {
  padding: 0;
  background: var(--chalk);
  border-bottom: 1px solid var(--stone);
}

.early-proof-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 0;
  color: var(--text);
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.early-proof-card:hover { color: var(--text); }

.early-proof-card img {
  width: 118px;
  height: 148px;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 0;
  border: 1px solid var(--stone);
  filter: saturate(0.82) contrast(1.02) brightness(0.9);
}

.early-proof-content { display: flex; flex-direction: column; gap: 12px; }
.early-proof-content .section-label { margin: 0; }

.early-proof-content strong {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.early-proof-link {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sepia);
  border-bottom: 1px solid var(--stone);
  align-self: flex-start;
}

.mobile-sticky-cta { display: none; }

@media (max-width: 600px) {
  .hero--with-bg { padding: calc(var(--nav-h) + 44px) 0 64px; background-position: 58% 15%; }
  .hero-title { font-size: clamp(34px, 10.5vw, 50px); margin-bottom: 22px; }
  .hero-subtitle { font-size: 16px; margin-bottom: 30px; }
  .hero-cta-group { margin-bottom: 22px; }
  .early-proof-card { grid-template-columns: 82px minmax(0, 1fr); gap: 18px; padding: 22px 0; }
  .early-proof-card img { width: 82px; height: 108px; }
  .mobile-sticky-cta {
    display: inline-flex;
    position: fixed;
    left: 14px; right: 14px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 900;
    min-height: 52px;
    justify-content: center;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .mobile-sticky-cta.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
  body.consent-open .mobile-sticky-cta { opacity: 0; transform: translateY(12px); pointer-events: none; }
}

/* ========================================================================
   WEJŚCIA
   Nowa identyfikacja nie animuje treści - dokument ma się składać
   spokojnie. Zostaje jedno delikatne podniesienie przy wejściu w kadr.
   ======================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ========================================================================
   PANEL ZGODY
   ======================================================================== */

.consent-banner {
  position: fixed;
  left: 16px; right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 1000;
  pointer-events: none;
  animation: consentFadeIn .24s ease-out;
}

.consent-banner[hidden] { display: none; }

@keyframes consentFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.consent-banner-inner {
  pointer-events: auto;
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  background: var(--chalk);
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.consent-banner-text { font-family: var(--font-body); color: var(--sepia); }

.consent-banner-text strong {
  display: block;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 8px;
}

.consent-banner-text p {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-3);
}

.consent-banner-text p a { color: var(--sepia); border-bottom: 1px solid var(--stone); }

.consent-banner-actions { display: grid; grid-template-columns: repeat(2, auto); gap: 10px; }

.consent-btn { min-height: 48px; padding: 12px 22px; justify-content: center; font-size: 11px; }

@media (max-width: 720px) {
  .consent-banner { left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); }
  .consent-banner-inner { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .consent-banner-actions { grid-template-columns: repeat(2, 1fr); }
  .consent-btn { padding: 12px 8px; }
}

/* ========================================================================
   ========================================================================
   STRONA GŁÓWNA
   Warstwa wyłącznie dla index.html. Prefiks hm-.
   ========================================================================
   ======================================================================== */

/* --- HERO ------------------------------------------------------------- */

.hm-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + clamp(72px, 9vw, 128px)) 0 clamp(84px, 10vw, 144px);
  background: var(--paper);
  border-bottom: 1px solid var(--stone);
}

.hm-hero > .container { position: relative; z-index: 2; }

/* Kadr jest poziomy, wiec nie wchodzi w kolumne obok tekstu - wypelnia
   cala sekcje. Tekst zajmuje lewa czesc, gdzie w zdjeciu jest okno,
   a sylwetka po prawej zostaje odsonieta. */
.hm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 640px;
}

.hm-hero-title {
  font-family: var(--font-display);
  font-size: clamp(46px, 5.6vw, 82px);
  font-weight: 200;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--sepia);
  margin-bottom: 32px;
}

.hm-hero-title .accent-text { color: var(--ink-4); }

.hm-hero-sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-3);
  max-width: 560px;
  margin-bottom: 38px;
}

.hm-hero-sub strong { color: var(--sepia); font-weight: 500; }

/* Trzy dowody jako wiersze rejestru, nie odznaki. */
.hm-hero-proof {
  list-style: none;
  margin-bottom: 42px;
  border-top: 1px solid var(--stone);
  max-width: 560px;
}

.hm-hero-proof li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(74, 74, 68, .75);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-3);
}

.hm-hero-proof strong { color: var(--sepia); font-weight: 500; }

.hm-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* --- Kadr jako warstwa sekcji ----------------------------------------- */

.hm-hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}

.hm-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Kotwica przy lewej krawedzi: pod tekstem laduje jasne okno,
     a sylwetka odsuwa sie w prawa polowe sekcji. */
  object-position: 6% 44%;
  filter: saturate(0.78) contrast(1.02) brightness(0.9);
}

/* Welon papieru: gesty pod tekstem, przezroczysty nad sylwetka.
   Zdjecie nie jest przycinane - schodzi pod material marki. */
.hm-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(97deg,
    rgba(13, 13, 12, 0.98) 0%,
    rgba(13, 13, 12, 0.955) 34%,
    rgba(13, 13, 12, 0.85) 44%,
    rgba(13, 13, 12, 0.40) 57%,
    rgba(13, 13, 12, 0.12) 74%,
    rgba(13, 13, 12, 0.06) 100%);
}

@media (max-width: 1100px) {
  .hm-hero-media::after {
    background: linear-gradient(97deg,
      rgba(13, 13, 12, 0.985) 0%,
      rgba(13, 13, 12, 0.965) 46%,
      rgba(13, 13, 12, 0.60) 66%,
      rgba(13, 13, 12, 0.18) 100%);
  }
}

/* Na telefonie kadr poziomy przyciety do pionowego paska pokazywalby
   sam fragment ubrania. Zamiast dusic zdjecie, schodzi ono pod tekst
   w swoich proporcjach - nic nie jest przycinane, welon niepotrzebny. */
@media (max-width: 1024px) {
  .hm-hero { padding-bottom: 0; overflow: visible; }
  .hm-hero-grid { max-width: none; }
  .hm-hero-cta .btn { flex: 1 1 240px; }

  .hm-hero-media {
    position: relative;
    inset: auto;
    margin-top: clamp(40px, 8vw, 56px);
  }

  .hm-hero-media img {
    position: relative;
    inset: auto;
    height: auto;
    aspect-ratio: 3 / 2;
    object-position: 62% center;
  }

  .hm-hero-media::after { content: none; }
}

/* --- MANIFEST (pas sepii) --------------------------------------------- */

.hm-manifest {
  padding: var(--space-section) 0;
}

.hm-manifest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 84px);
  align-items: start;
}

.hm-manifest-lead {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.7vw, 50px);
  font-weight: 200;
  line-height: 1.2;
  color: var(--paper);
  letter-spacing: -0.02em;
}

.hm-manifest-lead em { color: var(--text-3); font-style: normal; }

.hm-manifest-body p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: #5A5852;
  margin-bottom: 22px;
}

.hm-manifest-body p:last-child { margin-bottom: 0; }
.hm-manifest-body strong { color: var(--paper); font-weight: 500; }

/* Rejestr zakresu - układ z szablonu postu "Zakres 01-04". */
.hm-ledger {
  list-style: none;
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(40px, 5vw, 80px);
}

.hm-ledger li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid #D2CFC8;
  font-size: 16px;
  font-weight: 300;
  color: var(--paper);
}

.hm-ledger li span {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--ink-5);
}

@media (max-width: 900px) {
  .hm-manifest-grid { grid-template-columns: 1fr; gap: 36px; }
  .hm-ledger { grid-template-columns: 1fr; margin-top: 40px; }
}

/* --- DOWODY ------------------------------------------------------------ */

.hm-proof {
  padding: var(--space-section) 0;
  background: var(--chalk);
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}

.hm-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 56px;
}

.hm-stat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 44px 28px;
  background: var(--chalk);
  box-shadow: 0 0 0 1px var(--stone);
  transition: background-color 0.4s var(--ease-out);
}

.hm-stat:hover { background: var(--paper); }

.hm-stat-value {
  font-family: var(--font-display);
  font-size: clamp(44px, 4.6vw, 62px);
  font-weight: 200;
  line-height: 0.94;
  color: var(--sepia);
  letter-spacing: -0.02em;
}

.hm-stat-label {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-3);
}

.hm-quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(36px, 4.5vw, 72px);
  margin-top: 64px;
}

.hm-quote p {
  font-family: var(--font-display);
  font-size: clamp(23px, 2.5vw, 31px);
  font-weight: 200;
  line-height: 1.32;
  color: var(--sepia);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hm-quote footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--stone);
}

.hm-quote-who {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sepia);
}

.hm-quote-role {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-5);
}

@media (max-width: 1024px) {
  .hm-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .hm-stats { grid-template-columns: 1fr; }
  .hm-quotes { grid-template-columns: 1fr; }
}

/* --- OFERTY ------------------------------------------------------------ */

.hm-offers { padding: var(--space-section) 0; background: var(--paper); }

.hm-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 56px;
}

.hm-offer {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 46px 42px 42px;
  background: var(--paper);
  color: var(--ink-3);
  box-shadow: 0 0 0 1px var(--stone);
  transition: background-color 0.4s var(--ease-out);
}

.hm-offer:hover { background: var(--chalk); color: var(--ink-3); }

.hm-offer-num {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.34em;
  color: var(--ink-5);
}

.hm-offer-title {
  font-family: var(--font-display);
  font-size: clamp(27px, 2.9vw, 36px);
  font-weight: 200;
  line-height: 1.18;
  color: var(--sepia);
  letter-spacing: -0.02em;
}

.hm-offer-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-3);
  flex: 1;
}

.hm-offer-cta {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sepia);
  padding-top: 20px;
  border-top: 1px solid var(--stone);
}

@media (max-width: 767px) {
  .hm-offer-grid { grid-template-columns: 1fr; }
  .hm-offer { padding: 34px 26px; }
}

/* --- APLIKACJE --------------------------------------------------------- */

.hm-built {
  padding: var(--space-section) 0;
  background: var(--chalk);
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}

.hm-apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 60px;
}

.hm-app {
  display: flex;
  flex-direction: column;
  background: var(--chalk);
  box-shadow: 0 0 0 1px var(--stone);
}

/* Pasmo zrzutu ma stałą wysokość, żeby trzy karty czytały się jako
   jeden rząd. Bez tego pionowy zrzut telefonu rozciągał kartę na
   ponad 550 px i sąsiednia karta bez zrzutu zostawała z pustym polem. */
.hm-app-screen {
  padding: 36px 36px 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.hm-app-screen img {
  width: 100%;
  max-width: 230px;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--stone);
  filter: saturate(0.85) contrast(1.02);
}

.hm-app-body { padding: 34px 36px 40px; display: flex; flex-direction: column; gap: 12px; }

.hm-app-name {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 200;
  color: var(--sepia);
  letter-spacing: -0.02em;
}

.hm-app-role {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-5);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--stone);
}

.hm-app-desc { font-size: 14px; font-weight: 300; line-height: 1.8; color: var(--ink-3); }

.hm-app-note {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-5);
  margin-top: auto;
  padding-top: 12px;
}

/* Karta bez zrzutu wyrównuje się optycznie do sąsiadów. */
.hm-app--plain { justify-content: center; }
.hm-app--plain .hm-app-body { padding-top: 44px; }
.hm-app--plain .hm-app-note { margin-top: 18px; }

@media (max-width: 900px) {
  .hm-apps { grid-template-columns: 1fr; }
  .hm-app-screen { padding: 30px 26px 0; }
  .hm-app-body { padding: 28px 26px 32px; }
}

/* --- PRODUKCJA SESJI --------------------------------------------------- */

.hm-prod { padding: var(--space-section) 0; background: var(--paper); }

.hm-prod-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(48px, 6vw, 80px);
  /* Kolumny wyrównane do góry, nie do środka. Przy centrowaniu krótszy
     tekst pływał w pionie obok wysokich kadrów. */
  align-items: start;
}

.hm-prod-list {
  list-style: none;
  margin-top: 34px;
  border-top: 1px solid var(--stone);
}

.hm-prod-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-3);
}

/* Dyptyk zamiast stosu. Oba kadry są pionowe (zdjęcie 2:3, klip 9:16),
   więc jeden pod drugim dawały kolumnę blisko trzykrotnie wyższą od
   tekstu obok. Obok siebie mieszczą się w jednym rzędzie i żaden nie
   wymaga przycięcia - klip ma wpaloną belkę u góry i podpis u dołu. */
.hm-prod-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.hm-prod-still, .hm-prod-clip {
  border: 1px solid var(--stone);
  background: var(--chalk);
  padding: 12px;
}

/* Kadry mają różne proporcje, a pod klipem stoi jeszcze podpis. Zdjęcie
   rozciąga się na wysokość ramki sąsiada, żeby dolna krawędź dyptyku
   była jedną linią - przycięcie idzie po bokach studyjnego tła. */
.hm-prod-still { display: flex; }

.hm-prod-still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.02) brightness(0.9);
}

.hm-prod-video { width: 100%; display: block; background: var(--sepia); }

@media (max-width: 520px) {
  .hm-prod-media { grid-template-columns: 1fr; gap: 20px; }
}

.hm-prod-clip-cap {
  font-family: var(--font-label);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-5);
  padding-top: 14px;
  text-align: center;
}

@media (max-width: 900px) {
  .hm-prod-grid { grid-template-columns: 1fr; gap: 44px; }
}

/* --- WARSZTAT ---------------------------------------------------------- */

.hm-craft {
  padding: var(--space-section) 0;
  background: var(--chalk);
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}

.hm-craft-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 56px;
}

.hm-craft-col {
  padding: 38px 30px;
  background: var(--chalk);
  box-shadow: 0 0 0 1px var(--stone);
  transition: background-color 0.4s var(--ease-out);
}

.hm-craft-col:hover { background: var(--paper); }

.hm-craft-col h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  color: var(--sepia);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--stone);
}

.hm-craft-col p { font-size: 13px; font-weight: 300; line-height: 1.8; color: var(--ink-3); }

@media (max-width: 1024px) { .hm-craft-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .hm-craft-grid { grid-template-columns: 1fr; } }

/* --- O MNIE ------------------------------------------------------------ */

.hm-about { padding: var(--space-section) 0; background: var(--paper); }

.hm-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(48px, 6vw, 88px);
  align-items: start;
}

.hm-about-photo {
  border: 1px solid var(--stone);
  background: var(--chalk);
  padding: 14px;
}

.hm-about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02) brightness(0.9);
}

.hm-about-copy p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-3);
  margin-bottom: 22px;
}

.hm-about-copy p:last-child { margin-bottom: 0; }
.hm-about-copy strong { color: var(--sepia); font-weight: 500; }

@media (max-width: 900px) {
  .hm-about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hm-about-photo { max-width: 400px; }
}

/* --- KONTAKT ----------------------------------------------------------- */

.hm-contact {
  padding: var(--space-section) 0;
  background: var(--chalk);
  border-top: 1px solid var(--stone);
}

.hm-routes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 52px;
}

.hm-route {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 34px;
  background: var(--chalk);
  box-shadow: 0 0 0 1px var(--stone);
  transition: background-color 0.4s var(--ease-out);
}

.hm-route:hover { background: var(--paper); }

.hm-route strong {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 200;
  line-height: 1.24;
  color: var(--sepia);
  letter-spacing: -0.02em;
}

.hm-route span {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--stone);
}

.hm-form-wrap {
  margin-top: 72px;
  padding-top: 60px;
  border-top: 1px solid var(--stone);
  max-width: 860px;
}

.hm-form-lead {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-3);
  max-width: 620px;
  margin-bottom: 40px;
}

.hm-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.hm-field { display: flex; flex-direction: column; gap: 12px; }
.hm-field--wide { grid-column: 1 / -1; }

.hm-field label {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.hm-field input,
.hm-field select,
.hm-field textarea {
  width: 100%;
  padding: 15px 18px;
  background: #FFFFFF;
  border: 1px solid var(--stone);
  border-radius: 0;
  color: var(--sepia);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  transition: border-color 0.25s var(--ease-out);
}

.hm-field input::placeholder, .hm-field textarea::placeholder { color: var(--ink-5); }

.hm-field input:focus,
.hm-field select:focus,
.hm-field textarea:focus { outline: none; border-color: var(--sepia); }

.hm-field textarea { resize: vertical; min-height: 120px; line-height: 1.7; }

/* Przycisk nie rozciąga się na całą szerokość pola - pole jest kolumną
   flex, więc bez tego dostawał `stretch` i stawał się czarnym pasem. */
.hm-field--wide .btn { align-self: flex-start; }

.hm-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.hm-form-note {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-5);
  margin-top: 16px;
}

.hm-form-success {
  margin-top: 40px;
  padding: 48px 42px;
  border: 1px solid var(--stone);
  background: var(--paper);
}

.hm-form-success h3 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 200;
  color: var(--sepia);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.hm-form-success p { font-size: 15px; font-weight: 300; line-height: 1.8; color: var(--ink-3); }
.hm-form-success-route { margin-top: 14px; }

@media (max-width: 767px) {
  .hm-routes { grid-template-columns: 1fr; }
  .hm-route { padding: 28px 24px; }
  .hm-form { grid-template-columns: 1fr; }
  .hm-form-wrap { margin-top: 52px; padding-top: 44px; }
  .hm-form-success { padding: 32px 24px; }
}

/* ========================================================================
   STRONA GŁÓWNA 2026-08 - warstwa nowego układu

   Nowa strona główna prowadzi jedną ścieżkę: od reklamy do aplikacji.
   Zamiast nowych sekcji dostaje własne, drobne komponenty listowe -
   reszta stoi na klasach, które istnieją tu od przebudowy Alabaster
   i przeszły bez zmian do Onyksa.
   ======================================================================== */

/* Przełączniki tła. Rytm papier - kreda - sepia musi się trzymać
   niezależnie od tego, jaką klasę bazową dostała sekcja. */
.hm-sec--chalk {
  background: var(--chalk);
  border-top: 1px solid var(--stone);
}

.hm-sec--paper {
  background: var(--paper);
}

/* Sekcja bolączek postawiona na sepii. Komponent nie wie, na czym stoi,
   więc wystarczy oddać tło tokenowi przemapowanemu przez .on-ink. */
.pains.on-ink { background: var(--bg); }
.pains.on-ink .pain-item:hover { background: var(--surface); }

/* Zdanie domykające manifest - stoi pod rejestrem, nie w kolumnie tekstu. */
.hm-manifest-close {
  margin-top: 46px;
  max-width: 720px;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 300;
  line-height: 1.75;
  color: var(--paper);
}

/* Podnagłówek wewnątrz sekcji: mniejszy głos niż .section-title,
   ale nadal krój display. */
.hm-subhead {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 300;
  line-height: 1.25;
  color: var(--text);
  margin-top: 56px;
  margin-bottom: 4px;
}

.hm-subhead--center { text-align: center; }

/* Lista wierszy - podstawowy zapis wyliczeń na tej stronie.
   Kreska pionowa zamiast punktora, bo marka nie używa ikon. */
.hm-rows {
  list-style: none;
  margin-top: 26px;
}

.hm-rows li {
  padding: 14px 0 14px 22px;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-2);
  position: relative;
}

.hm-rows li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 10px;
  height: 1px;
  background: var(--rule);
}

.hm-rows li:last-child { border-bottom: none; }

.hm-rows--two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(30px, 4vw, 64px);
}

/* Wariant do karty kroku: mniejszy, wyrównany do lewej mimo
   wyśrodkowanej zawartości .step-card. */
.hm-rows--tight {
  margin-top: 16px;
  text-align: left;
}

.hm-rows--tight li {
  padding: 10px 0 10px 18px;
  font-size: 13px;
  line-height: 1.65;
}

.hm-rows--tight li::before { top: 18px; width: 8px; }

/* Rejestr poziomy - grupy klientów i granice zakresu. */
.hm-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin-top: 30px;
  justify-content: center;
}

.hm-tags li {
  padding: 14px 22px;
  box-shadow: 0 0 0 1px var(--rule);
  background: var(--bg);
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* Cytat stojący samodzielnie, nie w siatce .hm-quotes. */
.hm-quote--solo {
  max-width: 760px;
  margin: 54px auto 0;
}

.hm-quote--solo footer { align-items: flex-start; }

/* Transkrypcja nagrania: domyślnie zwinięta, bo to zapis dla osób,
   które wolą czytać niż oglądać - nie druga wersja tej samej sekcji. */
.hm-transcript {
  max-width: 760px;
  margin: 40px auto 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.hm-transcript summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color 0.3s var(--ease-out);
}

.hm-transcript summary::-webkit-details-marker { display: none; }
.hm-transcript summary::after { content: " +"; color: var(--text-4); }
.hm-transcript[open] summary::after { content: " –"; }
.hm-transcript summary:hover { color: var(--text); }

.hm-transcript-body { padding: 6px 0 32px; }

.hm-transcript-body h3 {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 22px;
}

.hm-transcript-body p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-2);
  margin-bottom: 18px;
}

.hm-transcript-body p:last-child { margin-bottom: 0; }

/* Zastrzeżenie i podpis pod treścią - najcichszy głos na stronie. */
.hm-note {
  margin-top: 26px;
  max-width: 720px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-3);
}

.hm-note--center { margin-left: auto; margin-right: auto; text-align: center; }

/* Wezwanie zamykające sekcję. */
.hm-cta-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 44px;
}

.hm-cta-inline { margin-top: 22px; }

.hm-cta-note {
  margin-top: 20px;
  text-align: center;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-4);
}

/* Pięć kroków decyzji zamiast czterech. */
.steps-grid--five { grid-template-columns: repeat(5, 1fr); }

/* Warunki aplikacji na sepii, pod tekstem domykającym. */
.hm-terms {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 34px;
  margin: 38px auto 44px;
  max-width: 860px;
}

.hm-terms li {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-5);
}

/* Karta e-commerce: pas z ikoną dostaje nagłówek i przycisk,
   bo jest jedynym wyjściem do drugiego lejka. */
.anatomy-bonus .hm-subhead { margin-top: 6px; margin-bottom: 10px; }

.anatomy-bonus-text p {
  margin-bottom: 12px;
}

.anatomy-bonus-text p:last-child { margin-bottom: 0; }

/* FAQ z akapitami i listą - dotąd odpowiedzi były jednym blokiem tekstu. */
.faq-answer-inner p { margin-bottom: 16px; }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner .hm-rows { margin-top: 6px; margin-bottom: 18px; }
.faq-answer-inner .hm-rows li { font-size: 14px; }

@media (max-width: 1100px) {
  .steps-grid--five { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hm-tags { justify-content: flex-start; }
  .hm-cta-row .btn { width: 100%; }
}

@media (max-width: 700px) {
  .hm-rows--two { grid-template-columns: 1fr; }
  .steps-grid--five { grid-template-columns: 1fr; }
  .hm-terms { flex-direction: column; align-items: center; gap: 12px; }
  .hm-subhead { margin-top: 44px; }
}

/* Poprawki po weryfikacji układu na 1440 i 390 px. */

/* Podpis pod rekomendacją idzie w osi cytatu - sekcja dowodu jest
   wyśrodkowana, więc stopka cytatu nie może uciekać do lewej. */
.proof-video .hm-quote--solo footer { align-items: center; text-align: center; }

/* Lista kompetencji w bloku „o mnie" ma pod sobą kolejne akapity. */
.hm-about-copy .hm-rows { margin-bottom: 30px; }

/* Najdłuższe wezwania nie mieszczą się w jednej linii na telefonie.
   Zamiast skracać treść, pozwalamy przyciskowi złamać wiersz. */
@media (max-width: 700px) {
  .hm-hero-cta .btn,
  .hm-cta-row .btn,
  .steps-cta .btn,
  .final-cta .btn,
  .nav-cta {
    white-space: normal;
    line-height: 1.45;
  }

  .hm-hero-cta .btn { width: 100%; }
}

/* Zrzut opinii z Google. Kadr jest ciemny (tryb nocny Google), więc
   dostaje kredowe passe-partout - inaczej byłby plamą na alabastrze. */
.proof-shot {
  max-width: 534px;
  margin: 46px auto 0;
  padding: 14px;
  background: var(--chalk);
  box-shadow: 0 0 0 1px var(--stone);
}

.proof-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.proof-shot figcaption {
  margin-top: 14px;
  text-align: center;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-4);
}

/* Na telefonie zrzut skaluje się poniżej progu czytelności, więc obraz
   jest linkiem do pliku - treść opinii i tak stoi wyżej jako cytat. */
.proof-shot a { display: block; border-bottom: none; }

/* ========================================================================
   E-COMMERCE 2026-08 - warstwa nowego układu podstrony sklepowej

   Strona opisuje teraz wyniki konkretnych kont, granice zakresu i długi
   formularz aplikacyjny. Komponenty poniżej służą tylko tej podstronie.
   ======================================================================== */

/* Wynik jednej kampanii: kicker, liczba, rejestr danych, zrzut z panelu. */
.ec-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 56px;
}

.ec-result {
  padding: 44px 38px;
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--rule);
}

.ec-result-kicker {
  display: block;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 18px;
}

.ec-result-value {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 200;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.ec-result .hm-rows { margin-top: 18px; }

/* Zrzut z panelu reklamowego. Jasny kadr, więc bez passe-partout -
   wystarczy obrys, żeby oddzielić go od strony. */
.ec-shot {
  margin-top: 28px;
  box-shadow: 0 0 0 1px var(--rule);
  background: #FFFFFF;
}

.ec-shot a { display: block; border-bottom: none; }
.ec-shot img { display: block; width: 100%; height: auto; }

.ec-shot figcaption {
  padding: 12px 16px;
  background: var(--surface);
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-4);
}

.ec-shot--wide { max-width: 860px; margin: 34px auto 0; }

/* Trzy pytania przed decyzją o budżecie. */
.ec-questions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
}

.ec-question {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 32px 28px;
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--rule);
}

.ec-question-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 200;
  color: var(--text-4);
  letter-spacing: -0.02em;
}

.ec-question p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-2);
}

/* Formularz aplikacyjny: dwie kolumny pól, pełna szerokość dla opisów. */
.ec-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 30px;
  margin-bottom: 34px;
}

.ec-form-grid .form-group { margin-bottom: 0; }
.ec-form-grid .is-full { grid-column: 1 / -1; }

.ec-form-grid fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.ec-form-grid legend {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 16px;
}

/* Wybór wielokrotny: kafle zamiast systemowych checkboxów. */
/* Siatka bez wspolnego tla: przy nieparzystej liczbie opcji puste pole
   w ostatnim rzedzie zostawialo szara plame. Obrys nosi teraz kafel. */
.ec-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
}

.ec-check {
  box-shadow: 0 0 0 1px var(--rule);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-2);
  cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}

.ec-check:hover { background: var(--bg); }

.ec-check input {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid var(--rule-strong);
  background: transparent;
  cursor: pointer;
}

.ec-check input:checked {
  background: var(--sepia);
  border-color: var(--sepia);
}

.ec-check input:focus-visible { outline: 2px solid var(--sepia); outline-offset: 2px; }
.ec-check:has(input:checked) { background: var(--bg); color: var(--text); }

@media (max-width: 900px) {
  .ec-results { grid-template-columns: 1fr; }
  .ec-questions { grid-template-columns: 1fr; }
  .ec-result { padding: 34px 26px; }
}

@media (max-width: 700px) {
  .ec-form-grid { grid-template-columns: 1fr; }
  .ec-check-grid { grid-template-columns: 1fr; }
  .hero-cta-group .btn { white-space: normal; line-height: 1.45; }
}

/* ========================================================================
   POPRAWKI KADRU I ŁAMANIA NAGŁÓWKÓW (2026-08-19)

   Dwa defekty wykonania, oba widoczne dopiero między telefonem
   a szerokim desktopem:

   1. Kadr w hero schodził pod tekst dopiero od 760 px. W paśmie
      761-1024 px kolumna tekstu jest już szeroka, a zdjęcie wciąż stoi
      w tle - akapity i rejestry wchodziły wtedy na sylwetkę i twarz.
      Próg podniesiony do 1024 px (zmiana przy samych blokach hero).
   2. Nagłówki łamały się z sierotami („... Za" / „... Tylko" na końcu
      wiersza), przez co blok tytułu wyglądał na rozjechany.
   ======================================================================== */

/* Wyrównana długość wierszy w nagłówkach. `balance` działa do czterech
   wierszy - dłuższe leady dostają `pretty`, żeby nie zostawiać sieroty
   w ostatnim wierszu. Przeglądarki bez wsparcia ignorują obie wartości. */
h1, h2, h3,
.section-title,
.application-title,
.final-cta-title,
.proof-video-title,
.hm-manifest-lead,
.diff-title,
.process-title,
.step-title,
.ec-result-value,
.hm-subhead {
  text-wrap: balance;
}

/* Hero wyśrodkowane (bez kadru w tle) mają krótkie tytuły - `balance`
   wyrównuje im wiersze i usuwa sierotę typu „... Za" na końcu linii. */
.hero-title { text-wrap: balance; }

/* Hero z kadrem stoi w kolumnie obok zdjęcia. Tam tytuły są dłuższe,
   a `balance` zwężał blok i mnożył wiersze - zostaje `pretty`. */
.hero--wide-shot .hero-title,
.hm-hero-title,
.lp-hero-title { text-wrap: pretty; }

.hero-subtitle,
.hm-hero-sub,
.lp-hero-sub,
.section-intro,
.application-subtitle,
.final-cta-text {
  text-wrap: pretty;
}

/* Pasmo, w którym kadr nadal jest tłem: kolumna tekstu nie może sięgać
   dalej niż połowa sekcji, a welon papieru musi kryć do samej sylwetki. */
@media (min-width: 1025px) and (max-width: 1240px) {
  .hm-hero-inner,
  .hero--wide-shot .hero-inner {
    max-width: 54%;
  }

  .hero--wide-shot .hero-content { max-width: 100%; }

  .hm-hero-sub,
  .hero--wide-shot .hero-subtitle { max-width: 100%; }

  .hm-hero-media::after {
    background: linear-gradient(97deg,
      rgba(13, 13, 12, 0.985) 0%,
      rgba(13, 13, 12, 0.975) 46%,
      rgba(13, 13, 12, 0.92) 56%,
      rgba(13, 13, 12, 0.55) 68%,
      rgba(13, 13, 12, 0.16) 84%,
      rgba(13, 13, 12, 0.08) 100%);
  }

  .hero-media::after {
    background: linear-gradient(97deg,
      rgba(13, 13, 12, 0.985) 0%,
      rgba(13, 13, 12, 0.975) 48%,
      rgba(13, 13, 12, 0.92) 58%,
      rgba(13, 13, 12, 0.55) 70%,
      rgba(13, 13, 12, 0.18) 86%,
      rgba(13, 13, 12, 0.08) 100%);
  }
}

/* Hero ze zdjęciem w tle (gabinet, strona pod reklamę): sylwetka prześwitywała
   dokładnie pod blokiem tytułu. Papier gęstnieje w pasie treści, dołem
   zdjęcie nadal oddycha jako faktura. */
.hero--with-bg::after {
  background:
    linear-gradient(180deg,
      rgba(13, 13, 12, 0.985) 0%,
      rgba(13, 13, 12, 0.978) 38%,
      rgba(13, 13, 12, 0.965) 62%,
      rgba(13, 13, 12, 0.99) 100%);
}

/* Gdy kadr zszedł pod tekst, kolumna nie ma już powodu trzymać się lewej
   połowy - zostawała pustka po prawej, a tytuł łamał się na pięć wierszy. */
@media (max-width: 1024px) {
  .hm-hero-inner,
  .hm-hero-grid,
  .hero--wide-shot .hero-inner,
  .hero--wide-shot .hero-content {
    max-width: none;
  }

  .hm-hero-sub,
  .hero--wide-shot .hero-subtitle { max-width: 62ch; }
}

/* Blok wezwań i rejestr warunków dzielą tę samą oś: bez tego przyciski
   ciągnęły się na całą szerokość, a lista urywała się w połowie. */
@media (min-width: 761px) and (max-width: 1024px) {
  .hm-hero-cta,
  .hm-hero-proof,
  .hero--wide-shot .hero-cta-group,
  .hero--wide-shot .hero-meta { max-width: 640px; }
}

/* Tytuł e-commerce jest długi: przy kolumnie 560 px rozpadał się na pięć
   wierszy, a do sylwetki zostawało jeszcze 300 px wolnego papieru. */
@media (min-width: 1241px) {
  .hero--wide-shot .hero-inner { max-width: min(52%, 720px); }
  .hero--wide-shot .hero-content { max-width: 100%; }
}

/* Nazwy pisane z łącznikiem (e-commerce, one-to-one) nie mogą się łamać
   po myślniku - „Kampanie e-" na końcu wiersza czyta się jak literówka. */
.nowrap { white-space: nowrap; }

/* Etykieta stoi NAD kreską listy. Ujemny margines wciągał ją pod
   `border-top` sąsiada: przy jednowierszowej etykiecie tylko zbliżał
   linię, przy dwuwierszowej przecinał drugi wiersz jak przekreślenie. */
.process-label {
  margin-top: 22px;
  margin-bottom: 10px;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-4);
}


/* Etykieta niesie już własny odstęp, więc lista nie powtarza pełnego. */
.process-label + .process-deliverables { padding-top: 16px; }


/* ========================================================================
   BLOKI ODWROCONE - kosc na onyksie
   Wszystko, co w Alabastrze bylo plama sepii na papierze, jest tu plama
   kosci na onyksie. Samo tlo odwraca sie automatycznie (var(--sepia)),
   ale tekst drugorzedny nie: popiol i stopnie kosci siadaja wtedy na
   jasnym polu i kontrast spada ponizej czytelnosci. Ponizej te same
   tokeny co w .on-ink, tylko przypiete do konkretnych komponentow.
   ======================================================================== */

.final-cta,
.diff-col-new,
.investment-card,
.section-dark,
.outcome-card,
.process-step,
.price-card,
.case-stamp,
.anchor-col--mine,
.progress-step.is-active,
.choice input:checked + label {
  --ink-3: #5A5852;
  --ink-4: #6E6C66;
  --ink-5: #6E6C66;
  --stone: #D2CFC8;
  --stone-2: #8A887F;
  --line-soft: #E4E2DC;
  --text:      #0D0D0C;
  --text-2:    #5A5852;
  --text-3:    #6E6C66;
  --text-4:    #8A887F;
  --rule:      #D2CFC8;
  --rule-soft: #E4E2DC;
  --rule-strong: #8A887F;
  --quiet:     #8A887F;
}

/* Powierzchnie pod materialem wideo zostaja ciemne. Kosc pod odtwarzaczem
   dawalaby biala klatke przed startem i jasne pasy przy innych proporcjach. */
.proof-video-frame,
.proof-video-player,
.hm-prod-video {
  background: var(--graphite);
}
