/* ============================================================
   krzysztofmika.pl — implementacja DESIGN.md
   Tokens, typografia i komponenty 1:1 z systemem wizualnym.
   ============================================================ */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/InterVariable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color palette — DESIGN.md */
  --background: #F4F2EE;
  --surface-white: #FFFFFF;
  --surface-card-light: #F8F7F5;
  --surface-card-lighter: #FAFAF9;
  --surface-dark: #0F172A;
  --surface-dark-mid: #1E293B;
  --primary: #F59E0B;
  --primary-light: #FBBF24;
  --primary-dark: #D97706;
  --primary-darker: #B45309;
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: rgba(255, 255, 255, 0.58);
  --text-on-dark-faint: rgba(255, 255, 255, 0.45);
  --border-light: #E5E7EB;
  --border-faint: #F3F4F6;
  --border-amber: rgba(245, 158, 11, 0.25);
  /* Layout */
  --container: 1440px;
  --radius-btn: 12px;
  --radius-card: 16px;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset / base ---------- */

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { margin: 0; color: var(--text-primary); text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(245, 158, 11, 0.28); }

strong { color: var(--text-primary); font-weight: 700; }
.on-dark strong { color: var(--text-on-dark); }

/* ---------- Layout primitives ---------- */

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
@media (min-width: 640px) { .container { padding-inline: 40px; } }
@media (min-width: 1024px) { .container { padding-inline: 80px; } }

.section { padding-block: 80px; }
@media (min-width: 768px) { .section { padding-block: 112px; } }
.section--tight { padding-block: 56px; }
@media (min-width: 768px) { .section--tight { padding-block: 72px; } }

.section--white { background: var(--surface-white); }
.section--warm { background: var(--background); }
.section--dark {
  background: linear-gradient(180deg, var(--surface-dark) 0%, var(--surface-dark-mid) 130%);
  color: var(--text-on-dark-muted);
}
.section--dark h2, .section--dark h3 { color: var(--text-on-dark); }

.gold-rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, #F59E0B 40%, #FBBF24 60%, transparent);
}

/* ---------- Typography ---------- */

.h1 {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.h2 {
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.h2--sm { font-size: clamp(24px, 3vw, 40px); }
.h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.grad {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary-darker));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.grad-light {
  background: linear-gradient(120deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lead { font-size: 19px; line-height: 1.72; }
@media (min-width: 768px) { .lead { font-size: 20px; } }
.small { font-size: 14px; line-height: 1.65; }
.micro { font-size: 13px; line-height: 1.6; color: var(--text-muted); }

.measure { max-width: 62ch; }
.measure-wide { max-width: 74ch; }

/* Eyebrow — krótka pozioma linia + label */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-dark);
}
.eyebrow::before {
  content: "";
  height: 1px;
  width: 32px;
  flex: none;
  background: var(--primary);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  height: 1px;
  width: 32px;
  flex: none;
  background: var(--primary);
}
.eyebrow--dark { color: var(--primary-light); }
.eyebrow--muted { color: var(--text-muted); }
.eyebrow--muted::before { background: var(--border-light); }

.section-head { display: grid; gap: 18px; margin-bottom: 56px; }
.section-head--center { text-align: center; justify-items: center; }
@media (min-width: 768px) { .section-head { margin-bottom: 64px; } }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 30px;
  border: 0;
  border-radius: var(--radius-btn);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  transition: filter 0.18s ease, transform 0.12s ease, border-color 0.18s ease;
}
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: scale(0.98); }
.btn svg { width: 15px; height: 15px; flex: none; }

.btn--primary {
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}
.btn--ghost {
  background: transparent;
  border: 1px solid #D1D5DB;
  color: #374151;
  box-shadow: none;
}
.btn--ghost:hover { border-color: #6B7280; filter: none; }
.btn--ghost-dark {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text-on-dark);
  box-shadow: none;
}
.btn--ghost-dark:hover { border-color: rgba(255, 255, 255, 0.45); filter: none; }
.btn--sm { padding: 12px 20px; font-size: 12px; }

/* Tekstowy link-CTA ze strzałką */
.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--primary-dark);
  transition: gap 0.18s ease;
}
.link-cta:hover { gap: 12px; }
.link-cta svg { width: 15px; height: 15px; flex: none; }
.link-cta--dark { color: var(--primary-light); }

