/* Reset & base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: #f3f4f6;
  color: #111827;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #0b5ed7;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout */

.wrapper-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1 0 auto;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */

.top-bar {
  background: #0b1120;
  color: #e5e7eb;
  font-size: 13px;
}

.top-bar__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 6px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.top-bar a {
  color: #e5e7eb;
}

.header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1d4ed8, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-weight: 800;
  font-size: 20px;
}

.header__title {
  font-weight: 700;
  font-size: 18px;
}

.header__subtitle {
  font-size: 12px;
  color: #6b7280;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nav a {
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #111827;
}

.nav a:hover {
  background-color: #e5efff;
  text-decoration: none;
}

/* Hero (home) */

.hero {
  background: radial-gradient(
    circle at top left,
    #e0f2fe,
    #eff6ff 40%,
    #f9fafb
  );
  border-bottom: 1px solid #e5e7eb;
}

.hero__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 16px 32px;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 26px;
  align-items: center;
}

.hero__kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #1d4ed8;
  margin-bottom: 6px;
}

.hero__title {
  font-size: clamp(26px, 3vw, 32px);
  margin: 0 0 10px;
}

.hero__subtitle {
  font-size: 15px;
  color: #4b5563;
  margin: 0 0 16px;
  max-width: 540px;
}

.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero__pill {
  background: #ffffff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  border: 1px solid #e5e7eb;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__image-box {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
  border: 1px solid #dbeafe;
  background: #020617;
}

/* Generic buttons */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary {
  background: #0b5ed7;
  color: #ffffff;
}

.btn-primary:hover {
  background: #1d4ed8;
  text-decoration: none;
}

.btn-secondary {
  background: #ffffff;
  color: #111827;
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  background: #f9fafb;
  text-decoration: none;
}

/* Sections */

.section {
  padding: 28px 0;
}

.section--white {
  background: #ffffff;
}

.section--gray {
  background: #f9fafb;
}

.section__header {
  margin-bottom: 18px;
}

.section__kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
}

.section__title {
  font-size: 22px;
  margin: 4px 0;
}

.section__lead {
  font-size: 14px;
  color: #4b5563;
  max-width: 640px;
}

/* Layout helpers */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 24px;
  margin-top: 30px;
}

/* Cards */

.card {
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 14px 14px 16px;
}

.card--white {
  background: #ffffff;
}

.card__tag {
  display: inline-block;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e5efff;
  color: #1d4ed8;
  margin-bottom: 6px;
}

.card h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.card p {
  font-size: 14px;
  color: #4b5563;
  margin: 0 0 8px;
}

/* Lists */

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  margin-bottom: 6px;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
  color: #16a34a;
  margin-top: 2px;
}

/* Breadcrumbs */

.breadcrumbs {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 12px;
}

.breadcrumbs a {
  color: #4b5563;
}

/* Tables */

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th,
.table td {
  border: 1px solid #e5e7eb;
  padding: 8px 10px;
}

.table th {
  background: #eff6ff;
  text-align: left;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 24px;
}

label {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

input,
textarea {
  width: 100%;
  padding: 8px 9px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-family: inherit;
  background: #ffffff;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #0b5ed7;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-meta {
  font-size: 14px;
  color: #4b5563;
}

.map-frame {
  margin-top: 10px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d1d5db;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.25);
}

.map-frame iframe {
  width: 100%;
  height: 260px;
  border: 0;
}

/* Footer */

.footer {
  background: #020617;
  color: #e5e7eb;
  border-top: 1px solid #1f2937;
  padding: 14px 16px 18px;
  margin-top: 24px;
}

.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__links a {
  color: #e5e7eb;
}

/* Utilities */

.text-muted {
  color: #6b7280;
}

.mt-sm {
  margin-top: 8px;
}

.mt-md {
  margin-top: 16px;
}

.mt-lg {
  margin-top: 24px;
}

/* Responsive */

@media (max-width: 900px) {
  .hero__layout,
  .grid-3,
  .grid-2,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .top-bar__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Ilustracje w treści stron */

.page-image {
  display: block;
  width: 100%;
  max-height: 320px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.25);
  object-fit: cover;
  background: #020617;
}

.page-image--narrow {
  max-height: 260px;
}

@media (max-width: 640px) {
  .page-image {
    max-height: 220px;
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.25);
  }
}


/* COOKIE BANNER */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(15, 23, 42, 0.98);
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow: 0 -14px 30px rgba(0, 0, 0, 0.7);
  font-size: 13px;
}

.cookie-banner__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 16px 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner__text {
  color: #e5e7eb;
  max-width: 720px;
}

.cookie-banner__text a {
  color: #facc15;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: none;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.cookie-banner__btn--primary {
  background: linear-gradient(135deg, #f97316, #facc15);
  color: #111827;
}

.cookie-banner__btn--primary:hover {
  filter: brightness(1.05);
}

.cookie-banner__btn--ghost {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.8);
}

.cookie-banner__btn--ghost:hover {
  background: rgba(15, 23, 42, 0.95);
}

@media (max-width: 640px) {
  .cookie-banner__inner {
    align-items: flex-start;
  }
}
