/* ===== 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: radial-gradient(circle at top, #1f2937 0, #020617 45%, #020617 100%);
  color: #0f172a;
  line-height: 1.6;
}

/* LINKS */

a {
  color: #0ea5e9;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

/* LAYOUT */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1 0 auto;
}

.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER – STICKY, CIEMNY, INDUSTRIALNY */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.97);
  border-bottom: 1px solid rgba(75, 85, 99, 0.6);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 20px;
}

.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: conic-gradient(
    from 210deg,
    #facc15,
    #eab308,
    #f97316,
    #facc15
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: #020617;
  font-weight: 800;
  font-size: 19px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.brand__text-main {
  color: #e5e7eb;
  font-size: 17px;
  font-weight: 700;
}

.brand__text-sub {
  color: #9ca3af;
  font-size: 12px;
}

.header-contact {
  text-align: right;
  font-size: 12px;
  color: #9ca3af;
}

.header-contact strong {
  display: block;
  color: #e5e7eb;
  font-size: 13px;
}

/* NAV */

.site-nav {
  margin-top: 10px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.site-nav a {
  position: relative;
  color: #e5e7eb;
  text-decoration: none;
  padding-bottom: 6px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #eab308;
  transition: width 0.2s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

/* HERO – CIEMNY BLOK, SIATKA 2 KOLUMNY, ILUSTRACJA PO PRAWEJ */

.hero {
  background: radial-gradient(circle at top left, #eab30833, #020617 53%);
  color: #f9fafb;
  padding: 48px 0 56px;
}

.hero__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 32px;
  align-items: center;
}

.hero-main {
  max-width: 560px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #facc15;
  margin-bottom: 6px;
}

.hero-title {
  font-size: clamp(27px, 3.2vw, 34px);
  margin: 0 0 10px;
}

.hero-title span {
  color: #facc15;
}

.hero-text {
  font-size: 14px;
  color: #e5e7eb;
  margin: 0 0 12px;
}

.hero-meta {
  font-size: 13px;
  color: #cbd5f5;
  margin-bottom: 14px;
}

.hero-meta strong {
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
}

.badge {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.7);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

.hero-aside {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 18px 18px 16px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7);
}

.hero-aside-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.hero-aside-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
}

.hero-aside-title {
  font-size: 14px;
  font-weight: 600;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.hero-stat {
  padding: 8px 8px 7px;
  border-radius: 10px;
  background: #020617;
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.hero-stat-label {
  font-size: 11px;
  color: #9ca3af;
}

.hero-stat-value {
  font-size: 15px;
  font-weight: 600;
  color: #e5e7eb;
}

.hero-stat-note {
  font-size: 11px;
  color: #9ca3af;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  color: #9ca3af;
}

.hero-list li {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}

.hero-list li::before {
  content: "─";
  color: #facc15;
  opacity: 0.9;
}

/* BUTTONS */

.btn-primary,
.btn-secondary {
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary {
  background: #eab308;
  color: #1f2937;
}

.btn-primary:hover {
  background: #facc15;
}

.btn-secondary {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.7);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.8);
}

/* SECTIONS – JASNE BLOKI NA CIEMNYM TLE */

.section {
  padding: 32px 0;
}

.section--light {
  background: #f9fafb;
}

.section--muted {
  background: #f3f4f6;
}

.section__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  margin-bottom: 18px;
}

.section-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
}

.section-title {
  font-size: 22px;
  margin: 4px 0;
  color: #111827;
}

.section-lead {
  font-size: 14px;
  color: #4b5563;
  max-width: 640px;
}

/* GRIDY, KARTY */

.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.4fr);
  gap: 26px;
  align-items: flex-start;
}

.card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 14px 14px 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.card--accent {
  border-top: 3px solid #eab308;
}

.card-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
  margin-bottom: 4px;
}

.card-title {
  font-size: 16px;
  margin: 0 0 6px;
  color: #111827;
}

.card-text {
  font-size: 14px;
  color: #4b5563;
}

/* LISTY */

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  margin-bottom: 6px;
  color: #4b5563;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid #eab308;
}

/* OBRAZKI W TREŚCI */

.content-image {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  margin-bottom: 18px;
}

/* TABELA */

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th,
.table td {
  border: 1px solid #e5e7eb;
  padding: 6px 9px;
}

.table th {
  background: #f3f4f6;
  text-align: left;
}

/* BREADCRUMBS */

.breadcrumbs {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 12px;
}

.breadcrumbs a {
  color: #4b5563;
}

/* FORMULARZ I MAPA */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 26px;
}

label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  color: #111827;
}

input,
textarea {
  width: 100%;
  padding: 8px 9px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 14px;
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.3);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.map-box {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.map-box iframe {
  width: 100%;
  height: 260px;
  border: 0;
}

/* FOOTER – CIEMNY, SPÓJNY Z GÓRĄ */

.site-footer {
  background: #020617;
  border-top: 1px solid rgba(55, 65, 81, 0.8);
  padding: 14px 20px 18px;
  margin-top: 32px;
}

.site-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #9ca3af;
}

.site-footer__links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer__links a {
  color: #e5e7eb;
}

/* COOKIE BANNER – MAŁE PUDEŁKO W LEWYM DOLNYM ROGU */

.cookie-box {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 40;
  max-width: 360px;
  background: #020617;
  border-radius: 14px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
  padding: 12px 14px 10px;
  font-size: 12px;
  color: #e5e7eb;
}

.cookie-box__title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #f9fafb;
}

.cookie-box__text a {
  color: #facc15;
  text-decoration: underline;
}

.cookie-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.cookie-btn {
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}

.cookie-btn--accept {
  background: #eab308;
  color: #111827;
}

.cookie-btn--accept:hover {
  background: #facc15;
}

.cookie-btn--later {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.9);
  color: #e5e7eb;
}

.cookie-btn--later:hover {
  background: rgba(15, 23, 42, 0.95);
}

/* UTILS */

.text-muted {
  color: #4b5563;
}

.mt-xs {
  margin-top: 6px;
}

.mt-sm {
  margin-top: 10px;
}

.mt-md {
  margin-top: 16px;
}

.mt-lg {
  margin-top: 24px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-aside {
    order: -1;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-contact {
    text-align: left;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .cookie-box {
    right: 16px;
    left: 16px;
  }
}