/* ---------- Cards ---------- */

.card {
  border-radius: var(--radius-card);
  padding: 32px;
}
.card--pillar {
  background: var(--surface-card-lighter);
  border: 1px solid var(--border-faint);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card--pillar:hover { border-color: #FDE68A; }
.card--service-light { background: var(--surface-card-light); }
.card--on-dark {
  background: var(--surface-white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  color: var(--text-secondary);
}
.card--on-dark h2, .card--on-dark h3 { color: var(--text-primary); }
.section--warm .card--on-dark,
.section--white .card--on-dark { box-shadow: 0 14px 44px rgba(15, 23, 42, 0.08); }
.card--navy {
  background: var(--surface-dark);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-on-dark-muted);
}
.card--navy h3 { color: var(--text-on-dark); }

.glass {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-card);
}

.icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--primary-dark);
  flex: none;
}
.icon-tile svg { width: 21px; height: 21px; }
.icon-tile--dark { color: var(--primary-light); }

/* ---------- Placeholder slots (materiały od klienta) ---------- */

.slot {
  border: 1.5px dashed rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.06);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--primary-darker);
}
.slot--dark {
  background: rgba(245, 158, 11, 0.08);
  color: var(--primary-light);
}
.slot--inline {
  display: inline;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 242, 238, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}
