/* ==========================================================================
   Klub Kajakowy Jezioro Tarnobrzeg — style strony publicznej
   ========================================================================== */

:root {
  --navy: #0c2744;
  --navy-l: #183d66;
  --sky: #2ea8d8;
  --sky-l: #b8dff2;
  --gold: #f0a417;
  --sand: #f2e8d3;
  --sand-l: #faf5eb;
  --bg: #f6fafe;
  --text2: #4a6a8a;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(12, 39, 68, .08);
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--navy); line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; line-height: 1.05; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 24px; }
.section--tight { padding: 48px 24px; }
.section--navy { background: var(--navy); color: var(--white); }
.section--sand { background: linear-gradient(135deg, #e4f3fb 0%, #edf6fd 40%, #f5edd8 100%); }
.eyebrow { font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--sky); margin-bottom: 10px; }
.section-title { font-size: clamp(30px, 4.5vw, 52px); margin-bottom: 18px; }
.section-lead { color: var(--text2); font-size: 17px; max-width: 640px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border-radius: 8px; font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: .05em; text-transform: uppercase; border: 2px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--sky { background: var(--sky); color: var(--white); }
.btn--sky:hover { background: #1d8ab8; }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-l); }
.btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: rgba(12, 39, 68, .06); }
.btn--outline-white { background: transparent; border-color: rgba(255,255,255,.6); color: var(--white); }
.btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Nav ─────────────────────────────────────────────────── */
.site-nav { position: sticky; top: 0; z-index: 500; background: var(--white); box-shadow: 0 1px 0 rgba(12,39,68,.08); }
.site-nav__inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 24px; }
.site-nav__logo img { height: 42px; width: auto; }
.site-nav__links { display: flex; gap: 20px; flex: 1; justify-content: center; }
.site-nav__links a { font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--navy); position: relative; padding: 6px 0; }
.site-nav__links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--sky); transition: width .2s ease; }
.site-nav__links a:hover::after { width: 100%; }
.site-nav__actions { display: flex; align-items: center; gap: 14px; }
.site-nav__cta { padding: 10px 22px; font-size: 14px; }
.site-nav__burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; background: none; border: none; }
.site-nav__burger span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }

.mobile-menu { position: fixed; inset: 0; z-index: 999; background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 32px 24px; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font-family: var(--font-display); font-size: 26px; font-weight: 800; text-transform: uppercase; color: var(--navy); padding: 12px 0; width: 100%; max-width: 320px; text-align: center; border-bottom: 1px solid rgba(12,39,68,.1); }
.mobile-menu .btn { margin-top: 24px; border-bottom: none; }
.mobile-menu__close { position: absolute; top: 18px; right: 20px; background: none; border: none; font-size: 34px; color: var(--navy); line-height: 1; }

.mobile-sticky-cta { display: none; }
.mobile-sticky-cta__call { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--navy); }
.mobile-sticky-cta__join { flex: 1.5; display: flex; align-items: center; justify-content: center; background: var(--sky); }
@media (max-width: 900px) {
  .site-nav__links, .site-nav__cta { display: none; }
  .site-nav__burger { display: flex; }
  .mobile-sticky-cta {
    display: flex; align-items: stretch; position: fixed; bottom: 0; left: 0; right: 0; z-index: 400;
    color: #fff; font-family: var(--font-display); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; font-size: 15px;
    box-shadow: 0 -4px 18px rgba(0,0,0,.15);
  }
  .mobile-sticky-cta a { padding: 14px 12px; }
  body { padding-bottom: 56px; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--navy); }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: center 68%; }
