/* ===== Zmienne / kolory ===== */
:root {
  --green: #14503d;
  --green-dark: #0e3c2d;
  --bg: #f7f5f0;
  --bg-alt: #eef1ec;
  --ink: #17231d;
  --muted: #4c5850;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ===== Reset ===== */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--green);
}

a:hover {
  color: var(--green-dark);
}

h1,
h2,
h3,
p {
  margin: 0;
}

.container {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 32px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp .7s ease both;
}

.fade-up-delay {
  animation: fadeUp .8s ease .1s both;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, .92);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1230px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  height: 84px;
  width: 84px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: color .2s ease;
}

.main-nav a:hover {
  color: var(--green);
}

.main-nav a.active {
  color: var(--green);
  font-weight: 700;
}

.main-nav a.btn-primary {
  color: #fff;
}

.main-nav a.btn-primary:hover {
  color: #fff;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-nav {
  max-width: 1230px;
  margin: 0 auto;
  display: none;
  flex-direction: column;
  padding: 8px 32px 24px;
  gap: 4px;
  border-top: 1px solid rgba(23, 35, 29, .08);
}

.mobile-nav a {
  padding: 12px 0;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
}

.mobile-nav a.active {
  color: var(--green);
  font-weight: 700;
}

.mobile-nav.open {
  display: flex;
  animation: fadeUp .25s ease both;
}

/* ===== Buttons & links ===== */
.btn-primary {
  background: var(--green);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
  box-shadow: 0 6px 18px rgba(20, 80, 61, .18);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.btn-primary:hover {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(20, 80, 61, .28);
}

.btn-outline {
  border: 1.5px solid rgba(23, 35, 29, .22);
  color: var(--ink);
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
  transition: border-color .25s ease, background .25s ease;
}

.btn-outline:hover {
  border-color: var(--green);
  background: var(--bg-alt);
}

.link-arrow {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1.5px solid transparent;
  transition: border-color .25s ease;
}

.link-arrow:hover {
  border-color: var(--green);
}

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Sekcje ogólne ===== */
.section {
  padding: 72px 32px;
}

.section-alt {
  background: var(--bg-alt);
}

.section-brand {
  background: var(--green);
  color: #fff;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 16px;
}

.section-brand .eyebrow {
  color: #cfe0d2;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.15;
  font-weight: 700;
}

h2 {
  font-size: 26px;
  color: var(--ink);
}

h3 {
  font-size: 18px;
  color: var(--green);
}

p.lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 70ch;
}

p.body-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 68ch;
}

/* ===== Grid layouts ===== */
.hero-grid {
  max-width: 1230px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 32px 80px;
}

.two-col {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 48px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 28px;
}

.item-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid rgba(23, 35, 29, .1);
}

.item-row:last-child {
  border-bottom: 1px solid rgba(23, 35, 29, .1);
}

.card {
  background: #fff;
  border: 1px solid rgba(23, 35, 29, .1);
  border-radius: 16px;
  padding: 32px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(23, 35, 29, .08);
}

.hero-image-placeholder {
  width: 100%;
  height: 420px;
  border-radius: 24px;
  background: var(--bg-alt);
  border: 2px dashed rgba(23, 35, 29, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
  padding: 24px;
  box-shadow: 0 20px 45px rgba(23, 35, 29, .12);
}

.contact-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 100%;
  padding: 40px 24px;
  background: #fff;
  border: 1px solid rgba(23, 35, 29, .1);
  border-radius: 20px;
}

.contact-email {
  font-size: 28px;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color .25s ease;
}

.contact-email:hover {
  border-color: var(--green);
}

/* ===== Stat blocks (o nas) ===== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 28px;
  text-align: center;
}

.stat-box {
  padding: 36px 20px;
  border: 1px solid rgba(23, 35, 29, .1);
  border-radius: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(23, 35, 29, .08);
}

.stat-box .stat-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 8px;
}

.stat-box .stat-desc {
  font-size: 14px;
  color: var(--muted);
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid rgba(23, 35, 29, .1);
  margin-top: auto;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 48px 32px;
  text-align: center;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color .2s ease;
}

.footer-nav a:hover {
  color: var(--green);
}

.footer-sep {
  color: rgba(23, 35, 29, .3);
}

.footer-copy {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

/* ===== Responsywność ===== */
@media (max-width: 860px) {
  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-grid,
  .two-col,
  .item-row {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    flex-direction: column;
    gap: 14px;
  }

  .footer-nav img {
    order: -1;
    margin-bottom: 6px;
  }
}

@media (min-width: 861px) {
  .mobile-nav {
    display: none !important;
  }
}