/* Kooperacja page styles - scoped and minimal to avoid duplication with base.css */
:root {
  --koop-bg: #f0faf7;
  --koop-alt: #e6f7f2;
  --koop-primary: #0e8f7a;
  --koop-primary-contrast: #ffffff;
  --koop-accent: #ffd36e;
  --koop-text: #0a2f2b;
}

.koop-main { color: var(--koop-text); }

.koop-breadcrumbs { padding: 0.75rem 1rem; font-size: 0.9375rem; }
.koop-breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.koop-breadcrumbs li+li::before { content: "/"; margin: 0 .5rem; color: #6b8f89; }
.koop-breadcrumbs a { text-decoration: none; color: var(--koop-primary); }
.koop-breadcrumbs a:hover { text-decoration: underline; }

.koop-hero { background: linear-gradient(180deg, var(--koop-bg), #ffffff); }
.koop-hero__content { max-width: 68rem; margin: 0 auto; padding: 2.5rem 1rem 1rem; text-align: center; }
.koop-hero__lead { margin: .75rem auto 1rem; max-width: 56rem; font-size: 1.125rem; line-height: 1.7; }
.koop-hero__cta { display: inline-flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }
.koop-hero__media { max-width: 80rem; margin: 0.75rem auto 0; padding: 0 1rem 1.5rem; }
.koop-hero__media img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 24px rgba(0,0,0,.08); }

.koop-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 999px; padding: .75rem 1.1rem; font-weight: 600; text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.koop-btn:focus-visible { outline: 3px solid var(--koop-accent); outline-offset: 2px; }
.koop-btn--primary { background: var(--koop-primary); color: var(--koop-primary-contrast); }
.koop-btn--primary:hover { filter: brightness(1.05); }
.koop-btn--secondary { background: #ffffff; border-color: var(--koop-primary); color: var(--koop-primary); }
.koop-btn--secondary:hover { background: var(--koop-alt); }
.koop-btn--ghost { background: transparent; border-color: #99c9c1; color: #0a514a; }
.koop-btn--ghost:hover { background: #f4fffb; }

.koop-sections-nav { position: sticky; top: 0; z-index: 5; background: #ffffffcc; backdrop-filter: saturate(1.2) blur(4px); border-top: 1px solid #e6efed; border-bottom: 1px solid #e6efed; }
.koop-sections-nav ul { max-width: 80rem; margin: 0 auto; padding: .5rem 1rem; display: grid; grid-auto-flow: column; gap: .75rem; overflow-x: auto; scrollbar-width: thin; }
.koop-sections-nav a { white-space: nowrap; padding: .5rem .75rem; border-radius: 999px; color: #0a514a; text-decoration: none; border: 1px solid transparent; }
.koop-sections-nav a:hover { border-color: #cde7e1; background: #f6fffc; }

.koop-section { padding: 2.5rem 1rem; background: #fff; }
.koop-section--alt { background: var(--koop-bg); }
.koop-section__grid { max-width: 80rem; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: start; }

@media (min-width: 880px) {
  .koop-section__grid { grid-template-columns: 1.1fr 0.9fr; gap: 2rem; }
}

.koop-list { padding-left: 1.2rem; }
.koop-list li { margin: .35rem 0; }

.koop-steps { counter-reset: step; padding-left: 1.2rem; }
.koop-steps li { margin: .4rem 0; }

.koop-figure { margin: 0; }
.koop-figure img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 8px 20px rgba(0,0,0,.06); }
.koop-figure figcaption { font-size: .9rem; color: #4e6f69; margin-top: .5rem; }

.koop-card { border: 1px solid #d7ece7; background: #ffffff; border-radius: 12px; padding: 1rem; box-shadow: 0 6px 16px rgba(0,0,0,.04); }
.koop-card__title { margin-top: 0; }

.koop-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.koop-links a { text-decoration: none; color: var(--koop-primary); }
.koop-links a:hover { text-decoration: underline; }

.koop-form textarea { width: 100%; border: 1px solid #cfe8e3; border-radius: 10px; padding: .75rem; font: inherit; }
.koop-form__actions { display: flex; align-items: center; gap: .75rem; margin-top: .5rem; }
.koop-form__msg { min-height: 1.25rem; font-size: .95rem; color: #1a6c60; }

.koop-inline { display: grid; grid-template-columns: 1fr auto; gap: .5rem; align-items: center; margin-top: .75rem; }
.koop-inline input { border: 1px solid #cfe8e3; border-radius: 10px; padding: .65rem .75rem; font: inherit; min-width: 0; }

/* Utility */
.visually-hidden { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