.hero__overlay { position: absolute; inset: 0; background: rgba(14,23,35,.8); }
.hero__content { position: relative; z-index: 2; text-align: center; padding: 100px 24px 120px; max-width: 860px; margin: 0 auto; }
.hero__eyebrow { font-family: var(--font-display); font-size: clamp(39px,6vw,45px); font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--sky); margin-bottom: 14px; }
.hero__title { font-size: clamp(46px,8vw,92px); color: #fff; line-height: .95; margin-bottom: 24px; }
.hero__subtitle { font-size: clamp(16px,2.2vw,20px); color: rgba(255,255,255,.85); font-weight: 400; max-width: 560px; margin: 0 auto 40px; text-transform: none; }

/* ── Nagłówek podstrony (zdjęcie jeśli jest, niebieskie tło jeśli nie) ── */
.page-hero { position: relative; padding: 72px 24px; overflow: hidden; background-size: cover; background-position: center; }
.page-hero--fallback { background: #0c2744; }
.page-hero__overlay { position: absolute; inset: 0; background: rgba(14,23,35,.8); }
.page-hero__content { position: relative; z-index: 2; }
.page-hero__subtitle { color: rgba(255,255,255,.88); max-width: 640px; margin-top: 10px; font-size: 16px; }

/* ── Stats bar ───────────────────────────────────────────── */
.stats-bar { background: var(--navy); }
.stats-bar__grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); }
.stats-bar__item { text-align: center; padding: 32px 20px; border-right: 1px solid rgba(255,255,255,.1); }
.stats-bar__item:last-child { border-right: none; }
.stats-bar__num { font-family: var(--font-display); font-size: clamp(30px,4vw,48px); font-weight: 900; line-height: 1; }
.stats-bar__num--sky { color: var(--sky); }
.stats-bar__num--gold { color: var(--gold); }
.stats-bar__label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; }

/* ── Cards / grids ───────────────────────────────────────── */
.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(12,39,68,.14); }
.card__icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; background: rgba(46,168,216,.12); color: var(--sky); }
.card__icon--gold { background: rgba(240,164,23,.12); color: var(--gold); }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--text2); font-size: 14.5px; }

.checklist { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.checklist li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; font-weight: 500; }
.checklist li::before { content: '✓'; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--sky); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; margin-top: 1px; }

/* Zdjęcie w sekcji Nabór - dopasowuje się do naturalnych proporcji wgranego
   zdjęcia zamiast wymuszać stały, przycięty kadr. */
.nabor-photo { border-radius: var(--radius); overflow: hidden; }
.nabor-photo img { width: 100%; height: auto; display: block; }

/* ── Wave dividers ───────────────────────────────────────── */
.wave-divider { line-height: 0; }
.wave-divider svg { display: block; width: 100%; height: 60px; }
.wave-divider--flip { transform: scaleY(-1); }

@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(9px); } }
@keyframes waveFlow { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hero__scroll { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); animation: bounce 2.2s ease-in-out infinite; color: rgba(255,255,255,.45); z-index: 10; }
.hero__wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 5; line-height: 0; overflow: hidden; height: 72px; }
.hero__wave svg { display: block; width: 200%; height: 72px; position: absolute; left: 0; bottom: 0; animation: waveFlow linear infinite; }
.hero__wave svg.hero__wave--slow { animation-duration: 14s; opacity: .55; }
.hero__wave svg.hero__wave--fast { animation-duration: 8s; }

/* ── Steps ───────────────────────────────────────────────── */
.steps { display: flex; gap: 28px; margin: 40px 0; }
.step { flex: 1; text-align: center; }
.step__num { width: 52px; height: 52px; border-radius: 50%; background: var(--sky); color: #fff; font-family: var(--font-display); font-weight: 900; font-size: 22px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text2); font-size: 14.5px; }

/* ── Article / news list ─────────────────────────────────── */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 32px; }
.article-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.article-card__img { aspect-ratio: 16/10; background: var(--sky-l); overflow: hidden; }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; }
.article-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card__meta { font-size: 12.5px; color: var(--text2); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.article-card h3 { font-size: 19px; text-transform: none; letter-spacing: 0; }
.article-card h3 a { color: var(--navy); }
.article-card p { color: var(--text2); font-size: 14px; flex: 1; }
.article-card .btn { align-self: flex-start; padding: 8px 0; background: none; color: var(--sky); font-size: 13px; }

.category-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 8px; }
.category-filters a { padding: 8px 16px; border-radius: 20px; border: 1px solid rgba(12,39,68,.15); font-size: 13.5px; font-weight: 600; }
.category-filters a.active, .category-filters a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.pagination { display: flex; gap: 10px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 8px; border: 1px solid rgba(12,39,68,.15); font-weight: 600; }
.pagination .current { background: var(--navy); color: #fff; }

/* Article detail */
.article-detail { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.article-detail__meta { color: var(--text2); font-size: 14px; margin-bottom: 16px; }
.article-detail__cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.article-detail__content { font-size: 17px; line-height: 1.8; }
.article-detail__content h2 { text-transform: none; font-size: 26px; margin: 32px 0 14px; }
.article-detail__content p { margin-bottom: 18px; }
.article-detail__content img { border-radius: 10px; margin: 20px 0; }
.article-detail__content ul, .article-detail__content ol { margin: 0 0 18px; padding-left: 14px; }
.article-detail__content ul li { position: relative; list-style: none; padding-left: 26px; margin-bottom: 10px; }
.article-detail__content ul li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); }
.article-detail__content ol { padding-left: 22px; }
.article-detail__content ol li { margin-bottom: 10px; padding-left: 4px; }

