
:root {
  --green-dark: #1f5440;
  --green: #2d6a4f;
  --green-accent: #52b788;
  --green-light: #d8f3dc;
  --bg: #f4f5f7;
  --white: #ffffff;
  --text-main: #222222;
  --text-muted: #555555;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg);
}

h1,h2,h3 {
  margin-top: 0;
  font-weight: 700;
  letter-spacing: 0.01em;
}

h2 { font-size: 28px; }
h3 { font-size: 20px; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.site-header {
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--green-dark);
  font-size: 18px;
}
.logo-mark { font-size: 22px; }
.main-nav a {
  margin-left: 18px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 15px;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--green-accent);
  transition: width 0.2s ease-out;
}
.main-nav a:hover::after {
  width: 100%;
}

/* HERO */
.hero {
  background: radial-gradient(circle at top left, #52b788 0, #2d6a4f 40%, #1f5440 80%);
  color: var(--white);
  padding: 70px 0 60px;
}
.hero-subpage {
  background: linear-gradient(135deg, #2d6a4f, #1f5440);
  color: var(--white);
  padding: 60px 0 50px;
}
.hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.hero-sub-inner { align-items: center; }
.hero-left, .hero-right { flex: 1 1 320px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-size: 14px;
  margin-bottom: 10px;
}
.hero h1 { font-size: 32px; margin-bottom: 16px; }
.hero-lead {
  font-size: 18px;
  margin-bottom: 18px;
  max-width: 520px;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.hero-note { font-size: 14px; opacity: 0.9; }
.hero-right h2 { font-size: 20px; margin-bottom: 4px; }
.hero-phone {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* SEKCJE */
.section {
  padding: 60px 0;
  background: var(--bg);
}
.section.light { background: var(--white); }
.section h2 {
  text-align: center;
  margin-bottom: 10px;
}
.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px;
  color: var(--text-muted);
  font-size: 16px;
}
.section-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 18px;
}

/* KARTY */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.cards-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.card {
  background: var(--white);
  border-radius: 14px;
  padding: 18px 20px 20px;
  border: 1px solid #e3e7eb;
  box-shadow: 0 6px 16px rgba(15,35,52,0.06);
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, border-color 0.15s ease-out;
}
.card h3 { margin-bottom: 8px; }
.card p, .card ul {
  color: var(--text-muted);
  font-size: 16px;
}
.card ul { padding-left: 18px; margin: 0; }
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(15,35,52,0.12);
  border-color: var(--green-light);
}
.margin-top { margin-top: 26px; }

/* PAKIETY */
.plan { position: relative; }
.plan-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.plan-featured {
  border: 2px solid var(--green-accent);
  box-shadow: 0 10px 28px rgba(19,55,36,0.18);
}
.plan-featured::before {
  content: "Najczęściej wybierany";
  position: absolute;
  top: -12px;
  right: 14px;
  background: var(--green-accent);
  color: var(--white);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
}

/* KROKI */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.step {
  background: var(--white);
  border-radius: 14px;
  padding: 18px 20px 20px;
  border: 1px solid #e3e7eb;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-accent);
  color: var(--white);
  font-size: 15px;
  margin-bottom: 6px;
}

/* KONTAKT + FORMULARZ */
.contact { background: var(--white); }
.contact-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.contact-info, .contact-form { flex: 1 1 320px; }
.contact-note { font-size: 14px; color: var(--text-muted); }

form {
  background: #f8fafc;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid #dde3ea;
}
form input,
form textarea {
  width: 100%;
  padding: 10px 11px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid #c3ccd7;
  font-size: 15px;
  font-family: inherit;
}
form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--green-accent);
  box-shadow: 0 0 0 2px rgba(82,183,136,0.25);
}
form textarea {
  resize: vertical;
  min-height: 120px;
}
.full-width { width: 100%; }

/* TABELA CEN */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15,35,52,0.06);
}
.price-table th,
.price-table td {
  padding: 10px 12px;
  border: 1px solid #e1e5ea;
  font-size: 16px;
}
.price-table th {
  background: var(--green-light);
  text-align: left;
}

/* BUTTONY */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease-out, transform 0.1s ease-out, box-shadow 0.15s ease-out;
}
.btn-primary {
  background: var(--green-accent);
  color: var(--white);
  box-shadow: 0 6px 14px rgba(82,183,136,0.4);
}
.btn-primary:hover {
  background: #3ba873;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(82,183,136,0.6);
}
.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.18);
}

/* STOPKA */
.site-footer {
  background: #10281d;
  color: var(--white);
  padding: 14px 0;
  margin-top: 10px;
}
.footer-inner {
  text-align: center;
  font-size: 14px;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15,35,52,0.98);
  color: #ffffff;
  z-index: 100;
  padding: 12px 10px;
  font-size: 14px;
}
.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.cookie-inner p {
  margin: 0;
  flex: 1 1 auto;
}
.cookie-inner .btn {
  flex: 0 0 auto;
}
@media (max-width: 768px) {
  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-inner .btn {
    align-self: stretch;
    justify-content: center;
    width: 100%;
  }
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .main-nav a {
    margin-left: 0;
    margin-right: 12px;
    font-size: 14px;
  }
  .hero {
    padding: 50px 0 46px;
  }
  .hero h1 {
    font-size: 26px;
  }
}

/* active nav */
.main-nav a.active {
  border-bottom: 2px solid #ffbf3b;
  font-weight: 700;
}
.logo-icon { width:28px; height:28px; margin-right:6px; vertical-align:middle; }
