/* ==========================================================
   hiMonolit – warstwa stylów nad Bootstrap 5.3
   VOICE   partnerski, konkretny, spokojny – „premium SaaS + studio”
   IDEA    modułowy system: bryły symbolu, kąt kolorowego elementu (~29°), siatka
   PICTURE duże mockupy aplikacji; zdjęcia tylko jako tło kontekstu
   COLOUR  Monolit Black + Soft White; Electric Blue jako akcent; gradient tylko w symbolu
   TYPE    Manrope 800/700/500/400 (rekomendacja księgi znaku)
   ========================================================== */

:root {
  --hm-black: #060A0F;
  --hm-ink: #0E141B;
  --hm-blue: #007BFB;        /* Electric Blue – akcent */
  --hm-blue-ink: #0062CC;    /* wariant dla tekstu (kontrast AA na jasnym tle) */
  --hm-g1: #168BFF;
  --hm-g2: #315CFF;
  --hm-violet: #C43BFA;
  --hm-white: #FCFCFD;
  --hm-surface: #F2F4F7;
  --hm-line: #E3E7ED;
  --hm-muted: #4A5361;
  --hm-dark-2: #111821;
  --hm-dark-line: #222C38;
  --hm-soft-on-dark: #A9B3C1;
  --hm-radius: 14px;
  --hm-radius-lg: 22px;
  --hm-slope: 29.4deg;       /* kąt kolorowego elementu symbolu */
  --hm-shadow: 0 1px 2px rgba(6,10,15,.06), 0 12px 32px -12px rgba(6,10,15,.18);
  --hm-shadow-lg: 0 2px 4px rgba(6,10,15,.06), 0 40px 80px -30px rgba(6,10,15,.35);

  --bs-body-font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: var(--hm-ink);
  --bs-body-bg: var(--hm-white);
  --bs-body-font-size: 1.0625rem;
  --bs-body-line-height: 1.6;
  --bs-link-color-rgb: 0, 98, 204;
  --bs-link-hover-color-rgb: 6, 10, 15;
  --bs-border-color: var(--hm-line);
  --bs-primary: var(--hm-blue);
  --bs-primary-rgb: 0, 123, 251;
  --bs-focus-ring-color: rgba(0, 123, 251, .35);
}

html { scroll-padding-top: 88px; }
.container-xxl { --bs-gutter-x: 3rem; }
@media (min-width: 1200px) { .container-xxl { --bs-gutter-x: 4rem; } }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.02em; color: var(--hm-black); text-wrap: balance; }
p { text-wrap: pretty; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--hm-blue); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 2000; background: var(--hm-black); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