/* Hiperłącza w tekście (nie nawigacja/przyciski) - ten sam kolor co link w stopce */
.article-detail__content a,
.contact-info__item a,
.section-lead a,
.faq-a a,
.form-hint a,
.section p a {
  color: var(--sky);
  font-weight: 600;
}
.article-detail__content a:hover,
.contact-info__item a:hover,
.section-lead a:hover,
.faq-a a:hover,
.form-hint a:hover,
.section p a:hover {
  text-decoration: underline;
}
.article-detail__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
.article-detail__gallery a { display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; cursor: zoom-in; }
.article-detail__gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; transition: transform .3s ease; }
.article-detail__gallery a:hover img { transform: scale(1.05); }
@media (max-width: 640px) {
  .article-detail__gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ── Gallery ──────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
.gallery-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.gallery-card__img { aspect-ratio: 4/3; overflow: hidden; background: var(--sky-l); }
.gallery-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-card:hover .gallery-card__img img { transform: scale(1.05); }
.gallery-card__body { padding: 14px 18px; }
.gallery-card h3 { text-transform: none; font-size: 16px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.photo-grid a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 8px; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.photo-grid a:hover img { transform: scale(1.06); }
.lightbox { position: fixed; inset: 0; background: rgba(8,18,34,.92); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: calc(100vw - 48px); max-height: 88vh; border-radius: 8px; }
.lightbox__close { position: absolute; top: 20px; right: 26px; background: none; border: none; color: #fff; font-size: 38px; z-index: 2; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); border: none; color: #fff; font-size: 22px; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 2; transition: background .15s ease; }
.lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,.22); }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
@media (max-width: 640px) {
  .lightbox__prev, .lightbox__next { width: 42px; height: 42px; font-size: 18px; }
  .lightbox__prev { left: 6px; }
  .lightbox__next { right: 6px; }
}

/* ── Documents ────────────────────────────────────────────── */
.doc-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.doc-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border-radius: 10px; padding: 18px 22px; box-shadow: var(--shadow); }
.doc-item__name { font-weight: 700; }
.doc-item__desc { color: var(--text2); font-size: 13.5px; }

/* ── Successes ───────────────────────────────────────────── */
.success-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.success-card__result { font-family: var(--font-display); font-size: 22px; font-weight: 900; color: var(--gold); }
.success-card h3 { font-size: 17px; text-transform: none; }
.success-card__meta { color: var(--text2); font-size: 13px; }
.success-card__photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.success-card__photos a { display: block; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; }
.success-card__photos img { width: 100%; height: 100%; object-fit: cover; }

.success-card--home { background: var(--navy-l); box-shadow: 0 4px 28px rgba(0,0,0,.2); padding: 34px 28px; border-radius: 18px; gap: 10px; }
.success-card--home .success-card__icon { font-size: 42px; margin-bottom: 4px; }
.success-card--home h3 { font-size: 21px; text-transform: uppercase; font-family: var(--font-display); font-weight: 800; }
.success-card--home .success-card__desc { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.65; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid rgba(12,39,68,.1); }
.faq-q { cursor: pointer; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; background: none; border: none; width: 100%; text-align: left; font-size: 16px; color: var(--navy); }
.faq-a { padding: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--text2); display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q__icon { transform: rotate(45deg); }
.faq-q__icon { transition: transform .2s ease; font-size: 22px; }

