/* ============================================================
   HTML_v2-B — Burgundy/Red Power
   Ogrodnik Na Redukcji (Piotr Jakubiec) — trener personalny Żywiec
   Last updated: 2026-04-16
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  --bg-primary:   #0d0708;
  --bg-secondary: #1a0d10;
  --bg-card:      #2a1015;

  --burgund:      #3a0c14;
  --red-sharp:    #D72638;
  --red-hover:    #E8334D;

  --text-primary:   #f5ebe4;
  --text-secondary: #a89890;
  --text-dim:       #5c4f4a;

  --border:       #2d1a1c;
  --border-hot:   #D72638;

  --max-width: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Barlow', 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--red-sharp); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--red-hover); }
ul, ol { padding-left: 1.25em; }
li { color: var(--text-secondary); margin-bottom: 0.35em; }

/* ===== Typography ===== */
h1, h2, h3, .headline {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.98;
}
h1 { font-weight: 900; font-size: clamp(40px, 8vw, 88px); line-height: 0.95; }
h2 { font-weight: 900; font-size: clamp(28px, 5vw, 52px); margin-bottom: 1rem; }
h3 { font-weight: 800; font-size: clamp(18px, 3vw, 28px); letter-spacing: 0.02em; margin-bottom: 0.5rem; }
h1 .accent, h2 .accent, h3 .accent { color: var(--red-sharp); }
p { color: var(--text-secondary); margin-bottom: 1rem; }
em { color: var(--red-sharp); font-style: normal; font-weight: 600; }
strong { color: var(--text-primary); font-weight: 700; }

blockquote {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 28px);
  line-height: 1.45;
  color: var(--text-primary);
  border-left: 2px solid var(--red-sharp);
  padding: 12px 20px;
  margin: 1.5rem 0;
}
blockquote cite {
  display: block;
  margin-top: 10px;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-sharp);
  border-left: 2px solid var(--red-sharp);
  padding-left: 10px;
  margin-bottom: 0.75rem;
  display: inline-block;
  font-weight: 700;
}

