/* ============ ZMIENNE I RESET ============ */
:root {
  --bg: #0d0d0f;
  --bg-alt: #141417;
  --surface: #1b1b1f;
  --text: #f2f2f2;
  --text-muted: #a5a5ad;
  --gold: #f2a90f;
  --gold-light: #ffd257;
  --gold-dark: #b87e06;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.accent { color: var(--gold); }

/* ============ NAWIGACJA ============ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(13, 13, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo-img {
  height: 44px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.nav-menu a:hover { color: var(--gold); }

.nav-toggle { display: none; }
.nav-toggle-label { display: none; }

/* ============ HERO ============ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(242, 169, 15, 0.12), transparent),
    var(--bg);
}

.hero-inner {
  text-align: center;
  padding: 4rem 0;
}

.hero-logo {
  height: clamp(110px, 20vw, 180px);
  width: auto;
  margin: 0 auto 2.5rem;
  animation: fadeDown 0.8s ease both;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  animation: fadeUp 0.8s ease 0.15s both;
}

.hero-sub {
  max-width: 560px;
  margin: 1.5rem auto 2.5rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  animation: fadeUp 0.8s ease 0.3s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.45s both;
}

/* ============ PRZYCISKI ============ */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: #171102;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(242, 169, 15, 0.35);
}

.btn-ghost {
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn-ghost:hover {
  background: rgba(242, 169, 15, 0.1);
  transform: translateY(-2px);
}

/* ============ SEKCJE ============ */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); }

.section-tag {
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1.25rem;
}

.section-lead {
  max-width: 640px;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

/* ============ O NAS ============ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 169, 15, 0.4);
}

.feature-icon { font-size: 2rem; margin-bottom: 1rem; }

.feature h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.feature p { color: var(--text-muted); font-size: 0.95rem; }

/* ============ OFERTA ============ */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.offer-item {
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
}

.offer-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.offer-item p { color: var(--text-muted); font-size: 0.95rem; }

/* ============ CENNIK ============ */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 169, 15, 0.4);
}

.price-card-featured {
  border-color: var(--gold);
  position: relative;
}

.badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #171102;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 { font-size: 1.2rem; margin-bottom: 1rem; }

.price {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-card ul {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.price-card li {
  padding: 0.5rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}

.price-card li:last-child { border-bottom: none; }

.price-card-list { text-align: left; }
.price-card-list h3 { text-align: center; }

.price-list {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.price-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
}

.price-list li:last-child { border-bottom: none; }

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.95rem;
}

.item-price {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.price-sub {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

.price-card-note {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* ============ KONTAKT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-block { margin-bottom: 2rem; }
.contact-block h3 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.contact-block p { color: var(--text-muted); }
.contact-block a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.25s ease;
}
.contact-block a:hover { color: var(--gold); }

#leaflet-map {
  width: 100%;
  height: 340px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  filter: grayscale(0.4);
}

/* ============ STOPKA ============ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-logo { height: 40px; width: auto; }

.site-footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============ ANIMACJE ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-logo, .hero h1, .hero-sub, .hero-cta {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ============ MOBILE ============ */
@media (max-width: 720px) {
  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
  }

  .nav-toggle-label span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(13, 13, 15, 0.97);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav-toggle:checked ~ .nav-menu { max-height: 320px; }

  .nav-menu li { text-align: center; }
  .nav-menu a {
    display: block;
    padding: 1rem;
  }

  .section { padding: 4rem 0; }

  .contact-grid { grid-template-columns: 1fr; }
}
