@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=Plus+Jakarta+Sans:wght@700;800&display=swap');

:root {
  --forest: #2A5C45;
  --accent: #3D8C6A;
  --mint: #5AAF87;
  --light-fill: #EDF4EF;
  --warm-white: #FFFFFF;
  --cream: #F7F3EE;
  --near-black: #1A1A1A;
  --mid: #556B61;
  --border: rgba(42,92,69,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--near-black);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2.5rem;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-mark {
  display: none;
}

.nav-wordmark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--forest);
  letter-spacing: -0.02em;
}

.nav-wordmark span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--mid);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--forest); }
.nav-links a.active { color: var(--forest); font-weight: 500; }

.nav-cta {
  background: var(--forest) !important;
  color: white !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 500 !important;
  font-size: 14px !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--accent) !important; color: white !important; }

/* HAMBURGER */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: all 0.25s;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 68px;
  left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  z-index: 99;
  flex-direction: column;
  gap: 0;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 16px;
  color: var(--mid);
  text-decoration: none;
  font-weight: 400;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--forest); }
.nav-mobile a.active { color: var(--forest); font-weight: 500; }
.nav-mobile .nav-cta {
  margin-top: 12px;
  text-align: center;
  border-radius: 8px;
  padding: 14px !important;
  border-bottom: none !important;
}

/* BUTTONS */
.btn-primary {
  background: var(--forest);
  color: white;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }

.btn-ghost {
  color: var(--forest);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.btn-ghost:hover { gap: 10px; }

/* PAGE HEADER (podstrony) */
.page-header {
  padding: 120px 2.5rem 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.page-header .section-kicker {
  margin-bottom: 0.75rem;
}

.page-header h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.5vw, 50px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--near-black);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 17px;
  color: var(--mid);
  font-weight: 300;
  max-width: 560px;
}

/* SHARED SECTION STYLES */
.section-kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--near-black);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.section-sub {
  font-size: 16px;
  color: var(--mid);
  font-weight: 300;
  max-width: 560px;
  margin-bottom: 3rem;
}

/* CHECK ITEMS */
.check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--light-fill);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check svg { width: 9px; height: 9px; }

/* FOOTER */
footer {
  padding: 2rem 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-copy { font-size: 13px; color: var(--mid); }
.footer-copy a { color: var(--mid); text-decoration: none; }
.footer-copy a:hover { color: var(--forest); }
.footer-langs { display: flex; gap: 1rem; font-size: 13px; color: var(--mid); }

/* CTA SECTION */
.cta-section {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 80px 2.5rem;
  text-align: center;
}

.cta-section h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--near-black);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 16px;
  color: var(--mid);
  margin-bottom: 2rem;
  font-weight: 300;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE — TABLET */
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .page-header { padding: 100px 1.5rem 40px; }
}

/* RESPONSIVE — MOBILE */
@media (max-width: 600px) {
  nav {
    padding: 0 1.25rem;
    height: 68px;
  }

  .nav-wordmark { font-size: 15px; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .page-header {
    padding: 90px 1.25rem 32px;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .section-heading { font-size: 24px; }

  .cta-section { padding: 60px 1.25rem; }
  .cta-section h2 { font-size: 26px; }

  .btn-primary, .btn-ghost {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }

  footer { padding: 24px 1.25rem; flex-direction: column; gap: 8px; text-align: center; }
}
