:root {
  --ada-accent: #f47f5b;    /* kolor przycisku "Przekaż darowiznę" – możesz dopasować */
  --ada-text: #111111;
  --ada-muted: #666666;
  --ada-border: #e3e3e3;
  --ada-bg: #ffffff;
  --ada-footer-bg: #111111;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: var(--ada-text);
}

a {
  color: inherit;
  text-decoration: none;
}

/* LAYOUT STRONY */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrapper {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAGŁÓWEK */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: auto;
  height: auto;
  /*border-radius: 50%;*/
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}

.brand-text-main {
  font-size: 1.4rem;
  font-weight: 600;
}

.brand-text-sub {
  font-size: 0.85rem;
  color: var(--ada-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  padding-bottom: 2px;
}

.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #000;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* PRZYCISKI */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
}

.btn-primary {
  background: var(--ada-accent);
  color: #fff;
  border-color: var(--ada-accent);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-outline {
  border-color: #cccccc;
  color: var(--ada-text);
}

.btn-outline:hover {
  background: #f8f8f8;
}

.btn-block {
  width: 100%;
}

/* TREŚĆ GŁÓWNA */

main {
  padding: 24px 0 40px;
}

/* HERO – STRONA GŁÓWNA */

.hero {
  padding: 26px 0 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-heading {
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 14px;
}

.hero-subheading {
  font-size: 1rem;
  color: var(--ada-muted);
  max-width: 520px;
  margin-bottom: 22px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.badge {
  font-size: 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--ada-border);
  padding: 6px 10px;
  color: #444;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-photo {
  border-left: 1px solid #e0e0e0;
  padding-left: 24px;
}

.hero-photo img {
  display: block;
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
}

/* SEKCJE */

.section {
  padding: 10px 0 0;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--ada-muted);
  margin-bottom: 14px;
}

/* KAFLE ZBIÓREK */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background 0.12s ease, transform 0.12s ease;
}

.card:hover {
  background: #fafafa;
  transform: translateY(-1px);
}

.card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 14px 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-title {
  font-size: 1rem;
  font-weight: 500;
}

.card-subtitle {
  font-size: 0.85rem;
  color: var(--ada-muted);
}

.amount-line {
  font-size: 0.9rem;
  margin-top: 4px;
}

.amount-highlight {
  font-weight: 600;
}

.progress-wrapper {
  margin-top: 6px;
}

.progress {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #eeeeee;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 40%;
  background: var(--ada-accent);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--ada-muted);
  margin-top: 4px;
}

.card-footer {
  padding: 0 18px 14px 18px;
}

/* FILTRY LISTY */

.filters {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  border-radius: 999px;
  border: 1px solid var(--ada-border);
  padding: 6px 12px;
  font-size: 0.8rem;
  cursor: pointer;
}

.filter-pill.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* STRONA POJEDYNCZEJ ZBIÓRKI */

.single-wrapper {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.single-photo {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 24px;
}

.single-header {
  margin-top: 18px;
}

.single-name {
  font-size: 2.1rem;
  font-weight: 500;
}

.single-subtitle {
  font-size: 1rem;
  color: var(--ada-muted);
  margin-top: 6px;
}

.single-amount-block {
  margin: 18px 0 10px;
}

.single-amount-main {
  font-size: 1.6rem;
  font-weight: 500;
}

.single-amount-sub {
  font-size: 0.9rem;
  color: var(--ada-muted);
}

.single-progress {
  margin: 10px 0 18px;
}

.single-progress .progress {
  height: 14px;
}

.donation-ctas {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

.donation-box {
  border-radius: 18px;
  border: 1px solid var(--ada-border);
  padding: 14px 16px;
  background: #ffffff;
}

.donation-box-main {
  border-color: var(--ada-accent);
}

.donation-box-title {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.donation-box-text {
  font-size: 0.82rem;
  color: var(--ada-muted);
  margin-bottom: 10px;
}

.amount-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.amount-pill {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--ada-border);
  font-size: 0.8rem;
  cursor: pointer;
}

.amount-pill.selected {
  background: var(--ada-accent);
  color: #fff;
  border-color: var(--ada-accent);
}

.amount-input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--ada-border);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

/* TEKSTY */

.single-content {
  font-size: 0.94rem;
  line-height: 1.6;
}

.single-section-title {
  margin-top: 20px;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 1rem;
}

.bank-info {
  font-size: 0.85rem;
  border-radius: 16px;
  border: 1px solid var(--ada-border);
  padding: 10px 12px;
}

/* STOPKA */

.site-footer {
  margin-top: auto;
  background: var(--ada-footer-bg);
  color: #ffffff;
  padding: 20px 0 24px;
  font-size: 0.85rem;
}

/* RESPONSYWNOŚĆ */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .hero-photo {
    border-left: none;
    padding-left: 0;
  }
  .donation-ctas {
    grid-template-columns: minmax(0, 1fr);
  }
  .site-header-inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .header-right {
    margin-left: auto;
  }
}

@media (max-width: 600px) {
  .wrapper,
  .single-wrapper {
    padding: 0 16px;
  }
  .hero-heading {
    font-size: 2.1rem;
  }
}
/* STRONA DAROWIZNY */

.donate-wrapper {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.donate-header {
  margin: 24px 0 10px;
}

.donate-title {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.donate-subtitle {
  font-size: 0.95rem;
  color: var(--ada-muted);
}

.donate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.donate-main-box {
  border-radius: 18px;
  border: 1px solid var(--ada-border);
  padding: 16px 18px;
  background: #ffffff;
}

.donate-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.donate-option {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  font-size: 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--ada-border);
  cursor: pointer;
}

.donate-option.active {
  background: var(--ada-accent);
  color: #fff;
  border-color: var(--ada-accent);
}

.donate-label {
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.donate-input,
.donate-select {
  width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--ada-border);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.donate-help {
  font-size: 0.8rem;
  color: var(--ada-muted);
  margin-bottom: 10px;
}

.donate-check {
  font-size: 0.8rem;
  margin: 8px 0 14px;
}

.donate-check input {
  margin-right: 6px;
}

.donate-side-box {
  font-size: 0.85rem;
  border-radius: 18px;
  border: 1px solid var(--ada-border);
  padding: 14px 16px;
  background: #fafafa;
  line-height: 1.5;
}

.donate-side-title {
  font-weight: 500;
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .donate-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .donate-wrapper {
    padding: 0 16px;
  }
}

