/* ── pracownia-ceramiczna — style przeniesione z inline <style> w page-pracownia-ceramiczna.php (konwencja: CSS per strona) ── */
  .cer-content { line-height: 1.6; color: var(--text); }
  .cer-content {
    --brand:         #2A6B4F;
    --brand-hover:   #1e4d37;
    --brand-soft:    #EAF4EE;
    --highlight:     #FEF9C2;
    --text:          #111111;
    --text-muted:    #374151;
    --text-light:    #9ca3af;
    --bg:            #ffffff;
    --bg-subtle:     #f9fafb;
    --border:        #e5e5e5;
    --border-strong: #e5e7eb;
    --btn-radius:    4px;
    --card-radius:   4px;
    --shadow-float:  0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
    --shadow-screen: 0 6px 20px rgba(17,24,39,.07), 0 1px 4px rgba(17,24,39,.04);
    --max-w:         1400px;
    --font-heading:  'Geist', system-ui, sans-serif;
    --font-body:     'Inter', system-ui, sans-serif;
  }

  .cer-content h1, .cer-content h2, .cer-content h3 { font-family: var(--font-heading); letter-spacing: -.03em; line-height: 1.12; font-weight: 500; }
  .cer-content p { color: var(--text-muted); }
  .cer-content img { max-width: 100%; display: block; }
  .cer-content a { color: inherit; }

  .cer-content .wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
  .cer-content section { padding: 88px 0; }
  .cer-content .eyebrow { font-family: var(--font-body); font-size: var(--fs-eyebrow, 13px); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }

  /* ── Buttons ─────────────────────────────── */
  .cer-content .btn-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: #fff; padding: 14px 26px; border-radius: var(--btn-radius); font-size: 15.5px; font-weight: 600; text-decoration: none; transition: background .15s, transform .15s; border: 0; cursor: pointer; }
  .cer-content .btn-cta:hover { background: var(--brand-hover); transform: translateY(-1px); }
  .cer-content .btn-cta svg { width: 17px; height: 17px; }
  .cer-content .risk { margin-top: 14px; font-size: 13.5px; color: var(--text-light); }

  /* ── Screen mockup (desktop) ─────────────── */
  /* Bez obramowania — przy pelnym (nieskadrowanym) zrzucie 1px kreska odcinala sie
     jako obca ramka. Separacje od tla daje sam cien. */
  .screen { position: relative; width: 100%; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-screen); }
  .screen--hero { aspect-ratio: 4 / 3; }

  /* Placeholder na realny zrzut — do podmiany na <img class="screen"> */
  .shot { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; background: var(--brand-soft); color: var(--brand); }
  .shot .shot-label { font-family: var(--font-heading); font-weight: 600; font-size: 16px; }
  .shot .shot-note { margin-top: 6px; font-size: 13px; color: var(--text-muted); }
  .shot-badge { margin-bottom: 16px; width: 52px; height: 52px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
  .shot-badge svg { width: 26px; height: 26px; color: var(--brand); }

  /* Zdejmij siatkę tła motywu (body::before) — tylko na tym landingu. */
  body::before { display: none; }

  /* ── Hero ────────────────────────────────── */
  .cer-content .hero { display: block; max-width: none; padding: 76px 0 64px; overflow: visible; }
  .cer-content .hero-copy { margin-left: 0; }
  .cer-content .hero-grid { display: grid; grid-template-columns: 1fr 1.18fr; gap: 48px; align-items: center; }
  .cer-content .hero h1 { font-size: var(--fs-hero, clamp(2.1rem, 4.1vw, 3.2rem)); color: var(--text); text-wrap: balance; }
  /* Wyróżnienie w nagłówku — plamka tła jak na stronie głównej: background na spanie
     + box-decoration-break, więc podąża za zawiniętymi liniami. */
  .cer-content .hero h1 .marker-accent {
    display: inline;
    color: var(--text);
    background: var(--highlight);
    border-radius: 6px;
    padding: .06em 0;
    line-height: 1.34;
    box-shadow: -.16em 0 0 var(--highlight), .16em 0 0 var(--highlight);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
  .cer-content .hero .sub { margin-top: 20px; font-size: 18px; color: var(--text-muted); max-width: 32em; }
  .cer-content .hero .cta-row { margin-top: 30px; }

  /* ── Scroll stack (zapisy → karnety → stanowiska) ── */
  /* 440vh zamiast 300: kazdy ekran dostaje postoj, zanim wjedzie kolejny. */
  .stack { position: relative; height: 440vh; }
  .stack-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
  .stack-inner { width: 100%; }
  .stack-head { text-align: center; max-width: 34em; margin: 0 auto 26px; }
  .stack-head h2 { font-size: var(--fs-section, clamp(1.7rem, 2.7vw, 2.3rem)); color: var(--text); }
  /* Wymiarowana wysokoscia, szerokosc wynika z proporcji zrzutow (1621x970 ~ 5/3).
     Dzieki temu obraz nie jest kadrowany, a scena zawsze miesci sie w oknie. */
  .stack-stage { position: relative; height: min(72vh, 720px); aspect-ratio: 5 / 3; width: auto; max-width: 94%; margin: 0 auto; }
  .stack-screen { position: absolute; inset: 0; display: flex; flex-direction: column; will-change: transform; }
  .stack-screen[data-i="0"] { z-index: 1; }
  .stack-screen[data-i="1"] { z-index: 2; transform: translateY(101%); }
  .stack-screen[data-i="2"] { z-index: 3; transform: translateY(101%); }
  .stack-screen .screen { flex: 1 1 auto; min-height: 0; }
  /* object-position: top — jesli zrzut ma inna proporcje niz scena, obcina sie dol, nie naglowek. */
  .cer-content .stack-screen img.screen { height: 100%; object-fit: cover; object-position: top; }

  /* ── Payments ────────────────────────────── */
  .pay { background: var(--bg-subtle); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .pay h2 { font-size: var(--fs-section, clamp(1.7rem, 2.7vw, 2.3rem)); color: var(--text); max-width: 18em; }
  .pay .pay-list { margin-top: 34px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
  .pay-item { display: flex; gap: 14px; align-items: flex-start; }
  .pay-item .tick { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
  .pay-item .tick svg { width: 15px; height: 15px; color: var(--brand); }
  .pay-item h3 { font-family: var(--font-body); font-size: 17.5px; font-weight: 600; color: var(--text); letter-spacing: 0; }
  .pay-item p { margin-top: 6px; font-size: 16px; line-height: 1.55; }

  /* ── Video ───────────────────────────────── */
  .video { text-align: center; }
  .video h2 { font-size: var(--fs-section, clamp(1.7rem, 2.7vw, 2.3rem)); color: var(--text); }
  .video-frame { margin: 34px auto 0; max-width: 860px; aspect-ratio: 16 / 9; border-radius: 12px; position: relative; overflow: hidden; box-shadow: var(--shadow-screen); border: 1px solid var(--border); }
  .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
  .video-frame .shot { background: #14211c; color: #fff; }
  .video-frame .shot .shot-label { color: #fff; }
  .video-frame .shot .shot-note { color: rgba(255,255,255,.6); }
  .video-play { width: 66px; height: 66px; border-radius: 50%; background: rgba(255,255,255,.16); border: 1.5px solid rgba(255,255,255,.55); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
  .video-play svg { width: 26px; height: 26px; color: #fff; margin-left: 3px; }
  .steps-row { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .step-card { position: relative; text-align: center; }
  .step-card:not(:last-child)::after { content: ''; position: absolute; top: 28px; left: 50%; width: calc(100% + 40px); height: 2px; background: var(--brand); z-index: 0; }
  .step-ico { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 14px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
  .step-ico svg { width: 26px; height: 26px; color: var(--brand); }
  .step-kicker { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
  .step-card h3 { font-family: var(--font-body); font-weight: 600; font-size: 17.5px; color: var(--text); letter-spacing: 0; }
  .step-card p { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--text-muted); }

  /* ── Tiles (pozostałe funkcje) ───────────── */
  .tiles h2 { font-size: var(--fs-section, clamp(1.7rem, 2.7vw, 2.3rem)); color: var(--text); max-width: 22em; margin-bottom: 34px; }
  .tiles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .tile { padding: 26px; border: 1px solid var(--border); border-radius: var(--card-radius); background: #fff; transition: box-shadow .18s, transform .18s; }
  .tile:hover { box-shadow: var(--shadow-float); transform: translateY(-2px); }
  .tile .ico { width: 40px; height: 40px; border-radius: 9px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
  .tile .ico svg { width: 20px; height: 20px; color: var(--brand); }
  .tile h3 { font-family: var(--font-body); font-size: 17.5px; font-weight: 600; color: var(--text); letter-spacing: 0; }
  .tile p { margin-top: 8px; font-size: 16px; line-height: 1.55; }

  /* ── Pricing ─────────────────────────────── */
  .pricing { background: var(--bg-subtle); border-top: 1px solid var(--border); }
  .pricing .head { text-align: center; max-width: 34em; margin: 0 auto; }
  .pricing h2 { font-size: var(--fs-section, clamp(1.7rem, 2.7vw, 2.3rem)); color: var(--text); }
  .pricing .head p { margin-top: 12px; font-size: 17px; }
  .toggle-wrap { text-align: center; margin-bottom: 30px; }
  .pricing-toggle { display: inline-flex; align-items: center; gap: 4px; margin-top: 24px; padding: 4px; border: 1px solid var(--border-strong); border-radius: var(--btn-radius); background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
  .pricing-toggle button { border: 0; border-radius: var(--btn-radius); background: transparent; padding: 8px 14px; color: var(--text-muted); cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1; }
  .pricing-toggle button.is-active { background: var(--text); color: #fff; }
  .pricing-toggle em { color: var(--brand); font-style: normal; }
  .pricing-toggle button.is-active em { color: #bbf7d0; }
  .pricing-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 30px; }
  .pricing-card { position: relative; display: flex; min-height: 326px; flex-direction: column; border: 1px solid var(--border-strong); border-radius: var(--card-radius); background: #fff; padding: 22px; box-shadow: 0 2px 8px rgba(17,17,17,0.03); }
  .pricing-card.is-popular { border-color: rgba(42,107,79,0.42); box-shadow: 0 0 0 3px rgba(42,107,79,0.08), 0 8px 26px rgba(17,17,17,0.06); }
  .pricing-card-head { display: flex; min-height: 24px; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 18px; }
  .pricing-card h2 { margin: 0; font-family: var(--font-heading); font-size: 15px; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
  .pricing-card-head span { border-radius: var(--btn-radius); background: var(--brand-soft); padding: 4px 7px; color: var(--brand); font-size: 10.5px; font-weight: 700; white-space: nowrap; }
  .pricing-price { margin: 0; color: var(--text); font-family: var(--font-heading); font-size: clamp(1.65rem, 2vw, 2.15rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.05; }
  .pricing-note { margin: 7px 0 0; color: var(--text-muted); font-size: 12.5px; line-height: 1.4; }
  .cer-content .pricing-desc { margin: 20px 0 16px; color: var(--text); font-size: 14.5px; line-height: 1.5; }
  .cer-content .pricing-inherit { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--text); }
  .pricing-card ul { display: flex; flex-direction: column; gap: 9px; margin: 0 0 22px; list-style: none; }
  .pricing-card li { position: relative; padding-left: 18px; color: var(--text-muted); font-size: 13.5px; line-height: 1.35; }
  .pricing-card li::before { content: ""; position: absolute; left: 0; top: .42em; width: 7px; height: 7px; border-radius: var(--btn-radius); background: var(--brand); opacity: .7; }
  .pricing-card-cta { display: inline-flex; align-items: center; justify-content: center; width: 100%; margin-top: auto; border: 1px solid var(--border-strong); border-radius: var(--btn-radius); background: #fff; padding: 10px 12px; color: var(--text); text-decoration: none; font-size: 13px; font-weight: 700; transition: background .15s ease, color .15s ease, border-color .15s ease; }
  .pricing-card.is-popular .pricing-card-cta, .pricing-card-cta:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
  .pricing-enterprise-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .26fr); align-items: start; gap: 24px; border: 1px solid var(--border-strong); border-radius: var(--card-radius); background: #fff; padding: 22px; box-shadow: 0 2px 8px rgba(17,17,17,0.03); }
  .pricing-enterprise-card .pricing-card-head { margin-bottom: 8px; }
  .pricing-enterprise-card .pricing-desc { max-width: 520px; margin-bottom: 0; }
  .pricing-enterprise-card .pricing-card-cta { align-self: start; margin-top: 0; }

  /* ── Integracje (wzór: strona główna) ────── */
  .cer-content section.integrations { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
  .integr-inner { display: flex; align-items: center; gap: 48px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 0; }
  .integr-copy { flex: 0 0 340px; }
  .integr-copy h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.15; color: var(--text); }
  .integr-muted { color: var(--text-light); }
  .integr-badges { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); }
  .integr-badge { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 8px 12px; }
  .integr-badge + .integr-badge { border-left: 1px solid var(--border); }
  .integr-brand { display: flex; align-items: center; gap: 8px; min-height: 52px; }
  .integr-logo { display: block; height: 40px; width: auto; }
  .integr-ico { display: block; width: 58px; height: 58px; border-radius: 14px; }
  .integr-chip { display: flex; align-items: center; background: #001A4B; border-radius: 10px; padding: 11px 18px; }
  .integr-chip .integr-logo { height: 24px; }
  .integr-smtp { display: flex; align-items: center; gap: 9px; color: var(--text); font-family: var(--font-heading); font-size: 27px; font-weight: 600; letter-spacing: .04em; }
  .integr-smtp svg { width: 26px; height: 26px; }
  .integr-desc { font-size: 12px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--text-light); }
  @media (max-width: 900px) {
    .integr-inner { flex-direction: column; align-items: flex-start; gap: 32px; }
    .integr-copy { flex: none; }
    .integr-badges { width: 100%; grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
    .integr-badge:nth-child(3) { border-left: none; }
  }
  @media (max-width: 640px) {
    .cer-content section.integrations { padding: 0 20px; }
    .integr-badges { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
    .integr-badge { border-left: none !important; align-items: center; text-align: center; padding: 0; }
    .integr-brand { min-height: 44px; justify-content: center; }
    .integr-logo { height: 28px; }
    .integr-ico { width: 44px; height: 44px; }
    .integr-chip { padding: 9px 14px; }
    .integr-chip .integr-logo { height: 20px; }
  }

  /* ── FAQ ─────────────────────────────────── */
  .faq .head { text-align: center; margin-bottom: 36px; }
  .faq h2 { font-size: var(--fs-section, clamp(1.7rem, 2.7vw, 2.3rem)); color: var(--text); }
  .faq-list { max-width: 760px; margin: 0 auto; }
  details.qa { border-bottom: 1px solid var(--border); }
  details.qa summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--font-heading); font-weight: 500; font-size: 18px; color: var(--text); }
  details.qa summary::-webkit-details-marker { display: none; }
  details.qa summary::after { content: '+'; position: absolute; right: 4px; top: 18px; font-size: 24px; font-weight: 400; color: var(--brand); transition: transform .2s; }
  details.qa[open] summary::after { transform: rotate(45deg); }
  details.qa .a { padding: 0 40px 22px 0; font-size: 16px; color: var(--text-muted); }

  /* Final CTA — używa globalnego .final-cta z main.css (sekcja poza .cer-content). */

  /* Animacje wejścia usunięte — elementy widoczne od razu (.reveal = no-op). */

  /* ── Responsive ──────────────────────────── */
  @media (max-width: 900px) {
    .cer-content section { padding: 64px 0; }
    .cer-content .hero { padding: 48px 0; }
    .cer-content .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .cer-content .hero .sub { max-width: none; }
    .pay .pay-list { grid-template-columns: 1fr; }
    .steps-row { grid-template-columns: 1fr; gap: 28px; }
    .step-card:not(:last-child)::after { display: none; }
    .tiles-grid { grid-template-columns: 1fr; }
    .pricing-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pricing-enterprise-card { grid-template-columns: 1fr; }
  }
  @media (max-width: 600px) {
    .pricing-cards { grid-template-columns: 1fr; }
    .pricing-card { min-height: auto; }
    .pricing-enterprise-card .pricing-card-cta { width: 100%; }
  }

  /* Scroll-stack → static stacked cards (mobile lub reduced-motion) */
  .stack.is-static, .stack.is-static .stack-sticky { height: auto; }
  .stack.is-static .stack-sticky { position: static; display: block; padding: 8px 0; }
  .stack.is-static .stack-stage { height: auto; min-height: 0; max-height: none; width: 100%; }
  .stack.is-static .stack-screen { position: static; inset: auto; transform: none !important; margin-bottom: 30px; }
  /* Mobile: pokaż CAŁY zrzut w naturalnych proporcjach (bez przycinania do 16/10) */
  .stack.is-static .stack-screen .screen { aspect-ratio: auto; }
  .cer-content .stack.is-static .stack-screen img.screen { height: auto; object-fit: contain; }
  /* Mobile: wyłącz scroll-stack, ułóż 3 screeny czysto jeden pod drugim */
  @media (max-width: 900px) {
    .cer-content .stack { height: auto; }
    .cer-content .stack .stack-sticky { position: static; height: auto; display: block; padding: 0; }
    .cer-content .stack .stack-stage { position: static; height: auto; min-height: 0; max-height: none; aspect-ratio: auto; width: 100%; max-width: 100%; margin: 0; }
    .cer-content .stack .stack-screen { position: static; inset: auto; transform: none !important; margin-bottom: 20px; }
    .cer-content .stack .stack-screen:last-child { margin-bottom: 0; }
    .cer-content .stack .stack-screen .screen { aspect-ratio: auto; }
    .cer-content .stack .stack-screen img.screen { height: auto; object-fit: contain; }
  }

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