/* ── Typografia ─────────────────────────────── */
.h-display { font-size: clamp(2.5rem, 5.4vw, 4.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.h-display-sm { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.06; letter-spacing: -.03em; }
.h-section { font-size: clamp(1.85rem, 3.1vw, 2.75rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; }
.h-card { font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.lead-hm { font-size: clamp(1.1rem, 1.4vw, 1.3rem); color: var(--hm-muted); line-height: 1.55; max-width: 38em; }
.lead-soft { font-size: 1.15rem; color: var(--hm-soft-on-dark); max-width: 36em; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head.text-center { max-width: 52rem; }
.section-lead { font-size: 1.15rem; color: var(--hm-muted); margin-top: 1rem; margin-bottom: 0; }
.text-soft { color: var(--hm-soft-on-dark); }
.text-muted-hm { color: var(--hm-muted); }
.hi { color: var(--hm-blue); }

/* ── Sekcje ─────────────────────────────────── */
.band { padding-block: clamp(4rem, 8vw, 7.5rem); position: relative; }
.band-tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.band-surface { background: var(--hm-surface); }
.band-dark { background: var(--hm-black); color: #E8ECF1; }
.band-dark h1, .band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .section-lead { color: var(--hm-soft-on-dark); }
.band-line { border-top: 1px solid var(--hm-line); }

/* ── Przyciski ──────────────────────────────── */
.btn-hm { --bs-btn-font-weight: 700; --bs-btn-padding-x: 1.35rem; --bs-btn-padding-y: .8rem; --bs-btn-border-radius: 10px; --bs-btn-font-size: 1rem; display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; transition: transform .2s ease, background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn-hm.btn-lg { --bs-btn-padding-x: 1.6rem; --bs-btn-padding-y: 1rem; --bs-btn-font-size: 1.05rem; min-height: 56px; }
.btn-hm:hover { transform: translateY(-1px); }
.btn-hm .bi-arrow-right { transition: transform .2s; }
.btn-hm:hover .bi-arrow-right { transform: translateX(3px); }
.btn-hm-dark { --bs-btn-bg: var(--hm-black); --bs-btn-color: #fff; --bs-btn-border-color: var(--hm-black); --bs-btn-hover-bg: var(--hm-blue-ink); --bs-btn-hover-border-color: var(--hm-blue-ink); --bs-btn-hover-color: #fff; --bs-btn-active-bg: #004fa6; --bs-btn-active-color: #fff; }
.btn-hm-outline { --bs-btn-color: var(--hm-black); --bs-btn-border-color: #C8CFD8; --bs-btn-bg: transparent; --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: var(--hm-black); --bs-btn-hover-color: var(--hm-black); --bs-btn-active-bg: #fff; }
.btn-hm-light { --bs-btn-bg: #fff; --bs-btn-color: var(--hm-black); --bs-btn-border-color: #fff; --bs-btn-hover-bg: var(--hm-g1); --bs-btn-hover-border-color: var(--hm-g1); --bs-btn-hover-color: var(--hm-black); --bs-btn-active-bg: var(--hm-g1); }
.btn-hm-ghost-light { --bs-btn-color: #fff; --bs-btn-border-color: #3A4655; --bs-btn-hover-bg: rgba(255,255,255,.06); --bs-btn-hover-border-color: #fff; --bs-btn-hover-color: #fff; }
.link-arrow { font-weight: 700; color: var(--accent-ink, var(--hm-blue-ink)); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow:hover { color: var(--hm-black); }
.link-arrow .bi { transition: transform .2s; }
.link-arrow:hover .bi { transform: translateX(4px); }

/* ── Logo ───────────────────────────────────── */
.hm-logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--hm-black); }
.hm-symbol { height: 34px; width: auto; flex: none; }
.hm-symbol .hm-solid { fill: currentColor; }
.hm-word { font-weight: 800; font-size: 1.45rem; letter-spacing: -.03em; line-height: 1; color: currentColor; }
.hm-hi { color: var(--hm-blue); }
.hm-logo-light { color: #fff; }
.hm-logo-light .hm-hi { color: var(--hm-g1); }
.hm-stripe { width: 34px; height: auto; display: block; }

/* ── Nawigacja ──────────────────────────────── */
.site-header { background: rgba(252,252,253,.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { border-bottom-color: var(--hm-line); box-shadow: 0 6px 24px -18px rgba(6,10,15,.4); }
.site-header .navbar { --bs-navbar-padding-y: .9rem; }
.site-header .nav-link { font-weight: 600; color: var(--hm-ink); padding: .6rem 1rem !important; border-radius: 8px; }
.site-header .nav-link:hover, .site-header .nav-link:focus-visible { color: var(--hm-black); background: var(--hm-surface); }
.site-header .nav-link.active { color: var(--hm-black); box-shadow: inset 0 -2px 0 var(--hm-blue); border-radius: 8px 8px 0 0; }
.site-header .dropdown-menu { border: 1px solid var(--hm-line); border-radius: 12px; box-shadow: var(--hm-shadow); padding: .5rem; min-width: 15rem; }
.site-header .dropdown-item { border-radius: 8px; padding: .6rem .8rem; font-weight: 500; }
.site-header .dropdown-item.active, .site-header .dropdown-item:active { background: var(--hm-black); color: #fff; }
.navbar-toggler { border: 1px solid var(--hm-line); width: 48px; height: 48px; border-radius: 10px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 0; }
.toggler-bar { width: 20px; height: 2px; background: var(--hm-black); border-radius: 2px; transition: transform .25s; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:first-child { transform: translateY(4px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 991.98px) {
  .site-header .navbar-collapse { padding: 1rem 0 1.25rem; }
  .site-header .navbar-nav { margin-bottom: 1rem; }
  .site-header .nav-link.active { box-shadow: inset 3px 0 0 var(--hm-blue); border-radius: 0 8px 8px 0; }
  .site-header .dropdown-menu { box-shadow: none; border: 0; padding-left: 1rem; }
  .site-header .btn-hm { width: 100%; justify-content: center; }
}

/* ── Hero ───────────────────────────────────── */
.hero { padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--hm-line) 1px, transparent 1px), linear-gradient(90deg, var(--hm-line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); opacity: .7; pointer-events: none; }
.hero > .container-xxl { position: relative; }
.hero-copy .h-display { margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-note { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--hm-muted); font-size: .95rem; font-weight: 500; }
.hero-note span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-note .bi { color: var(--hm-blue-ink); }
.hero-stage { position: relative; padding: 0 0 2.5rem 0; }
.hero-stage { margin-right: 24px; }
.hero-stage .mk { transform: perspective(1800px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.hero-stage .ph-mock { position: absolute; right: -24px; bottom: 0; }
.hero-block { position: absolute; z-index: -1; background: var(--hm-black); }
.hero-block.b1 { width: 38%; height: 62%; right: -6%; top: 6%; clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%); border-radius: 4px; opacity: .04; }
@media (max-width: 991.98px) { .hero-stage { margin-top: 2.5rem; } .hero-stage .mk { transform: none; } }

/* ── Mockup przeglądarki ────────────────────── */
.mk { --accent: var(--hm-blue); position: relative; background: #fff; border-radius: 14px; border: 1px solid #DCE1E8; box-shadow: var(--hm-shadow-lg); overflow: hidden; font-size: 12px; color: #1B2430; line-height: 1.35; user-select: none; }
.mk-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #F4F6F9; border-bottom: 1px solid #E5E9EE; }
.mk-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5DBE3; }
.mk-url { margin-left: 10px; background: #fff; border: 1px solid #E5E9EE; border-radius: 6px; padding: 3px 10px; font-size: 11px; color: #5B6575; flex: 1; max-width: 260px; }
.mk-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 330px; }
.mk-side { background: var(--hm-black); color: #B9C2CF; padding: 14px 10px; }
.mk-side .mk-logo { height: 22px; color: #fff; margin: 2px 6px 16px; }
.mk-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.mk-side li { display: flex; gap: 8px; align-items: center; padding: 7px 8px; border-radius: 7px; white-space: nowrap; }
.mk-side li.on { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 2px 0 0 var(--accent); }
.mk-main { padding: 16px 18px; min-width: 0; }
.mk-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.mk-top b { display: block; font-size: 15px; color: var(--hm-black); }
.mk-top small { color: #6A7483; }
.mk-btn { background: var(--accent); color: #fff; font-weight: 700; padding: 6px 10px; border-radius: 7px; white-space: nowrap; font-size: 11px; }
.mk-week { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); grid-template-rows: 22px repeat(5, 46px); gap: 6px; background-image: repeating-linear-gradient(#fff 0 45px, #EEF1F5 45px 46px); }
.mk-day { font-weight: 700; color: #6A7483; text-align: center; background: #fff; }
.mk-slot { border-radius: 8px; padding: 6px 8px; font-size: 10.5px; color: #3A4452; overflow: hidden; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 10%, #fff); }
.mk-slot b { display: block; color: var(--hm-black); font-size: 11px; }
.mk-slot.s2 { --accent: #315CFF; }
.mk-slot.s3 { --accent: #168BFF; }
.mk-board { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.mk-col { background: #F4F6F9; border-radius: 10px; padding: 8px; min-height: 250px; }
.mk-col > span { display: block; font-weight: 700; color: #5B6575; margin: 2px 2px 8px; font-size: 11px; }
.mk-card { background: #fff; border-radius: 8px; padding: 8px; margin-bottom: 6px; border: 1px solid #E5E9EE; border-top: 3px solid var(--accent); }
.mk-card b { display: block; color: var(--hm-black); font-size: 11px; }
.mk-card small { color: #6A7483; font-size: 10px; }
.mk-table { border: 1px solid #E5E9EE; border-radius: 10px; overflow: hidden; }
.mk-tr { display: grid; grid-template-columns: 1.1fr 1.2fr .9fr; gap: 8px; padding: 10px 12px; border-top: 1px solid #EEF1F5; align-items: center; }
.mk-th { background: #F4F6F9; font-weight: 700; color: #5B6575; border-top: 0; }
.mk-pill { justify-self: start; font-weight: 700; font-size: 10px; padding: 3px 8px; border-radius: 20px; background: #EEF1F5; }
.mk-pill.e1 { background: #FFF3D6; color: #7A5300; }
.mk-pill.e2 { background: color-mix(in srgb, var(--accent) 14%, #fff); color: var(--accent); }
.mk-pill.e3 { background: #E4F6EF; color: #0E7A5B; }
.mk-pill.e4 { background: #EEF1F5; color: #5B6575; }
.mk-label { position: absolute; left: 160px; bottom: 10px; background: rgba(6,10,15,.78); color: #fff; font-size: 10px; font-weight: 600; padding: 4px 8px; border-radius: 6px; }
.mk-sm .mk-body { grid-template-columns: 112px minmax(0,1fr); min-height: 260px; }
.mk-sm { font-size: 11px; }
@media (max-width: 575.98px) { .mk-label { left: 58px; right: 10px; text-align: center; } }
@media (max-width: 575.98px) {
  .mk-body { grid-template-columns: 48px minmax(0,1fr) !important; }
  .mk-side li span { display: none; }
  .mk-side .mk-logo { margin: 2px auto 14px; display: block; height: 18px; }
  .mk-board { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mk-col:nth-child(n+3) { display: none; }
  .mk-tr { grid-template-columns: 1fr .9fr; } .mk-tr span:nth-child(2) { display: none; }
  .mk-week { grid-template-columns: repeat(3, minmax(0,1fr)); } .mk-week > :nth-child(4), .mk-week > :nth-child(5), .mk-week > [style*="grid-column:4"], .mk-week > [style*="grid-column:5"] { display: none; }
}

/* ── Mockup telefonu ────────────────────────── */
.ph-mock { --accent: var(--hm-blue); width: 168px; background: var(--hm-black); border-radius: 28px; padding: 9px; box-shadow: var(--hm-shadow-lg); position: relative; }
.ph-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 46px; height: 12px; border-radius: 10px; background: #000; z-index: 2; }
.ph-screen { background: #fff; border-radius: 21px; padding: 30px 10px 12px; min-height: 300px; font-size: 10.5px; }
.ph-head { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.ph-head .mk-logo { height: 16px; color: var(--hm-black); }
.ph-head b { font-size: 12.5px; color: var(--hm-black); }
.ph-row { border: 1px solid #E5E9EE; border-radius: 10px; padding: 8px; margin-bottom: 6px; }
.ph-row b { display: block; color: var(--hm-black); }
.ph-row small { color: #6A7483; }
.ph-row.on { border-color: transparent; background: var(--accent); }
.ph-row.on b, .ph-row.on small { color: #fff; }
@media (max-width: 575.98px) { .ph-mock { width: 132px; } .ph-screen { min-height: 230px; } }

/* ── Problem ────────────────────────────────── */
.chaos { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.chaos-item { background: #fff; border: 1px solid var(--hm-line); border-radius: var(--hm-radius); padding: 1.1rem 1.2rem; display: flex; gap: .85rem; align-items: flex-start; }
.chaos-item .bi { font-size: 1.3rem; color: var(--hm-muted); line-height: 1; margin-top: 2px; }
.chaos-item b { display: block; color: var(--hm-black); }
.chaos-item span { color: var(--hm-muted); font-size: .95rem; }
.chaos-item:nth-child(odd) { transform: rotate(-1.2deg); }
.chaos-item:nth-child(even) { transform: rotate(1deg) translateY(8px); }
.chaos-to { margin-top: 1.5rem; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--hm-radius); background: var(--hm-black); color: #fff; }
.chaos-to .hm-symbol { height: 30px; color: #fff; }
.chaos-to b { font-weight: 700; }
@media (max-width: 575.98px) { .chaos { grid-template-columns: 1fr; } .chaos-item:nth-child(n) { transform: none; } }

/* ── Karty produktów ────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 1.5rem; }
.product-grid > .product-card { grid-column: span 6; }
.product-grid > .product-card.is-wide { grid-column: 1 / -1; }
.product-card { --accent: var(--hm-blue); position: relative; background: #fff; border: 1px solid var(--hm-line); border-radius: var(--hm-radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease, border-color .3s; }
.product-card:hover, .product-card:focus-within { transform: translateY(-4px); box-shadow: var(--hm-shadow); border-color: #CBD2DC; }
.product-visual { position: relative; padding: 2rem 2rem 0; background: color-mix(in srgb, var(--accent) 9%, #F4F6F9); overflow: hidden; height: 300px; }
.product-visual::after { content: ""; position: absolute; right: 0; top: 0; width: 34%; height: 100%; background: var(--accent); opacity: .12; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 56%); }
.product-visual .mk { position: relative; z-index: 1; box-shadow: 0 20px 40px -24px rgba(6,10,15,.45); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.product-body { padding: 1.75rem 2rem 2rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.product-body p { color: var(--hm-muted); margin-bottom: .75rem; }
.product-body .link-arrow { margin-top: auto; }
.product-brand { font-weight: 700; font-size: .9rem; color: var(--hm-black) !important; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .25rem !important; }
.product-brand .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--accent); transform: skewY(calc(var(--hm-slope) * -1)); }
.product-title { font-size: 1.6rem; font-weight: 800; letter-spacing: -.025em; margin: 0 0 .25rem; }
.product-card.is-featured .product-visual { height: 340px; }
.product-card.is-wide { flex-direction: row; }
.product-card.is-wide .product-visual { flex: 1.15; height: auto; min-height: 280px; padding: 2rem 0 0 2rem; }
.product-card.is-wide .product-body { flex: 1; justify-content: center; }
.product-card.is-wide .mk { border-top-right-radius: 0; }
@media (max-width: 991.98px) {
  .product-grid > .product-card { grid-column: 1 / -1; }
  .product-card.is-wide { flex-direction: column; }
  .product-card.is-wide .product-visual { padding: 1.5rem 1.5rem 0; height: 280px; min-height: 0; }
}
@media (max-width: 575.98px) { .product-visual, .product-card.is-featured .product-visual { height: 240px; padding: 1.25rem 1.25rem 0; } .product-body { padding: 1.5rem; } }

.badge-soft { font-size: .72rem; font-weight: 700; background: var(--hm-surface); border: 1px solid var(--hm-line); color: var(--hm-muted); padding: .15rem .5rem; border-radius: 20px; }

/* ── Wartości ───────────────────────────────── */
.values { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--hm-line); }
.value { padding: 2rem 1.75rem 0 0; position: relative; }
.value + .value { padding-left: 1.75rem; border-left: 1px solid var(--hm-line); }
.value-ico { width: 52px; height: 52px; border-radius: 12px; background: var(--hm-black); color: #fff; display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 1.25rem; }
.value h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.value p { color: var(--hm-muted); margin: 0; }
@media (max-width: 991.98px) { .values { grid-template-columns: repeat(2, minmax(0,1fr)); } .value:nth-child(3) { padding-left: 0; border-left: 0; } .value { padding-bottom: 2rem; } }
@media (max-width: 575.98px) { .values { grid-template-columns: 1fr; } .value, .value + .value { padding-left: 0; border-left: 0; border-bottom: 1px solid var(--hm-line); padding-bottom: 1.75rem; } }

/* ── Ekosystem (diagram warstw) ─────────────── */
.eco { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.eco-stack { position: relative; display: grid; gap: 14px; padding: 1rem 0 1rem 2.25rem; }
.eco-stack::before { content: ""; position: absolute; left: 10px; top: 2.5rem; bottom: 2.5rem; width: 2px; background: linear-gradient(var(--hm-violet), var(--hm-g2), var(--hm-g1)); border-radius: 2px; }
.eco-layer { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 1.25rem; align-items: center; padding: 1.4rem 1.5rem; border-radius: var(--hm-radius); background: var(--hm-dark-2); border: 1px solid var(--hm-dark-line); color: #E8ECF1; text-decoration: none; transition: border-color .25s, transform .25s, background-color .25s; }
.eco-layer:hover, .eco-layer:focus-visible { border-color: var(--c); transform: translateX(6px); background: #151E29; color: #fff; }
.eco-layer::before { content: ""; position: absolute; left: calc(-2.25rem + 4px); top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 3px; background: var(--c); box-shadow: 0 0 0 5px var(--hm-black); }
.eco-layer .num { font-size: .85rem; font-weight: 800; color: var(--c); width: 2.5rem; height: 2.5rem; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, transparent); }
.eco-layer h3 { font-size: 1.15rem; margin: 0 0 .2rem; color: #fff; }
.eco-layer p { margin: 0; color: var(--hm-soft-on-dark); font-size: .95rem; }
.eco-layer .bi-arrow-right { color: var(--hm-soft-on-dark); }
.eco-layer.l1 { --c: var(--hm-g1); margin-right: 0; }
.eco-layer.l2 { --c: var(--hm-g2); margin-right: 8%; }
.eco-layer.l3 { --c: var(--hm-violet); margin-right: 16%; }
.eco-base { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.5rem; border-radius: var(--hm-radius); border: 1px dashed #3A4655; color: #fff; font-weight: 700; }
.eco-base .hm-symbol { height: 28px; color: #fff; }
@media (max-width: 991.98px) { .eco { grid-template-columns: 1fr; } .eco-layer.l2, .eco-layer.l3 { margin-right: 0; } }

/* ── Proces ─────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.25rem; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, #C8CFD8 0 8px, transparent 8px 14px); }
.step { position: relative; counter-increment: s; }
.step-n { width: 56px; height: 56px; border-radius: 14px; background: #fff; border: 1px solid var(--hm-line); display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; color: var(--hm-black); margin-bottom: 1.25rem; position: relative; box-shadow: var(--hm-shadow); }
.step:last-child .step-n { background: var(--hm-black); color: #fff; border-color: var(--hm-black); }
.step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { color: var(--hm-muted); margin: 0; font-size: .98rem; }
@media (max-width: 991.98px) { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 2.5rem; } .steps::before { display: none; } }
@media (max-width: 575.98px) { .steps { grid-template-columns: 1fr; } .step { display: grid; grid-template-columns: 56px minmax(0,1fr); column-gap: 1rem; } .step-n { grid-row: span 2; margin: 0; } }

/* ── Realizacje (zakładki) ──────────────────── */
.work-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.work-tabs .nav-link { border: 1px solid var(--hm-line); border-radius: 10px; color: var(--hm-ink); font-weight: 700; padding: .7rem 1.1rem; min-height: 48px; display: inline-flex; align-items: center; gap: .55rem; background: #fff; }
.work-tabs .nav-link .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.work-tabs .nav-link.active { background: var(--hm-black); color: #fff; border-color: var(--hm-black); }
.work-tabs .nav-link:hover:not(.active) { border-color: var(--hm-black); }
.work-pane { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.work-pane .stage { position: relative; padding-right: 60px; padding-bottom: 30px; }
.work-pane .ph-mock { position: absolute; right: 0; bottom: 0; }
.work-pane h3 { font-size: 1.6rem; font-weight: 800; }
.work-pane ul { padding-left: 0; list-style: none; margin: 1.25rem 0 1.75rem; display: grid; gap: .6rem; }
.work-pane li { display: flex; gap: .6rem; color: var(--hm-muted); }
.work-pane li .bi { color: var(--hm-black); }
@media (max-width: 991.98px) { .work-pane { grid-template-columns: 1fr; } }

/* ── O nas ──────────────────────────────────── */
.about { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.trait-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin-top: 2rem; }
.trait { border-top: 2px solid var(--hm-black); padding-top: .9rem; }
.trait b { display: block; font-size: 1.05rem; }
.trait span { color: var(--hm-muted); font-size: .95rem; }
@media (max-width: 991.98px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .trait-list { grid-template-columns: 1fr; } }

/* ── Zdjęcia ────────────────────────────────── */
.hm-photo { position: relative; margin: 0; border-radius: var(--hm-radius-lg); overflow: hidden; background: var(--hm-surface); aspect-ratio: 4 / 3; }
.hm-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-photo.tall { aspect-ratio: 4 / 5; }
.hm-photo.wide { aspect-ratio: 16 / 9; }
.photo-tag { position: absolute; left: 12px; bottom: 12px; font-size: .72rem; font-weight: 700; background: rgba(252,252,253,.92); color: var(--hm-black); padding: .25rem .55rem; border-radius: 6px; }
.photo-cut { clip-path: polygon(0 0, 78% 0, 100% 12%, 100% 100%, 0 100%); }

/* ── CTA ────────────────────────────────────── */
.cta-band { overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: 0; top: 0; width: 30%; height: 100%; background: var(--hm-dark-2); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 56%); pointer-events: none; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem 4rem; align-items: end; position: relative; z-index: 1; }
.cta-stripe { width: 30px; margin-bottom: 1.5rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 991.98px) { .cta-inner { grid-template-columns: 1fr; } }

/* ── Placeholdery treści ────────────────────── */
.ph { background: #FFF6DB; color: #6B4A00; border: 1px dashed #D9A400; border-radius: 4px; padding: 0 .3em; font-weight: 600; font-size: .95em; white-space: normal; }
.band-dark .ph, .site-footer .ph { background: rgba(255, 200, 60, .12); color: #FFD875; border-color: rgba(255, 200, 60, .5); }
.ph-note { display: flex; gap: .6rem; align-items: flex-start; background: #FFF9E8; border: 1px dashed #D9A400; color: #5C4000; border-radius: 10px; padding: .8rem 1rem; font-size: .92rem; margin: 0 0 1.5rem; }
.band-dark .ph-note { background: rgba(255,200,60,.08); color: #FFE3A3; border-color: rgba(255,200,60,.4); }

/* ── Podstrony ──────────────────────────────── */
.page-hero { padding-top: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.page-hero .h-display { font-size: clamp(2.3rem, 4.6vw, 3.9rem); margin: 1.25rem 0 1.25rem; }
.hm-breadcrumb { font-size: .9rem; --bs-breadcrumb-divider-color: #8A94A3; --bs-breadcrumb-item-active-color: var(--hm-muted); }
.hm-breadcrumb a { color: var(--hm-muted); text-decoration: none; }
.hm-breadcrumb a:hover { color: var(--hm-black); text-decoration: underline; }
.prod-hero { background: color-mix(in srgb, var(--accent) 7%, var(--hm-white)); }
.prod-hero::after { content: ""; position: absolute; right: 0; top: 0; width: 28%; height: 78%; background: var(--accent); opacity: .08; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 56%); pointer-events: none; }
.prod-label { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .95rem; padding: .4rem .8rem .4rem .6rem; border-radius: 10px; background: #fff; border: 1px solid var(--hm-line); }
.prod-label .dot { width: 12px; height: 12px; border-radius: 3px; background: var(--accent); transform: skewY(calc(var(--hm-slope) * -1)); }
.prod-label small { color: var(--hm-muted); font-weight: 600; letter-spacing: .02em; }
.prod-stage { position: relative; padding-right: 64px; padding-bottom: 36px; }
.prod-stage .ph-mock { position: absolute; right: 0; bottom: 0; }

.pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.pain { background: #fff; border: 1px solid var(--hm-line); border-radius: var(--hm-radius); padding: 1.5rem; }
.pain .bi { font-size: 1.5rem; color: var(--accent-ink, var(--hm-blue-ink)); }
.pain h3 { font-size: 1.12rem; margin: .9rem 0 .4rem; }
.pain p { color: var(--hm-muted); margin: 0; font-size: .98rem; }
@media (max-width: 991.98px) { .pain-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 575.98px) { .pain-grid { grid-template-columns: 1fr; } }

.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--hm-line); border: 1px solid var(--hm-line); border-radius: var(--hm-radius-lg); overflow: hidden; }
.feat { background: #fff; padding: 1.75rem; position: relative; }
.feat-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; color: #fff; background: var(--hm-black); margin-bottom: 1rem; box-shadow: 4px 4px 0 var(--accent); }
.feat h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.feat p { color: var(--hm-muted); margin: 0; font-size: .97rem; }
.feat .ph { position: absolute; top: 1rem; right: 1rem; font-size: .7rem; }
@media (max-width: 991.98px) { .feat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 575.98px) { .feat-grid { grid-template-columns: 1fr; } }

.benefits { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem 2.5rem; list-style: none; padding: 0; margin: 0; }
.benefits li { display: flex; gap: .9rem; padding: 1.1rem 0; border-bottom: 1px solid var(--hm-dark-line); }
.benefits .bi { color: var(--accent, var(--hm-g1)); font-size: 1.25rem; line-height: 1.3; }
.benefits b { display: block; color: #fff; }
.benefits span { color: var(--hm-soft-on-dark); }
@media (max-width: 767.98px) { .benefits { grid-template-columns: 1fr; } }

.flow { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 0; list-style: none; padding: 0; margin: 0; counter-reset: f; }
.flow li { position: relative; padding: 1.25rem 1.25rem 1.25rem 0; counter-increment: f; }
.flow li::before { content: counter(f); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--accent); color: #fff; font-weight: 800; font-size: .9rem; margin-bottom: 1rem; position: relative; z-index: 1; }
.flow li::after { content: ""; position: absolute; top: calc(1.25rem + 17px); left: 34px; right: 0; height: 2px; background: color-mix(in srgb, var(--accent) 35%, #fff); }
.flow li:last-child::after { display: none; }
.flow b { display: block; color: var(--hm-black); margin-bottom: .25rem; }
.flow span { color: var(--hm-muted); font-size: .95rem; }
@media (max-width: 991.98px) { .flow { grid-template-columns: 1fr; } .flow li { display: grid; grid-template-columns: 34px minmax(0,1fr); column-gap: 1rem; padding: 0 0 1.5rem; } .flow li::before { grid-row: span 2; margin: 0; } .flow li::after { top: 34px; bottom: 0; left: 16px; right: auto; width: 2px; height: auto; } }

.model { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.model-card { border-radius: var(--hm-radius-lg); padding: 1.75rem; border: 1px solid var(--hm-line); background: #fff; display: flex; flex-direction: column; gap: .5rem; }
.model-card.is-main { background: var(--hm-black); color: #E8ECF1; border-color: var(--hm-black); }
.model-card.is-main h3 { color: #fff; }
.model-card.is-main p { color: var(--hm-soft-on-dark); }
.model-card .tag { font-size: .8rem; font-weight: 700; color: var(--hm-muted); }
.model-card.is-main .tag { color: var(--hm-g1); }
.model-card h3 { font-size: 1.25rem; margin: 0; }
.model-card p { color: var(--hm-muted); margin: 0; }
@media (max-width: 991.98px) { .model { grid-template-columns: 1fr; } }

.hm-accordion { --bs-accordion-border-color: var(--hm-line); --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color); --bs-accordion-active-bg: #fff; --bs-accordion-active-color: var(--hm-black); --bs-accordion-border-radius: var(--hm-radius); --bs-accordion-inner-border-radius: var(--hm-radius); }
.hm-accordion .accordion-button { font-weight: 700; font-size: 1.05rem; padding: 1.25rem 1.4rem; color: var(--hm-black); }
.hm-accordion .accordion-body { color: var(--hm-muted); padding: 0 1.4rem 1.4rem; }

/* listy zakresu (rozwiązania / obsługa) */
.scope { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.scope-card { background: #fff; border: 1px solid var(--hm-line); border-radius: var(--hm-radius-lg); padding: 1.75rem; transition: border-color .2s, transform .2s; }
.scope-card:hover { border-color: #C3CBD5; transform: translateY(-2px); }
.scope-card .bi { font-size: 1.6rem; color: var(--hm-blue-ink); }
.scope-card h3 { font-size: 1.15rem; margin: 1rem 0 .4rem; }
.scope-card p { color: var(--hm-muted); margin: 0; }
@media (max-width: 991.98px) { .scope { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 575.98px) { .scope { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 991.98px) { .split { grid-template-columns: 1fr; } }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; }
.check-list li { display: flex; gap: .7rem; }
.check-list .bi { color: var(--hm-blue-ink); font-size: 1.15rem; line-height: 1.4; }
.band-dark .check-list .bi { color: var(--hm-g1); }

/* katalog – porównanie ścieżek */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.path { border-radius: var(--hm-radius-lg); padding: 1.75rem; background: var(--hm-dark-2); border: 1px solid var(--hm-dark-line); text-decoration: none; color: #E8ECF1; display: flex; flex-direction: column; gap: .5rem; transition: border-color .2s, transform .2s; }
.path:hover, .path:focus-visible { border-color: var(--hm-g1); transform: translateY(-3px); color: #fff; }
.path h3 { font-size: 1.2rem; color: #fff; margin: 0; }
.path p { color: var(--hm-soft-on-dark); margin: 0; }
.path .link-arrow { color: var(--hm-g1); margin-top: auto; padding-top: .75rem; }
@media (max-width: 991.98px) { .paths { grid-template-columns: 1fr; } }

/* ── Formularz ──────────────────────────────── */
.form-card { background: #fff; border: 1px solid var(--hm-line); border-radius: var(--hm-radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--hm-shadow); }
.form-label { font-weight: 700; font-size: .95rem; margin-bottom: .35rem; }
.form-control, .form-select { font-size: 1rem; min-height: 50px; border-radius: 10px; border-color: #CDD4DD; padding: .7rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--hm-blue); box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color); }
textarea.form-control { min-height: 120px; }
.topic-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.topic-group .btn-check + .btn { border: 1px solid #CDD4DD; border-radius: 10px; font-weight: 600; min-height: 46px; padding: .55rem 1rem; color: var(--hm-ink); background: #fff; }
.topic-group .btn-check:checked + .btn { background: var(--hm-black); color: #fff; border-color: var(--hm-black); }
.topic-group .btn-check:focus-visible + .btn { outline: 3px solid var(--hm-blue); outline-offset: 2px; }
.form-integration { font-size: .85rem; }
.form-success { display: none; }
.form-success.show { display: block; }
.contact-aside { display: grid; gap: 1rem; }
.contact-item { display: flex; gap: 1rem; padding: 1.25rem; border: 1px solid var(--hm-line); border-radius: var(--hm-radius); background: #fff; }
.contact-item .bi { font-size: 1.3rem; color: var(--hm-blue-ink); }
.contact-item b { display: block; }

/* ── Stopka ─────────────────────────────────── */
.site-footer { background: var(--hm-black); color: #C9D1DC; padding: clamp(3.5rem, 6vw, 5rem) 0 2rem; border-top: 1px solid var(--hm-dark-line); }
.footer-tag { font-weight: 800; color: #fff; font-size: 1.1rem; }
.footer-h { font-size: .95rem; color: #fff; font-weight: 700; margin-bottom: 1rem; letter-spacing: 0; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-list a { color: #C9D1DC; text-decoration: none; }
.footer-list a:hover { color: #fff; text-decoration: underline; }
.footer-list .bi { color: var(--hm-g1); margin-right: .4rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--hm-dark-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .9rem; color: var(--hm-soft-on-dark); }

/* ── Animacje ───────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.page-hero > .container-xxl, .cta-band > .container-xxl { position: relative; z-index: 1; }

/* ==========================================================
   hiMonolit DANCE – landing produktu
   Fiolet produktu tylko jako akcent; baza pozostaje czarno-biała.
   ========================================================== */
html { scroll-behavior: smooth; }

/* placeholder zrzutu ekranu */
.shot { position: relative; }
.shot-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; text-align: center; padding: 1rem;
  background: repeating-linear-gradient(135deg, #F7F8FA 0 14px, #F1F3F6 14px 28px); color: #5B6575; border: 1.5px dashed #C3CBD5; }
.shot-ph .bi { font-size: 1.6rem; color: #8A94A3; }
.shot-label { font-weight: 800; font-size: .82rem; letter-spacing: .02em; color: #3A4452; }
.shot-file { font-size: .72rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #6A7483; background: #fff; border: 1px solid #E3E7ED; border-radius: 5px; padding: .1rem .4rem; }
.shot-browser { background: #fff; border: 1px solid #DCE1E8; border-radius: 14px; overflow: hidden; box-shadow: var(--hm-shadow-lg); }
.shot-browser .shot-ph { border: 0; border-radius: 0; }
.shot-browser .mk-url .bi { font-size: .7rem; }
.shot-plain .shot-ph { border-radius: 12px; }
.shot-phone { width: 100%; max-width: 230px; background: var(--hm-black); border-radius: 34px; padding: 10px; box-shadow: var(--hm-shadow-lg); margin-inline: auto; }
.shot-phone .shot-ph { border-radius: 25px; border: 0; padding-top: 2rem; }
.shot-phone .ph-notch { top: 14px; }
.shot img { display: block; width: 100%; height: auto; }

/* hero */
.dance-hero { background: var(--hm-white); }
.dance-hero::after { content: ""; position: absolute; right: 0; top: 0; width: 34%; height: 82%; background: var(--hm-surface); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 56%); pointer-events: none; }
.dance-hero-stage { position: relative; }
.dance-hero-stage::before { content: ""; position: absolute; left: -22px; bottom: -22px; width: 92px; height: 128px; background: var(--accent); opacity: .9; clip-path: polygon(0 0, 100% 44%, 100% 100%, 0 56%); z-index: -1; }
.hero-facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: .7rem 1.75rem; }
.hero-facts li { display: flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--hm-ink); }
.hero-facts .bi { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--hm-surface); color: var(--hm-black); font-size: 1rem; flex: none; }
@media (max-width: 420px) { .hero-facts { grid-template-columns: 1fr; } }

/* problem */
.prob-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.25rem; }
.prob { background: #fff; border: 1px solid var(--hm-line); border-radius: var(--hm-radius-lg); padding: 1.5rem; }
.prob h3 { font-size: 1.1rem; margin: 1.25rem 0 .4rem; }
.prob p { color: var(--hm-muted); margin: 0; font-size: .97rem; }
.prob-art { height: 92px; border-radius: 12px; background: var(--hm-surface); position: relative; overflow: hidden; }
.prob-art span { position: absolute; border-radius: 6px; background: #fff; border: 1px solid #DCE1E8; }
/* rozproszone kartki kalendarza */
.a1 span { width: 34%; height: 30%; } .a1 span:nth-child(1){left:8%;top:12%;transform:rotate(-8deg)} .a1 span:nth-child(2){left:52%;top:8%;transform:rotate(6deg);border-top:3px solid var(--accent)} .a1 span:nth-child(3){left:20%;top:54%;transform:rotate(4deg)} .a1 span:nth-child(4){left:60%;top:56%;transform:rotate(-5deg)}
/* grupy – nachodzące koła */
.a2 span { width: 46px; height: 46px; border-radius: 50%; top: 23px; } .a2 span:nth-child(1){left:22%} .a2 span:nth-child(2){left:38%;background:color-mix(in srgb,var(--accent) 16%,#fff)} .a2 span:nth-child(3){left:54%}
/* płatności – stos pozycji z „ptaszkami” */
.a3 span { left: 14%; right: 14%; height: 14px; } .a3 span:nth-child(1){top:14px} .a3 span:nth-child(2){top:34px;right:30%} .a3 span:nth-child(3){top:54px;background:color-mix(in srgb,var(--accent) 16%,#fff)} .a3 span:nth-child(4){top:74px;right:42%;height:8px;border:0;background:#DCE1E8}
/* informacje – dymki */
.a4 span { height: 22px; border-radius: 11px; } .a4 span:nth-child(1){left:10%;top:14px;width:46%} .a4 span:nth-child(2){right:10%;top:40px;width:40%;background:var(--hm-black);border-color:var(--hm-black)} .a4 span:nth-child(3){left:18%;top:64px;width:34%;background:color-mix(in srgb,var(--accent) 16%,#fff)}
@media (max-width: 991.98px) { .prob-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 575.98px) { .prob-grid { grid-template-columns: 1fr; } }

/* dwa panele */
.panels { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.5rem; }
.panel-card { border-radius: var(--hm-radius-lg); border: 1px solid var(--hm-line); background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.panel-copy { padding: 2rem 2rem 1.5rem; }
.panel-copy h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.025em; margin: .9rem 0 .5rem; }
.panel-copy p { color: var(--hm-muted); margin: 0; }
.panel-tag { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .88rem; padding: .35rem .7rem; border-radius: 8px; background: var(--hm-surface); }
.panel-visual { margin-top: auto; padding: 0 2rem; }
.is-owner .panel-visual .shot-browser { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.is-student { background: var(--hm-black); border-color: var(--hm-black); }
.is-student h3 { color: #fff; } .is-student p { color: var(--hm-soft-on-dark); }
.is-student .panel-tag { background: rgba(255,255,255,.08); color: #fff; }
.is-student .panel-visual { background: none; padding-bottom: 0; display: flex; justify-content: center; overflow: hidden; max-height: 360px; }
.is-student .shot-phone { max-width: 210px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; background: #1B2430; }
@media (max-width: 991.98px) { .panels { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .panel-copy { padding: 1.5rem; } .panel-visual { padding: 0 1rem; } }

/* moduły – bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 1.25rem; }
.bento-card { grid-column: span 2; background: #fff; border: 1px solid var(--hm-line); border-radius: var(--hm-radius-lg); padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; transition: border-color .25s, transform .25s, box-shadow .25s; }
.bento-card:hover { border-color: #C3CBD5; transform: translateY(-3px); box-shadow: var(--hm-shadow); }
.bento-card h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.bento-card p { color: var(--hm-muted); margin: 0; font-size: .97rem; }
.bento-shot { margin-top: auto; }
.bento-card.b-wide { grid-column: span 4; }
.bento-card.b-full { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: center; gap: 2rem; }
.bento-card.b-full .bento-shot { margin: 0; }
.bento-card:nth-child(2) { grid-column: span 2; }
@media (max-width: 991.98px) { .bento-card, .bento-card.b-wide, .bento-card:nth-child(2) { grid-column: span 3; } .bento-card.b-wide { grid-column: 1 / -1; } .bento-card.b-full { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .bento { grid-template-columns: 1fr; } .bento-card, .bento-card.b-wide, .bento-card:nth-child(2) { grid-column: 1 / -1; } }

/* uczeń */
.student-visual { position: relative; display: flex; justify-content: center; padding: 2.5rem 0; }
.student-backdrop { position: absolute; inset: 0 8%; background: var(--hm-surface); border-radius: var(--hm-radius-lg); clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%); }
.student-visual .shot-phone { position: relative; max-width: 250px; }
.student-list { list-style: none; padding: 0; margin: 1.75rem 0 2rem; display: grid; gap: 1rem; }
.student-list li { display: flex; gap: 1rem; align-items: flex-start; }
.sl-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--hm-black); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 3px 3px 0 var(--accent); }
.student-list b { display: block; font-size: 1.08rem; }
.student-list li > div span { color: var(--hm-muted); }

/* płatności – przepływ */
.pay-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; position: relative; }
.pay-flow li { position: relative; background: var(--hm-dark-2); border: 1px solid var(--hm-dark-line); border-radius: var(--hm-radius); padding: 1.25rem 1rem; display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; }
.pay-flow li:not(:last-child)::after { content: "\F138"; font-family: "bootstrap-icons"; position: absolute; right: -.95rem; top: 50%; transform: translateY(-50%); width: 1.5rem; height: 1.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--hm-black); color: var(--hm-g1); font-size: 1rem; z-index: 1; }
.pay-flow b { color: #fff; font-size: 1rem; margin-top: .6rem; }
.pay-flow small { color: var(--hm-soft-on-dark); }
.pf-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #fff; font-size: 1.2rem; }
.pf-ico .hm-symbol { height: 24px; color: #fff; }
.pay-flow li.is-core { border-color: var(--hm-g1); background: #0F1A27; }
@media (max-width: 767.98px) {
  .pay-flow { grid-template-columns: 1fr; gap: 1.25rem; }
  .pay-flow li { flex-direction: row; align-items: center; gap: 1rem; }
  .pay-flow b { margin: 0; } .pay-flow small { margin-left: auto; text-align: right; }
  .pay-flow li:not(:last-child)::after { content: "\F128"; right: auto; left: 50%; top: auto; bottom: -1.15rem; transform: translateX(-50%); }
}

/* identyfikacja szkoły – makieta zasady */
.brand-points { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin-top: 2rem; }
.brand-points > div { border-top: 2px solid var(--hm-black); padding-top: .9rem; display: flex; flex-direction: column; }
.brand-points .bi { font-size: 1.3rem; margin-bottom: .4rem; }
.brand-points span { color: var(--hm-muted); font-size: .93rem; }
@media (max-width: 575.98px) { .brand-points { grid-template-columns: 1fr; } }
.brand-demo { --school: #C43BFA; background: #fff; border: 1px solid #DCE1E8; border-radius: 16px; box-shadow: var(--hm-shadow-lg); overflow: hidden; }
.brand-demo .mk-url { font-weight: 600; color: var(--hm-ink); }
.bd-body { display: grid; grid-template-columns: 34% minmax(0,1fr); min-height: 280px; }
.bd-side { background: color-mix(in srgb, var(--school) 92%, #000); padding: 1.1rem; display: flex; flex-direction: column; gap: .6rem; transition: background-color .35s; }
.bd-logo { display: flex; align-items: center; gap: .55rem; color: #fff; font-weight: 800; font-size: .82rem; line-height: 1.15; margin-bottom: .9rem; padding: .55rem; border: 1.5px dashed rgba(255,255,255,.55); border-radius: 10px; }
.bd-mark { width: 26px; height: 26px; border-radius: 8px; background: #fff; flex: none; }
.bd-line { height: 10px; border-radius: 5px; background: rgba(255,255,255,.28); }
.bd-line.on { background: #fff; }
.bd-line.short { width: 60%; }
.bd-main { padding: 1.1rem; display: flex; flex-direction: column; gap: 1rem; }
.bd-top { display: flex; justify-content: space-between; align-items: center; }
.bd-title { width: 40%; height: 14px; border-radius: 7px; background: #DCE1E8; }
.bd-btn { width: 74px; height: 26px; border-radius: 8px; background: var(--school); transition: background-color .35s; }
.bd-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .6rem; flex: 1; }
.bd-grid span { border-radius: 10px; background: #F2F4F7; border: 1px solid #E5E9EE; min-height: 64px; }
.bd-grid span.acc { background: color-mix(in srgb, var(--school) 14%, #fff); border-color: color-mix(in srgb, var(--school) 40%, #fff); transition: background-color .35s, border-color .35s; }
.bd-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: .9rem 1.1rem; border-top: 1px solid #E5E9EE; background: #FAFBFC; }
.bd-caption { font-size: .88rem; font-weight: 600; color: var(--hm-muted); }
.bd-swatches { display: flex; gap: .4rem; }
.bd-swatch { width: 44px; height: 44px; border-radius: 12px; border: 2px solid #fff; background: var(--c); box-shadow: 0 0 0 1px #DCE1E8; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.bd-swatch:hover { transform: translateY(-2px); }
.bd-swatch[aria-checked="true"] { box-shadow: 0 0 0 2px var(--hm-black); }

/* abonament */
.plan { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border-radius: var(--hm-radius-lg); overflow: hidden; border: 1px solid var(--hm-line); }
.plan-main { background: var(--hm-black); color: #E8ECF1; padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.plan-head { display: flex; align-items: center; gap: 1rem; }
.plan-head .hm-stripe { width: 30px; }
.plan-head h3 { color: #fff; font-size: 1.5rem; font-weight: 800; margin: 0; }
.plan-kicker { font-size: .85rem; font-weight: 700; color: var(--hm-soft-on-dark); display: block; margin-bottom: .2rem; }
.plan-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.plan-list li { display: flex; gap: .65rem; }
.plan-list .bi { color: var(--hm-g1); font-size: 1.15rem; line-height: 1.4; }
.plan-main .btn { align-self: flex-start; }
.plan-extra { background: #fff; padding: 2rem; display: flex; flex-direction: column; gap: .4rem; }
.plan-extra .plan-kicker { color: var(--hm-muted); }
.plan-extra h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.plan-extra p { color: var(--hm-muted); margin-bottom: .5rem; }
.plan-extra .link-arrow { margin-top: auto; }
@media (max-width: 767.98px) { .plan { grid-template-columns: 1fr; } }

/* final */
.dance-final .form-card { color: var(--hm-ink); }
.dance-final .form-card h3 { color: var(--hm-black); }
.dance-sign { display: flex; align-items: center; gap: .75rem; margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--hm-dark-line); color: var(--hm-soft-on-dark); }
.dance-sign .hm-symbol { height: 26px; color: #fff; }
.dance-sign b { color: #fff; }
.band-dark .form-card .ph { background: #FFF6DB; color: #6B4A00; border-color: #D9A400; }

/* ==========================================================
   Case study
   ========================================================== */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; }
.case-card { position: relative; background: #fff; border: 1px solid var(--hm-line); border-radius: var(--hm-radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s, border-color .3s; }
.case-card:hover, .case-card:focus-within { transform: translateY(-4px); box-shadow: var(--hm-shadow); border-color: #CBD2DC; }
.case-card[hidden] { display: none; }
.case-visual { position: relative; padding: 1.25rem 1.25rem 0; background: var(--hm-surface); }
.case-visual::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 6px; background: var(--accent); clip-path: polygon(0 0, 100% 100%, 0 100%); }
.case-visual .shot-ph { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.case-body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.case-body > p:not(.case-meta) { color: var(--hm-muted); margin-bottom: .5rem; font-size: .98rem; }
.case-meta { font-weight: 700; font-size: .85rem; display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; margin-bottom: .2rem !important; color: var(--hm-ink) !important; }
.case-meta .dot, .case-chip .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--accent, var(--c)); transform: skewY(calc(var(--hm-slope) * -1)); }
.case-title { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 .25rem; }
.case-kpi { display: flex; align-items: baseline; gap: .6rem; padding: .8rem 0; margin: .25rem 0 .75rem; border-top: 1px solid var(--hm-line); border-bottom: 1px solid var(--hm-line); }
.case-kpi b { font-size: 1.15rem; font-weight: 800; white-space: nowrap; }
.case-kpi span { color: var(--hm-muted); font-size: .92rem; }
.case-body .link-arrow { margin-top: auto; }
@media (max-width: 991.98px) { .case-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 639.98px) { .case-grid { grid-template-columns: 1fr; } }

.case-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.case-chip { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: .55rem 1rem; border-radius: 10px; border: 1px solid var(--hm-line); background: #fff; font-weight: 700; color: var(--hm-ink); }
.case-chip:hover { border-color: var(--hm-black); }
.case-chip[aria-pressed="true"] { background: var(--hm-black); color: #fff; border-color: var(--hm-black); }
.case-empty { color: var(--hm-muted); padding: 2rem 0; }

/* podstrona */
.case-hero { background: var(--hm-white); }
.case-facts { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 1.25rem; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding-top: 1.5rem; border-top: 1px solid var(--hm-line); }
.case-facts dt { font-size: .82rem; font-weight: 700; color: var(--hm-muted); margin-bottom: .3rem; }
.case-facts dd { margin: 0; font-weight: 600; font-size: .97rem; }
.case-facts a { color: var(--accent-ink); }
@media (max-width: 991.98px) { .case-facts { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 575.98px) { .case-facts { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.case-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(1.5rem, 5vw, 5rem); }
.case-label { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.case-label .h-section { margin: 0; }
.case-step { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--hm-black); color: #fff; box-shadow: 4px 4px 0 var(--accent); }
.band-dark .case-step { background: #fff; color: var(--hm-black); }
.case-intro { font-size: 1.25rem; line-height: 1.5; color: var(--hm-ink); margin-bottom: 1.5rem; }
.case-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.case-points li { display: flex; gap: .8rem; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--hm-line); border-radius: var(--hm-radius); }
.case-points .bi { color: #C2410C; font-size: 1.1rem; line-height: 1.5; }
.case-solution { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.cs-item { display: flex; gap: 1rem; padding: 1.25rem; border: 1px solid var(--hm-line); border-radius: var(--hm-radius); background: #fff; }
.cs-item .feat-ico { margin: 0; flex: none; }
.cs-item h3 { font-size: 1.05rem; margin: .1rem 0 .25rem; }
.cs-item p { color: var(--hm-muted); margin: 0; font-size: .95rem; }
.case-timeline { list-style: none; margin: 0; padding: 0; counter-reset: t; display: grid; gap: 0; }
.case-timeline li { position: relative; padding: 0 0 1.75rem 3rem; counter-increment: t; }
.case-timeline li::before { content: counter(t); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: .85rem; background: var(--accent); color: #fff; }
.case-timeline li::after { content: ""; position: absolute; left: 14px; top: 34px; bottom: 4px; width: 2px; background: #D5DBE3; }
.case-timeline li:last-child::after { display: none; }
.case-timeline b { display: block; font-size: 1.08rem; margin-bottom: .2rem; }
.case-timeline span { color: var(--hm-muted); }
.case-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.cm { border-top: 2px solid var(--hm-g1); padding-top: 1rem; }
.cm b { display: block; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: .4rem; }
.cm span { color: var(--hm-soft-on-dark); }
@media (max-width: 991.98px) { .case-row { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .case-solution { grid-template-columns: 1fr; } }

.case-quote { max-width: 56rem; margin: 0 auto; text-align: center; }
.case-quote .hm-symbol { height: 40px; margin-bottom: 1.5rem; }
.case-quote blockquote { margin: 0 0 1.5rem; }
.case-quote blockquote p { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.35; letter-spacing: -.015em; color: var(--hm-black); }
.case-quote figcaption { display: inline-flex; align-items: center; gap: .9rem; text-align: left; color: var(--hm-muted); }
.cq-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--hm-surface); border: 1.5px dashed #C3CBD5; display: grid; place-items: center; font-size: 1.3rem; color: #8A94A3; }

.case-gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .5fr); gap: 1.25rem; align-items: center; }
.cg-phone .shot-phone { max-width: 200px; }
@media (max-width: 991.98px) { .case-gallery { grid-template-columns: 1fr 1fr; } .cg-phone { grid-column: 1 / -1; } }
@media (max-width: 575.98px) { .case-gallery { grid-template-columns: 1fr; } }

.case-next { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.cn-link { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: auto auto; column-gap: 1rem; padding: 1.5rem 1.75rem; border: 1px solid var(--hm-line); border-radius: var(--hm-radius-lg); text-decoration: none; color: var(--hm-ink); background: #fff; transition: border-color .2s, transform .2s; }
.cn-link:hover, .cn-link:focus-visible { border-color: var(--hm-black); transform: translateY(-2px); color: var(--hm-black); }
.cn-link span { font-size: .85rem; font-weight: 700; color: var(--hm-muted); }
.cn-link b { font-size: 1.1rem; grid-row: 2; }
.cn-link .bi { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 1.3rem; }
@media (max-width: 767.98px) { .case-next { grid-template-columns: 1fr; } }

/* pasek case study na stronach aplikacji */
.case-strip { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 1.5rem; padding: 1.5rem 1.75rem; border-radius: var(--hm-radius-lg); background: var(--hm-black); color: #fff; text-decoration: none; position: relative; overflow: hidden; transition: transform .2s; }
.case-strip::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent); }
.case-strip:hover, .case-strip:focus-visible { transform: translateY(-2px); color: #fff; }
.cs-tag { font-size: .8rem; font-weight: 800; padding: .35rem .7rem; border-radius: 8px; background: rgba(255,255,255,.1); white-space: nowrap; }
.cs-copy b { display: block; font-size: 1.15rem; }
.cs-copy span { color: var(--hm-soft-on-dark); font-size: .95rem; }
.cs-go { font-weight: 700; white-space: nowrap; color: var(--hm-g1); }
@media (max-width: 767.98px) { .case-strip { grid-template-columns: 1fr; gap: .75rem; } }
