
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    /* Paleta z bloków — zieleń spółdzielni, żółtawa elewacja */
    --green:        #3a7d44;   /* główny akcent — głęboka zieleń */
    --green-light:  #4e9e5a;   /* hover */
    --green-pale:   #e8f5eb;   /* tła sekcji */
    --green-dark:   #274f2c;   /* ciemny header / hero */
    --yellow:       #d4ac0d;   /* akcent żółty jak elewacja */
    --yellow-pale:  #fdf8e1;   /* tło notice */
    --ink:          #1c2320;
    --ink-light:    #445048;
    --ink-muted:    #7a8c80;
    --paper:        #f4f7f4;   /* lekko zielonkawy biały */
    --paper-mid:    #e6ede7;
    --paper-dark:   #d0dbd1;
    --white:        #ffffff;
    --shadow-sm:    0 1px 8px rgba(0,0,0,0.07);
    --shadow:       0 3px 20px rgba(0,0,0,0.09);
    --shadow-lg:    0 8px 40px rgba(0,0,0,0.13);
    --radius:       6px;
    --tr:           0.2s ease;
  }

  html { scroll-behavior: smooth; }
  body { font-family: 'DM Sans', sans-serif; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.65; }

  /* ── HEADER ── */
  header { background: var(--white); border-bottom: 2px solid var(--green); position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-sm); }
  .header-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 68px; }
  .logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
  .logo-mark { width: 42px; height: 42px; background: var(--green); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .logo-mark svg { width: 24px; height: 24px; }
  .logo-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 17px; display: block; line-height: 1.1; color: var(--green-dark); }
  .logo-sub { font-size: 10px; font-weight: 600; color: var(--ink-muted); letter-spacing: 1.4px; text-transform: uppercase; display: block; margin-top: 2px; }

  nav { display: flex; align-items: center; gap: 2px; }
  nav a { font-size: 14px; font-weight: 500; color: var(--ink-light); text-decoration: none; padding: 7px 13px; border-radius: var(--radius); transition: var(--tr); white-space: nowrap; }
  nav a:hover { background: var(--green-pale); color: var(--green); }
  .nav-cta { background: var(--green) !important; color: var(--white) !important; margin-left: 6px; }
  .nav-cta:hover { background: var(--green-light) !important; }

  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
  .hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

  .nav-dropdown { position: relative; }
  .nav-dropdown > a::after { content: " ▾"; font-size: 9px; opacity: 0.5; }
  .dropdown-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; background: var(--white); border: 1px solid var(--paper-dark); border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 210px; overflow: hidden; }
  .nav-dropdown:hover .dropdown-menu { display: block; }
  .dropdown-menu a { display: block; padding: 10px 16px; border-radius: 0; border-bottom: 1px solid var(--paper); font-size: 13px; }
  .dropdown-menu a:last-child { border-bottom: none; }
  .dropdown-menu a:hover { background: var(--green-pale); color: var(--green); }

  .mobile-nav { display: none; background: var(--white); border-top: 2px solid var(--green); padding: 12px 24px 20px; flex-direction: column; gap: 2px; }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 10px 8px; border-bottom: 1px solid var(--paper-mid); }
  .mobile-nav a:hover { color: var(--green); }

  /* ── HERO ── */
  .hero { background: var(--green-dark); color: var(--white); padding: 64px 24px 72px; text-align: center; position: relative; overflow: hidden; }
  .hero::before { content: ''; position: absolute; inset: 0; background: url('../images/tlo.jpg') center/cover; opacity: 0.2; filter: grayscale(30%) saturate(1.4); }
  /* dekoracyjna linia w kolorze żółtym */
  .hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--green-light), var(--yellow), var(--green-light)); }
  .hero-content { position: relative; max-width: 700px; margin: 0 auto; }
  .hero-badge { display: inline-block; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.82); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 20px; }
  .hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(26px, 4.2vw, 50px); font-weight: 800; line-height: 1.18; margin-bottom: 14px; }
  .hero h1 span { color: var(--yellow); }
  .hero p { font-size: 16.5px; color: rgba(255,255,255,0.62); max-width: 500px; margin: 0 auto 0; line-height: 1.75; }

  /* ── STATS BAR ── */
  .stats-bar { background: var(--green); padding: 18px 24px; }
  .stats-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 4px; text-align: center; }
  .stat-num { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; display: block; color: var(--white); line-height: 1; }
  .stat-label { font-size: 11.5px; font-weight: 500; color: rgba(255,255,255,0.72); margin-top: 3px; display: block; }

  /* ── SECTION BASE ── */
  .max-w { max-width: 1200px; margin: 0 auto; }
  section { padding: 56px 24px; }
  .bg-white { background: var(--white); }
  .bg-paper { background: var(--paper); }
  .bg-dark { background: var(--green-dark); }

  .section-label { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--green); display: block; margin-bottom: 8px; }
  .section-label.light { color: #a8dbb2; }
  .section-title { font-family: 'Playfair Display', serif; font-size: clamp(22px, 3.2vw, 34px); font-weight: 700; color: var(--ink); line-height: 1.22; margin-bottom: 10px; }
  .section-title.light { color: var(--white); }
  .section-desc { color: var(--ink-muted); font-size: 15px; max-width: 520px; line-height: 1.7; }
  .section-desc.light { color: rgba(255,255,255,0.5); }
  .section-header { margin-bottom: 32px; }

  /* ── CAROUSEL ── */
  .carousel-wrap { position: relative; }
  .carousel-track-outer { overflow: hidden; }
  .carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.35s ease;
    will-change: transform;
  }
  .carousel-card {
    flex: 0 0 300px;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--paper-dark);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--ink);
    transition: transform var(--tr), box-shadow var(--tr);
    display: flex;
    flex-direction: column;
  }
  .carousel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .cc-img { aspect-ratio: 16/9; background: var(--paper-mid); overflow: hidden; position: relative; }
  .cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
  .carousel-card:hover .cc-img img { transform: scale(1.04); }
  .cc-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 38px; background: var(--paper-mid); }
  .cc-tag { position: absolute; top: 10px; left: 10px; background: var(--green); color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; padding: 3px 9px; border-radius: 3px; }
  .cc-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
  .cc-meta { font-size: 11px; color: var(--ink-muted); margin-bottom: 8px; font-weight: 500; }
  .cc-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; line-height: 1.32; margin-bottom: 9px; color: var(--ink); flex: 1; }
  .cc-link { font-size: 12.5px; font-weight: 600; color: var(--green); display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
  .cc-link:hover { gap: 7px; }

  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 2px solid var(--paper-dark);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--green-dark);
    box-shadow: var(--shadow);
    transition: var(--tr);
    z-index: 2;
  }
  .carousel-btn:hover { background: var(--green); color: var(--white); border-color: var(--green); }
  .carousel-btn.prev { left: -20px; }
  .carousel-btn.next { right: -20px; }
  @media (max-width: 600px) { .carousel-btn.prev { left: 0; } .carousel-btn.next { right: 0; } }

  /* ── ARTICLE GRID (normal) ── */
  .articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; max-width: 1200px; margin: 0 auto; }
  .article-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--paper-dark); text-decoration: none; color: var(--ink); transition: transform var(--tr), box-shadow var(--tr); display: flex; flex-direction: column; }
  .article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
  .card-image { aspect-ratio: 16/9; background: var(--paper-mid); overflow: hidden; position: relative; }
  .card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
  .article-card:hover .card-image img { transform: scale(1.03); }
  .card-image-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 36px; background: var(--paper-mid); }
  .card-tag { position: absolute; top: 10px; left: 10px; background: var(--green); color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; padding: 3px 9px; border-radius: 3px; }
  .card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
  .card-meta { font-size: 11px; font-weight: 500; color: var(--ink-muted); margin-bottom: 8px; }
  .card-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; line-height: 1.32; margin-bottom: 10px; color: var(--ink); flex: 1; }
  .card-excerpt { font-size: 13.5px; color: var(--ink-light); line-height: 1.7; }
  .card-link { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--green); margin-top: 12px; text-decoration: none; }
  .card-link:hover { gap: 8px; }
  .article-card.featured { grid-column: span 2; flex-direction: row; }
  .article-card.featured .card-image { aspect-ratio: auto; flex: 0 0 44%; }
  .article-card.featured .card-title { font-size: 21px; }
  @media (max-width: 680px) { .article-card.featured { grid-column: span 1; flex-direction: column; } .article-card.featured .card-image { aspect-ratio: 16/9; flex: auto; } }

  /* ── TOPICS (dark bg) ── */
  .topics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; max-width: 1200px; margin: 0 auto; }
  .topic-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 24px; transition: var(--tr); text-decoration: none; color: var(--white); display: block; }
  .topic-card:hover { background: rgba(255,255,255,0.11); border-color: var(--yellow); }
  .topic-icon { font-size: 26px; margin-bottom: 12px; display: block; }
  .topic-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; margin-bottom: 8px; }
  .topic-desc { font-size: 13px; color: rgba(255,255,255,0.52); line-height: 1.65; margin-bottom: 12px; }
  .topic-meta { font-size: 11px; font-weight: 600; color: #a8dbb2; letter-spacing: 0.8px; text-transform: uppercase; }

  /* ── NIEPRAWIDŁOWOŚCI list ── */
  .irreg-list { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
  .irreg-item {
    background: var(--white);
    border: 1px solid var(--paper-dark);
    border-left: 4px solid var(--green);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 20px;
    align-items: start;
    transition: var(--tr);
  }
  .irreg-item:hover { box-shadow: var(--shadow); border-left-color: var(--yellow); }
  .irreg-num { width: 48px; height: 48px; background: var(--green-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 20px; color: var(--green-dark); flex-shrink: 0; }
  .irreg-body {}
  .irreg-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
  .irreg-desc { font-size: 14px; color: var(--ink-light); line-height: 1.7; margin-bottom: 10px; }
  .irreg-tags { display: flex; gap: 8px; flex-wrap: wrap; }
  .irreg-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; background: var(--green-pale); color: var(--green-dark); }
  .irreg-tag.amber { background: var(--yellow-pale); color: #7a5a00; }
  .irreg-status { flex-shrink: 0; text-align: right; }
  .status-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; }
  .status-badge.open { background: #fff3cd; color: #7a5a00; }
  .status-badge.docs { background: var(--green-pale); color: var(--green-dark); }
  .status-badge.sent { background: #e3f0f7; color: #1a4a6b; }
  @media (max-width: 640px) { .irreg-item { grid-template-columns: 40px 1fr; } .irreg-status { grid-column: 2; } }

  /* ── SERVICES ── */
  .services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; max-width: 1200px; margin: 0 auto; }
  .service-card { background: var(--white); border-radius: var(--radius); padding: 22px; text-align: center; border: 1px solid var(--paper-dark); box-shadow: var(--shadow-sm); transition: var(--tr); }
  .service-card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow); }
  .service-card.add-card { border-style: dashed; opacity: 0.6; cursor: pointer; }
  .service-icon { font-size: 30px; margin-bottom: 10px; display: block; }
  .service-name { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; margin-bottom: 4px; color: var(--ink); }
  .service-person { font-size: 13px; color: var(--ink-muted); margin-bottom: 3px; }
  .service-contact { font-size: 13px; font-weight: 600; color: var(--green); }
  .service-note { font-size: 12px; color: var(--ink-muted); margin-top: 8px; line-height: 1.5; }

  /* ── SPOTS ── */
  .spots-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
  .tab-btn { padding: 7px 18px; border: 1.5px solid var(--paper-dark); border-radius: 20px; background: none; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-muted); transition: var(--tr); font-family: 'DM Sans', sans-serif; }
  .tab-btn.active, .tab-btn:hover { border-color: var(--green); color: var(--green); background: var(--green-pale); }
  .spots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; max-width: 1200px; margin: 0 auto; }
  .spot-card { background: var(--white); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); border: 1px solid var(--paper-dark); display: flex; gap: 14px; align-items: flex-start; transition: var(--tr); }
  .spot-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
  .spot-icon-wrap { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
  .spot-icon-wrap.restaurant { background: #fef3e2; }
  .spot-icon-wrap.store { background: #e8f5e9; }
  .spot-icon-wrap.service { background: #e3f0f7; }
  .spot-icon-wrap.medical { background: #fce4e4; }
  .spot-name { font-weight: 700; font-size: 14px; margin-bottom: 3px; }
  .spot-address { font-size: 12px; color: var(--ink-muted); margin-bottom: 4px; }
  .spot-rating { color: var(--yellow); font-size: 12px; }
  .spot-desc { font-size: 13px; color: var(--ink-light); line-height: 1.5; margin-top: 4px; }

  /* ── EVENTS ── */
  .events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-top: 4px; }
  .event-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--paper-dark); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; overflow: hidden; transition: transform var(--tr), box-shadow var(--tr); }
  .event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
  .event-card-top { display: flex; gap: 16px; padding: 20px 20px 14px; align-items: flex-start; }
  .event-date { background: var(--green-dark); color: var(--white); border-radius: 8px; padding: 10px 12px; text-align: center; min-width: 54px; flex-shrink: 0; }
  .event-date-day { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; line-height: 1; display: block; }
  .event-date-month { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; display: block; margin-top: 4px; opacity: 0.8; }
  .event-type-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; padding: 3px 9px; border-radius: 4px; margin-bottom: 7px; }
  .event-type-tag.spotkanie { background: #f0eaff; color: #5a3fa0; }
  .event-type-tag.koncert { background: #fff3e0; color: #a05a00; }
  .event-type-tag.warsztaty { background: #e3f0f7; color: #1a4a6b; }
  .event-type-tag.wystawa { background: #e0f5f1; color: #1a5a4a; }
  .event-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.35; margin-bottom: 4px; }
  .event-card-body { padding: 0 20px 16px; flex: 1; display: flex; flex-direction: column; gap: 5px; }
  .event-info { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--ink-muted); }
  .event-desc { font-size: 13.5px; color: var(--ink-light); line-height: 1.65; margin-top: 8px; flex: 1; }
  .event-card-footer { padding: 12px 20px; border-top: 1px solid var(--paper-dark); display: flex; align-items: center; justify-content: space-between; background: var(--paper); }
  .event-price { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
  .event-price.free { background: var(--green-pale); color: var(--green-dark); }
  .event-price.paid { background: var(--yellow-pale); color: #7a5a00; }
  .event-more { font-size: 13px; font-weight: 600; color: var(--green); text-decoration: none; }
  .event-more:hover { color: var(--green-dark); }

  /* ── ABOUT ── */
  .about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
  @media (max-width: 768px) { .about-layout { grid-template-columns: 1fr; gap: 32px; } }
  .about-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 3px solid var(--green); }
  .goals-list { list-style: none; margin-top: 18px; }
  .goals-list li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--paper-mid); font-size: 14.5px; color: var(--ink-light); line-height: 1.6; }
  .goals-list li:last-child { border-bottom: none; }
  .goals-list li::before { content: '→'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

  /* ── CONTACT ── */
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; max-width: 1200px; margin: 0 auto; }
  @media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
  .contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
  .contact-item-icon { width: 42px; height: 42px; background: var(--green-pale); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
  .contact-item-text strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
  .contact-item-text span { font-size: 14px; color: var(--ink-muted); line-height: 1.6; display: block; }
  .search-bar { position: relative; margin-bottom: 24px; max-width: 420px; }
  .search-bar input { width: 100%; padding: 11px 14px 11px 40px; border: 1.5px solid var(--paper-dark); border-radius: 24px; font-family: 'DM Sans', sans-serif; font-size: 14px; background: var(--white); color: var(--ink); transition: border-color var(--tr); box-sizing: border-box; }
  .search-bar input:focus { outline: none; border-color: var(--green); }
  .search-bar::before { content: '🔍'; position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-size: 14px; pointer-events: none; }
  .search-no-results { display: none; padding: 24px; text-align: center; color: var(--ink-muted); font-size: 14px; }
  .form-group { margin-bottom: 16px; }
  .form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--ink-light); }
  .form-group input, .form-group textarea, .form-group select { width: 100%; padding: 11px 14px; border: 1.5px solid var(--paper-dark); border-radius: var(--radius); font-family: 'DM Sans', sans-serif; font-size: 14.5px; background: var(--white); color: var(--ink); transition: border-color var(--tr); }
  .form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--green); }
  .form-group textarea { resize: vertical; min-height: 110px; }

  /* ── NOTICE ── */
  .notice { background: var(--yellow-pale); border-left: 3px solid var(--yellow); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin: 20px 0; font-size: 14px; color: #6b5000; line-height: 1.6; }
  .notice strong { display: block; margin-bottom: 3px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; }

  /* ── BTN ── */
  .btn { display: inline-flex; align-items: center; gap: 7px; padding: 12px 24px; border-radius: var(--radius); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; transition: var(--tr); font-family: 'DM Sans', sans-serif; }
  .btn-green { background: var(--green); color: var(--white); }
  .btn-green:hover { background: var(--green-light); }
  .btn-ghost { background: transparent; color: rgba(255,255,255,0.85); border: 1.5px solid rgba(255,255,255,0.3); }
  .btn-ghost:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }
  .btn-outline { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
  .btn-outline:hover { background: var(--green-pale); }

  /* ── FOOTER ── */
  footer { background: var(--green-dark); color: rgba(255,255,255,0.55); padding: 48px 24px 24px; }
  .footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 20px; }
  @media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
  .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
  .footer-logo-mark { width: 36px; height: 36px; background: var(--green); border-radius: 5px; display: flex; align-items: center; justify-content: center; }
  .footer-logo-mark svg { width: 20px; height: 20px; }
  .footer-logo-text { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 15px; color: rgba(255,255,255,0.9); }
  .footer-brand p { font-size: 13px; line-height: 1.75; max-width: 240px; }
  .footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.82); margin-bottom: 14px; }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 9px; }
  .footer-col ul li a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 13.5px; transition: var(--tr); }
  .footer-col ul li a:hover { color: rgba(255,255,255,0.88); }
  .footer-bottom { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; flex-wrap: wrap; gap: 10px; }
  .footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }
  .footer-bottom a:hover { color: rgba(255,255,255,0.7); }

  /* ── RESPONSIVE / UTILS ── */
  @media (max-width: 900px) { nav { display: none; } .hamburger { display: flex; } }
  .page { display: none; }
  .page.active { display: block; animation: fadeIn 0.25s ease; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

  /* ── SUBPAGE NAV (spółdzielnia) ── */
  .subnav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
  .subnav-btn { padding: 8px 20px; background: var(--white); border: 1.5px solid var(--paper-dark); border-radius: 20px; font-size: 13px; font-weight: 600; color: var(--ink-muted); cursor: pointer; transition: var(--tr); font-family: 'DM Sans', sans-serif; display: inline-flex; align-items: center; gap: 0; }
  .subnav-btn.active, .subnav-btn:hover { border-color: var(--green); color: var(--green); background: var(--green-pale); }
  .subnav-copy { opacity: 0; margin-left: 6px; font-size: 11px; line-height: 1; transition: opacity 0.15s; cursor: pointer; padding: 1px 3px; border-radius: 3px; color: inherit; }
  .subnav-btn:hover .subnav-copy { opacity: 0.55; }
  .subnav-copy:hover { opacity: 1 !important; background: rgba(0,0,0,0.06); }
  .subnav-copy.copied { opacity: 1 !important; color: var(--green) !important; }
  .subnav-btn--alert { background: #c0392b; border-color: #c0392b; color: #fff !important; font-weight: 700; letter-spacing: 0.3px; animation: alertPulse 2.4s ease-in-out infinite; }
  .subnav-btn--alert:hover, .subnav-btn--alert.active { background: #a93226; border-color: #a93226; color: #fff !important; animation: none; }
  @keyframes alertPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(192,57,43,0.45); } 50% { box-shadow: 0 0 0 7px rgba(192,57,43,0); } }
  .subpage { display: none; }
  .subpage.active { display: block; animation: fadeIn 0.2s ease; }

  /* ── INITIATIVE CARD ── */
  .initiative-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--paper-dark); box-shadow: var(--shadow); overflow: hidden; margin-top: 24px; transition: box-shadow var(--tr); }
  .initiative-card:hover { box-shadow: var(--shadow-lg); }
  .initiative-card-accent { height: 5px; background: linear-gradient(90deg, var(--green-dark), var(--green) 50%, var(--yellow)); }
  .initiative-card-inner { display: grid; grid-template-columns: 240px 1fr; }
  .initiative-media { background: var(--green-pale); padding: 32px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; border-right: 1px solid var(--paper-dark); }
  .initiative-photo-wrap { width: 100%; border-radius: 0; overflow: hidden; border: 3px solid var(--green); box-shadow: var(--shadow); margin-bottom: 16px; }
  .initiative-photo { width: 100%; height: auto; display: block; }
  .initiative-person-info { margin-bottom: 14px; }
  .initiative-person-info strong { display: block; font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
  .initiative-person-info span { font-size: 11px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600; }
  .initiative-badges { display: flex; flex-direction: column; gap: 7px; width: 100%; }
  .initiative-badge-since, .initiative-badge-probono { display: block; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; }
  .initiative-badge-since { background: var(--paper-mid); color: var(--ink-muted); }
  .initiative-badge-probono { background: var(--green); color: var(--white); }
  .initiative-content { padding: 32px 36px; }
  .initiative-category { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--green); display: block; margin-bottom: 8px; }
  .initiative-title { font-family: 'Playfair Display', serif; font-size: clamp(22px, 3vw, 28px); font-weight: 800; line-height: 1.2; color: var(--ink); margin-bottom: 16px; }
  .initiative-lead { font-size: 15px; font-weight: 500; color: var(--ink-light); line-height: 1.72; margin-bottom: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--paper-mid); }
  .initiative-text { font-size: 13.5px; color: var(--ink-muted); line-height: 1.75; margin-bottom: 20px; }
  .initiative-text em { color: var(--green-dark); font-style: normal; font-weight: 600; }
  .initiative-activities { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-bottom: 24px; }
  .initiative-activity { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--ink-light); line-height: 1.45; }
  .ia-icon { font-size: 15px; flex-shrink: 0; margin-top: 1px; }
  .initiative-section-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 10px; margin-top: 4px; }
  .initiative-cta { background: var(--green-pale); border: 1px solid #c5e0c9; border-radius: var(--radius); padding: 18px 20px; }
  .initiative-cta-text { font-size: 14px; font-weight: 600; color: var(--green-dark); margin-bottom: 14px; line-height: 1.6; }
  .initiative-contacts { display: flex; gap: 10px; flex-wrap: wrap; }
  .initiative-contact-btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; border-radius: var(--radius); font-size: 14px; font-weight: 600; text-decoration: none; transition: var(--tr); white-space: nowrap; }
  .initiative-contact-btn--phone { background: var(--green); color: var(--white); }
  .initiative-contact-btn--phone:hover { background: var(--green-light); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
  .initiative-contact-btn--email { background: var(--white); color: var(--green); border: 1.5px solid var(--green); }
  .initiative-contact-btn--email:hover { background: var(--green-pale); transform: translateY(-1px); }
  .initiative-contact-btn--fb { background: #1877f2; color: var(--white); }
  .initiative-contact-btn--fb:hover { background: #1464d8; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
  @media (max-width: 768px) {
    .initiative-card-inner { grid-template-columns: 1fr; }
    .initiative-media { border-right: none; border-bottom: 1px solid var(--paper-dark); padding: 24px; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 20px; }
    .initiative-photo-wrap { width: 130px; max-width: 40%; margin-bottom: 0; }
    .initiative-badges { flex-direction: row; width: auto; }
    .initiative-activities { grid-template-columns: 1fr; }
    .initiative-content { padding: 24px 20px; }
  }

  /* ── ROZMIAR TEKSTU — dostępność dla seniorów ── */
  .header-right { display: flex; align-items: center; gap: 6px; }
  .font-size-ctrl { display: flex; align-items: center; gap: 3px; margin-left: 14px; }
  .fz-btn { background: none; border: 1.5px solid var(--paper-dark); border-radius: var(--radius); color: var(--ink-muted); cursor: pointer; font-family: 'DM Sans', sans-serif; font-weight: 700; line-height: 1; padding: 4px 8px; transition: var(--tr); }
  .fz-btn:hover, .fz-btn.fz-active { border-color: var(--green); color: var(--green); background: var(--green-pale); }
  .fz-btn[data-fz=""]   { font-size: 12px; }
  .fz-btn[data-fz="lg"] { font-size: 14px; }
  .fz-btn[data-fz="xl"] { font-size: 17px; }

  /* Duże litery */
  html.fz-lg .card-excerpt, html.fz-lg .section-desc, html.fz-lg .goals-list li,
  html.fz-lg .irreg-desc, html.fz-lg .topic-desc, html.fz-lg .event-desc,
  html.fz-lg .spot-desc, html.fz-lg .initiative-text, html.fz-lg .notice,
  html.fz-lg .service-note { font-size: 17px !important; line-height: 1.8 !important; }
  html.fz-lg .card-title, html.fz-lg .cc-title, html.fz-lg .event-title,
  html.fz-lg .topic-title { font-size: 20px !important; }
  html.fz-lg .irreg-title { font-size: 21px !important; }
  html.fz-lg .initiative-lead { font-size: 18px !important; line-height: 1.8 !important; }
  html.fz-lg .spot-name, html.fz-lg .service-name { font-size: 17px !important; }

  /* Bardzo duże litery */
  html.fz-xl .card-excerpt, html.fz-xl .section-desc, html.fz-xl .goals-list li,
  html.fz-xl .irreg-desc, html.fz-xl .topic-desc, html.fz-xl .event-desc,
  html.fz-xl .spot-desc, html.fz-xl .initiative-text, html.fz-xl .notice,
  html.fz-xl .service-note { font-size: 20px !important; line-height: 1.85 !important; }
  html.fz-xl .card-title, html.fz-xl .cc-title, html.fz-xl .event-title,
  html.fz-xl .topic-title { font-size: 24px !important; }
  html.fz-xl .irreg-title { font-size: 24px !important; }
  html.fz-xl .initiative-lead { font-size: 21px !important; line-height: 1.82 !important; }
  html.fz-xl .spot-name, html.fz-xl .service-name { font-size: 20px !important; }

  /* Wooden board styles moved inline to index.html */
