:root {
  --green-900: #14532d;
  --green-700: #15803d;
  --green-500: #22c55e;
  --green-100: #dcfce7;
  --yellow-100: #fff7cf;
  --text: #1f2937;
  --muted: #6b7280;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(20, 83, 45, 0.12);
  --radius: 28px;
  --radius-small: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at left top, rgba(34,197,94,0.14), transparent 25%),
    radial-gradient(circle at right center, rgba(246,196,69,0.14), transparent 25%),
    linear-gradient(180deg, #fbfff8 0%, #f7fbf4 50%, #ffffff 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20,83,45,0.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand img { width: 145px; }
.brand strong { display: block; color: var(--green-900); font-size: 1.1rem; }
.brand span { color: var(--muted); font-size: 0.95rem; }
.main-nav { display: flex; gap: 8px; align-items: center; }
.main-nav a {
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--green-900);
}
.main-nav a:hover, .main-nav a.active { background: var(--green-100); }
.menu-toggle {
  display: none;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--green-700);
  color: white;
  font-weight: 700;
}

.hero, .page-hero { padding: 56px 0 28px; }
.hero-grid, .grid { display: grid; gap: 24px; }
.hero-grid, .grid-2 { grid-template-columns: 1.1fr 0.9fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(20,83,45,0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-copy, .page-card, .info-card, .banner, .feature { padding: 36px; }
.eyebrow {
  display: inline-block;
  padding: 8px 14px;
  background: var(--green-100);
  color: var(--green-900);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}
h1 {
  margin: 16px 0 16px;
  font-size: clamp(2.3rem, 4vw, 4.6rem);
  line-height: 1.05;
  color: var(--green-900);
}
h2 { margin-top: 0; color: var(--green-900); }
.section { padding: 30px 0 60px; }
.section.compact { padding-top: 0; }
.section-head { margin-bottom: 24px; }
.section-head p { color: var(--muted); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: white;
  box-shadow: 0 14px 30px rgba(22, 163, 74, 0.2);
}
.btn-secondary {
  background: white;
  border: 1px solid rgba(20,83,45,0.12);
  color: var(--green-900);
}
.field-bg {
  min-height: 390px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.82), rgba(240,253,244,0.9)),
    url('../img/field.svg') center/cover no-repeat;
}
.icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--yellow-100), var(--green-100));
  font-size: 1.7rem;
  margin-bottom: 14px;
}
.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(135deg, rgba(220,252,231,0.92), rgba(255,247,207,0.92));
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}
.contact-list li, .note-box {
  padding: 14px 16px;
  border-radius: var(--radius-small);
  background: #f9fcf7;
  border: 1px solid rgba(20,83,45,0.08);
}
.site-footer { padding: 20px 0 52px; }
.footer-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 26px 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(220,252,231,0.92), rgba(255,247,207,0.92));
  border: 1px solid rgba(20,83,45,0.08);
}
.footer-box p { margin: 0; color: #425466; }

@media (max-width: 920px) {
  .hero-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-wrap { flex-wrap: wrap; min-height: auto; padding: 16px 0; }
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 12px;
  }
  .main-nav.open { display: flex; }
  .banner, .footer-box { flex-direction: column; align-items: flex-start; }
  .hero-copy, .page-card, .info-card, .banner, .feature { padding: 24px; }
  .brand img { width: 115px; }
}

.image-frame {
  margin-top: 22px;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbf3 100%);
  border: 1px solid rgba(20,83,45,0.08);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
}


.full-image-card { padding: 0; overflow: hidden; min-height: 100%; }
.full-card-image { margin-top: 0; height: 100%; min-height: 100%; border: 0; background: transparent; border-radius: inherit; }
.full-card-image img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; display: block; }
@media (max-width: 920px) { .full-card-image img { min-height: 360px; } }


.footer-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn-facebook { background: #1877f2; color: #fff; padding: 12px 18px; box-shadow: none; }
@media (max-width: 760px) { .footer-actions { flex-direction: column; align-items: flex-start; } }


.catalog-note {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: var(--radius-small);
  background: linear-gradient(135deg, rgba(220,252,231,0.65), rgba(255,247,207,0.55));
  border: 1px solid rgba(20,83,45,0.08);
  color: #425466;
  font-weight: 600;
}


.feature-btn { margin-top: 18px; }

/* Offer pages */
.lead {
  font-size: 1.08rem;
  color: #425466;
  max-width: 70ch;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.breadcrumbs strong { color: var(--green-900); }
.category-shell {
  padding: 38px;
  overflow: hidden;
  position: relative;
}
.category-shell::after {
  content: '';
  position: absolute;
  inset: auto -40px -60px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,0.14), rgba(34,197,94,0));
  pointer-events: none;
}
.hero-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}
.category-aside {
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(248,252,246,0.95));
  border: 1px solid rgba(20,83,45,0.08);
}
.category-aside h2, .overview-aside h2 { margin-bottom: 10px; }
.compact-list { gap: 10px; }
.compact-list li { padding: 12px 14px; }
.wide-btn { width: 100%; margin-top: 10px; }
.stats-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.stat {
  min-width: 150px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(20,83,45,0.08);
}
.stat strong {
  display: block;
  font-size: 1.25rem;
  color: var(--green-900);
}
.stat span { color: var(--muted); font-size: 0.95rem; }
.section-tight { padding: 8px 0 0; }
.category-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.subnav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(20,83,45,0.08);
  color: var(--green-900);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(20, 83, 45, 0.08);
}
.subnav-link.active {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: #fff;
}
.vertical-nav { flex-direction: column; }