.site-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}
.wordmark {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark i { font-style: normal; color: var(--primary); }
.wordmark--dark { color: var(--text-on-dark); }

.nav-links {
  display: none;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-decoration: none;
  color: #374151;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a[aria-current="page"] {
  color: var(--primary-dark);
}
.header-cta--desktop { display: none; }
.header-cta--mobile { display: inline-flex; }
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .header-cta--desktop { display: inline-flex; }
  .header-cta--mobile { display: none; }
}

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; }
.hero__grid {
  display: grid;
  gap: 56px;
  align-items: center;
  padding-block: 72px;
}
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 55fr 45fr;
    gap: 72px;
    padding-block: 104px;
  }
}
.hero__copy { display: grid; gap: 28px; justify-items: start; }
.hero__sub { max-width: 56ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* Ramka na zdjęcie — Image Frames z DESIGN.md */
.photo-frame {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 2px solid rgba(245, 158, 11, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  background:
    radial-gradient(120% 90% at 20% 10%, #EFE9DE 0%, transparent 60%),
    radial-gradient(130% 100% at 85% 90%, rgba(245, 158, 11, 0.16) 0%, transparent 55%),
    linear-gradient(160deg, #ECE7DD, #DFD8C9);
}
.photo-frame__hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.photo-frame__hint span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(17, 24, 39, 0.38);
  border: 1.5px dashed rgba(17, 24, 39, 0.22);
  border-radius: 10px;
  padding: 10px 14px;
  line-height: 1.5;
}
.photo-frame--portrait { aspect-ratio: 4 / 5; max-width: 500px; }
.photo-frame--wide { aspect-ratio: 4 / 3; }
@media (min-width: 1024px) {
  .hero__grid > div:last-child .photo-frame--portrait { margin-left: auto; }
}

/* ---------- Trust bar ---------- */

.trust {
  background: var(--surface-white);
  border-top: 1px solid var(--border-faint);
  border-bottom: 1px solid var(--border-faint);
  padding-block: 44px;
}
.trust__label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.trust__marks {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 22px 64px;
}
.trust__mark {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #6B7280;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 0.2s ease;
  white-space: nowrap;
}
.trust__mark:hover { opacity: 0.8; }
.trust__dot { color: var(--text-muted); opacity: 0.5; font-weight: 400; }

/* ---------- Formularze ---------- */

.field {
  width: 100%;
  padding: 15px 16px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border-light);
  background: var(--surface-card-light);
  font-family: var(--font);
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field::placeholder { color: var(--text-muted); }
.field:focus {
  outline: none;
  border-color: #FBBF24;
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.2);
}
.field--dark {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text-on-dark);
}
.field--dark::placeholder { color: rgba(255, 255, 255, 0.4); }

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.inline-form .field { flex: 1 1 240px; }
.inline-form .btn { flex: none; }

/* ---------- Moduł checklisty (lead magnet) ---------- */

.leadmag__grid {
  display: grid;
  gap: 64px;
  align-items: center;
}
@media (min-width: 1024px) {
  .leadmag__grid { grid-template-columns: 5fr 7fr; gap: 88px; }
}
.leadmag__copy { display: grid; gap: 22px; justify-items: start; }

/* Dokument checklisty zbudowany w CSS */
.doc-scene {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 36px 12px;
}
.doc-scene::before {
  content: "";
  position: absolute;
  inset: 10% 6%;
  background: radial-gradient(60% 55% at 50% 50%, rgba(245, 158, 11, 0.16), transparent 70%);
  pointer-events: none;
}
.doc {
  position: relative;
  width: min(330px, 82%);
  background: linear-gradient(175deg, #FFFFFF, #F1EEE7);
  border-radius: 14px;
  padding: 34px 30px 30px;
  transform: rotate(-3deg);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.45),
    0 4px 16px rgba(0, 0, 0, 0.3);
}
.doc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  pointer-events: none;
}
.doc__chip {
  position: absolute;
  z-index: 2;
  top: -16px;
  right: -14px;
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 15px;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  transform: rotate(3deg);
}
.doc__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.doc__title {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.doc__author {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.doc__rows { display: grid; gap: 12px; }
.doc__row { display: flex; align-items: center; gap: 10px; }
.doc__box {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1.6px solid #D6D1C6;
  flex: none;
}
.doc__box--check {
  border-color: var(--primary);
  background: rgba(245, 158, 11, 0.14);
  position: relative;
}
.doc__box--check::after {
  content: "";
  position: absolute;
  left: 3.5px;
  top: 0.5px;
  width: 5px;
  height: 8px;
  border: solid var(--primary-dark);
  border-width: 0 2px 2px 0;
  transform: rotate(40deg);
}
.doc__bar {
  height: 7px;
  border-radius: 4px;
  background: #E2DDD2;
  flex: 1;
}
.doc__bar--short { flex: 0.62; }

/* ---------- Sekcje list / siatki ---------- */

.grid-2 { display: grid; gap: 24px; }
.grid-3 { display: grid; gap: 24px; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 4px;
  color: var(--primary-dark);
}
.on-dark .check-list svg { color: var(--primary-light); }

/* Duże numerowane kroki (rzeczywista sekwencja) */
.steps { display: grid; gap: 24px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: step; padding: 30px; }
.step__no {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.step__no::before { content: "0" counter(step); }
.step h3 { margin-top: 14px; margin-bottom: 10px; font-size: 18px; }

/* ---------- Strony usług ---------- */

.service {
  display: grid;
  gap: 28px;
  padding-block: 64px;
  border-top: 1px solid var(--border-faint);
}
.service:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 1024px) {
  .service { grid-template-columns: 4fr 8fr; gap: 72px; }
}
.service__head { display: grid; gap: 18px; align-content: start; justify-items: start; }
.service__body { display: grid; gap: 20px; justify-items: start; }
.service__who {
  display: grid;
  gap: 6px;
  padding: 18px 22px;
  border-radius: var(--radius-btn);
  background: var(--surface-card-light);
  border: 1px solid var(--border-faint);
}
.service__who b {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

/* ---------- Cytaty ---------- */

.quote-card {
  position: relative;
  border-radius: var(--radius-card);
  padding: 40px 36px 34px;
}
.quote-card::before {
  content: "\201E";
  position: absolute;
  top: -6px;
  left: 26px;
  font-size: 90px;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  opacity: 0.9;
}
.quote-card blockquote {
  margin: 44px 0 0;
  font-size: 19px;
  line-height: 1.65;
  font-weight: 500;
  color: var(--text-primary);
}
.quote-card--dark blockquote { color: var(--text-on-dark); }
.quote-card figcaption { margin-top: 22px; font-size: 14px; }
.quote-card figcaption b { display: block; font-weight: 700; color: var(--text-primary); font-size: 15px; }
.quote-card--dark figcaption b { color: var(--text-on-dark); }

/* ---------- Chipy / etykiety ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  background: var(--surface-white);
  white-space: nowrap;
}
.chip--amber {
  border-color: var(--border-amber);
  background: rgba(245, 158, 11, 0.1);
  color: var(--primary-darker);
}
.chip--dark {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-on-dark-muted);
}

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 14px; }
.faq details {
  background: var(--surface-card-lighter);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-card);
  padding: 0;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: #FDE68A; }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-primary);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--primary-dark);
  transition: transform 0.2s ease;
}
.faq details[open] summary svg { transform: rotate(180deg); }
.faq .faq__a { padding: 0 26px 24px; max-width: 70ch; }

/* ---------- Sklep ---------- */

.book-scene {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 30px 10px;
}
.book {
  position: relative;
  width: min(280px, 78%);
  aspect-ratio: 210 / 297;
  border-radius: 6px 14px 14px 6px;
  background:
    radial-gradient(140% 100% at 100% 0%, rgba(245, 158, 11, 0.22), transparent 55%),
    linear-gradient(160deg, #16233F 0%, var(--surface-dark) 55%, #0A101F 100%);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.4), 0 6px 18px rgba(15, 23, 42, 0.25);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}
.book::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  border-radius: 6px 0 0 6px;
  background: linear-gradient(180deg, #F59E0B, #B45309);
}
.book::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 14px;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}
.book__vol {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 12px;
}
.book__title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-on-dark);
}
.book__sub {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-on-dark-muted);
}
.book__author {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}
.book--mini { width: 132px; padding: 18px 16px; border-radius: 4px 10px 10px 4px; }
.book--mini .book__title { font-size: 15px; }
.book--mini .book__vol { font-size: 8.5px; margin-bottom: 8px; }
.book--mini .book__author { font-size: 8.5px; }
.book--mini::before { width: 6px; }
.book--mini::after { left: 9px; }

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.price-row__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.price-row s { color: var(--text-muted); font-size: 14px; }

/* ---------- Kontakt ---------- */

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-faint);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row__meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-row__val {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  overflow-wrap: anywhere;
}
a.contact-row__val:hover { color: var(--primary-dark); }

