/* ===== propozycje: A) Oferta jako akordeon 3D, B) kropkowane „m” ===== */
.fx2-panel{position:fixed;right:14px;bottom:14px;z-index:9999;display:flex;flex-direction:column;gap:6px;padding:10px 12px;background:rgba(10,10,10,.88);color:#fff;font:500 12px/1.2 'Safiro',system-ui,sans-serif;border-radius:10px;backdrop-filter:blur(8px)}
.fx2-panel b{font-weight:500;opacity:.55;letter-spacing:.04em;text-transform:uppercase;font-size:10px}
.fx2-panel label{display:flex;align-items:center;gap:8px;cursor:pointer;user-select:none}
.fx2-panel input{accent-color:#fe3301;margin:0}

/* ---------- A: akordeon ---------- */
.acc canvas{display:none}
.offer .onum,.offer .otag{display:none}
html.fx2-acc .acc{position:relative;margin-top:var(--sp-h)}
html.fx2-acc .acc canvas{display:block;position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}
html.fx2-acc .offer{display:flex;height:clamp(440px,66vh,720px);margin:0;border-top:1px solid #0a0a0a;border-bottom:1px solid #0a0a0a}
html.fx2-acc .offer li{flex:1 1 0;min-width:0;position:relative;overflow:hidden;border-left:1px solid rgba(10,10,10,.2);background:#fff;transition:flex-grow .8s var(--ease),background-color .6s var(--ease)}
html.fx2-acc .offer li:first-child{border-left:0}
html.fx2-acc .offer li.is-on{flex-grow:4.4;background:var(--bg)}
html.fx2-acc .offer li.dl::before,html.fx2-acc .offer li.dl::after{display:none}
html.fx2-acc .offer a{display:block;position:relative;height:100%;padding:0}
html.fx2-acc .offer h3{position:absolute;left:clamp(16px,1.8vw,30px);top:clamp(16px,1.8vw,30px);font-size:clamp(28px,3.6vw,64px);letter-spacing:-.04em;white-space:nowrap;color:#0a0a0a;transition:opacity .35s var(--ease)}
html.fx2-acc .offer li:not(.is-on) h3{opacity:0;pointer-events:none;transition-duration:.15s}
html.fx2-acc .offer li.is-on h3{transition-delay:.3s}
html.fx2-acc .offer p{position:absolute;left:clamp(16px,1.8vw,30px);bottom:clamp(16px,1.8vw,30px);width:min(24em,calc(100% - 2*clamp(16px,1.8vw,30px)));font-size:clamp(14px,1.25vw,20px);color:#0a0a0a}
html.fx2-acc .offer .go{position:absolute;right:clamp(16px,1.8vw,30px);top:clamp(22px,2.4vw,40px);width:clamp(56px,6vw,110px);color:#0a0a0a}
html.fx2-acc .offer li:not(.is-on) .rise{opacity:0!important;transform:translateY(10px)!important;transition-delay:0s!important;transition-duration:.2s!important}
html.fx2-acc .offer li.is-on .rise{transition-delay:.35s!important}
html.fx2-acc .offer .otag{display:block;position:absolute;left:50%;top:clamp(16px,1.8vw,30px);writing-mode:vertical-rl;transform:translateX(-50%) rotate(180deg);font-size:clamp(17px,1.6vw,27px);letter-spacing:-.025em;white-space:nowrap;transition:opacity .35s var(--ease) .25s}
html.fx2-acc .offer li.is-on .otag{opacity:0;transition-delay:0s;transition-duration:.15s}
html.fx2-acc .offer .onum{display:block;position:absolute;left:50%;bottom:clamp(14px,1.6vw,26px);transform:translateX(-50%);font-size:clamp(11px,1vw,15px);letter-spacing:.04em;opacity:.5;transition:opacity .3s}
html.fx2-acc .offer li.is-on .onum{opacity:0}
@media (hover:hover) and (pointer:fine){
  html.fx2-acc .offer a:hover h3{color:#0a0a0a;transform:none}
  html.fx2-acc .offer a:hover .go{color:#0a0a0a;transform:none}
  html.fx2-acc .offer li:not(.is-on):hover{background:#f4f4f4}
}

/* ---------- B: kropkowane „m” ---------- */
#proces{position:relative;overflow:hidden}
#proces > :not(.dots){position:relative;z-index:1}
.dots{display:none}
html.fx2-dots .dots{display:block;position:absolute;z-index:0;right:var(--pad);top:calc(var(--sp)*.55);width:min(30vw,520px);aspect-ratio:68/57;pointer-events:none}
html.fx2-dots .dots canvas{display:block;width:100%;height:100%}
@media (max-width:800px){ html.fx2-dots .dots{display:none} }

/* przeciąganie obiektu 3D (guma) */
html.fx2-acc .offer li.is-on{cursor:grab}
html.fx2-acc .acc.grabbing,html.fx2-acc .acc.grabbing *{cursor:grabbing!important;user-select:none}
html.fx2-acc .acc{user-select:none;-webkit-user-select:none}

/* ---------- mobile: poziome karty ---------- */
@media (max-width:800px){
  html.fx2-acc .acc{margin-left:calc(-1*var(--pad));margin-right:calc(-1*var(--pad))}
  html.fx2-acc .offer{display:flex;gap:12px;height:min(74svh,540px);min-height:430px;padding:0 var(--pad);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding:0 var(--pad);-webkit-overflow-scrolling:touch;scrollbar-width:none;border:0;overscroll-behavior-x:contain}
  html.fx2-acc .offer::-webkit-scrollbar{display:none}
  html.fx2-acc .offer li.rvm{flex:0 0 78vw;max-width:340px;scroll-snap-align:center;background:var(--bg);border:0;border-radius:var(--r);cursor:auto}
  html.fx2-acc .offer li.rvm:not(.zz) h3{opacity:1;pointer-events:auto;white-space:normal;left:18px;top:18px;width:calc(100% - 80px);font-size:clamp(26px,7.6vw,38px);line-height:1.02}
  html.fx2-acc .offer li.rvm:not(.zz) .rise{opacity:1!important;transform:none!important}
  html.fx2-acc .offer p{left:18px;bottom:20px;width:calc(100% - 36px);font-size:14px;line-height:1.35}
  html.fx2-acc .offer .go,html.fx2-acc .offer .otag{display:none}
  html.fx2-acc .offer .onum{display:block;left:auto;right:18px;top:20px;bottom:auto;transform:none;opacity:.55;font-size:13px}
  html.fx2-acc .offer li.is-on .onum{opacity:.55}
  html.fx2-acc .acc canvas{z-index:2}
}

/* ---------- desktop: złożone kafelki bez obrysów, klik otwiera kartę ---------- */
@media (min-width:801px){
  html.fx2-acc .offer{border:0;gap:8px}
  html.fx2-acc .offer li{border:0;border-radius:var(--r);background:#efefef}
  html.fx2-acc .offer li.is-on{background:var(--bg);cursor:grab}
  html.fx2-acc .offer li:not(.is-on){cursor:pointer}
  html.fx2-acc .offer a{text-align:center;align-items:center;display:flex;flex-direction:column;justify-content:flex-end;padding:clamp(18px,2vw,32px)}
  html.fx2-acc .offer h3{position:static;font-size:clamp(28px,3vw,52px);line-height:1.04;white-space:normal;margin:0 0 .4em}
  html.fx2-acc .offer p{position:static;width:min(30em,100%);margin-inline:auto;font-size:clamp(14px,1.2vw,19px);line-height:1.32;margin:0}
  html.fx2-acc .offer .go{display:none}
  html.fx2-acc .offer .otag{font-size:clamp(22px,2.2vw,36px);top:clamp(18px,2vw,30px)}
  html.fx2-acc .offer li:not(.is-on):hover{background:#e6e6e6}
}