/* ===== Layout ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { padding: clamp(48px, 9vw, 120px) 0; }
section.tight { padding: clamp(32px, 6vw, 72px) 0; }
section.contrast { background: var(--bg-secondary); }

/* ===== Navigation ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 7, 8, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
}
.nav .brand {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--text-primary);
  text-transform: uppercase;
}
.nav .links { display: flex; gap: 22px; align-items: center; }
.nav .links a {
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.15s;
}
.nav .links a.active, .nav .links a:hover { color: var(--text-primary); }
.nav .links a.cta { padding: 7px 14px; font-size: 11px; background: var(--red-sharp); color: #fff; letter-spacing: 0.12em; }
.nav .menu-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 24px; cursor: pointer; }

@media (max-width: 960px) {
  .nav .links { display: none; position: absolute; top: 100%; right: 0; left: 0; background: var(--bg-secondary); flex-direction: column; gap: 0; padding: 16px; border-top: 1px solid var(--border); }
  .nav .links.open { display: flex; }
  .nav .links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .nav .links a.cta { margin-top: 8px; }
  .nav .menu-toggle { display: block; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 85vh;
  min-height: 85svh; /* safe on mobile Safari */
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
}
.hero .media { position: absolute; inset: 0; z-index: 0; }
.hero .media img, .hero .media video { width: 100%; height: 100%; object-fit: cover; }
.hero .scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(13,7,8,0.25) 0%, rgba(13,7,8,0.45) 50%, rgba(13,7,8,0.92) 100%);
}
.hero .content {
  position: relative; z-index: 2;
  padding: clamp(32px, 6vw, 80px) var(--gutter);
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}
.hero h1 { max-width: 900px; margin-bottom: 1.25rem; }
.hero .sub {
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  max-width: 720px;
  font-style: italic;
  font-weight: 500;
}
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.trust-strip {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* ===== CTAs ===== */
.cta {
  display: inline-flex;
  align-items: center; gap: 8px;
  background: var(--red-sharp);
  color: #fff;
  padding: 14px 28px;
  border: none;
  border-radius: 0;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.cta:hover { background: var(--red-hover); transform: translateX(2px); color: #fff; }

.cta-ghost {
  display: inline-block;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 14px 28px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
}
.cta-ghost:hover { border-color: var(--red-sharp); color: var(--text-primary); }

/* ===== Cards & Grids ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: clamp(24px, 3vw, 36px);
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--red-sharp); transform: translateY(-3px); }
.card h3 { margin-bottom: 0.75rem; }
.card .price {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--red-sharp);
  margin: 8px 0 16px;
}
.card.featured { border-color: var(--red-sharp); }
.card.featured::before {
  content: 'WYBIERANY';
  position: absolute;
  top: -10px; left: 20px;
  background: var(--red-sharp);
  color: #fff;
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.15em;
  font-weight: 700;
}
.card.featured { position: relative; }

/* ===== Metamorfozy grid (asymmetric) ===== */
.meta-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; }
.meta-item { position: relative; overflow: hidden; cursor: pointer; aspect-ratio: 1; background: var(--bg-card); }
.meta-item.featured { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.meta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.meta-item:hover img { transform: scale(1.04); }
.meta-quote {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(13,7,8,0.95) 100%);
  padding: clamp(16px, 3vw, 32px);
  color: var(--text-primary);
}
.meta-quote p {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(13px, 1.4vw, 18px);
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.meta-quote cite {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
@media (max-width: 900px) {
  .meta-grid { grid-template-columns: 1fr 1fr; }
  .meta-item.featured { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; }
}
@media (max-width: 480px) {
  .meta-grid { grid-template-columns: 1fr; }
  .meta-item.featured { grid-column: auto; }
}

/* ===== Forms ===== */
form { display: grid; gap: 1rem; max-width: 640px; margin: 0 auto; }
form.wide { max-width: 860px; }
form .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { form .two-col { grid-template-columns: 1fr; } }
label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 700;
  margin-bottom: -0.25rem;
  display: block;
}
input, textarea, select {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 12px 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--red-sharp); }
textarea { min-height: 120px; resize: vertical; }
.radio-group, .checkbox-group { display: flex; flex-wrap: wrap; gap: 12px; }
.radio-group label, .checkbox-group label { display: inline-flex; align-items: center; gap: 6px; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 14px; color: var(--text-primary); cursor: pointer; }
.radio-group input, .checkbox-group input { width: auto; }

/* ===== Lists + Details (FAQ) ===== */
details {
  border: 1px solid var(--border);
  padding: 16px 20px;
  margin-bottom: 8px;
  background: var(--bg-card);
  transition: border-color 0.2s;
}
details[open] { border-color: var(--red-sharp); }
summary {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--red-sharp); font-size: 20px; font-weight: 700; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details > *:not(summary) { margin-top: 12px; color: var(--text-secondary); }

/* ===== Footer ===== */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: clamp(32px, 5vw, 64px) var(--gutter);
  margin-top: clamp(48px, 8vw, 96px);
}
footer .inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
@media (max-width: 768px) { footer .inner { grid-template-columns: 1fr; } }
footer h4 { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; color: var(--text-primary); }
footer a { color: var(--text-secondary); display: block; padding: 4px 0; font-size: 14px; }
footer a:hover { color: var(--text-primary); }
footer p { font-size: 14px; color: var(--text-secondary); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dim);
}
.footer-bottom a { color: var(--text-dim); display: inline; }
.footer-bottom a:hover { color: var(--text-secondary); }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-lg { margin-top: clamp(32px, 5vw, 64px); }
.mb-lg { margin-bottom: clamp(32px, 5vw, 64px); }
.hide-sm { }
@media (max-width: 600px) { .hide-sm { display: none; } }