/* ---------- Artykuły / proza ---------- */

.prose { max-width: 72ch; }
.prose > * + * { margin-top: 22px; }
.prose h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-top: 52px;
}
.prose h2::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--primary);
  margin-bottom: 16px;
  border-radius: 2px;
}
.prose ul, .prose ol { margin: 22px 0 0; padding-left: 0; }
.prose ul { list-style: none; display: grid; gap: 12px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
}
.prose ol { list-style: none; counter-reset: item; display: grid; gap: 16px; }
.prose ol li { position: relative; padding-left: 44px; counter-increment: item; }
.prose ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-darker);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-amber);
}

.formula {
  background: var(--surface-card-lighter);
  border: 1px solid var(--border-faint);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-btn);
  padding: 22px 26px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.cta-note {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-card);
  padding: 30px 32px;
  font-size: 16px;
}
.cta-note a { color: var(--primary-darker); font-weight: 700; text-decoration-color: rgba(245, 158, 11, 0.5); }

.prose a { color: var(--primary-darker); font-weight: 600; text-decoration-color: rgba(245, 158, 11, 0.5); }
.prose a:hover { text-decoration-color: var(--primary-dark); }

.article-hero { padding-block: 64px 56px; }
.article-hero .h1 { font-size: clamp(30px, 3.8vw, 50px); }
.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--text-muted);
}
.crumb:hover { color: var(--primary-dark); }
.crumb svg { width: 14px; height: 14px; transform: rotate(180deg); }

/* ---------- Legal ---------- */

