/* ==========================================================================
   Szablon 4 „Działaj" – na podstawie logotypu DZIAŁAJ
   (niebieski gradient, pogrubiona kursywa, motyw drogi, trzy kropki)
   ========================================================================== */

:root {
    --blue: #0075f9;
    --blue-2: #32a5ff;
    --navy: #0c489c;
    --ink: #0b1d38;
    --ink-soft: #3d5270;
    --muted: #6b7d96;
    --sky: #eaf4ff;
    --sky-2: #d6eaff;
    --line: #dbe6f3;
    --paper: #f6faff;
    --red: #c00c48;
    --yellow: #f0b418;
    --gold: #d9b56a;
    --green: #129b5a;

    --grad: linear-gradient(115deg, var(--blue) 0%, #1590fd 55%, var(--blue-2) 100%);
    --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --r: 20px;
    --r-lg: 32px;
    --shadow: 0 1px 2px rgb(11 29 56 / 6%), 0 12px 32px -12px rgb(11 29 56 / 18%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 900; font-style: italic; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* trzy kropki ze znaku DZIAŁAJ */
.dots { display: inline-flex; align-items: flex-end; gap: 5px; height: 22px; vertical-align: middle; }
.dots i { display: block; border-radius: 50%; }
.dots i:nth-child(1) { width: 9px; height: 9px; background: var(--gold); }
.dots i:nth-child(2) { width: 11px; height: 11px; background: var(--yellow); margin-bottom: 5px; }
.dots i:nth-child(3) { width: 13px; height: 13px; background: var(--red); margin-bottom: 10px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }

/* ---------- przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: .7em 1.5em; border: 0; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 800; font-style: italic; font-size: 1.02rem; text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px -10px rgb(0 117 249 / 60%); transition: transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgb(0 117 249 / 70%); }
.btn:active { transform: none; }
.btn--white { background: #fff; color: var(--blue); box-shadow: 0 10px 24px -12px rgb(11 29 56 / 40%); }
.btn--outline { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.btn--outline:hover { box-shadow: inset 0 0 0 2px var(--blue), 0 10px 20px -12px rgb(0 117 249 / 50%); }
.btn--yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 24px -10px rgb(240 180 24 / 60%); }
.btn--sm { min-height: 40px; padding: .45em 1.1em; font-size: .9rem; }
.btn--block { width: 100%; }
.btn .ti { font-size: 1.2em; }

/* ---------- górne paski ---------- */
.userbar { background: var(--navy); color: #fff; font-size: .88rem; }
.userbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding-top: 7px; padding-bottom: 7px; }
.userbar a { color: #fff; font-weight: 700; }
.userbar__links { margin-left: auto; display: flex; gap: 16px; }
.userbar--coord { background: var(--ink); }

.header { position: sticky; top: 0; z-index: 40; background: rgb(255 255 255 / 92%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 16px; min-height: 62px; }
.header__logo img { height: 34px; width: auto; }
.header nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.header nav a:not(.btn) { padding: 8px 12px; border-radius: 999px; color: var(--ink-soft); font-weight: 700; text-decoration: none; }
.header nav a:not(.btn):hover { background: var(--sky); color: var(--blue); }
@media (max-width: 760px) { .header nav a:not(.btn) { display: none; } .header__logo img { height: 32px; } }

.flashes { display: grid; gap: 8px; margin-top: 16px; }
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 14px 18px; border-radius: 16px; background: var(--sky); font-weight: 700; }
.flash--red { background: #fde6ee; color: #8a0634; }
.flash .ti { font-size: 1.35rem; flex: none; }
.flash__close { margin-left: auto; background: none; border: 0; font-size: 1.4rem; line-height: 1; cursor: pointer; color: inherit; }

/* ---------- sekcje ---------- */
.section { padding: clamp(50px, 8vw, 96px) 0; }
.section--sky { background: var(--paper); }
.section__head { max-width: 760px; margin-bottom: clamp(26px, 4vw, 44px); }
.section h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin-top: 10px; }
.section h2 em { font-style: italic; color: var(--blue); }
.section__sub { color: var(--ink-soft); font-size: 1.1rem; margin-top: 14px; }

/* ---------- zbiórki ---------- */
.finder { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-bottom: 16px; }
.search { position: relative; flex: 1 1 280px; max-width: 460px; }
.search .ti { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 1.25rem; }
.search input { width: 100%; height: 54px; padding: 0 18px 0 50px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-weight: 600; }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--sky-2); }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; color: var(--ink-soft); user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__ui { position: relative; flex: none; width: 50px; height: 28px; border-radius: 99px; background: var(--sky-2); transition: background .2s; }
.switch__ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgb(0 0 0 / 20%); transition: transform .2s; }
.switch input:checked + .switch__ui { background: var(--blue); }
.switch input:checked + .switch__ui::after { transform: translateX(22px); }
.switch input:focus-visible + .switch__ui { outline: 3px solid var(--yellow); outline-offset: 2px; }
.places { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.place-btn { padding: 7px 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-weight: 700; color: var(--ink-soft); cursor: pointer; }
.place-btn:hover { border-color: var(--blue); color: var(--blue); }
.place-btn[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; padding: 24px 22px 22px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: var(--grad); }
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgb(11 29 56 / 6%), 0 20px 40px -14px rgb(11 29 56 / 25%); }
.card[hidden] { display: none; }
.card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.card__place { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.card h3 { font-size: 1.75rem; margin-bottom: 2px; }
.card__addr { color: var(--muted); font-size: .93rem; margin-bottom: 14px; }
.card__addr a { font-weight: 700; text-decoration: none; }
.card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--sky); color: var(--navy); font-size: .88rem; font-weight: 700; }
.chip .ti { font-size: 1.05rem; }
.fill { margin-top: auto; }
.fill__label { display: flex; justify-content: space-between; font-size: .88rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.fill__bar { height: 10px; border-radius: 99px; background: var(--sky-2); overflow: hidden; }
.fill__bar i { display: block; height: 100%; width: var(--p, 0%); background: var(--grad); border-radius: inherit; transition: width 1.2s ease; }
.fill__bar.is-full i { background: var(--green); }
.card .btn { margin-top: 18px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.badge--need { background: #fff4d6; color: #8a6200; }
.badge--hot { background: var(--red); color: #fff; }
.badge--full { background: #dcf5e8; color: #0b6b3d; }
.badge--you { background: var(--blue); color: #fff; }
.empty { padding: 40px 20px; text-align: center; border: 2px dashed var(--line); border-radius: var(--r); color: var(--muted); font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { border-radius: 16px; background: #fff; box-shadow: var(--shadow); padding: 0 22px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 0; cursor: pointer; font-weight: 800; font-style: italic; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sky); color: var(--blue); font-size: 1.4rem; font-style: normal; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq details p { color: var(--ink-soft); margin: 0 0 20px; }

/* baner z drogą */
.go { position: relative; overflow: hidden; border-radius: var(--r-lg); min-height: 380px; display: flex; align-items: center; color: #fff; }
.go img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.go::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgb(12 72 156 / 92%) 0%, rgb(0 117 249 / 75%) 50%, rgb(0 117 249 / 15%) 100%); }
.go__text { position: relative; z-index: 2; padding: clamp(28px, 5vw, 60px); max-width: 640px; }
.go h2 { font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase; margin: 12px 0 14px; }
.go p { font-size: 1.12rem; opacity: .95; }

/* stopka */
.footer { background: var(--ink); color: #b8c6da; padding: 50px 0 36px; margin-top: 30px; font-size: .95rem; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; }
@media (max-width: 760px) { .footer .wrap { grid-template-columns: 1fr; } }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand img.dk { width: 64px; height: auto; padding: 8px; border-radius: 16px; background: #fff; }
.footer__brand img.dzialaj { height: 34px; width: auto; filter: brightness(0) invert(1); }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: start; }
.footer a { color: #fff; font-weight: 700; text-decoration: none; }
.footer a:hover { color: var(--blue-2); }
.footer__note { grid-column: 1 / -1; border-top: 1px solid rgb(255 255 255 / 10%); padding-top: 18px; font-size: .85rem; color: #8597b0; }
.footer__note a { color: #b8c6da; font-weight: 600; text-decoration: underline; }

/* ---------- podstrony ---------- */
.back { display: inline-flex; align-items: center; gap: 6px; margin: 20px 0 14px; color: var(--ink-soft); font-weight: 700; text-decoration: none; }
.back:hover { color: var(--blue); }
.band { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--grad); color: #fff; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }
.band .card__place { color: #fff; opacity: .9; }
.band h1 { font-size: clamp(2rem, 5vw, 3.2rem); text-transform: uppercase; margin: 8px 0 8px; }
.band__addr { font-weight: 600; opacity: .95; }
.band__addr a { color: #fff; }
.band__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.band .chip { background: rgb(255 255 255 / 18%); color: #fff; }
.band__fill { min-width: 260px; }
.band__pct { font-size: 3.4rem; font-weight: 900; font-style: italic; line-height: 1; text-align: right; }
@media (max-width: 760px) { .band__pct { text-align: left; } }
.band .fill__bar { background: rgb(255 255 255 / 25%); margin: 8px 0 6px; }
.band .fill__bar i { background: var(--yellow); }

.invite { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; padding: 18px 22px; border-radius: var(--r); background: #fff4d6; border-left: 6px solid var(--yellow); }
.invite.is-full { background: var(--sky); border-left-color: var(--blue-2); }
.invite.is-mine { background: #dcf5e8; border-left-color: var(--green); }
.invite__text { flex: 1 1 260px; }
.invite__text strong { display: block; font-size: 1.15rem; font-style: italic; font-weight: 900; }
.invite__text span { color: var(--ink-soft); font-weight: 600; }

.slots { display: grid; gap: 12px; margin-top: 18px; }
.slot { display: grid; grid-template-columns: 160px 1fr auto; gap: 12px 20px; align-items: center; padding: 16px 20px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); border: 2px solid transparent; }
.slot.is-mine { border-color: var(--green); }
.slot.is-invited { border-color: var(--yellow); }
@media (max-width: 700px) { .slot { grid-template-columns: 1fr; } }
.slot__time { font-size: 1.6rem; font-weight: 900; font-style: italic; line-height: 1; white-space: nowrap; color: var(--navy); }
.slot__time small { display: block; font-size: .78rem; font-style: normal; font-weight: 700; color: var(--muted); margin-top: 6px; }
.slot__tag { display: inline-block; margin-top: 6px; padding: 2px 9px; border-radius: 99px; background: var(--yellow); color: var(--ink); font-size: .72rem; font-weight: 800; font-style: normal; }
.people { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.person { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 900; font-style: italic; }
.person--me { background: var(--green); box-shadow: 0 0 0 3px #dcf5e8; }
.person__star { position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 11px; font-style: normal; }
.person--free { background: none; border: 2px dashed var(--line); color: var(--muted); font-style: normal; }
.person--adult { background: none; border: 2px dashed var(--red); color: var(--red); font-size: .72rem; font-style: normal; }
.people__names { width: 100%; font-size: .88rem; color: var(--muted); font-weight: 600; }
.slot__cta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
@media (max-width: 700px) { .slot__cta { align-items: stretch; } }
.ok { color: var(--green); font-weight: 800; font-style: italic; }
.full { color: var(--muted); font-weight: 800; font-style: italic; }

.share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; padding: 22px 26px; border-radius: var(--r); background: var(--sky); }
.share h3 { font-size: 1.35rem; }
.share p { margin: 4px 0 0; color: var(--ink-soft); font-weight: 600; }

/* zapis */
.signup { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; margin-top: 6px; }
@media (max-width: 880px) { .signup { grid-template-columns: 1fr; } }
.signup__side { position: relative; overflow: hidden; border-radius: var(--r-lg); min-height: 240px; color: #fff; display: flex; align-items: flex-end; }
.signup__side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.signup__side::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgb(12 72 156 / 95%) 0%, rgb(0 117 249 / 60%) 55%, rgb(0 117 249 / 0%) 100%); }
.signup__info { position: relative; z-index: 2; padding: 26px; }
.signup__info h2 { font-size: 2.2rem; text-transform: uppercase; margin: 8px 0 4px; }
.signup__when { font-size: 1.35rem; font-weight: 900; font-style: italic; color: var(--yellow); margin-top: 10px; }
.signup__team { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.signup__team span { padding: 4px 12px; border-radius: 99px; background: rgb(255 255 255 / 22%); font-weight: 700; font-size: .9rem; }
.form { padding: clamp(22px, 4vw, 38px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.form h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin: 8px 0 6px; }
.form__lead { color: var(--ink-soft); font-weight: 500; margin-bottom: 20px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .88rem; font-weight: 800; margin-bottom: 6px; }
.field input { width: 100%; height: 54px; padding: 0 16px; border-radius: 14px; border: 2px solid var(--line); background: var(--paper); font-size: 1.02rem; font-weight: 600; }
.field input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--sky-2); }
.field input[disabled] { color: var(--muted); border-style: dashed; }
.field ul { list-style: none; margin: 6px 0 0; padding: 0; color: var(--red); font-weight: 700; font-size: .88rem; }
.field.has-error input { border-color: var(--red); background: #fde6ee; }
.adult { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--paper); }
.adult small { display: block; font-weight: 600; color: var(--muted); }
.warn { display: flex; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #fde6ee; color: #8a0634; font-weight: 700; margin-bottom: 16px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 22px; }
.privacy { color: var(--muted); font-size: .85rem; font-weight: 600; margin-top: 14px; }

/* po zapisie / moje dyżury */
.done { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; padding-top: clamp(24px, 5vw, 60px); }
@media (max-width: 860px) { .done { grid-template-columns: 1fr; } }
.done h1 { font-size: clamp(2.8rem, 8vw, 5.2rem); text-transform: uppercase; margin: 12px 0 14px; }
.done h1 span { color: var(--blue); }
.done__lead { font-size: 1.15rem; color: var(--ink-soft); font-weight: 500; }
.done__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.done__photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1 / 1; max-width: 380px; justify-self: end; box-shadow: 0 30px 60px -30px rgb(11 29 56 / 50%); }
.done__photo img { width: 100%; height: 100%; object-fit: cover; }
.done__ticket { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 16px 18px; border-radius: 18px; background: rgb(255 255 255 / 94%); }
.done__ticket strong { display: block; font-size: 1.25rem; font-weight: 900; font-style: italic; color: var(--navy); }
.done__ticket span { color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 820px) { .next { grid-template-columns: 1fr; } }
.next div { padding: 20px; border-radius: var(--r); background: var(--paper); }
.next .ti { font-size: 1.8rem; color: var(--blue); }
.next h3 { font-size: 1.15rem; margin: 8px 0 4px; }
.next p { color: var(--ink-soft); margin: 0; font-size: .95rem; }

.passes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 22px; }
.pass { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.pass::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--grad); }
.pass__when { font-size: 1.35rem; font-weight: 900; font-style: italic; color: var(--blue); }
.pass h3 { font-size: 1.3rem; }
.pass__addr { color: var(--muted); font-weight: 600; font-size: .95rem; }
.pass__coord { padding: 10px 14px; border-radius: 12px; background: var(--paper); font-size: .92rem; }
.pass__coord a { font-weight: 800; text-decoration: none; }
.pass__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.confirm { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 18px 0; padding: 22px 26px; border-radius: var(--r); background: var(--grad); color: #fff; }
.confirm h2 { font-size: 1.7rem; text-transform: uppercase; }
.confirm p { margin: 4px 0 0; font-weight: 600; opacity: .95; }

.oops { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding-top: clamp(40px, 8vw, 90px); padding-bottom: clamp(40px, 8vw, 90px); }
@media (max-width: 760px) { .oops { grid-template-columns: 1fr; } }
.oops__code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 900; font-style: italic; line-height: .9; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.oops h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 10px 0 12px; }
.oops p { color: var(--ink-soft); font-weight: 500; margin-bottom: 22px; }
.oops figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; max-width: 420px; }
.oops figure img { width: 100%; height: 100%; object-fit: cover; }

.credits { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.credits figure { margin: 0; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.credits img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.credits figcaption { padding: 12px 14px; font-size: .88rem; color: var(--ink-soft); font-weight: 600; }

.toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 160%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 700; transition: transform .25s; z-index: 60; }
.toast.is-visible { transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
    .header, .userbar, .footer, .share, .btn { display: none !important; }
}


/* ==========================================================================
   Kompaktowa strona startowa – więcej treści na pierwszym ekranie
   ========================================================================== */
.top { padding: 16px 0 6px; }
.top__box { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: center; padding: clamp(20px, 3vw, 34px) clamp(20px, 3.5vw, 40px); border-radius: var(--r-lg); background: var(--grad); color: #fff; box-shadow: 0 24px 48px -28px rgb(0 117 249 / 55%); }
@media (max-width: 860px) { .top__box { grid-template-columns: 1fr; } }
.top .kicker { color: #fff; }
.top h1 { font-size: clamp(1.9rem, 4vw, 3.1rem); text-transform: uppercase; margin: 10px 0 10px; line-height: 1; }
.top h1 span { display: block; color: var(--yellow); }
.top__need { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 5px 14px 5px 10px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 800; font-style: italic; font-size: .95rem; }
.top__need .ti { font-size: 1.2rem; }
.top__lead { font-weight: 500; font-size: 1.02rem; max-width: 36em; margin-bottom: 14px; opacity: .95; }
.top__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.top__cta .btn { min-height: 44px; padding: .5em 1.2em; font-size: .95rem; }
.btn--ghost-white { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgb(255 255 255 / 70%); }
.btn--ghost-white:hover { box-shadow: inset 0 0 0 2px #fff; }
.top__stats { display: grid; grid-template-columns: auto auto 1fr; gap: 10px 22px; align-items: end; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / 25%); }
.top__stats strong { display: block; font-size: 1.7rem; font-weight: 900; font-style: italic; line-height: 1; }
.top__stats strong.is-need { color: var(--yellow); }
.top__stats span { font-size: .82rem; font-weight: 600; opacity: .9; }
.top__fill .fill__bar { height: 7px; margin-top: 6px; background: rgb(255 255 255 / 25%); }
.top__fill .fill__bar i { background: var(--yellow); }
.top__photos { position: relative; height: 260px; }
@media (max-width: 860px) { .top__photos { height: 190px; } }
.top__photo { position: absolute; object-fit: cover; border-radius: 18px; border: 4px solid #fff; box-shadow: 0 14px 28px -12px rgb(11 29 56 / 55%); }
.top__photo--a { left: 0; top: 0; width: 62%; height: 100%; transform: rotate(-2deg); }
.top__photo--b { right: 0; bottom: 0; width: 50%; height: 72%; transform: rotate(3deg); }

.section--compact { padding: clamp(26px, 4vw, 44px) 0; }
.section--compact h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-top: 6px; }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 20px; margin-bottom: 14px; }
.finder--inline { margin: 0; flex: 1 1 380px; justify-content: flex-end; }
.finder--inline .search { max-width: 340px; }
.finder--inline .search input { height: 44px; }
.section--compact .places { margin-bottom: 14px; }
.section--compact .place-btn { padding: 4px 12px; font-size: .88rem; }

.cards--compact { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.card--compact { padding: 14px 16px 12px; text-decoration: none; color: inherit; border-radius: 16px; }
.card--compact::before { height: 4px; }
.card--compact .card__top { margin-bottom: 4px; }
.card--compact .card__place { font-size: .7rem; }
.card--compact .badge { font-size: .7rem; padding: 2px 8px; }
.card--compact h3 { font-size: 1.25rem; }
.card--compact .card__addr { font-size: .85rem; margin-bottom: 6px; }
.card__when { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.card__when .ti { color: var(--blue); }
.card__when .ti + .ti, .card__when .ti:nth-of-type(2) { margin-left: 8px; }
.fill--compact { display: flex; align-items: center; gap: 8px; margin-top: auto; font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.fill--compact .fill__bar { flex: 1; height: 7px; }
.card__go { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-weight: 800; font-style: italic; color: var(--blue); font-size: .92rem; }
.card--compact:hover .card__go .ti { transform: translateX(3px); transition: transform .15s; }

/* dwie kolumny o równej wysokości: nagłówki i listy w tych samych wierszach (subgrid) */
.duo { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr; column-gap: 40px; row-gap: 0; }
.duo > div { display: grid; grid-row: span 3; grid-template-rows: subgrid; align-content: start; }
.duo > div > .kicker { justify-self: start; align-self: start; }
@media (max-width: 860px) {
    .duo { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 30px; }
    .duo > div { display: block; grid-row: auto; }
}
.steps-mini, .reasons-mini { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-auto-rows: 1fr; gap: 10px; }
.steps-mini li, .reasons-mini li { display: flex; gap: 12px; align-items: center; min-height: 76px; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.steps-mini b { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 1.1rem; font-style: italic; font-weight: 900; }
.steps-mini strong, .reasons-mini strong { display: block; font-style: italic; font-weight: 800; }
.steps-mini span, .reasons-mini span { font-size: .88rem; color: var(--ink-soft); font-weight: 500; }
.reasons-mini img { flex: none; width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }

.faq--grid { grid-template-columns: 1fr 1fr; gap: 10px; max-width: none; margin-top: 14px; align-items: start; }
@media (max-width: 760px) { .faq--grid { grid-template-columns: 1fr; } }
.faq--grid details { padding: 0 16px; }
.faq--grid summary { padding: 13px 0; font-size: .98rem; }
.faq--grid summary::after { width: 26px; height: 26px; font-size: 1.1rem; }
.faq--grid details p { font-size: .93rem; margin-bottom: 14px; }

.go--compact { min-height: 170px; border-radius: var(--r); }
.go--compact .go__text { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; max-width: none; padding: 24px 30px; }
.go--compact h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); margin: 0; }

@media (max-width: 560px) {
    .top { padding-top: 14px; }
    .top__box { padding: 24px 22px 20px; border-radius: 26px; gap: 0; }
    .top .kicker { font-size: .68rem; letter-spacing: .1em; }
    .top h1 { font-size: 1.7rem; line-height: 1.05; margin: 12px 0 12px; }
    .top__need { font-size: .82rem; line-height: 1.3; border-radius: 16px; }
    .top__lead { font-size: .95rem; line-height: 1.55; margin-bottom: 16px; }
    .top__cta { gap: 8px; }
    .top__cta .btn { min-height: 42px; padding: .45em 1.05em; font-size: .9rem; }
    .top__stats { grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; margin-top: 18px; padding-top: 16px; }
    .top__stats strong { font-size: 1.45rem; }
    .top__stats span { display: block; font-size: .74rem; line-height: 1.3; margin-top: 4px; }
    .top__fill .fill__bar { display: none; }
    .top__photos { display: none; }
}
@media (max-width: 380px) {
    .top h1 { font-size: 1.5rem; }
    .top__box { padding: 22px 20px 18px; }
}

/* hasło akcji */
.motto { padding: 6px 0 30px; }
.motto__quote { position: relative; margin: 0; padding: clamp(22px, 3.5vw, 34px) clamp(22px, 4vw, 48px); border-radius: var(--r); background: var(--ink); color: #fff; overflow: hidden; }
.motto__quote::before { content: '„'; position: absolute; right: 18px; top: -40px; font-size: 11rem; font-weight: 900; font-style: italic; line-height: 1; color: rgb(255 255 255 / 7%); }
.motto__quote .dots { margin-bottom: 8px; }
.motto__quote p { position: relative; margin: 0; max-width: 34em; font-size: clamp(1.3rem, 2.8vw, 2.1rem); font-weight: 900; font-style: italic; line-height: 1.2; letter-spacing: -0.01em; }
.motto__quote em { color: var(--yellow); }

/* ==========================================================================
   Telefon: więcej „światła” – szersze marginesy i odstępy
   ========================================================================== */
@media (max-width: 560px) {
    body { font-size: 16px; }
    .wrap { padding-left: 20px; padding-right: 20px; }
    .header .wrap { min-height: 60px; }
    .header__logo img { height: 30px; }
    .header nav .btn { min-height: 40px; padding: .45em 1.1em; font-size: .9rem; }
    .userbar .wrap { padding-top: 9px; padding-bottom: 9px; }

    .section--compact { padding: 36px 0; }
    .section--compact h2 { font-size: 1.7rem; margin-top: 8px; }
    .head-row { gap: 14px; margin-bottom: 16px; }
    .finder--inline { flex-basis: 100%; justify-content: space-between; gap: 12px; }
    .finder--inline .search { max-width: none; flex: 1 1 100%; }
    .finder--inline .switch { margin-left: auto; }
    .section--compact .places { gap: 8px; margin-bottom: 18px; }

    .cards--compact { gap: 14px; }
    .card--compact { padding: 18px 20px 16px; border-radius: 18px; }
    .card--compact h3 { font-size: 1.35rem; margin-top: 2px; }
    .card--compact .card__addr { margin-bottom: 10px; }
    .card__when { margin-bottom: 12px; }
    .card__go { margin-top: 14px; }

    .motto { padding: 4px 0 32px; }
    .motto__quote { padding: 26px 24px; }
    .motto__quote p { font-size: 1.3rem; line-height: 1.3; }

    .duo { row-gap: 34px; }
    .steps-mini, .reasons-mini { gap: 12px; margin-top: 16px; }
    .steps-mini li, .reasons-mini li { padding: 14px 16px; gap: 14px; align-items: flex-start; }
    .faq--grid { gap: 12px; margin-top: 16px; }
    .faq--grid details { padding: 0 18px; }
    .faq--grid summary { padding: 16px 0; }
    .go--compact .go__text { padding: 28px 24px; }

    .footer { padding: 40px 0 32px; }
    .footer .wrap { gap: 26px; }

    /* podstrony */
    .back { margin: 18px 0 16px; }
    .band { padding: 24px 22px; border-radius: 24px; }
    .band .chip { font-size: .82rem; }
    .band__fill { min-width: 0; }
    .invite { padding: 18px 20px; margin-top: 20px; }
    .slots { gap: 14px; margin-top: 20px; }
    .slot { padding: 18px 20px; }
    .share { padding: 22px 22px; margin-top: 30px; }
    .signup { gap: 20px; }
    .signup__info { padding: 24px 22px; }
    .form { padding: 26px 22px; border-radius: 24px; }
    .fields { gap: 16px; }
    .done { gap: 26px; }
    .done h1 { font-size: 2.6rem; }
    .done__actions .btn { flex: 1 1 100%; }
    .done__photo { max-width: none; justify-self: stretch; aspect-ratio: 4 / 3; }
    .next { gap: 12px; margin-top: 30px; }
    .next div { padding: 18px 20px; }
    .passes { gap: 14px; }
    .pass { padding: 20px 22px; }
    .confirm { padding: 22px; }
}