.success-banner {
  max-width: calc(var(--max-width) - (var(--gutter) * 2));
  margin: 18px auto 0;
  padding: 16px 20px;
  background: rgba(215, 38, 56, 0.14);
  border: 1px solid var(--border-hot);
  color: var(--text-primary);
}
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.pill-list li {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 13px;
}
.story-grid,
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.story-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}
.story-visual,
.note-box,
.mini-post {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: clamp(20px, 3vw, 32px);
}
.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}
.story-stats div {
  border: 1px solid var(--border);
  padding: 14px;
  background: rgba(255,255,255,0.02);
}
.story-stats strong {
  display: block;
  font-size: 24px;
  color: var(--red-sharp);
}
.photo-pair,
.photo-rail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.photo-pair figure,
.photo-rail figure {
  margin: 0;
}
.photo-pair img,
.photo-rail img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.photo-pair figcaption,
.photo-rail figcaption {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 8px;
}
.media-box {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.media-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card.selected {
  border-color: var(--red-sharp);
  box-shadow: inset 0 0 0 1px rgba(215, 38, 56, 0.3);
}
.card-actions,
.payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.package-note,
.micro-copy,
.small-muted,
.save-note {
  font-size: 13px;
  color: var(--text-dim);
}
.form-note,
.consent-box {
  padding: 16px 18px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.field-shell {
  position: relative;
}
.field-shell .voice-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}
.field-shell textarea + .voice-btn {
  top: 18px;
  transform: none;
}
.voice-btn {
  min-width: 48px;
  height: 38px;
  border: 1px solid var(--border);
  background: var(--burgund);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.14em;
  cursor: pointer;
}
.voice-btn.is-listening {
  background: var(--red-sharp);
  border-color: var(--border-hot);
}
.field-shell input,
.field-shell textarea {
  padding-right: 72px;
}
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.comparison-grid .card ul {
  margin-top: 12px;
}
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.proof-chip,
.cert-card {
  border: 1px solid var(--border);
  background: var(--bg-card, var(--bg-elevated));
}
.proof-chip {
  padding: 18px;
}
.proof-chip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-primary);
}
.proof-chip span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.cert-card {
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}
.cert-card:hover {
  transform: translateY(-4px);
}
.cert-card img {
  width: 100%;
  aspect-ratio: 4 / 5.2;
  object-fit: cover;
  display: block;
  background: #f7f4ef;
  padding: 10px;
}
.cert-copy {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--border);
}
.cert-copy h3 {
  margin: 0 0 4px;
  font-size: 14px;
}
.cert-copy p {
  margin: 0;
  font-size: 12px;
  color: var(--text-secondary);
}
.cert-intro {
  max-width: 760px;
}
.cert-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.cert-summary .proof-chip {
  padding: 16px;
}
.quick-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.compact-select-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field-stack {
  display: grid;
  gap: 12px;
}
.helper-line {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-dim);
}
@media (max-width: 960px) {
  .story-grid,
  .story-split,
  .instagram-grid,
  .comparison-grid,
  .proof-strip,
  .cert-grid,
  .quick-form-grid,
  .compact-select-grid,
  .cert-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .proof-strip {
    grid-template-columns: 1fr;
  }
  .story-stats {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .cert-grid,
  .quick-form-grid,
  .compact-select-grid,
  .cert-summary {
    grid-template-columns: 1fr;
  }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .hero .media video { display: none; }
  .hero .media img.poster { display: block !important; }
}

/* Bilingual Lite — PL+EN */
.hero-en {
  font-family: 'Barlow', 'JetBrains Mono', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: -0.25rem;
  margin-bottom: 1rem;
  color: inherit;
}
.hero-en::before {
  content: "EN · ";
  opacity: 0.5;
  font-weight: 400;
}

/* Voice Recording (Opcja B — Whisper) */
.voice-rec-btn {
  margin-left: 0.35rem;
  padding: 0.35rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
  opacity: 0.55;
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'Barlow', 'JetBrains Mono', monospace;
  border-radius: 2px;
}
.voice-rec-btn:hover:not(:disabled) { opacity: 1; }
.voice-rec-btn.is-recording {
  background: #d72638;
  color: #fff;
  border-color: #d72638;
  opacity: 1;
  animation: pulse-rec 1s infinite;
}
.voice-rec-btn.is-uploading {
  opacity: 0.5;
  cursor: wait;
}
@keyframes pulse-rec {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* === Intake (one-shot voice survey, Opcja B Hybrid) === */
.intake-hero {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, rgba(215, 38, 56, 0.05) 0%, rgba(13, 7, 8, 0) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.intake-lead {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--text);
}
.intake-lead strong { color: var(--accent); }
.intake-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.5rem;
}
.intake-record-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.75rem 2.25rem;
  background: var(--accent);
  color: #0d0708;
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 24px rgba(215, 38, 56, 0.35);
  min-width: 340px;
}
.intake-record-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(215, 38, 56, 0.5);
}
.intake-record-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
.intake-record-btn.is-recording {
  background: #0d0708;
  color: var(--accent);
  border: 2px solid var(--accent);
  animation: intake-pulse 1.2s infinite;
}
.intake-record-btn.is-uploading {
  background: #222;
  color: #fff;
  animation: none;
}
@keyframes intake-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(215, 38, 56, 0.5); }
  50% { box-shadow: 0 0 0 18px rgba(215, 38, 56, 0); }
}
.intake-icon { font-size: 2rem; line-height: 1; }
.intake-label { font-size: 1.15rem; font-weight: 900; }
.intake-hint { font-size: 0.75rem; font-weight: 400; opacity: 0.75; letter-spacing: 0.02em; text-transform: none; }
.intake-record-btn.is-recording .intake-hint,
.intake-record-btn.is-uploading .intake-hint { opacity: 0.8; }

