/* 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: #f4f4f7;
  color: #0f172a;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #0369a1;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* LAYOUT */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1 0 auto;
}

.shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER – JASNY, Z NEONOWĄ LINIĄ */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__bar {
  border-bottom: 2px solid #fb923c;
}

.site-header__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.header-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #38bdf8, #1d4ed8 60%, #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.4);
}

.brand__title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.brand__subtitle {
  font-size: 12px;
  color: #6b7280;
}

.header-contact {
  text-align: right;
  font-size: 12px;
  color: #6b7280;
}

.header-contact strong {
  display: block;
  font-size: 13px;
  color: #0f172a;
}

/* NAV */

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding-top: 4px;
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
  color: #111827;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #0ea5e9, #fb923c);
  transition: width 0.25s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

/* HERO – TŁO ZDJĘCIE + SZKLANE CARDS */

.hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/hero.webp");
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 10%, #38bdf855, transparent 55%),
    radial-gradient(circle at 85% 90%, #fb923c55, transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 20px 40px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 24px;
}

.hero-main {
  color: #e5e7eb;
}

.hero-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #bae6fd;
  margin-bottom: 6px;
}

.hero-title {
  font-size: clamp(26px, 3.1vw, 34px);
  margin: 0 0 8px;
}

.hero-title span {
  color: #facc15;
}

.hero-text {
  font-size: 14px;
  color: #e5e7eb;
  max-width: 540px;
  margin-bottom: 10px;
}

.hero-meta {
  font-size: 13px;
  color: #e5e7eb;
  margin-bottom: 14px;
}

.hero-meta strong {
  color: #ffffff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
}

.hero-tag {
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.4);
  padding: 4px 10px;
  backdrop-filter: blur(12px);
  background: rgba(15, 23, 42, 0.25);
}

/* HERO PANEL */

.hero-panel {
  align-self: center;
  border-radius: 18px;
  padding: 14px 14px 16px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
}

.hero-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.hero-panel__title {
  font-size: 13px;
  font-weight: 600;
}

.hero-panel__badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 4px 8px;
  border-radius: 999px;
  background: #0f766e;
}

.hero-panel__list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  font-size: 12px;
}

.hero-panel__list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.5);
}

.hero-panel__list span:first-child {
  color: #9ca3af;
}

.hero-panel__list span:last-child {
  color: #e5e7eb;
}

.hero-panel__hint {
  font-size: 11px;
  color: #9ca3af;
}

/* BUTTONS */

.btn-primary,
.btn-secondary {
  border-radius: 999px;
  padding: 8px 16px;
  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: linear-gradient(135deg, #0ea5e9, #1d4ed8);
  color: #f9fafb;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.6);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.22);
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.8);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.32);
}

/* SECTIONS */

.section {
  padding: 32px 0;
}

.section--light {
  background: #f9fafb;
}

.section--muted {
  background: #eef1f5;
}

.section__inner {
  max-width: 1160px;
  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: #0f172a;
}

.section-lead {
  font-size: 14px;
  color: #4b5563;
  max-width: 680px;
}

/* GRID & CARDS */

.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.3fr);
  gap: 22px;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 14px 14px 16px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.card--accent {
  border-top: 3px solid #0ea5e9;
}

.card-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  margin-bottom: 4px;
}

.card-title {
  font-size: 16px;
  margin: 0 0 6px;
  color: #0f172a;
}

.card-text {
  font-size: 14px;
  color: #4b5563;
}

/* LISTY */

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  font-size: 14px;
  color: #4b5563;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid #0ea5e9;
}

/* BREADCRUMBS */

.breadcrumbs {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 12px;
}

.breadcrumbs a {
  color: #4b5563;
}

/* OBRAZKI W TREŚCI */

.content-image {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  margin-bottom: 18px;
}

/* CONTACT & FORM */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 24px;
}

label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  color: #0f172a;
}

input,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 8px 9px;
  font-family: inherit;
  font-size: 14px;
  background: #ffffff;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.35);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.map-box {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.map-box iframe {
  width: 100%;
  height: 260px;
  border: 0;
}

/* FOOTER */

.site-footer {
  background: #020617;
  color: #9ca3af;
  padding: 14px 20px 18px;
  margin-top: 32px;
}

.site-footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
}

.site-footer__links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer__links a {
  color: #e5e7eb;
}

/* COOKIE BANNER – WĄSKI PASEK U DOŁU */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(15, 23, 42, 0.97);
  color: #e5e7eb;
  border-top: 1px solid #0ea5e9;
  backdrop-filter: blur(14px);
}

.cookie-banner__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 20px 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.cookie-banner__text a {
  color: #facc15;
  text-decoration: underline;
}

.cookie-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 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: #0ea5e9;
  color: #0f172a;
}

.cookie-btn--accept:hover {
  filter: brightness(1.06);
}

.cookie-btn--later {
  background: transparent;
  border-color: #64748b;
  color: #e5e7eb;
}

.cookie-btn--later:hover {
  background: rgba(15, 23, 42, 0.8);
}

/* 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__content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    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) {
  .header-row-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-contact {
    text-align: left;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .cookie-banner__inner {
    align-items: flex-start;
  }
}