.vertical-nav .subnav-link {
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: #fff;
  border: 0;
  box-shadow: 0 14px 30px rgba(22, 163, 74, 0.2);
  font-size: 1.1rem;
}
.vertical-nav .subnav-link.active {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: #fff;
}
.offer-page-body { padding-top: 24px; }
.offer-section-block + .offer-section-block { margin-top: 36px; }
.section-head.small { margin-bottom: 18px; }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(20,83,45,0.08);
  box-shadow: 0 16px 30px rgba(20, 83, 45, 0.08);
}
.product-card h3 {
  margin: 14px 0 10px;
  color: var(--green-900);
  font-size: 1.1rem;
  line-height: 1.25;
}
.product-card p {
  margin: 0;
  color: #425466;
  min-height: 72px;
}
.product-topline {
  width: 56px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
}
.product-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 18px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-900);
  font-size: 0.85rem;
  font-weight: 700;
}
.badge-light {
  background: rgba(255,247,207,0.9);
}
.offer-category-cards { align-items: stretch; }
.category-link-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.category-link-card h2 { margin: 0; }
.category-link-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
}
.list-checks {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.check-item {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(20,83,45,0.08);
  font-weight: 700;
  color: var(--green-900);
}
.check-item::before {
  content: '✓';
  margin-right: 10px;
}
.cta-banner { gap: 24px; }
.stacked-on-mobile { align-items: center; }

.category-hero.flowers .category-shell,
.category-link-card.flowers {
  background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(255,244,247,0.96));
}
.category-hero.vegetables .category-shell,
.category-link-card.vegetables {
  background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(241,252,244,0.96));
}
.category-hero.bags .category-shell,
.category-link-card.bags {
  background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(239,248,255,0.96));
}
.overview-shell {
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(246,251,243,0.96));
}

@media (max-width: 1100px) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .hero-split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .category-shell, .category-link-card, .product-card { padding: 22px; }
  .offer-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 12px; }
  .stat { width: 100%; }
  .stacked-on-mobile { width: 100%; justify-content: stretch; }
  .stacked-on-mobile .btn { width: 100%; }
}


.product-image {
  margin: -6px -6px 18px;
  padding: 18px;
  min-height: 360px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbf4 0%, #eef8ef 100%);
  border: 1px solid rgba(20,83,45,0.08);
  box-shadow: 0 14px 26px rgba(20, 83, 45, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image img {
  width: 100%;
  height: 100%;
  max-height: 324px;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}
.product-card:hover .product-image img {
  transform: scale(1.02);
}
.product-caption {
  margin: 0;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #56705f;
  background: rgba(255,255,255,0.9);
  border-top: 1px solid rgba(20,83,45,0.06);
}
.product-card p {
  min-height: 88px;
}
@media (max-width: 760px) {
  .product-image {
    margin: -4px -4px 16px;
    min-height: 300px;
    padding: 14px;
  }
  .product-image img {
    max-height: 272px;
  }
  .product-card p {
    min-height: auto;
  }
}


/* Rozciągnięcie sekcji kategorii na stronie oferty */
.offer-category-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(calc(100% - 32px), 1380px);
}

.offer-category-cards .category-link-card {
  min-height: 100%;
}

.offer-category-cards .btn {
  margin-top: auto;
}

@media (max-width: 900px) {
  .offer-category-cards {
    grid-template-columns: 1fr;
    width: min(calc(100% - 32px), var(--container));
  }
}


/* Editorial photos and lighter visual refresh */
.hero-copy {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,251,243,0.92));
}
.hero-visual.photo-hero {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20,83,45,0.14), rgba(20,83,45,0.28)),
    url('../img/editorial/kompozycja-warzyw.jpg') center/cover no-repeat;
}
.hero-visual.photo-hero::before {
  content: '';
  position: absolute;
  inset: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.28);
}
.photo-badge {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 16px 34px rgba(20,83,45,0.16);
}
.photo-badge strong {
  display: block;
  color: var(--green-900);
  margin-bottom: 6px;
}
.photo-badge span {
  color: #425466;
  font-size: 0.95rem;
}
.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}
.story-card {
  padding: 0;
  overflow: hidden;
}
.story-photo {
  min-height: 100%;
}
.story-photo img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}
.story-copy {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(247,252,245,0.96));
}
.story-quote {
  margin: 22px 0 0;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(220,252,231,0.52);
  border: 1px solid rgba(20,83,45,0.08);
  color: var(--green-900);
  font-weight: 700;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-card {
  overflow: hidden;
  padding: 0;
}
.gallery-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.gallery-copy {
  padding: 22px 22px 24px;
}
.gallery-copy h3 {
  margin: 0 0 10px;
  color: var(--green-900);
}
.gallery-copy p {
  margin: 0;
  color: #425466;
}
.inline-photo-panel {
  padding: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(242,251,244,0.96));
}
.inline-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.inline-photo {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(20,83,45,0.08);
}
.inline-photo img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}
.inline-photo figcaption {
  padding: 14px 16px 18px;
  color: #425466;
}
.inline-photo strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green-900);
}
@media (max-width: 920px) {
  .story-grid, .gallery-grid, .inline-photo-grid { grid-template-columns: 1fr; }
  .story-photo img { min-height: 320px; }
}


.contact-photo-card { position: relative; }
.photo-caption {
  padding: 18px 22px 22px;
  color: #425466;
  font-size: 0.98rem;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.96) 18%);
}
.photo-caption strong { color: var(--green-900); }
