/* === RESET & BASE === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", system-ui, sans-serif;
  background: #f4f1ea;
  color: #16191e;
  font-size: 16px;
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
}

/* === TYPOGRAPHY === */
h1,
h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
em {
  font-style: italic;
}
.section-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 1.5rem;
}
.section-desc {
  max-width: 640px;
  color: #4b5563;
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  position: sticky;
  top: 0;
  background: #f4f1ea;
  z-index: 100;
  border-bottom: 1px solid rgba(22, 25, 30, 0.06);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-icon {
  font-size: 1.5rem;
}
.logo-text {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}
.logo-text small {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  font-weight: 400;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}
.nav-cta {
  background: #16191e;
  color: #f4f1ea;
  padding: 0.6rem 1.2rem;
  border-radius: 2px;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid #16191e;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary {
  background: #16191e;
  color: #f4f1ea;
}
.btn-primary:hover {
  background: #2d3139;
}
.btn-secondary {
  background: transparent;
  color: #16191e;
}
.btn-secondary:hover {
  background: #16191e;
  color: #f4f1ea;
}
.btn-full {
  width: 100%;
  text-align: center;
}

/* === SECTIONS === */
.section {
  padding: 6rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-dark {
  background: #16191e;
  color: #f4f1ea;
  max-width: 100%;
  padding: 6rem 3rem;
}
.section-dark .section-label {
  color: #9ca3af;
}
.section-dark .section-desc {
  color: #d1d5db;
}
.section-dark .price-card {
  background: #1f2329;
  border-color: #2d3139;
  color: #f4f1ea;
}
.section-dark .price-subtitle,
.section-dark .price span {
  color: #9ca3af;
}

/* === HERO === */
.hero {
  padding: 8rem 3rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-desc {
  max-width: 600px;
  color: #4b5563;
  margin: 1.5rem 0 2.5rem;
  font-size: 1.05rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid rgba(22, 25, 30, 0.1);
  padding-top: 3rem;
}
.stat-num {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2rem;
  display: block;
}
.stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
}

/* === FEATURES === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}
.feature {
  padding: 2rem 0;
  border-top: 1px solid rgba(22, 25, 30, 0.1);
}
.feature-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: #6b7280;
  display: block;
  margin-bottom: 0.75rem;
}
.feature p {
  color: #4b5563;
  font-size: 0.95rem;
}

/* === PRICING === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.price-card {
  background: #f4f1ea;
  border: 1px solid rgba(22, 25, 30, 0.1);
  padding: 2.5rem 2rem;
  position: relative;
  color: #16191e;
}
.price-card-featured {
  border: 2px solid #16191e;
  background: #f4f1ea;
}
.section-dark .price-card-featured {
  border-color: #f4f1ea;
}
.badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  background: #16191e;
  color: #f4f1ea;
  padding: 0.3rem 0.8rem;
  position: absolute;
  top: -0.75rem;
  left: 2rem;
}
.section-dark .badge {
  background: #f4f1ea;
  color: #16191e;
}
.price-subtitle {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.price {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}
.price span {
  font-size: 0.9rem;
  font-family: "Poppins", sans-serif;
  color: #6b7280;
}
.price-card ul {
  margin-bottom: 2rem;
}
.price-card li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: #4b5563;
  border-bottom: 1px solid rgba(22, 25, 30, 0.05);
}
.price-card li::before {
  content: "✓ ";
  color: #4a7c59;
  font-weight: 600;
}
.section-dark .price-card li {
  color: #d1d5db;
  border-color: rgba(255, 255, 255, 0.05);
}

/* === STEPS === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 2rem;
}
.step {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(22, 25, 30, 0.1);
}
.step p {
  color: #4b5563;
  font-size: 0.95rem;
}

/* === CONTACT === */
.contact-info p {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

/* === FOOTER === */
.footer {
  background: #16191e;
  color: #d1d5db;
  padding: 4rem 3rem 2rem;
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #9ca3af;
}
.footer-nav a,
.footer-legal a,
.footer-contact a {
  display: block;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  color: #9ca3af;
}
.footer-nav a:hover,
.footer-legal a:hover,
.footer-contact a:hover {
  color: #f4f1ea;
}
.footer strong {
  color: #f4f1ea;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.footer-contact p {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 0.5rem;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  font-size: 0.75rem;
  color: #6b7280;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.5rem;
  }
  .nav-links {
    display: none;
  }
  .hero,
  .section {
    padding: 4rem 1.5rem;
  }
  .section-dark {
    padding: 4rem 1.5rem;
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* === FORMULARZ ZAMÓWIENIA === */
/* Atrybut [hidden] musi wygrać z display:flex/block reguł .form-field. */
.order-form [hidden] {
  display: none !important;
}
.order-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-field > span,
.form-field legend {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7280;
}
.form-field input[type="email"],
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="password"],
.form-field select {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(22, 25, 30, 0.2);
  background: #fff;
  color: #16191e;
}
.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: #16191e;
}
.form-row {
  display: flex;
  gap: 1rem;
}
.form-row .form-field {
  flex: 1;
}
@media (max-width: 480px) {
  .form-row {
    flex-direction: column;
  }
}
.form-field small {
  font-size: 0.8rem;
  color: #9ca3af;
}
fieldset.form-field {
  border: none;
  padding: 0;
}
.radio,
.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  cursor: pointer;
}
.radio {
  display: inline-flex;
  margin-right: 1.5rem;
}
.form-error {
  color: #b91c1c;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border: 1px solid #b91c1c;
  background: rgba(185, 28, 28, 0.05);
}

/* === PODGLĄD PRODUKTU === */
.product-shot {
  margin: 2.5rem 0 3rem;
  border: 1px solid rgba(22, 25, 30, 0.12);
  background: #fff;
  padding: 0.5rem;
  box-shadow: 0 10px 40px rgba(22, 25, 30, 0.08);
}
.product-shot img {
  display: block;
  width: 100%;
  height: auto;
}