.legal p + p { margin-top: 18px; }
.legal .prose > * + * { margin-top: 18px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--surface-dark);
  color: var(--text-on-dark-muted);
}
.site-footer__grid {
  display: grid;
  gap: 44px;
  padding-block: 72px 48px;
}
@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: 1.3fr 0.9fr 0.9fr 1.3fr; gap: 56px; }
}
.site-footer h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-dark-faint);
  margin-bottom: 18px;
}
.site-footer a { text-decoration: none; color: var(--text-on-dark-muted); transition: color 0.15s ease; }
.site-footer a:hover { color: var(--primary-light); }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.footer-contact { display: grid; gap: 12px; font-size: 14.5px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact svg { width: 15px; height: 15px; color: var(--primary-light); flex: none; }
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 26px;
  font-size: 13px;
  color: var(--text-on-dark-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
}

/* ---------- Drobiazgi ---------- */

.nowrap { white-space: nowrap; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.center { text-align: center; }
.center .hero__ctas, .center .inline-form { justify-content: center; }

.two-col {
  display: grid;
  gap: 56px;
  align-items: start;
}
@media (min-width: 1024px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 88px; }
  .two-col--55 { grid-template-columns: 55fr 45fr; }
  .two-col--article { grid-template-columns: 5fr 7fr; align-items: center; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.rise { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.rise-2 { animation-delay: 0.08s; }
.rise-3 { animation-delay: 0.16s; }

/* ---------- Zdjęcia: ramki, figury, galerie ---------- */

.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-frame--dark {
  border-color: var(--border-amber);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}
.photo-frame--square { aspect-ratio: 1 / 1; }

.figure { margin: 0; display: grid; gap: 14px; }
.figure__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid rgba(17, 24, 39, 0.07);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
  background: var(--surface-card-light);
}
.figure__media img { display: block; width: 100%; height: auto; }
.figure figcaption {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 68ch;
}
.on-dark .figure__media {
  border-color: var(--border-amber);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.4);
}
.on-dark .figure figcaption { color: var(--text-on-dark-faint); }

.photo-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 768px) {
  .photo-strip { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
.photo-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-card);
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.1);
  background: var(--surface-card-light);
}
.photo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.photo-tile:hover img { transform: scale(1.05); }
@media (min-width: 768px) {
  .photo-tile--drop { margin-top: 30px; }
}

/* Sekcja CTA ze zdjęciem w tle */
.cta-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--surface-dark);
  color: var(--text-on-dark-muted);
}
.cta-photo h2, .cta-photo h3 { color: var(--text-on-dark); }
.cta-photo .lead { color: rgba(255, 255, 255, 0.82); }
.cta-photo__bg { position: absolute; inset: 0; z-index: -2; }
.cta-photo__bg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cta-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.84), rgba(15, 23, 42, 0.76)),
    radial-gradient(90% 85% at 18% 8%, rgba(245, 158, 11, 0.2), transparent 62%);
}

/* Okładka artykułu / obraz nagłówkowy podstrony */
.cover { margin-top: 36px; }
.cover .figure__media { box-shadow: 0 26px 70px rgba(15, 23, 42, 0.14); }

/* Miniatura w karcie artykułu */
.card--with-photo { padding: 0; overflow: hidden; }
.card--with-photo .card__body { display: grid; gap: 14px; align-content: start; padding: 26px 28px 30px; }
.card__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-card-light); }
.card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.card--with-photo:hover .card__thumb img { transform: scale(1.04); }

/* ---------- Ruchomy pas z logotypami marek ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  /* wygaszenie logotypów przy krawędziach */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
/* min-width: 50vw sprawia, że dwie grupy zawsze wypełniają ekran —
   dzięki temu przesunięcie o -50% jest bezszwowe na każdej szerokości */