.intake-timer {
  font-family: 'Barlow', 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.intake-status {
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.95rem;
  max-width: 520px;
}
.intake-status.working { border-color: #f5a623; }
.intake-status.recording { border-color: var(--accent); color: var(--accent); }
.intake-status.success { border-color: #3ec47c; color: #3ec47c; }
.intake-status.error { border-color: #ff6b6b; color: #ff6b6b; }

.intake-tips {
  max-width: 720px;
  font-size: 0.9rem;
}
.intake-tips summary {
  cursor: pointer;
  padding: 0.6rem 0;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.85rem;
}
.intake-tips p { margin: 0.5rem 0; padding-left: 0.5rem; border-left: 2px solid var(--border); }

.review-banner {
  padding: 1rem 1.25rem;
  background: rgba(62, 196, 124, 0.08);
  border-left: 3px solid #3ec47c;
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
}
.review-banner strong { color: #3ec47c; }
.review-banner em { color: var(--accent); font-style: normal; font-weight: 700; }

@media (max-width: 640px) {
  .intake-record-btn { min-width: 100%; padding: 1.5rem 1.25rem; }
  .intake-timer { font-size: 1.5rem; }
  .intake-hero { padding: 3rem 0; }
}


/* ===== Feedback round 2 (2026-04-17 12:00): status-bar + dot-red ===== */
.hero .status-bar {
  font-family: 'Barlow', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}
.dot-red {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red-sharp, #D72638);
  box-shadow: 0 0 8px var(--red-sharp, #D72638);
  animation: pulse 1.5s infinite;
  display: inline-block;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@media (prefers-reduced-motion: reduce) {
  .dot-red { animation: none; }
}



/* ========================================================================
   v4 (2026-04-17): Mobile hero fix + Realne ujecia przemiany section
   - Text split top+bottom w hero, scrim odwrocony: video/Piotr widoczny w srodku
   - Slideshow 9 kadrow z Ken Burns + crossfade + typography timeline
   ======================================================================== */

/* === Mobile hero fix v4.2: flex-column on .hero + flex:1 on .content + vh-only === */
@media (max-width: 640px) {
  section.hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    min-height: 92vh !important;
    height: 92vh !important;
  }
  section.hero > div.media { position: absolute !important; inset: 0 !important; z-index: 0 !important; }
  section.hero > div.scrim {
    position: absolute !important; inset: 0 !important; z-index: 1 !important;
    background: linear-gradient(180deg,
      rgba(13,7,8,0.92) 0%,
      rgba(13,7,8,0.70) 18%,
      rgba(13,7,8,0.30) 30%,
      rgba(13,7,8,0.00) 45%,
      rgba(13,7,8,0.00) 65%,
      rgba(13,7,8,0.65) 82%,
      rgba(13,7,8,0.92) 100%) !important;
  }
  section.hero > div.content {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 1 1 auto !important;
    align-self: stretch !important;
    width: 100% !important;
    height: auto !important;
    padding: 16px 14px 18px !important;
  }
  section.hero > div.content > p.sub { margin-bottom: auto !important; }

  .hero h1 { font-size: clamp(1.45rem, 6.4vw, 1.65rem) !important; line-height: 0.95 !important; margin-bottom: 0.5rem !important; text-shadow: 0 2px 18px rgba(0,0,0,0.5) !important; }
  .hero .sub { margin-bottom: 0; }
  .hero .cta-row { display: flex !important; flex-direction: column !important; gap: 10px !important; flex-wrap: nowrap !important; margin-top: 0 !important; }
  .hero .cta, .hero .cta-ghost { width: 100% !important; text-align: center !important; display: block !important; }
  .hero-en { margin: 0.5rem 0; }
  .hero .trust-strip { text-align: center; margin-top: 14px; font-size: 10px; line-height: 1.5; padding-top: 10px; }
}

/* === v4.7 (2026-04-17 18:15): desktop H1 mniejszy + scrim jeszcze lżejszy + gallery grid === */

/* Hero H1 desktop: mniejszy zeby nie zaslanial Piotra (byl clamp(40px, 8vw, 88px)) */
@media (min-width: 901px) {
  .hero h1 {
    font-size: clamp(32px, 4.5vw, 56px) !important;
    max-width: 620px !important;
    line-height: 1.02 !important;
    letter-spacing: -0.02em !important;
  }
  .hero .content {
    max-width: 900px !important;
  }
  .hero .sub {
    max-width: 580px !important;
    margin-bottom: 1.25rem !important;
  }
  /* Scrim jeszcze lzejszy na desktop — prawie cala srodkowa czesc video widoczna */
  .hero .scrim {
    background: linear-gradient(180deg,
      rgba(13,7,8,0.78) 0%,
      rgba(13,7,8,0.38) 12%,
      rgba(13,7,8,0.05) 28%,
      rgba(13,7,8,0.00) 45%,
      rgba(13,7,8,0.00) 60%,
      rgba(13,7,8,0.38) 80%,
      rgba(13,7,8,0.78) 100%) !important;
  }
}

/* Gallery grid z hover overlay + lightbox ready */
.gallery-grid {
  display: grid;
  gap: 12px;
}
.gallery-grid.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}
.gallery-grid.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) {
  .gallery-grid.grid-5 { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid.grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .gallery-grid.grid-5 { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid.grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .gallery-grid.grid-5,
  .gallery-grid.grid-4 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
.gallery-grid .gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  background: #090607;
  border: 1px solid var(--border, #2d1a1c);
  transition: border-color 0.2s, transform 0.2s;
}
.gallery-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease-out;
}
.gallery-grid .gallery-item:hover {
  border-color: var(--red-sharp, #D72638);
}
.gallery-grid .gallery-item:hover img {
  transform: scale(1.05);
}

/* === v4.6 (2026-04-17 17:55): desktop hero split layout + lang-switch + grid-4 breakpoints === */

/* Hide hero-en globally (replaced by lang-switch in nav) */
.hero-en { display: none !important; }

/* Language switcher in nav (top-right) */
.nav .lang-switch {
  display: inline-flex;
  gap: 0;
  margin-left: 16px;
  border: 1px solid var(--border, #2a2326);
  border-radius: 2px;
  overflow: hidden;
}
.nav .lang-btn {
  background: transparent;
  color: var(--text-secondary, #a99998);
  border: 0;
  padding: 8px 12px;
  font-family: 'Barlow', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.nav .lang-btn.active {
  background: var(--red-sharp, #D72638);
  color: #fff;
  cursor: default;
}
.nav .lang-btn:not(.active):not(:disabled):hover {
  color: var(--text-primary, #fff);
  background: rgba(255,255,255,0.06);
}
.nav .lang-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Mobile nav: keep PL/EN visible next to hamburger, hide page links until menu opens */
@media (max-width: 960px) {
  .nav .links {
    display: flex !important;
    position: static !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    margin-left: auto !important;
    background: transparent !important;
    border-top: 0 !important;
  }
  .nav .links a {
    display: none !important;
  }
  .nav .links .lang-switch {
    display: inline-flex !important;
    margin-left: 0 !important;
  }
  .nav .links.open {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 16px !important;
    background: var(--bg-secondary) !important;
    border-top: 1px solid var(--border) !important;
  }
  .nav .links.open a {
    display: block !important;
  }
  .nav .links.open .lang-switch {
    align-self: flex-start !important;
    margin: 12px 0 0 !important;
  }
  .nav .menu-toggle {
    margin-left: 10px !important;
  }
}

/* Desktop hero: split top/bottom layout (jak mobile) — Piotr widoczny w srodku */
.hero {
  align-items: stretch !important;
  min-height: 88vh !important;
}
.hero .content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  flex: 1 1 auto !important;
  align-self: stretch !important;
}
.hero .content .status-bar {
  flex: 0 0 auto;
  margin-bottom: 1rem;
}
.hero .content h1 {
  flex: 0 0 auto;
}
.hero .content .sub {
  margin-top: auto !important;
  margin-bottom: 1.25rem !important;
  flex: 0 0 auto !important;
}
.hero .content .cta-row,
.hero .content .trust-strip {
  flex: 0 0 auto;
}

/* Lighter scrim na desktop — zeby Piotr w srodku byl widoczny (zachowane na mobile z v4.2) */
@media (min-width: 901px) {
  .hero .scrim {
    background: linear-gradient(180deg,
      rgba(13,7,8,0.88) 0%,
      rgba(13,7,8,0.55) 15%,
      rgba(13,7,8,0.15) 35%,
      rgba(13,7,8,0.00) 50%,
      rgba(13,7,8,0.00) 65%,
      rgba(13,7,8,0.55) 85%,
      rgba(13,7,8,0.88) 100%) !important;
  }
}

/* Grid-4 breakpoint poprawka: na mid screen tez 2-col (zamiast 2-col ale szerokich) */
@media (min-width: 901px) and (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1201px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

/* === v4.5 (2026-04-17 17:35): wider breakpoint 900px + smaller H1 for Android/desktop-mode cache === */
@media (max-width: 900px) {
  section.hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    min-height: 88vh !important;
    height: auto !important;
  }
  section.hero > div.content {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 1 1 auto !important;
    align-self: stretch !important;
    width: 100% !important;
    min-height: 88vh !important;
    padding: 16px 16px 20px !important;
  }
  section.hero > div.content > div.status-bar,
  section.hero > div.content > h1,
  section.hero > div.content > p.hero-en {
    flex: 0 0 auto !important;
  }
  section.hero > div.content > p.sub {
    margin-top: auto !important;
    margin-bottom: 14px !important;
    flex: 0 0 auto !important;
  }
  section.hero > div.content > div.cta-row,
  section.hero > div.content > div.trust-strip {
    flex: 0 0 auto !important;
  }
  /* H1 mocno mniejszy zeby 2 linie mieszczaly sie w 390-420px viewport */
  .hero h1,
  section.hero h1,
  section.hero > div.content > h1#hero-title {
    font-size: clamp(1.15rem, 5.2vw, 1.5rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.01em !important;
    text-align: right !important;
    margin-left: auto !important;
    margin-bottom: 0.35rem !important;
    max-width: 84% !important;
  }
  .hero-en { font-size: 10px !important; letter-spacing: 0.18em !important; margin: 0.35rem 0 !important; }
  .hero .sub { font-size: 11px !important; letter-spacing: 0.12em !important; }
  .hero .cta-row { display: flex !important; flex-direction: column !important; gap: 10px !important; margin-top: 0 !important; }
  .hero .cta, .hero .cta-ghost { width: 100% !important; text-align: center !important; padding: 14px 18px !important; font-size: 14px !important; }
  .hero .trust-strip { font-size: 10px !important; line-height: 1.45 !important; margin-top: 10px !important; padding-top: 10px !important; }
}

/* === Metamorfoza section (slideshow 9 kadrow) === */
.meta-hero-section {
  position: relative;
  background: var(--bg, #0d0708);
  overflow: hidden;
}
.meta-hero-section::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #D72638 0%, #C6FF00 100%);
  z-index: 2;
}
.meta-hero-wrap {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 56px;
  align-items: center;
  max-width: var(--max-width, 1240px);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) var(--gutter, 24px);
}
.meta-hero-copy .section-label { color: #D72638; }
.meta-hero-copy h2 { font-family: Georgia, 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 1rem; }
.meta-hero-copy h2 .accent { color: #D72638; }
.meta-hero-copy .lead { color: rgba(255,255,255,0.78); font-size: clamp(15px, 1.5vw, 17px); line-height: 1.65; max-width: 620px; margin-bottom: 1.5rem; font-style: italic; }
.meta-hero-copy p { font-size: clamp(14px, 1.3vw, 16px); line-height: 1.7; color: rgba(255,255,255,0.88); margin-bottom: 1rem; }
.meta-hero-copy strong { color: #fff; font-weight: 800; }
.meta-hero-copy .kicker { display: inline-block; background: rgba(215,38,56,0.12); border-left: 3px solid #D72638; padding: 12px 16px; font-style: italic; color: #fff; font-size: clamp(14px, 1.3vw, 16px); margin: 1rem 0; line-height: 1.55; }
.meta-hero-copy .bullets { list-style: none; padding: 0; margin: 1rem 0; }
.meta-hero-copy .bullets li { padding: 7px 0 7px 26px; position: relative; font-size: clamp(13px, 1.2vw, 15px); color: rgba(255,255,255,0.85); line-height: 1.55; }
.meta-hero-copy .bullets li::before { content: "->"; position: absolute; left: 0; color: #C6FF00; font-weight: 900; }
.meta-hero-copy .cta-row { margin-top: 1.75rem; display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .meta-hero-wrap { grid-template-columns: 1fr; gap: 32px; }
}

.meta-stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(215, 38, 56, 0.3), 0 0 0 2px rgba(215, 38, 56, 0.4);
  margin: 0 auto;
}
.meta-stage::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 45%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.85) 100%);
  pointer-events: none; z-index: 2;
}
.meta-slide {
  position: absolute; inset: 0;
  opacity: 0;
  animation: metafade 18s infinite linear;
  will-change: opacity;
}
.meta-slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform-origin: center center;
  will-change: transform;
  animation: meta-kb-left 4s infinite ease-in-out;
}
.meta-slide:nth-child(even) img { animation-name: meta-kb-right; }
.meta-slide:nth-child(9) img { animation-name: meta-kb-up; animation-duration: 3s; }

.meta-slide:nth-child(1) { animation-delay: 0s; }
.meta-slide:nth-child(2) { animation-delay: -16s; }
.meta-slide:nth-child(3) { animation-delay: -14s; }
.meta-slide:nth-child(4) { animation-delay: -12s; }
.meta-slide:nth-child(5) { animation-delay: -10s; }
.meta-slide:nth-child(6) { animation-delay: -8s; }
.meta-slide:nth-child(7) { animation-delay: -6s; }
.meta-slide:nth-child(8) { animation-delay: -4s; }
.meta-slide:nth-child(9) { animation-delay: -2s; }

@keyframes metafade { 0%, 11% { opacity: 1; } 13%, 100% { opacity: 0; } }
@keyframes meta-kb-left  { from { transform: scale(1.00) translate( 2%, -1%); } to { transform: scale(1.12) translate(-2%,  1%); } }
@keyframes meta-kb-right { from { transform: scale(1.00) translate(-2%,  1%); } to { transform: scale(1.12) translate( 2%, -1%); } }
@keyframes meta-kb-up    { from { transform: scale(1.02) translate( 0%,  2%); } to { transform: scale(1.14) translate( 0%, -2%); } }

.meta-caption {
  position: absolute; bottom: 56px; left: 22px; right: 22px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  z-index: 3;
  animation: metacap 18s infinite ease-out;
}
.meta-slide:nth-child(1) .meta-caption { animation-delay: 0s; }
.meta-slide:nth-child(2) .meta-caption { animation-delay: -16s; }
.meta-slide:nth-child(3) .meta-caption { animation-delay: -14s; }
.meta-slide:nth-child(4) .meta-caption { animation-delay: -12s; }
.meta-slide:nth-child(5) .meta-caption { animation-delay: -10s; }
.meta-slide:nth-child(6) .meta-caption { animation-delay: -8s; }
.meta-slide:nth-child(7) .meta-caption { animation-delay: -6s; }
.meta-slide:nth-child(8) .meta-caption { animation-delay: -4s; }
.meta-slide:nth-child(9) .meta-caption { animation-delay: -2s; }

.meta-caption .year {
  display: inline-block;
  background: #D72638; color: #fff;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; font-weight: 900; letter-spacing: 2px;
  padding: 4px 10px; border-radius: 3px; margin-bottom: 8px;
}
.meta-caption.final .year { background: #C6FF00; color: #0a0a0a; }
.meta-caption .headline {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 16px rgba(0,0,0,0.9);
}
.meta-caption.final .headline {
  font-style: normal;
  font-weight: 900;
  font-family: 'Inter', sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.01em;
}

@keyframes metacap {
  0%, 2% { opacity: 0; transform: translateY(12px); }
  5%, 10% { opacity: 1; transform: translateY(0); }
  12%, 100% { opacity: 0; transform: translateY(-6px); }
}

.meta-dots {
  position: absolute; bottom: 22px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
  z-index: 3;
  pointer-events: none;
}
.meta-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.28);
  animation: metadot 18s infinite linear;
}
.meta-dot:nth-child(1) { animation-delay: 0s; }
.meta-dot:nth-child(2) { animation-delay: -16s; }
.meta-dot:nth-child(3) { animation-delay: -14s; }
.meta-dot:nth-child(4) { animation-delay: -12s; }
.meta-dot:nth-child(5) { animation-delay: -10s; }
.meta-dot:nth-child(6) { animation-delay: -8s; }
.meta-dot:nth-child(7) { animation-delay: -6s; }
.meta-dot:nth-child(8) { animation-delay: -4s; }
.meta-dot:nth-child(9) { animation-delay: -2s; }
@keyframes metadot {
  0%, 10% { background: #C6FF00; transform: scale(1.4); }
  12%, 100% { background: rgba(255,255,255,0.28); transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .meta-slide, .meta-slide img, .meta-caption, .meta-dot {
    animation: none !important;
  }
  .meta-slide { opacity: 1; }
  .meta-slide:not(:last-child) { display: none; }
  .meta-caption { opacity: 1; transform: none; }
}
