/*
 * Wspólna stopka publicznych stron, łącznie z linkami prawnymi, społecznościami
 * i przyciskiem ustawień prywatności. Nie umieszczamy tu stylów treści strony.
 */
.site-footer{background:#e9e9df;padding-top:55px;font-size:.9rem}.footer-grid{display:grid;gap:35px;padding-bottom:45px}.footer-brand{font-size:2rem;margin-bottom:20px}.footer-brand .brand-logo{width:165px;max-width:100%;height:auto}.site-footer h2{font-family:var(--sans);font-size:.78rem;font-weight:700;letter-spacing:.08em;margin-bottom:18px;text-transform:uppercase}.footer-grid>div>a:not(.brand){display:block;text-decoration:none;margin:8px 0}.footer-grid a:hover{text-decoration:underline}.footer-grid p{margin:12px 0}.footer-grid small{color:var(--muted)}.footer-bottom{border-top:1px solid #cdd2c3;display:flex;flex-direction:column;gap:12px;padding-block:24px;font-size:.7rem;color:#555f51}.footer-bottom span:last-child{max-width:580px}
@media(min-width:760px){.footer-grid{grid-template-columns:1.2fr .7fr 1fr;gap:70px}.footer-bottom{flex-direction:row;justify-content:space-between;align-items:center}.footer-bottom span:last-child{text-align:right}}

.footer-social{padding-bottom:28px}.footer-social h2{margin:0 0 14px}.footer-social-links{display:flex;flex-wrap:wrap;gap:12px}.footer-social-link{display:inline-flex;align-items:center;gap:10px;padding:11px 16px;min-height:44px;border:1px solid #b8c4b0;border-radius:999px;color:#294b37;background:#f5f6ef;text-decoration:none;font-weight:600}.footer-social-link svg{flex:none}.footer-social-link:where(a):hover{background:#294b37;color:#fff}.footer-social-link:focus-visible{outline:3px solid #294b37;outline-offset:3px}

/* Dark footer gives every page a clear visual ending. */
.site-footer{position:relative;overflow:hidden;background:#153529;color:#dfe7df;padding-top:64px}
.site-footer::before{content:"";position:absolute;inset:0 0 auto;height:1px;background:linear-gradient(90deg,transparent,#8fa382,transparent)}
.site-footer .brand-logo{filter:brightness(0) invert(1);opacity:.94;border-radius:0}
.site-footer h2{color:#f7f6ef;letter-spacing:.13em}
.footer-grid>div>a:not(.brand){width:max-content;max-width:100%;color:#eef2eb;text-decoration-color:rgba(255,255,255,.3);text-underline-offset:4px}
.footer-grid p,.footer-grid small{color:#bdc9bf}
.footer-bottom{border-color:rgba(255,255,255,.16);color:#aebcb2}
.footer-social-link{border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.07);color:#f4f6f1}
.footer-social-link:where(a):hover{background:#f4f6f1;color:var(--ink)}
.site-footer::after{content:"DREWNO.ONLINE";position:absolute;right:-.03em;bottom:-.2em;color:#fff;font-family:var(--serif);font-size:clamp(4rem,13vw,12rem);letter-spacing:-.07em;line-height:1;opacity:.025;pointer-events:none;white-space:nowrap}
.footer-grid,.footer-bottom,.footer-social{position:relative;z-index:1}

/* Stronger hierarchy for contact details and mobile columns. */
.footer-grid>div{min-width:0}
.footer-grid>div:not(:first-child){padding-left:clamp(0px,2vw,28px);border-left:1px solid rgba(255,255,255,.12)}
.footer-grid>div>a[href^="tel:"],.footer-grid>div>a[href^="mailto:"]{display:inline-flex!important;align-items:center;min-height:42px;margin:4px 0!important;padding:8px 12px;border:1px solid rgba(255,255,255,.18);border-radius:9px;background:rgba(255,255,255,.045);font-weight:700;line-height:1.35;text-decoration:none!important;transition:background-color .18s ease,border-color .18s ease}
.footer-grid>div>a[href^="tel:"]:hover,.footer-grid>div>a[href^="mailto:"]:hover{border-color:rgba(255,255,255,.38);background:rgba(255,255,255,.1)}
.footer-bottom{margin-top:8px}
@media(max-width:759px){.site-footer{padding-top:52px}.footer-grid{gap:0}.footer-grid>div{padding:26px 0!important;border-top:1px solid rgba(255,255,255,.12);border-left:0!important}.footer-grid>div:first-child{padding-top:0!important;border-top:0}.footer-grid>div>a[href^="tel:"],.footer-grid>div>a[href^="mailto:"]{width:100%;justify-content:center}.footer-social{padding-top:8px}}

/* Privacy links and a consent panel shared by the whole site. */
.footer-bottom{flex-wrap:wrap}
.footer-privacy{display:flex;flex:1 0 100%;align-items:center;gap:10px 18px;flex-wrap:wrap;order:3;padding-top:4px}
.footer-privacy a,.footer-privacy button{color:#eef2eb;font:inherit;text-underline-offset:4px}
.footer-privacy button{min-height:40px;padding:7px 11px;border:1px solid rgba(255,255,255,.23);border-radius:8px;background:rgba(255,255,255,.06);cursor:pointer}
.footer-privacy button:hover{background:rgba(255,255,255,.13)}
.footer-privacy :focus-visible{outline:3px solid #f1e6c7;outline-offset:3px}
.privacy-banner[hidden]{display:none!important}
.privacy-banner{position:fixed;z-index:10000;right:0;bottom:0;left:0;padding:14px;background:rgba(9,28,21,.7);backdrop-filter:blur(8px)}
.privacy-banner-body{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:22px;width:min(1180px,100%);margin:0 auto;padding:20px 22px;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:#fffefa;color:#17382b;box-shadow:0 -10px 40px rgba(8,25,19,.22)}
.privacy-banner h2{margin:0 0 7px;font-family:var(--serif);font-size:clamp(1.25rem,2vw,1.6rem)}
.privacy-banner p{max-width:72ch;margin:0;font-size:.88rem;line-height:1.65}
.privacy-banner a{color:#17382b;font-weight:700;text-underline-offset:3px}
.privacy-banner-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.privacy-choice{min-height:46px;padding:11px 15px;border:2px solid #17382b;border-radius:8px;font:700 .82rem/1.25 var(--sans);cursor:pointer}
.privacy-reject{background:#fffefa;color:#17382b}.privacy-accept{background:#17382b;color:#fff}
.privacy-choice:hover{box-shadow:0 4px 14px rgba(23,56,43,.2)}
.privacy-banner :focus-visible{outline:3px solid #a07b19;outline-offset:3px}
@media(max-width:759px){.privacy-banner{padding:8px}.privacy-banner-body{grid-template-columns:1fr;gap:15px;padding:18px}.privacy-banner-actions{display:grid;grid-template-columns:1fr 1fr}.privacy-choice{white-space:normal}.footer-privacy{align-items:stretch;flex-direction:column}.footer-privacy button{text-align:left}}
@media(max-width:420px){.privacy-banner-actions{grid-template-columns:1fr}}
