/* ====== GLOBAL ====== */

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #F5F5F7;        /* jasne tło */
  color: #111827;                   /* ciemny tekst */
  line-height: 1.5;
}

/* Linki ogólne */

a {
  color: #003B73;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Kontener */

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ====== NAVBAR ====== */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 15, 22, 0.95); /* lekko granatowy, elegancki */
  backdrop-filter: blur(10px);
  color: #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.nav .logo img {
  display: block;
}

.nav a {
  color: #E5E7EB;
  text-decoration: none;
  font-size: 0.9rem;
  margin-left: 1rem;
}

.nav a:hover {
  color: #BFDBFE;
}

#menu {
  display: flex;
  align-items: center;
}

.burger {
  display: none;
  background: none;
  border: none;
  color: #E5E7EB;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ====== TYPOGRAPHY ====== */

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  color: #0F172A;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 0.75rem;
}

.muted {
  color: #6B7280;
}

.tiny {
  font-size: 0.8rem;
}

/* ====== SECTIONS ====== */

.section {
  padding: 3rem 0;
}

.section.alt {
  background-color: #E5E7EB;   /* delikatna szarość na przełamanie */
}

.section__head {
  margin-bottom: 1.5rem;
}

/* ====== GRID ====== */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 768px) {
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

/* ====== CARDS / BOXY ====== */

.card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.plan {
  text-align: left;
}

.benefit h3 {
  margin-bottom: 0.5rem;
}

/* ====== LISTY ====== */

.bullets {
  list-style: none;
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

.bullets li {
  position: relative;
  margin-bottom: 0.45rem;
}

.bullets li::before {
  content: "•";
  position: absolute;
  left: -1.2rem;
  top: 0;
  color: #003B73; /* nowy primary */
}

/* ====== BUTTONY ====== */

.btn,
.btn-primary {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background-color: #003B73;      /* primary DACH blue */
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.btn:hover,
.btn-primary:hover {
  background-color: #01497C;      /* darker hover */
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 59, 115, 0.35);
}

.btn--small {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

/* ====== FORMULARZE ====== */

.form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form .row {
  display: flex;
  gap: 0.75rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #CBD5F5;
  background-color: #FFFFFF;
  font: inherit;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: #003B73;
  box-shadow: 0 0 0 1px rgba(0, 59, 115, 0.25);
}

.form textarea {
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
}

/* ====== DROBNE ELEMENTY ====== */

.mini-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #6B7280;
}

.pill {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background-color: #F3E9D2;   /* jasne złoto / beż */
  color: #8A6A24;              /* złoty akcent */
  font-size: 0.8rem;
  font-weight: 600;
}

.price {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #6B7280;
}

/* ====== FOOTER ====== */

.footer {
  padding: 1.5rem 0 2rem;
  background-color: #0F172A;
  color: #E5E7EB;
  margin-top: 2rem;
}

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

.footer__nav a {
  color: #9CA3AF;
  text-decoration: none;
  font-size: 0.85rem;
  margin-left: 0.75rem;
}

.footer__nav a:hover {
  color: #E5E7EB;
}

.footer .muted {
  color: #9CA3AF;
}

/* ====== RESPONSYWNY NAV ====== */

@media (max-width: 768px) {
  #menu {
    position: absolute;
    top: 56px;
    right: 0;
    left: 0;
    background: #0F172A;
    flex-direction: column;
    padding: 0.75rem 1.5rem 1rem;
    display: none;
  }

  #menu a {
    margin: 0.3rem 0;
  }

  .burger {
    display: block;
  }

  .footer__grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .form .row {
    flex-direction: column;
  }
}
#menu.open {
  display: flex !important;
}
