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

:root {
  --bg-body: #0b1220;
  --bg-surface: #0f172a;
  --bg-soft: #111827;
  --border-soft: #1f2937;
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.12);
  --accent-border: rgba(249, 115, 22, 0.4);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #020617, #020617 45%, #030712);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.7));
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-main {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f9fafb;
}

.logo-sub {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

nav a {
  font-size: 0.85rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #e5e7eb;
}

nav a:hover {
  border-color: var(--border-soft);
  background: rgba(15, 23, 42, 0.9);
}

main {
  max-width: 1200px;
  margin: 0 auto 3.5rem;
  padding: 1.8rem 1.5rem 0;
}

.hero {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background-image: url("/assets/img/hero-budowa.jpg");
  background-size: cover;
  background-position: center;
  margin-bottom: 2.8rem;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  padding: 2.6rem 2.4rem;
  background: radial-gradient(circle at top left, rgba(15,23,42,0.9), rgba(15,23,42,0.94));
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.1fr);
  gap: 2.2rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-soft);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-badge span {
  display: inline-flex;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.hero h1 {
  font-size: 2.35rem;
  margin: 0.9rem 0 0.5rem;
}

.hero p {
  margin-bottom: 0.65rem;
  color: var(--text-muted);
}

.hero-highlight {
  color: #f9fafb;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.hero-stat {
  padding: 0.85rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(31,41,55,0.8);
  font-size: 0.8rem;
}

.hero-stat span {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  color: #f9fafb;
}

.hero-panel {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1.15rem;
  border: 1px solid rgba(55,65,81,0.9);
  padding: 1.3rem 1.25rem;
}

.hero-panel h2 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.hero-panel p {
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
}

.hero-panel small {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.hero-panel form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.9rem;
}

.hero-panel label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-panel input,
.hero-panel select,
.hero-panel textarea {
  width: 100%;
  margin-top: 0.15rem;
  padding: 0.45rem 0.6rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(55,65,81,0.9);
  background: #020617;
  color: var(--text-main);
  font: inherit;
}

.hero-panel textarea {
  resize: vertical;
  min-height: 60px;
}

.hero-panel button {
  grid-column: 1 / -1;
  justify-self: flex-start;
}

.section {
  margin-bottom: 3rem;
}

.section h1 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.section h2 {
  font-size: 1.3rem;
  margin: 1rem 0 0.55rem;
}

.section h3 {
  font-size: 1.05rem;
  margin: 0.8rem 0 0.4rem;
}

.section p {
  margin-bottom: 0.6rem;
  color: var(--text-muted);
}

.section strong {
  color: #e5e7eb;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
}

.card {
  background: var(--bg-surface);
  border-radius: 1.1rem;
  border: 1px solid var(--border-soft);
  padding: 1rem 1rem;
}

.card-accent {
  border-color: var(--accent-border);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(15, 23, 42, 0.9));
}

.card h3 {
  margin-bottom: 0.4rem;
  color: #f9fafb;
}

.card p {
  font-size: 0.9rem;
}

ul, ol {
  margin-left: 1.15rem;
  margin-bottom: 0.8rem;
}

li {
  margin-bottom: 0.25rem;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.8rem;
}

.content-layout img {
  border-radius: 1.2rem;
  border: 1px solid var(--border-soft);
}

.content-layout aside {
  font-size: 0.85rem;
  color: var(--text-muted);
}

form {
  display: grid;
  gap: 0.75rem;
}

label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

input,
textarea,
select {
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border-soft);
  background: #020617;
  color: var(--text-main);
  font: inherit;
}

textarea {
  resize: vertical;
}

button {
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #111827;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

button:hover {
  background: #ea580c;
}

footer {
  border-top: 1px solid var(--border-soft);
  background: #020617;
  padding: 1.7rem 1.5rem;
  margin-top: 2.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-inner a {
  color: var(--text-muted);
}

.footer-inner a:hover {
  color: #e5e7eb;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.98);
  color: var(--text-main);
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  border-top: 1px solid var(--border-soft);
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  color: var(--text-muted);
}

.cookie-banner a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-banner button {
  border-radius: 999px;
  border: none;
  padding: 0.45rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--accent);
  color: #111827;
  white-space: nowrap;
  font-size: 0.8rem;
}

.cookie-banner button:hover {
  background: #ea580c;
}

@media (max-width: 900px) {
  .hero-overlay {
    grid-template-columns: 1fr;
  }
  .hero-panel form {
    grid-template-columns: 1fr;
  }
  .content-layout {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  nav ul {
    justify-content: flex-start;
  }
  main {
    padding-inline: 1.1rem;
  }
  .hero-overlay {
    padding: 2rem 1.6rem;
  }
  .cookie-banner-inner {
    align-items: flex-start;
  }
}