.marquee__group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 72px;
  padding-right: 72px;
  min-width: 50vw;
  flex: none;
}
@media (min-width: 768px) {
  .marquee__group { gap: 96px; padding-right: 96px; }
}
.marquee__logo {
  display: block;
  width: auto;
  height: 30px;
  filter: grayscale(1);
  opacity: 0.55;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
@media (min-width: 768px) { .marquee__logo { height: 34px; } }
.marquee__logo:hover { opacity: 0.9; filter: grayscale(0); }
/* wyrównanie wagi optycznej: cienka szeryfowa Charlotte vs ciężki Coffeedesk */
.marquee__logo--charlotte { opacity: 0.75; }
.marquee__logo--coffeedesk { opacity: 0.42; }
/* logotypy piętrowe potrzebują więcej wysokości, bardzo szerokie sygnatury — mniej */
.marquee__logo--stacked { height: 42px; }
.marquee__logo--light { opacity: 0.74; }
.marquee__logo--wide { height: auto; width: 132px; }
@media (min-width: 768px) {
  .marquee__logo--stacked { height: 48px; }
  .marquee__logo--wide { width: 156px; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Menu mobilne: przycisk + panel boczny (tylko < 1024px) ---------- */

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.65);
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.nav-toggle:hover { border-color: #9CA3AF; }
.nav-toggle svg { width: 21px; height: 21px; }
@media (max-width: 1023px) {
  .site-header__in { gap: 12px; }
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
}
.nav-drawer.is-open { visibility: visible; }
.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nav-drawer.is-open .nav-drawer__backdrop { opacity: 1; }
.nav-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(86vw, 340px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px 26px 34px;
  background: var(--background);
  box-shadow: -20px 0 60px rgba(15, 23, 42, 0.3);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-drawer.is-open .nav-drawer__panel { transform: none; }
.nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
}
.nav-drawer__links { display: grid; }
.nav-drawer__links a {
  display: block;
  padding: 15px 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 24, 39, 0.07);
}
.nav-drawer__links a[aria-current="page"] { color: var(--primary-dark); }
.nav-drawer__contact { display: grid; gap: 12px; font-size: 14.5px; }
.nav-drawer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  text-decoration: none;
}
.nav-drawer__contact svg { width: 15px; height: 15px; flex: none; color: var(--primary-dark); }

body.nav-open { overflow: hidden; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav-drawer { display: none; }
}

/* ---------- Karuzela (cytat + zdjęcia lokalu) ---------- */

.carousel { position: relative; }
.carousel__viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border-radius: var(--radius-card);
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  min-width: 0;
  aspect-ratio: 1 / 1;
  display: flex;
  overflow: hidden;
  border-radius: var(--radius-card);
}
.carousel__slide > * { width: 100%; }
.carousel__slide--quote {
  align-items: center;
  background: var(--surface-card-lighter);
  border: 1px solid var(--border-faint);
}
.carousel__slide--quote .quote-card { padding: 34px 32px; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}
.carousel__nav {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  background: var(--surface-white);
  color: var(--text-primary);
  cursor: pointer;
  transition: filter 0.15s ease, opacity 0.15s ease;
}
.carousel__nav:hover { filter: brightness(0.96); }
.carousel__nav[disabled] { opacity: 0.35; cursor: default; }
.carousel__nav svg { width: 18px; height: 18px; }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 9px;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.2);
  cursor: pointer;
  transition: background 0.18s ease, width 0.18s ease;
}
.carousel__dot[aria-current="true"] { width: 22px; border-radius: 999px; background: var(--primary); }
.on-dark .carousel__dot { background: rgba(255, 255, 255, 0.28); }
.on-dark .carousel__dot[aria-current="true"] { background: var(--primary); }

.carousel__caption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
  min-height: 2.6em;
}

/* Karuzela na ciemnym tle + zachowanie na wąskich ekranach */
.on-dark .carousel__slide--quote {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-amber);
}
.on-dark .carousel__slide--quote .quote-card blockquote { color: var(--text-on-dark); }
.on-dark .carousel__slide--quote .quote-card figcaption b { color: var(--text-on-dark); }
.on-dark .carousel__nav {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text-on-dark);
}
.on-dark .carousel__nav:hover { background: rgba(255, 255, 255, 0.16); filter: none; }
.on-dark .carousel__caption { color: var(--text-on-dark-faint); }
/* długi cytat nie może rozpychać kwadratu: na wąskich ekranach slajd jest wyższy,
   a w razie potrzeby tekst przewija się wewnątrz */
.carousel__slide--quote { overflow-y: auto; }
@media (max-width: 767px) {
  .carousel__slide { aspect-ratio: 3 / 4; }
}

/* Cena w karcie produktu */
.price-row__val {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
}
.on-dark .price-row__val { color: var(--text-on-dark); }
.card--on-dark .price-row__val { color: var(--text-primary); }

/* Osadzony kalendarz rezerwacji (Kalendarz Google) */
.calendar-embed {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  background: var(--surface-card-light);
}
.calendar-embed iframe {
  display: block;
  width: 100%;
  /* wysokości dobrane do naturalnej wysokości widżetu Google, żeby nie było
     przewijania wewnątrz ramki: układ pionowy ~1134 px, poziomy ~750 px */
  height: 1220px;
  border: 0;
}
@media (min-width: 660px) {
  .calendar-embed iframe { height: 860px; }
}
