
/* AS Bilcza — baza.css | UTF-8 | HTML5 / CSS3 */


/* ===== Style ===== */

/* ============================================================================
   AKADEMIA SPORTU BILCZA — NOWA ODSŁONA
   Wersja HTML5 / CSS3 / JavaScript, bez frameworków.
   Styl: magazyn sportowy / minimalizm / jasne powierzchnie / granat.
   Zmienne na początku pliku ułatwiają edycję w Notepad++.
   ============================================================================ */

:root {
    --navy: #142849;
    --navy-2: #203c68;
    --navy-deep: #0c1b31;
    --white: #ffffff;
    --paper: #f6f7f9;
    --surface: #ebeff4;
    --ink: #182231;
    --muted: #647083;
    --stroke: #dbe2ea;
    --success: #25764a;
    --danger: #a13b3b;
    --radius: 15px;
    --page-pad: clamp(18px, 3.4vw, 70px);
    --header-height: 76px;
    --shadow: 0 22px 70px rgba(12, 27, 49, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    margin: 0;
    padding-top: var(--header-height);
    color: var(--ink);
    background: var(--paper);
    font: 400 15px/1.65 "Segoe UI", Inter, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
body.lock-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--navy-2); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
:focus-visible { outline: 3px solid #7fa4da; outline-offset: 3px; }
[hidden] { display: none !important; }
::selection { background: #d6e1f2; color: var(--navy-deep); }

/* 01. Stały header — w czasie przewijania nie zmienia położenia. */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-height);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(18, 45, 85, .10);
}
.navbar {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0 var(--page-pad);
}
.logo {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 12px;
    color: var(--navy) !important;
}
.logo img { width: 46px; height: 46px; object-fit: contain; }
.logo-title { display: block; font-size: 18px; font-weight: 850; letter-spacing: -.65px; line-height: 1.12; }
.logo-kicker { display: block; margin-top: 4px; font-size: 9px; font-weight: 750; letter-spacing: 1.55px; color: var(--muted); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.45vw, 27px); flex: 1; }
.nav-links a { color: #516079; font-size: 12px; font-weight: 700; white-space: nowrap; transition: color .16s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); }
.nav-links a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: 5px; background: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-user { font-size: 12px; font-weight: 750; color: var(--navy); }
.nav-cta { display: inline-flex; align-items: center; gap: 13px; background: var(--navy); color: white !important; padding: 11px 16px; border-radius: 7px; font-size: 12px; font-weight: 800; transition: background .2s ease, transform .2s ease; }
.nav-cta:hover { background: var(--navy-2); transform: translateY(-1px); }
.menu-button { display: none; background: transparent; border: 1px solid var(--stroke); border-radius: 8px; width: 43px; height: 43px; font-size: 24px; color: var(--navy); }

/* 02. Typografia, układ i przyciski. */
.layout { width: 100%; padding-inline: var(--page-pad); }
.section { padding: clamp(65px, 7vw, 112px) var(--page-pad); }
.section.is-tight { padding-block: 46px; }
.paper { background: var(--white); }
.navy { background: var(--navy); color: var(--white); }
.navy-deep { background: var(--navy-deep); color: var(--white); }
.kicker { color: var(--navy-2); text-transform: uppercase; font-size: 10px; font-weight: 850; letter-spacing: 2px; margin: 0 0 18px; }
.kicker.is-light { color: #bed0ec; }
.h1, h1 { font-size: clamp(36px, 4.5vw, 78px); line-height: 1.075; font-weight: 720; letter-spacing: -.052em; margin: 0 0 23px; }
h2 { font-size: clamp(29px, 3.1vw, 52px); line-height: 1.12; font-weight: 730; letter-spacing: -.045em; margin: 0 0 20px; }
h3 { font-size: clamp(19px, 1.55vw, 25px); letter-spacing: -.025em; line-height: 1.22; margin: 0 0 12px; }
p { margin: 0 0 18px; }
.lead { font-size: clamp(15px, 1.15vw, 18px); color: #657082; line-height: 1.7; max-width: 640px; }
.navy .lead, .navy-deep .lead { color: #cad6e7; }
.section-header { display: flex; gap: 28px; align-items: end; justify-content: space-between; margin-bottom: 38px; }
.section-header > div:first-child { max-width: 740px; }
.section-header p:last-child { margin-bottom: 0; }
.rule { height: 1px; background: var(--stroke); border: 0; margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; border: 1px solid var(--navy); background: var(--navy); color: var(--white) !important; padding: 13px 20px; font-size: 12px; font-weight: 800; border-radius: 7px; transition: all .18s ease; white-space: nowrap; }
.btn:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn.line { color: var(--navy) !important; background: transparent; }
.btn.line:hover { background: var(--surface); }
.btn.light { border-color: white; background: white; color: var(--navy) !important; }
.btn.light:hover { background: #e7edf7; }
.btn.light-line { color: white !important; border-color: #6b819e; background: transparent; }
.link-arrow { display: inline-flex; align-items: center; gap: 15px; font-size: 12px; font-weight: 800; color: var(--navy); border-bottom: 1px solid currentColor; padding-bottom: 7px; }
.link-arrow:hover { gap: 20px; }
.navy .link-arrow { color: white; }
.eyeline { height: 1px; background: var(--stroke); margin: 26px 0; }
.mini-label { text-transform: uppercase; font-size: 10px; font-weight: 850; letter-spacing: 1.4px; }

/* 03. Home: fotograficzne, redakcyjne otwarcie — nie szablon. */
.masthead { background: var(--paper); padding: 34px var(--page-pad) 52px; }
.masthead-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch; min-height: min(630px, 66vw); background: white; overflow: hidden; }
.masthead-copy { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: clamp(28px, 5vw, 94px); }
.masthead-copy h1 { max-width: 610px; }
.masthead-copy h1 em { color: var(--navy-2); font-style: normal; }
.masthead-copy .lead { max-width: 470px; }
.masthead-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 17px; }
.masthead-foot { display: flex; align-items: center; gap: 16px; margin-top: 45px; font-size: 11px; color: var(--muted); font-weight: 700; }
.masthead-foot span:first-child { background: var(--surface); color: var(--navy); border-radius: 50%; width: 37px; height: 37px; display: grid; place-items: center; font-size: 16px; }
.masthead-media { position: relative; min-width: 0; background: #c7d2e0; display: grid; grid-template-columns: 60% 40%; grid-template-rows: 1fr 1fr; gap: 8px; padding: 8px; }
.masthead-media figure { position: relative; margin: 0; overflow: hidden; background: var(--navy); }
.masthead-media figure:first-child { grid-row: 1/3; }
.masthead-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.masthead-media figure:hover img { transform: scale(1.045); }
.masthead-tag { position: absolute; left: 24px; bottom: 22px; background: var(--white); color: var(--navy); padding: 12px 16px; max-width: 245px; font-weight: 820; font-size: 12px; border-radius: 7px; }
.announcement { background: var(--navy); color: #dce7f7; display: flex; gap: 20px; justify-content: space-between; align-items: center; padding: 18px var(--page-pad); font-size: 12px; font-weight: 700; }
.announcement strong { color: white; }
.announcement a { color: white; text-decoration: underline; text-underline-offset: 5px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.stat { padding: 22px 0 28px 25px; border-left: 1px solid var(--stroke); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat strong { display: block; font-size: clamp(30px, 3vw, 46px); letter-spacing: -.055em; color: var(--navy); line-height: 1.1; font-weight: 760; }
.stat span { font-size: 12px; color: var(--muted); }

/* 04. Sekcje sportowe, karty i historie. */
.program-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.program-card { position: relative; display: block; min-height: 350px; overflow: hidden; border-radius: 10px; background: var(--navy); color: white !important; }
.program-card > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; filter: saturate(.85); transition: transform .45s ease; }
.program-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,22,40,.05) 20%, rgba(10,22,40,.88) 100%); }
.program-card:hover img { transform: scale(1.07); }
.program-card .num { position: absolute; left: 20px; top: 16px; z-index: 2; background: rgba(255,255,255,.92); color: var(--navy); border-radius: 4px; padding: 6px 10px; font-size: 11px; font-weight: 820; }
.program-card .card-copy { position: absolute; left: 23px; right: 20px; bottom: 21px; z-index: 2; }
.program-card h3 { font-size: 25px; color: white; }
.program-card p { color: #e6edf7; margin: 0; font-size: 12px; }
.program-card .card-end { display: inline-block; margin-top: 13px; border-bottom: 1px solid white; padding-bottom: 4px; font-size: 11px; font-weight: 830; }
.editorial-split { display: grid; grid-template-columns: 47% 53%; align-items: stretch; min-height: 505px; }
.editorial-split.reverse { grid-template-columns: 53% 47%; }
.editorial-split.reverse .editorial-photo { order: 2; }
.editorial-photo { position: relative; min-height: 430px; overflow: hidden; }
.editorial-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.editorial-text { display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: left; padding: clamp(40px, 6vw, 106px); }
.editorial-text > div { width: 100%; max-width: 600px; }
.editorial-text p:last-child { margin-bottom: 0; }
.editorial-note { display: flex; gap: 14px; align-items: start; margin-top: 30px; border-top: 1px solid currentColor; opacity: .85; padding-top: 20px; font-size: 12px; }
.editorial-note strong { display: block; font-size: 25px; line-height: 1; }
.events-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 18px; }
.event-card { background: white; border: 1px solid var(--stroke); border-radius: 12px; overflow: hidden; }
.event-card img { width: 100%; height: 220px; object-fit: cover; }
.event-card:first-child img { height: 275px; }
.event-card .event-body { padding: 25px; }
.event-card h3 { font-size: 22px; }
.event-card p { color: var(--muted); font-size: 13px; }
.event-card .link-arrow { margin-top: 8px; }
.photo-rail { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.25fr; gap: 9px; min-height: 250px; }
.photo-rail img { height: 260px; width: 100%; object-fit: cover; }
.info-bar { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 45px; }
.info-bar h2 { margin-bottom: 8px; }

/* 05. Podstrony — ten sam język wizualny, inne kompozycje. */
.page-cover { display: grid; grid-template-columns: 55% 45%; min-height: 400px; background: white; }
.page-cover.is-dark { background: var(--navy); color: white; }
.page-cover-copy { padding: clamp(43px, 5.5vw, 94px) var(--page-pad); display: flex; flex-direction: column; justify-content: center; }
.page-cover-copy h1 { font-size: clamp(36px, 4.2vw, 69px); max-width: 830px; }
.page-cover-copy > p:last-child { color: var(--muted); font-size: 15px; max-width: 590px; }
.page-cover.is-dark .page-cover-copy > p:last-child { color: #cad6e7; }
.page-cover-photo { position: relative; min-height: 360px; overflow: hidden; }
.page-cover-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.page-cover-stamp { position: absolute; left: 22px; bottom: 22px; padding: 11px 16px; color: var(--navy); background: white; border-radius: 7px; font-size: 11px; font-weight: 850; }
.breadcrumb { font-size: 11px; font-weight: 720; letter-spacing: .5px; color: var(--muted); margin-bottom: 15px; }
.page-cover.is-dark .breadcrumb { color: #b4c8e2; }
.columns-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(25px, 5vw, 100px); }
.columns-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.profile-card { border: 1px solid var(--stroke); background: white; border-radius: 12px; padding: 28px; }
.profile-card .index { font-size: 11px; color: var(--muted); font-weight: 850; }
.profile-card h3 { font-size: 19px; margin-top: 16px; }
.profile-card p { font-size: 13px; color: var(--muted); margin: 0; }
.list-line { list-style: none; margin: 0; padding: 0; }
.list-line li { padding: 16px 0; border-bottom: 1px solid var(--stroke); display: flex; justify-content: space-between; gap: 25px; }
.list-line li strong { color: var(--navy); }
.sport-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: white; margin-bottom: 18px; border: 1px solid var(--stroke); border-radius: 13px; overflow: hidden; }
.sport-row:nth-child(even) .sport-row-image { order: 2; }
.sport-row-image { min-height: 340px; position: relative; }
.sport-row-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sport-row-content { padding: clamp(28px, 4vw, 70px); }
.sport-row-content h2 { margin-bottom: 16px; }
.sport-row-content p { color: var(--muted); max-width: 600px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.pill-list span { border: 1px solid #d4deeb; color: var(--navy); padding: 6px 12px; border-radius: 20px; font-size: 11px; font-weight: 760; }
.schedule { width: 100%; border-collapse: collapse; font-size: 13px; }
.schedule th { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); background: #e8edf4; text-align: left; padding: 14px 16px; }
.schedule td { padding: 16px; border-bottom: 1px solid var(--stroke); background: white; vertical-align: top; }
.schedule tr:hover td { background: #f4f7fb; }
.table-wrap { width: 100%; overflow-x: auto; border-radius: 11px; border: 1px solid var(--stroke); }
.table-wrap .schedule { min-width: 600px; }
.gallery-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter-btn { border: 1px solid var(--stroke); background: white; color: var(--navy); border-radius: 6px; padding: 8px 15px; font-size: 12px; font-weight: 720; }
.filter-btn.active { background: var(--navy); color: white; border-color: var(--navy); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.gallery-tile { background: white; border: none; padding: 0; border-radius: 8px; overflow: hidden; position: relative; }
.gallery-tile img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform .35s ease; }
.gallery-tile:hover img { transform: scale(1.06); }
.gallery-tile span { position: absolute; bottom: 10px; left: 10px; right: 10px; text-align: left; color: white; background: rgba(11, 28, 51, .8); border-radius: 4px; padding: 7px 10px; font-size: 11px; font-weight: 750; }
.gallery-modal { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; background: rgba(6, 11, 20, .95); padding: 65px 55px 80px; }
.gallery-modal figure { margin: 0; max-width: 1100px; max-height: 85vh; text-align: center; }
.gallery-modal img { max-height: 71vh; max-width: 100%; width: auto; margin: auto; object-fit: contain; }
.gallery-modal figcaption { color: #dbe5f2; font-size: 13px; margin-top: 15px; }
.gallery-modal button { position: absolute; color: white; background: #233b60; border: 1px solid #52668b; border-radius: 7px; padding: 10px 16px; font-size: 17px; }
.gallery-modal .modal-close { top: 20px; right: 20px; }
.gallery-modal .modal-prev { left: 20px; top: 50%; }
.gallery-modal .modal-next { right: 20px; top: 50%; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.step { border-top: 3px solid var(--navy); padding: 25px; background: white; }
.step strong { font-size: 12px; color: var(--navy); }
.step h3 { margin-top: 18px; }
.step p { font-size: 13px; color: var(--muted); }
details { border-bottom: 1px solid var(--stroke); padding: 18px 0; }
summary { cursor: pointer; font-weight: 750; list-style: none; display: flex; justify-content: space-between; gap: 15px; }
summary::after { content: "+"; font-size: 20px; color: var(--navy); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); font-size: 13px; max-width: 800px; margin: 11px 0 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.contact-detail { background: white; padding: 33px; border-radius: 12px; border: 1px solid var(--stroke); }
.contact-detail a { color: var(--navy); font-weight: 750; }
.form-card { background: white; border: 1px solid var(--stroke); padding: clamp(23px, 3vw, 45px); border-radius: 12px; }
.form-group { display: grid; gap: 5px; margin-bottom: 17px; }
.form-group label { font-size: 12px; font-weight: 760; }
input, select, textarea { border: 1px solid #cdd7e2; border-radius: 6px; background: #fff; color: var(--ink); width: 100%; padding: 11px 13px; }
textarea { min-height: 124px; resize: vertical; }
.form-help { font-size: 12px; color: var(--muted); }

/* 06. Stopka. */
.site-footer { background: var(--navy-deep); color: white; padding: 67px var(--page-pad) 24px; }
.footer-top { display: grid; grid-template-columns: 1.4fr .6fr .7fr .8fr; gap: 40px; padding-bottom: 52px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 19px; }
.footer-brand img { width: 50px; height: 50px; }
.footer-brand strong { font-size: 19px; letter-spacing: -.5px; }
.footer-lead { font-size: 13px; color: #b6c5d7; max-width: 350px; }
.footer-col h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 1.6px; margin: 6px 0 18px; color: #9cb0c9; }
.footer-col a, .footer-col p { display: block; margin: 0 0 10px; color: #dde6f2; font-size: 12px; }
.footer-col a:hover { color: white; text-decoration: underline; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid #34445e; padding-top: 20px; color: #96a6bb; font-size: 11px; }
.footer-bottom a { color: #d9e4f3; }

/* 07. Układ na telefonach i tabletach. */
@media (max-width: 1230px) {
    .navbar { gap: 18px; }
    .nav-links { gap: 10px; }
    .nav-links a { font-size: 11px; }
    .nav-user { display: none; }
}
@media (max-width: 980px) {
    :root { --header-height: 68px; }
    .logo img { width: 42px; height: 42px; }
    .nav-links { display: none; position: fixed; top: var(--header-height); right: 0; left: 0; padding: 20px var(--page-pad) 28px; flex-direction: column; align-items: stretch; background: white; border-top: 1px solid var(--stroke); box-shadow: var(--shadow); max-height: calc(100vh - var(--header-height)); overflow-y: auto; gap: 0; }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 2px; font-size: 15px; }
    .nav-links a[aria-current="page"]::after { display: none; }
    .menu-button { display: grid; place-items: center; }
    .nav-actions { margin-left: auto; }
    .masthead-inner { grid-template-columns: 1fr; }
    .masthead-copy { min-height: 420px; }
    .masthead-media { min-height: 420px; }
    .program-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .events-grid { grid-template-columns: 1fr 1fr; }
    .event-card:first-child { grid-column: 1/3; }
    .event-card:first-child img { height: 240px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .photo-rail { grid-template-columns: repeat(2, 1fr); }
    .page-cover { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
    :root { --page-pad: 18px; }
    .logo-title { font-size: 16px; }
    .logo-kicker { font-size: 8px; }
    .nav-cta { display: none; }
    .masthead { padding-top: 15px; }
    .masthead-copy { padding: 34px 27px; min-height: 400px; }
    .masthead-media { min-height: 360px; }
    .masthead-foot { margin-top: 28px; }
    .announcement { align-items: flex-start; flex-direction: column; gap: 3px; }
    .section { padding-block: 62px; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat { border-bottom: 1px solid var(--stroke); padding: 20px 15px; }
    .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
    .program-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
    .program-card { min-height: 280px; }
    .program-card .card-copy { left: 14px; right: 10px; bottom: 15px; }
    .program-card h3 { font-size: 19px; }
    .program-card .num { left: 12px; top: 12px; }
    .editorial-split, .editorial-split.reverse { grid-template-columns: 1fr; }
    .editorial-photo, .editorial-split.reverse .editorial-photo { order: 0; min-height: 280px; }
    .editorial-text, .editorial-split.reverse .editorial-text { padding: 37px 23px; }
    .events-grid { grid-template-columns: 1fr; }
    .event-card:first-child { grid-column: auto; }
    .photo-rail img { height: 185px; }
    .info-bar { flex-direction: column; align-items: flex-start; }
    .page-cover { grid-template-columns: 1fr; }
    .page-cover-copy { padding-block: 50px; }
    .page-cover-photo { min-height: 290px; }
    .columns-2, .columns-3, .sport-row, .contact-grid, .steps { grid-template-columns: 1fr; }
    .sport-row:nth-child(even) .sport-row-image { order: 0; }
    .sport-row-image { min-height: 290px; }
    .sport-row-content { padding: 28px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 7px; }
    .gallery-tile img { aspect-ratio: 1 / 1; }
    .gallery-tile span { font-size: 9px; left: 6px; right: 6px; bottom: 6px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 26px; }
    .footer-top > div:first-child { grid-column: 1/3; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .gallery-modal { padding: 75px 12px; }
    .gallery-modal button { padding: 7px 11px; }
    .gallery-modal .modal-prev { left: 8px; }
    .gallery-modal .modal-next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}




/* ===== Motyw paf ===== */

/* =====================================================================
   AS BILCZA · CIEMNY MOTYW INSPIROWANY UKŁADEM PAF PIŃCZÓW
   ---------------------------------------------------------------
   Własny styl AS Bilcza: fotografie klubu, granat, czerń, biel.
   Ta warstwa ma pierwszeństwo nad css/style.css. Zmieniaj tutaj
   kolory, tła, wygląd menu, przycisków i sekcji w Notepad++.
   ===================================================================== */

/* 01 — Paleta i podstawy */
:root {
    --navy: #182f57;
    --navy-2: #345486;
    --navy-deep: #080d16;
    --white: #f5f8fd;
    --paper: #0a101b;
    --surface: #111d30;
    --ink: #f1f5fb;
    --muted: #a9b8ca;
    --stroke: #273752;
    --success: #6fc7a2;
    --danger: #ff8c90;
    --radius: 13px;
    --page-pad: clamp(18px, 3.1vw, 62px);
    --header-height: 78px;
    --shadow: 0 22px 60px rgba(0, 0, 0, .32);
    --club-bg: #080d16;
    --club-card: #121d2c;
    --club-accent: #d9e6fa;
}

html { scroll-padding-top: calc(var(--header-height) + 22px); }
body {
    background: var(--club-bg);
    color: var(--ink);
    font-family: "Segoe UI", Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;
}
::selection { background: #cadbf4; color: #06101f; }
a:hover { color: #fff; }
main { background: var(--club-bg); }
img { color: var(--muted); }
h1, h2, h3, h4 { color: var(--ink); }
h1 { font-size: clamp(35px, 4.1vw, 63px); font-weight: 760; line-height: 1.09; }
h2 { font-size: clamp(25px, 2.65vw, 40px); font-weight: 750; line-height: 1.2; }
h3 { font-size: clamp(19px, 1.65vw, 25px); }
p { color: var(--muted); }
.lead { color: #b4c1d5; font-size: clamp(14px, 1.06vw, 16px); }
.kicker { color: #b9cbea; font-size: 10px; letter-spacing: 2px; }
.kicker.is-light { color: #b9cbea; }
.section { padding-block: clamp(54px, 6.4vw, 96px); }
.section.paper { background: #0c1422; }
.section:not(.paper) { background: #080d16; }
.section.navy, .navy { background: linear-gradient(110deg, #142b50, #0c1b32); color: #fff; }
.navy-deep { background: #080d16; }
.rule, .eyeline { background: var(--stroke); }
.section-header { margin-bottom: 32px; }
.section-header h2 { max-width: 800px; }

/* 02 — Nieruchomy header, podobny sportowy charakter jak w PAF */
.site-header {
    height: var(--header-height);
    background: rgba(7, 13, 24, .96);
    border-bottom: 1px solid rgba(188, 210, 242, .16);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .24);
    -webkit-backdrop-filter: blur(17px);
    backdrop-filter: blur(17px);
}
.navbar { gap: clamp(18px, 2vw, 34px); }
.logo { color: #fff !important; gap: 12px; }
.logo img { width: 47px; height: 47px; filter: drop-shadow(0 1px 6px rgba(255,255,255,.12)); }
.logo-title { color: #fff; font-size: 17px; font-weight: 850; letter-spacing: .2px; }
.logo-kicker { color: #93a6c1; font-size: 9px; }
.nav-links { gap: clamp(9px, 1.15vw, 21px); }
.nav-links a { color: #b9c6d8; font-size: 11px; font-weight: 740; text-transform: uppercase; letter-spacing: .35px; }
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after { background: #e5edfc; }
.nav-user { color: #e3ebf9; font-size: 11px; }
.nav-user:hover { color: white; }
.nav-cta { border: 1px solid #dbe7fc; border-radius: 5px; background: #e3ecfb; color: #0c182b !important; font-weight: 850; }
.nav-cta:hover { background: #fff; color: #071324 !important; }
.menu-button { border: 1px solid #405571; background: #14233b; color: white; }

/* 03 — Hero fotograficzny PAF-style, lecz oryginalne zdjęcia AS Bilcza */
.club-hero {
    position: relative;
    min-height: min(735px, 87svh);
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    background: #0d192b;
}
.club-hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    z-index: -3;
}
.club-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(0deg, #080d16 0%, rgba(8,13,22,.05) 35%, rgba(8,13,22,.2) 100%),
        linear-gradient(100deg, rgba(6,11,21,.98) 0%, rgba(8,15,28,.91) 31%, rgba(10,20,38,.53) 59%, rgba(10,18,32,.18) 100%);
}
.club-hero::after {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 32%;
    z-index: -1;
    opacity: .23;
    background: linear-gradient(120deg, transparent 30%, #1d4379 70%, #061427);
    clip-path: polygon(42% 0, 100% 0, 100% 100%, 0 100%);
}
.club-hero-content {
    position: relative;
    width: min(920px, 100%);
    padding: clamp(62px, 9.3vw, 120px) var(--page-pad) clamp(58px, 8vw, 115px);
}
.club-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #cfdef4;
    font-size: 11px;
    font-weight: 790;
    letter-spacing: 2.2px;
    margin: 0 0 23px;
}
.eyebrow-bar { width: 31px; height: 2px; background: #e4edff; }
.club-hero h1 {
    color: white;
    font-size: clamp(42px, 5.8vw, 88px);
    line-height: 1.07;
    letter-spacing: -.055em;
    margin-bottom: 22px;
    max-width: 800px;
    font-weight: 820;
}
.club-hero h1 span { color: #c0d8fc; }
.club-hero-lead { color: #d3dfef; font-size: clamp(14px, 1.19vw, 17px); line-height: 1.75; max-width: 580px; margin-bottom: 23px; }
.club-hero-actions { display: flex; gap: 11px; align-items: center; flex-wrap: wrap; }
.btn { border-radius: 5px; letter-spacing: .15px; }
.club-btn-primary, .btn {
    color: #071324 !important;
    background: #e5edfb;
    border-color: #e5edfb;
}
.club-btn-primary:hover, .btn:hover { background: white; color: #081525 !important; border-color: white; }
.btn.line, .club-btn-ghost {
    color: #F1F0F9 !important;
    border-color: #7689a4;
    background: rgba(12, 23, 42, .48);
}
.btn.line:hover, .club-btn-ghost:hover { background: rgba(37, 64, 105, .7); color: white !important; }
.btn.light { color: #081525 !important; background: #eff5ff; border-color: #eff5ff; }
.btn.light-line { color: white !important; }
.link-arrow { color: #d0e1ff; }
.link-arrow:hover { color: #fff; }
.club-hero-line {
    margin-top: 56px;
    display: flex;
    gap: 23px;
    align-items: center;
    flex-wrap: wrap;
    color: #b8c9e3;
    font-size: 10px;
    font-weight: 720;
    letter-spacing: 1.2px;
}
.club-hero-line span:first-child { border: 1px solid rgba(201,220,249,.42); padding: 8px 12px; }
.club-hero-side { position: absolute; bottom: 43px; right: var(--page-pad); opacity: .65; }
.club-hero-side img { width: 76px; height: 76px; object-fit: contain; }
.club-traits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    padding: 1px var(--page-pad);
    background: #243c62;
}
.club-trait {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 23px clamp(14px, 2.3vw, 37px);
    background: #112036;
}
.club-trait-icon { color: #96b6e0; font-size: 19px; flex-shrink: 0; }
.club-trait strong { color: white; font-size: 28px; line-height: 1.1; font-weight: 850; letter-spacing: -.04em; }
.club-trait > span:last-child { width: 100%; color: #bdcbe1; font-size: 11px; font-weight: 650; }

/* 04 — Sekcje, karty i zdjęcia o klubowym charakterze */
.program-grid { gap: 15px; }
.program-card {
    min-height: 390px;
    border-radius: 9px;
    border: 1px solid #334b6b;
    box-shadow: 0 18px 40px rgba(0,0,0,.16);
}
.program-card > img { filter: brightness(.77) saturate(.85); }
.program-card::after { background: linear-gradient(180deg, transparent 18%, rgba(5, 11, 20, .24) 43%, rgba(5,11,20,.96) 100%); }
.program-card .num { background: #f0f5fd; color: #122443; font-size: 10px; }
.program-card h3 { color: white; font-size: 23px; }
.program-card p { color: #cfdaeb; }
.program-card .card-end { color: #fff; }
.editorial-split.navy {
    background: linear-gradient(120deg, #192f54, #0b182a 85%);
}
.editorial-text { color: #fff; }
.editorial-text p { color: #c4d1e4; }
.editorial-photo img { filter: saturate(.9); }
.event-card, .profile-card, .step, .contact-detail, .form-card {
    background: var(--club-card);
    color: var(--ink);
    border: 1px solid var(--stroke);
    box-shadow: none;
}
.event-card { border-radius: 9px; }
.event-card img { filter: saturate(.86); }
.event-card h3, .event-body h3, .profile-card h3 { color: white; }
.event-card p, .profile-card p, .step p { color: #b4c0d1; }
.event-card .link-arrow { color: #d8e7ff; }
.photo-rail { gap: 10px; }
.photo-rail img { filter: saturate(.8); border-radius: 7px; }
.info-bar .lead { color: #bfcee2; }

/* 05 — Nagłówki podstron, programy i tabela treningów */
.page-cover, .page-cover.is-dark {
    background: linear-gradient(115deg, #14233a, #0b1423);
    color: white;
    min-height: 390px;
}
.page-cover-copy { position: relative; }
.page-cover-copy::before {
    content: "";
    position: absolute;
    top: 38px;
    left: var(--page-pad);
    width: 34px;
    height: 2px;
    background: #b9cee9;
}
.page-cover-copy h1 { color: #fff; font-size: clamp(34px, 4vw, 58px); }
.page-cover-copy > p:last-child,
.page-cover.is-dark .page-cover-copy > p:last-child { color: #b9c7dc; }
.page-cover-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #122039 0%, transparent 35%); pointer-events: none; }
.page-cover-stamp { background: rgba(9,19,35,.88); color: #ecf5ff; border: 1px solid #567297; }
.breadcrumb, .page-cover.is-dark .breadcrumb { color: #9eb4d1; }
.profile-card .index { color: #a9c4e8; }
.list-line li { border-color: var(--stroke); }
.list-line li strong { color: #e5effe; }
.sport-row { background: #121d2d; border-color: #2a3c56; }
.sport-row-content p { color: #bbc8da; }
.pill-list span { border: 1px solid #496080; color: #E4E2F6; background: #192940; }
.schedule th { background: #1a2b43; color: #c5d4e8; border-bottom: 1px solid #344b69; }
.schedule td { background: #111d2d; color: #e0e9f6; border-color: #2b3c53; }
.schedule tr:hover td { background: #1b2c42; }
.table-wrap { border-color: #2e425d; }
.filter-btn { background: #122137; color: #dce8f9; border-color: #354b67; }
.filter-btn:hover, .filter-btn.active { background: #e5edfb; color: #0d1c31; border-color: #e5edfb; }
.gallery-tile { background: #17243a; border-radius: 8px; }
.gallery-tile span { background: rgba(6,11,20,.84); }
.step { border-top-color: #85a4d0; }
.step strong { color: #b2cbeb; }
details { border-color: #334762; }
summary { color: #eaf0fc; }
summary::after { color: #cfdef4; }
details p { color: #bac8dc; }
.contact-detail a { color: #dce8fa; }

/* 06 — Formularze publicznej strony */
input, select, textarea {
    background: #0b1524;
    border: 1px solid #425674;
    color: #f0f5fc;
}
input::placeholder, textarea::placeholder { color: #92a5bf; }
input:focus, textarea:focus, select:focus { border-color: #cbdcf3; }
.form-help { color: #aebdd1; }
.mini-label { color: #afbed2; }

/* 07 — Stopka i zachowanie przy przewijaniu */
.site-footer { background: #060a12; border-top: 1px solid #273c59; }
.footer-col h4 { color: #b6cbea; }
.footer-col a, .footer-col p { color: #c3d0e1; }
.footer-bottom { border-color: #2b3c52; }
.footer-bottom a { color: #d5e5fa; }

/* 08 — Tablet i telefon */
@media (max-width: 1150px) {
    .nav-links { gap: 10px; }
    .nav-links a { font-size: 10px; }
}
@media (max-width: 980px) {
    .nav-links {
        background: rgba(7, 13, 24, .99);
        border-top-color: #304565;
        box-shadow: 0 25px 40px rgba(0, 0, 0, .45);
    }
    .nav-links a { font-size: 14px; color: #d3dfed; }
    .club-hero { min-height: 630px; }
    .club-hero-content { width: min(780px, 100%); }
    .club-traits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .club-hero { min-height: 650px; align-items: start; }
    .club-hero-photo { object-position: 55% center; }
    .club-hero-shade {
        background: linear-gradient(0deg, #080d16 0%, rgba(8,13,22,.29) 40%, rgba(8,13,22,.75) 85%),
                    linear-gradient(92deg, rgba(8,13,22,.93) 0%, rgba(8,13,22,.7) 68%, rgba(8,13,22,.45) 100%);
    }
    .club-hero-content { padding-top: 72px; padding-bottom: 55px; }
    .club-hero h1 { font-size: clamp(37px, 9.5vw, 55px); }
    .club-hero-lead { max-width: 500px; }
    .club-hero-line { margin-top: 42px; gap: 10px; }
    .club-hero-line span:last-child { font-size: 9px; }
    .club-hero-side { display: none; }
    .club-trait { padding: 16px 14px; }
    .club-trait strong { font-size: 24px; }
    .club-trait > span:last-child { font-size: 10px; }
    .program-card { min-height: 270px; }
    .page-cover-copy::before { top: 18px; }
    .page-cover-photo::after { background: linear-gradient(0deg, #101e33 0%, transparent 35%); }
}
@media (prefers-reduced-motion: reduce) {
    .program-card img, .nav-cta, .btn { transition: none !important; }
}




/* ===== Dopracowanie 2026 ===== */

/* ============================================================================
   AS BILCZA | DELIKATNE DOPRACOWANIE DESIGN 2026
   ---------------------------------------------------------------------------
   Trzecia, ostatnia warstwa styli. Czytelna do edycji w Notepad++.
   Zachowuje dotychczasowy ciemny, sportowy układ inspirowany PAF Pińczów.
   Wcześniejsze pliki: css/style.css, css/motyw-paf.css.
   Kolory: grafit, granat, biel, delikatne stalowe obramowania.
   ============================================================================ */

/* 01. Wspólne reguły: większa lekkość i spójna paleta */
:root {
    --club-bg: #090e18;
    --club-card: #131f30;
    --stroke: #2b3c55;
    --page-pad: clamp(16px, 3vw, 56px);
    --radius: 14px;
    --club-soft-white: #eaf2fc;
    --club-silver: #a7bdd9;
}
body { background: var(--club-bg); letter-spacing: .002em; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
h2 { font-size: clamp(24px, 2.45vw, 37px); font-weight: 720; letter-spacing: -.035em; }
h3 { font-weight: 730; letter-spacing: -.02em; }
.section { padding-block: clamp(55px, 6vw, 88px); }
.section-header { margin-bottom: 29px; }
.section-header h2 { max-width: 850px; }
.kicker { font-size: 10px; font-weight: 760; letter-spacing: 1.75px; }
.lead { line-height: 1.75; }

/* 02. Header: lekkie szkło, wyraźna aktywna pozycja, bez zmian położenia */
.site-header {
    background: rgba(7, 12, 22, .95);
    border-bottom: 1px solid rgba(202, 220, 245, .12);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .17);
    backdrop-filter: blur(22px) saturate(135%);
    -webkit-backdrop-filter: blur(22px) saturate(135%);
}
.navbar { gap: clamp(12px, 1.6vw, 26px); }
.logo { gap: 11px; }
.logo img { transition: transform .28s ease, filter .28s ease; }
.logo:hover img { transform: scale(1.04); filter: drop-shadow(0 0 10px rgba(164, 198, 251, .3)); }
.logo-title { font-weight: 820; letter-spacing: -.25px; }
.logo-kicker { color: #a7b9ce; letter-spacing: 1.15px; }
.nav-links { gap: clamp(8px, 1vw, 17px); }
.nav-links a {
    font-weight: 690;
    font-size: 11px;
    letter-spacing: .25px;
    padding-block: 11px;
    transition: color .2s ease;
}
.nav-links a[aria-current="page"]::after {
    height: 2px;
    border-radius: 4px;
    background: #e9f2ff;
    box-shadow: 0 0 12px rgba(184, 211, 250, .28);
}
.nav-user { padding: 10px 0; transition: color .2s ease; }
.nav-cta {
    border-radius: 11px;
    padding: 11px 17px;
    background: #e8f0ff;
    border-color: #e8f0ff;
    box-shadow: 0 5px 22px rgba(201, 223, 255, .10);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 9px 26px rgba(201, 223, 255, .20); }
.menu-button { border-radius: 11px; }

/* 03. Fotograficzny baner: ten sam kadr, bardziej dopracowana typografia */
.club-hero { min-height: min(700px, 83svh); }
.club-hero-shade {
    background:
        linear-gradient(0deg, #090e18 0%, rgba(9, 14, 24, .08) 38%, rgba(9, 14, 24, .18) 100%),
        linear-gradient(100deg, rgba(6, 12, 23, .96) 0%, rgba(8, 17, 32, .87) 32%, rgba(10, 20, 38, .46) 62%, rgba(10, 19, 34, .16) 100%);
}
.club-hero-content { width: min(870px, 100%); }
.club-hero-eyebrow { font-size: 10px; letter-spacing: 1.9px; margin-bottom: 23px; }
.eyebrow-bar { width: 27px; border-radius: 3px; }
.club-hero h1 {
    font-size: clamp(41px, 5.25vw, 76px);
    font-weight: 770;
    line-height: 1.11;
    letter-spacing: -.047em;
    margin-bottom: 22px;
    max-width: 730px;
}
.club-hero h1 span { color: #bfd3f2; }
.club-hero-lead { max-width: 565px; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.8; }
.club-hero-line { margin-top: 45px; opacity: .94; }
.club-hero-line span:first-child { border-radius: 8px; background: rgba(10, 23, 41, .30); }
.club-hero-side { opacity: .58; }
.club-hero-side img { filter: drop-shadow(0 6px 14px rgba(0,0,0,.3)); }

/* 04. Przyciski i linki: miękkie krawędzie, oszczędne efekty */
.btn, .club-btn-primary, .club-btn-ghost {
    border-radius: 10px;
    min-height: 44px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.club-btn-primary, .btn:not(.line):not(.light-line):not(.club-btn-ghost) {
    box-shadow: 0 6px 20px rgba(227, 237, 253, .07);
}
.btn:hover, .club-btn-primary:hover, .club-btn-ghost:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .2);
}
.btn:active, .nav-cta:active { transform: translateY(0); }
.link-arrow { text-decoration-thickness: 1px; text-underline-offset: 6px; }
.link-arrow:hover { color: #fff; }

/* 05. Liczby, sekcje sportowe, aktualności */
.club-traits { background: #243651; }
.club-trait {
    background: #111e30;
    padding-block: 26px;
    transition: background .22s ease;
}
.club-trait:hover { background: #182b45; }
.club-trait strong { font-size: clamp(24px, 2vw, 31px); font-weight: 790; }
.club-trait-icon { color: #a8c4ea; }
.program-grid, .events-grid { gap: clamp(12px, 1.4vw, 20px); }
.program-card {
    border-radius: 15px;
    min-height: 375px;
    border: 1px solid rgba(155, 184, 222, .23);
    box-shadow: 0 13px 32px rgba(0,0,0,.13);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.program-card:hover {
    border-color: rgba(201, 221, 249, .55);
    box-shadow: 0 21px 45px rgba(0,0,0,.27);
    transform: translateY(-4px);
}
.program-card > img { filter: brightness(.81) saturate(.92); transition: transform .6s ease, filter .4s ease; }
.program-card:hover > img { filter: brightness(.91) saturate(1); transform: scale(1.045); }
.program-card .num { border-radius: 8px; }
.program-card h3 { font-size: clamp(19px, 1.7vw, 22px); }
.program-card .card-end { border-bottom-color: rgba(255,255,255,.54); }
.editorial-photo img { transition: transform .75s ease; }
.editorial-split:hover .editorial-photo img { transform: scale(1.025); }
.event-card, .profile-card, .step, .contact-detail, .form-card {
    border: 1px solid rgba(166, 190, 224, .2);
    border-radius: 15px;
}
.event-card {
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.event-card:hover { transform: translateY(-3px); border-color: rgba(183,211,247,.45); box-shadow: 0 17px 32px rgba(0,0,0,.20); }
.event-card img { transition: transform .5s ease, filter .5s ease; }
.event-card:hover img { transform: scale(1.035); filter: saturate(1); }
.event-card h3 { font-size: 20px; }
.photo-rail { gap: 12px; }
.photo-rail img { border-radius: 11px; filter: saturate(.95); transition: filter .25s ease; }
.photo-rail img:hover { filter: saturate(1.12); }

/* 06. Podstrony, galerie i formularze */
.page-cover, .page-cover.is-dark { min-height: 375px; }
.page-cover-copy h1 { font-size: clamp(32px, 3.65vw, 54px); font-weight: 750; }
.page-cover-stamp { border-radius: 10px; }
.profile-card { transition: border-color .22s ease, transform .22s ease; }
.profile-card:hover { border-color: #4c6385; transform: translateY(-2px); }
.sport-row { border-radius: 16px; transition: border-color .25s ease; }
.sport-row:hover { border-color: #4b6383; }
.pill-list span { border-radius: 100px; }
.filter-btn { border-radius: 100px; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.gallery-tile { border-radius: 13px; }
.gallery-tile img { transition: transform .4s ease; }
.gallery-tile:hover img { transform: scale(1.035); }
.gallery-tile span { border-radius: 7px; }
input, select, textarea { border-radius: 9px; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #b2cef3;
    outline-offset: 2px;
}
.table-wrap { border-radius: 12px; overflow: auto; }

/* 07. Stopka oraz dyskretny przycisk przewijania na górę */
.site-footer { background: #060b13; }
.footer-col a { transition: color .2s ease; }
.footer-brand img { filter: drop-shadow(0 4px 8px rgba(0,0,0,.16)); }
.back-to-top {
    position: fixed;
    z-index: 90;
    right: 19px;
    bottom: 19px;
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    border: 1px solid rgba(194, 216, 247, .33);
    background: rgba(24, 43, 71, .91);
    color: #fff;
    box-shadow: 0 12px 32px rgba(0,0,0,.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(9px);
    transition: opacity .2s ease, transform .2s ease, background .2s ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: #324f76; }
.back-to-top svg { width: 18px; height: 18px; }

/* 08. Telefon i dostępność */
@media (max-width: 980px) {
    .nav-links {
        background: rgba(8, 15, 27, .985);
        border-bottom: 1px solid #2b3c56;
        padding-block: 12px 19px;
    }
    .nav-links a { padding: 11px 4px; font-size: 13px; font-weight: 700; }
    .club-hero { min-height: 645px; }
}
@media (max-width: 700px) {
    .club-hero { min-height: 640px; }
    .club-hero-content { padding-top: 62px; padding-bottom: 45px; }
    .club-hero h1 { font-size: clamp(36px, 9vw, 51px); letter-spacing: -.045em; }
    .club-hero-lead { font-size: 14px; line-height: 1.75; }
    .club-hero-line { margin-top: 34px; }
    .club-trait { padding: 17px 12px; }
    .program-card { min-height: 270px; }
    .program-card h3 { font-size: 18px; }
    .event-card h3 { font-size: 19px; }
    .page-cover, .page-cover.is-dark { min-height: 0; }
    .back-to-top { width: 41px; height: 41px; right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .program-card, .program-card img, .event-card, .event-card img,
    .profile-card, .sport-row, .editorial-photo img, .nav-cta,
    .back-to-top, .photo-rail img, .btn { transition: none !important; }
    .back-to-top { transform: none; }
}




/* Dostępność: szybkie przejście klawiaturą do treści strony. */
a.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    z-index: 999;
}
a.skip-link:focus { left: 10px; }