/* ── Forms ───────────────────────────────────────────────── */
.form { display: grid; gap: 16px; max-width: 640px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea { padding: 12px 14px; border: 1px solid rgba(12,39,68,.2); border-radius: 8px; font-family: inherit; font-size: 15px; }
.field textarea { resize: vertical; min-height: 120px; }
.field-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.field-checkbox input { margin-top: 3px; }
.form-hint { font-size: 13px; color: var(--text2); }
.website-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-info__item { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.contact-info__icon { flex-shrink: 0; color: var(--sky); }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: #fff; color: var(--navy); border-top: 1px solid rgba(12,39,68,.08); }
.site-footer__inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 56px 24px; border-bottom: 1px solid rgba(12,39,68,.08); }
.site-footer__logo { margin-bottom: 16px; }
.site-footer h3 { font-size: 13px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 16px; color: rgba(12,39,68,.4); }
.site-footer p, .site-footer a { font-size: 14px; }
.site-footer p { margin-bottom: 8px; color: var(--text2); }
.site-footer__inner a { display: block; margin-bottom: 10px; color: var(--navy); }
.site-footer__inner a:hover { color: var(--sky); }
.site-footer__social a { display: flex; align-items: center; gap: 8px; }
.site-footer__bottom { max-width: 1140px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: rgba(12,39,68,.45); }
.site-footer__bottom-links { display: flex; gap: 20px; }
.site-footer__bottom-links a { color: rgba(12,39,68,.45); }
.site-footer__bottom-links a:hover { color: var(--navy); }
.site-footer__credit { margin-top: 4px; font-size: 12px; color: rgba(12,39,68,.4); }
.site-footer__credit a { color: #2ea8d8; font-weight: 600; }
.site-footer__credit a:hover { text-decoration: underline; }

/* ── Category pills (aktualności) ───────────────────────── */
.pill { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 11px; border-radius: 20px; }
.pill--sky { color: var(--sky); background: rgba(46,168,216,.1); }
.pill--gold { color: var(--gold); background: rgba(240,164,23,.1); }
.pill--navy { color: #fff; background: var(--navy); }

/* ── Sekcja "Jak zacząć" (kroki) ─────────────────────────── */
.steps-row { display: flex; align-items: flex-start; gap: 0; }
.step-sep { flex-shrink: 0; display: flex; align-items: center; margin-top: 36px; }
.step-sep__line { width: 60px; height: 2px; background: var(--sky-l); }
.step__num { width: 72px; height: 72px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-family: var(--font-display); font-size: 32px; font-weight: 900; }
.step__num--sky { background: var(--sky); }
.step__num--navy { background: var(--navy); }
.step__num--gold { background: var(--gold); }

/* ── Teaser galerii na stronie głównej ──────────────────── */
.gallery-teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-teaser-grid a:first-child { grid-column: 1 / 3; }
.gallery-teaser-grid a { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; }
.gallery-teaser-grid a:first-child { aspect-ratio: 16/9; }
.gallery-teaser-grid a:nth-child(2) { aspect-ratio: auto; align-self: stretch; }
.gallery-teaser-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-teaser-grid a:hover img { transform: scale(1.05); }
.social-btn-row { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.social-btn { display: flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 7px; font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.social-btn--facebook { background: var(--navy); }
.social-btn--youtube { background: #ff0000; }

/* ── Dokumenty - lista z ikoną (teaser publiczny) ────────── */
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { display: block; }

.doc-link-list { display: flex; flex-direction: column; gap: 10px; }
.doc-link { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--bg); border: 1.5px solid rgba(12,39,68,.1); border-radius: 10px; transition: border-color .18s, background .18s; }
.doc-link:hover { border-color: var(--sky); background: #e8f4fc; }
.doc-link__icon { width: 36px; height: 36px; background: rgba(46,168,216,.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--sky); }
.doc-link__body { flex: 1; }
.doc-link__name { font-size: 15px; font-weight: 600; color: var(--navy); }
.doc-link__hint { font-size: 12px; color: var(--text2); }

/* ── Sponsors ────────────────────────────────────────────── */
.sponsor-grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; justify-content: center; margin-top: 32px; }
.sponsor-item { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 220px; text-align: center; }
.sponsor-item img { height: 64px; width: auto; max-width: 220px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: all .2s ease; }
.sponsor-item a:hover img { filter: none; opacity: 1; }
.sponsor-item__name { font-size: 12.5px; font-weight: 600; color: var(--text2); }

/* ── 404 / error / thanks pages ─────────────────────────── */
.state-page { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; gap: 16px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .grid--4, .article-grid, .gallery-grid, .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .steps-row { flex-direction: column; align-items: stretch; gap: 28px; }
  .step-sep { display: none; }
}
@media (max-width: 640px) {
  .grid--3, .grid--2, .form-row { grid-template-columns: 1fr; }
  .grid--4, .article-grid, .gallery-grid, .photo-grid { grid-template-columns: 1fr; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__inner { grid-template-columns: 1fr; }
}
