/* Stopka v2 (29.09.2026) — źródło: _cohubo/footer-v2. Jednostki rem: skala 90% na desktopie wynika z html{font-size:90%}. */
.rgf{position:relative;overflow:hidden;background:var(--bg,#0f0f10);color:var(--ink,#fff);border-top:1px solid var(--line,rgba(255,255,255,.08));padding-top:clamp(3.5rem,7vw,6.5rem)}
.rgf-shell{max-width:1800px;margin:0 auto;padding:0 var(--shell,5vw)}
.rgf a{color:inherit;text-decoration:none}
.rgf-eyebrow{display:inline-flex;align-items:center;gap:.7rem;font-size:.8125rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--brand2,#e9333a)}
.rgf-eyebrow i{width:1.75rem;height:1px;background:currentColor}
/* 1. CTA */
.rgf-cta{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:3rem;align-items:end;padding-bottom:clamp(2.5rem,5vw,4.5rem);border-bottom:1px solid var(--line2,rgba(255,255,255,.14))}
.rgf-cta__big{display:flex;align-items:flex-end;gap:clamp(1rem,2vw,2rem);margin-top:1.4rem;font-size:clamp(2.6rem,5.6vw,6.2rem);font-weight:600;line-height:.98;letter-spacing:-.055em}
.rgf-cta__big span{background:linear-gradient(currentColor,currentColor) 0 100%/0 3px no-repeat;transition:background-size .5s cubic-bezier(.2,.7,.2,1)}
.rgf-cta__arrow{flex:none;display:grid;place-items:center;width:clamp(3.4rem,5.2vw,5.6rem);aspect-ratio:1;border-radius:50%;background:var(--brand,#cb2127);transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.rgf-cta__arrow svg{width:45%;height:45%;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rgf-cta__big:hover span,.rgf-cta__big:focus-visible span{background-size:100% 3px}
.rgf-cta__big:hover .rgf-cta__arrow{transform:rotate(45deg) scale(1.06)}
.rgf-cta__contact{display:grid;gap:1.1rem;justify-items:start}
.rgf-line{display:grid;gap:.15rem}.rgf-line small{font-size:.8125rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted,rgba(255,255,255,.62))}
.rgf-line strong{font-size:clamp(1.3rem,1.8vw,1.75rem);font-weight:600;letter-spacing:-.02em;transition:color .25s}.rgf-line:hover strong{color:var(--brand2,#e9333a)}
.rgf-quick{margin-top:.4rem}
/* 2. marka + kolumny */
.rgf-grid{display:grid;grid-template-columns:minmax(15rem,1fr) minmax(0,3.4fr);gap:clamp(2rem,4vw,5rem);padding:clamp(2.8rem,5vw,4.5rem) 0}
.rgf-logo{display:block;width:10.5rem;color:var(--ink,#fff)}.rgf-logo svg{display:block;width:100%;height:auto}
.rgf-brand p{margin:1.3rem 0 1.4rem;max-width:30ch;font-size:.95rem;line-height:1.65;color:var(--muted,rgba(255,255,255,.66))}
.rgf-brand address{font-style:normal;font-size:.9rem;line-height:1.7;color:var(--muted,rgba(255,255,255,.66))}.rgf-brand address strong{color:var(--ink,#fff);font-weight:600}
.rgf-social{display:flex;gap:.6rem;margin-top:1.6rem}
.rgf-social a{display:grid;place-items:center;width:2.6rem;height:2.6rem;border:1px solid var(--line2,rgba(255,255,255,.16));border-radius:50%;transition:border-color .25s,background .25s}
.rgf-social a:hover{border-color:var(--brand,#cb2127);background:var(--brand,#cb2127)}.rgf-social img{width:1rem;height:1rem}
.rgf-cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2rem}.rgf-col nav+nav{margin-top:2.2rem}
.rgf-col h3{margin:0 0 1.2rem;font-size:.8125rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted,rgba(255,255,255,.55))}
.rgf-col ul{list-style:none;margin:0;padding:0;display:grid;gap:.75rem}
.rgf-col a{position:relative;font-size:.95rem;line-height:1.35;color:var(--ink,#fff);opacity:.86;transition:opacity .2s,color .2s,padding .3s cubic-bezier(.2,.7,.2,1)}
.rgf-col a::before{content:"";position:absolute;left:0;top:50%;width:0;height:1.5px;background:var(--brand2,#e9333a);transition:width .3s cubic-bezier(.2,.7,.2,1)}
.rgf-col a:hover,.rgf-col a:focus-visible{opacity:1;padding-left:1rem}.rgf-col a:hover::before,.rgf-col a:focus-visible::before{width:.6rem}
/* 3. newsletter */
.rgf-news{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:2rem 4rem;align-items:center;padding:2rem 2.2rem;border:1px solid var(--line2,rgba(255,255,255,.14));border-radius:14px;background:var(--sunken,#161418)}
.rgf-news h2{margin:0 0 .35rem;font-size:clamp(1.25rem,1.6vw,1.6rem);font-weight:600;letter-spacing:-.02em}.rgf-news p{margin:0;font-size:.95rem;color:var(--muted,rgba(255,255,255,.66))}
.rgf-news .prototype-note{margin-top:.5rem;font-size:.8rem;opacity:.7}
.rgf-news__row{display:flex;gap:.6rem}.rgf-news__row .field{flex:1}.rgf-news__row .input{width:100%}
.rgf-news .consent{display:flex;gap:.5rem;margin-top:.6rem;font-size:.82rem;line-height:1.45;color:var(--muted,rgba(255,255,255,.62))}.rgf-news .consent a{text-decoration:underline}
/* 4. wielki znak słowny */
.rgf-mark{position:relative;margin-top:clamp(1.5rem,3vw,2.5rem);padding:0 var(--shell,5vw);color:var(--ink,#fff);opacity:.07;-webkit-mask-image:linear-gradient(#000 45%,transparent 100%);mask-image:linear-gradient(#000 45%,transparent 100%);pointer-events:none}
.rgf-mark__in{will-change:transform}.rgf-mark svg{display:block;width:100%;height:auto}
/* 5. dół */
.rgf-bottom{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 2rem;margin-top:-2.5rem;padding:1.6rem 0 2rem;border-top:1px solid var(--line2,rgba(255,255,255,.14));font-size:.85rem;color:var(--muted,rgba(255,255,255,.62))}
.rgf-bottom__links{display:flex;flex-wrap:wrap;gap:1.4rem;align-items:center;margin-right:auto;margin-left:2rem}
.rgf-bottom a:hover,.rgf-bottom button:hover{color:var(--ink,#fff)}
.rgf-bottom button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
.rgf-top{display:grid!important;place-items:center;width:3rem;height:3rem;border:1px solid var(--line2,rgba(255,255,255,.2))!important;border-radius:50%;transition:border-color .25s,background .25s}
.rgf-top svg{width:1.1rem;height:1.1rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rgf-top:hover{background:var(--brand,#cb2127);border-color:var(--brand,#cb2127)!important;color:#fff}
@media (max-width:1200px){.rgf-cols{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:2.4rem}}
@media (max-width:900px){.rgf-cta{grid-template-columns:1fr}.rgf-grid{grid-template-columns:1fr}.rgf-news{grid-template-columns:1fr;padding:1.6rem}}
@media (max-width:600px){.rgf-cta__big{flex-direction:column;align-items:flex-start}.rgf-cols{grid-template-columns:1fr 1fr;gap:2rem 1.2rem}.rgf-news__row{flex-direction:column}.rgf-bottom{margin-top:-1rem}.rgf-bottom__links{margin-left:0;width:100%;order:3}}
@media (prefers-reduced-motion:reduce){.rgf *{transition:none!important}}
:root[data-theme=light] .rgf-mark{opacity:.09}

/* Center the CTA icon beside the two-line heading; keep labels readable. */
.rgf-cta__arrow{align-self:center}
.rgf-eyebrow,.rgf-line small,.rgf-col h3,.rgf-news .consent,.rgf-bottom{font-size:14px}
.rgf-brand p,.rgf-news p{font-size:16px}
.rgf-col a,.rgf-brand address{font-size:15px}
.rgf-quick{font-size:16px;min-height:48px}
