:root {
  --red: #d12323;
  --red-dark: #a91a1a;
  --green: #92c137;
  --green-dark: #5f8a1d;
  --ink: #282828;
  --muted: #5d5a54;
  --cream: #fbf7ef;
  --cream-2: #f3ecdd;
  --line: #e6dccb;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(60, 45, 20, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Jost", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

.hand {
  font-family: "Caveat", cursive;
  font-size: 27px;
  color: var(--red);
  margin: 0 0 .1em;
  line-height: 1.2;
}
.hand-light { color: #fff; opacity: .9; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 17px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--green-dark); }
.btn-white:hover { background: var(--cream); }
.btn-sm { padding: 9px 18px; font-size: 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 239, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px;
  height: 2px; background: var(--green); transition: right .25s;
}
.nav a:not(.btn):hover::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; border-radius: 2px; }

/* Hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6vw, 72px); letter-spacing: -.01em; margin-bottom: .35em; }
.hero h1 span { color: var(--green-dark); }
.lead { font-size: 20px; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.hero-address { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; }
.hero-address svg { width: 20px; height: 20px; fill: var(--red); }
.hero-photo { position: relative; }
.hero-photo > img:first-child {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
.hero-photo::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px;
  border: 2px solid var(--green); border-radius: 200px 200px var(--radius) var(--radius);
  z-index: -1;
}
.hero-badge {
  position: absolute; left: -36px; bottom: 40px;
  width: 104px; height: 104px; padding: 16px;
  background: #fff; border-radius: 50%; box-shadow: var(--shadow);
}

/* Features */
.features { background: #fff; border-block: 1px solid var(--line); padding: 44px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.feature h3 { margin: 14px 0 6px; }
.feature p { color: var(--muted); margin: 0; font-size: 17px; }
.feature-icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: #eef6df; display: grid; place-items: center;
}
.feature-icon svg { width: 26px; height: 26px; fill: var(--green-dark); }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--cream-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head p:last-child { color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 0 var(--line);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 22px 24px 26px; }
.card-body h3 { position: relative; padding-left: 18px; }
.card-body h3::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--red);
}
.card-body p { color: var(--muted); font-size: 17px; margin: 0; }

/* Gallery */
.gallery {
  display: grid; gap: 16px;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 280px 280px;
}
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-photo img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow); }
.about-text p:not(.hand) { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; }
.ticks li { position: relative; padding-left: 34px; margin-bottom: 10px; font-weight: 500; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* B2B */
.b2b {
  background: var(--green-dark) url("../img/hero-kosz.webp") right center / cover no-repeat;
  position: relative; color: #fff; padding: 80px 0;
}
.b2b::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #4f7a16 0%, rgba(79, 122, 22, .94) 55%, rgba(79, 122, 22, .6) 100%);
}
.b2b-inner { position: relative; display: flex; gap: 40px; align-items: center; justify-content: space-between; }
.b2b-inner > div:first-child { max-width: 640px; }
.b2b p:not(.hand) { opacity: .92; margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: stretch; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 32px; }
.contact-list li { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-list strong { display: block; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.contact-list a { text-decoration: none; font-weight: 600; font-size: 20px; }
.ci-icon { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fbe4e4; display: grid; place-items: center; }
.ci-icon svg { width: 22px; height: 22px; fill: var(--red); }
.contact-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 400px; box-shadow: var(--shadow); background: var(--cream-2); }
.map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--green); color: #fff; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 36px; }
.footer-logo { height: 70px; width: auto; }
.footer-h { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; opacity: .8; margin: 0 0 10px; }
.footer-info p:not(.footer-h) { margin: 0 0 4px; font-weight: 500; }
.site-footer a { text-decoration: none; }
.footer-nav { display: flex; flex-direction: column; gap: 4px; }
.footer-nav a { font-weight: 500; }
.footer-nav a:hover, .footer-info a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.3); margin-top: 40px; padding: 18px 0 22px; }
.footer-bottom p { margin: 0; font-size: 15px; opacity: .85; }

/* Social */
.social { display: flex; gap: 12px; }
.social a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); transition: transform .2s, background .2s;
}
.social a:hover { transform: translateY(-2px); }
.social svg { width: 22px; height: 22px; fill: var(--green-dark); }
.social-light a { background: rgba(255,255,255,.18); border-color: transparent; }
.social-light a:hover { background: rgba(255,255,255,.3); }
.social-light svg { fill: #fff; }
.follow { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 48px; text-align: center; }
.follow p { margin: 0; color: var(--muted); }
.follow-left { align-items: flex-start; text-align: left; margin-top: 36px; }

/* WhatsApp */
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5b; }
.btn-outline-white { border-color: #fff; color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--green-dark); }
.ci-icon.ci-wa { background: #dcf8e7; }
.ci-icon.ci-wa svg { fill: #1ebe5b; }

/* Floating buttons */
.fabs { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab {
  min-width: 60px; height: 60px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  color: #fff; text-decoration: none; font-weight: 600;
  transition: transform .2s;
}
.fab:hover { transform: translateY(-2px); }
.fab svg { width: 28px; height: 28px; fill: #fff; flex: none; }
.fab-wa { background: #25d366; box-shadow: 0 8px 20px rgba(37, 211, 102, .4); padding: 0 22px 0 18px; }
.fab-call { background: var(--red); box-shadow: 0 8px 20px rgba(209, 35, 35, .4); display: none; }

/* Subpage header */
.page-hero { padding: 72px 0 64px; background: var(--cream-2); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(38px, 5.5vw, 62px); margin-bottom: .3em; }
.page-hero h1 span { color: var(--green-dark); }
.page-hero .lead { margin: 0; }
.page-hero.has-img { position: relative; color: #fff; background-color: #222; background-position: center; background-size: cover; background-repeat: no-repeat; padding: 110px 0 96px; border: 0; }
.page-hero.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,20,.85), rgba(20,20,20,.45)); }
.page-hero.has-img .wrap { position: relative; }
.page-hero.has-img .lead { color: rgba(255,255,255,.88); }
.page-hero.has-img h1 span { color: var(--green); }
.page-hero.has-img .hand { color: #ff8a8a; }

/* Misc layout */
.muted { color: var(--muted); }
.center-cta { text-align: center; margin: 44px 0 0; }
.contact-cta.center { justify-content: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ask { text-align: center; max-width: 640px; }
.visit { text-align: center; max-width: 700px; }
.visit .contact-cta { justify-content: center; }
.btn svg { flex: none; }

/* Cities */
.cities { list-style: none; padding: 0; margin: 20px 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.cities li {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px 7px 12px; font-weight: 500; font-size: 16px;
}
.cities svg { width: 16px; height: 16px; fill: var(--red); }
.cities-lg li { font-size: 18px; padding: 10px 20px 10px 14px; }

/* Seasonal promos */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.promo { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 0 var(--line); }
.promo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.promo-body { padding: 24px 28px 30px; }
.promo-body p { color: var(--muted); margin: 0; }
.tag { display: inline-block; background: #fdebd3; color: #b05a00; font-weight: 600; font-size: 14px; border-radius: 999px; padding: 3px 12px; margin-bottom: 10px; }
.tag-green { background: #eef6df; color: var(--green-dark); }
.tag-red { background: #fbe4e4; color: var(--red-dark); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 30px 28px; box-shadow: 0 2px 0 var(--line); }
.steps p { color: var(--muted); margin: 0; }
.step-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; font-size: 22px; margin-bottom: 16px; }

/* Who we serve */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.who { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: 0 2px 0 var(--line); }
.who h3 { margin: 16px 0 6px; }
.who p { color: var(--muted); font-size: 17px; margin: 0; }
.b2b-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Active nav */
.nav a[aria-current="page"] { color: var(--red); }
.nav a[aria-current="page"]::after { right: 0; background: var(--red); }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-inner, .about, .contact { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo { max-width: 420px; margin: 0 auto; width: 100%; }
  .b2b-inner { flex-direction: column; align-items: flex-start; }
  .split, .promo-grid { grid-template-columns: 1fr; gap: 40px; }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 84px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
  .fab-call { display: inline-flex; }
  .fab-wa { padding: 0; width: 60px; }
  .fab-label { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .header-inner { height: 72px; }
  .nav { top: 72px; }
  .brand img { height: 50px; }
  .hero { padding: 32px 0 56px; }
  .hero-photo::before { inset: 16px -12px -16px 12px; }
  .hero-badge { left: -8px; width: 84px; height: 84px; padding: 13px; }
  .features-grid, .cards { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 72px 0; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 180px 200px; }
  .g-tall { grid-row: span 2; }
  .g-wide { grid-column: span 2; }
  .steps, .who-grid, .footer-grid, .promo-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 48px 0 44px; }
  .page-hero.has-img { padding: 72px 0 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Product list (asortyment) */
.pl-cat { font-size: 24px; margin: 36px 0 14px; }
.pl-cat:first-of-type { margin-top: 0; }
.pl-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.pl-item { position: relative; margin: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 0 var(--line); }
.pl-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pl-item figcaption { padding: 8px 10px 10px; font-weight: 600; font-size: 16px; line-height: 1.2; }
.pl-badge { position: absolute; top: 8px; left: 8px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; padding: 2px 8px; border-radius: 8px; }
@media (max-width: 960px) { .pl-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .pl-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Certificates – prominent section */
.certs { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1000px; margin: 0 auto; }
.cert-card {
  display: flex; align-items: center; gap: 28px; padding: 28px; background: #fff;
  border: 2px solid var(--green); border-radius: var(--radius); box-shadow: var(--shadow);
}
.cert-card h3 { font-size: 30px; margin: 4px 0 8px; }
.cert-card p { margin: 0; color: var(--muted); }
.cert-check { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--green-dark) !important; }
.cert-check svg { width: 18px; height: 18px; fill: var(--green); }
.cert-seal {
  flex: none; width: 130px; height: 130px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle, #fff 58%, var(--green) 59%, var(--green) 64%, #fff 65%, #fff 70%, var(--green-dark) 71%);
  color: var(--green-dark); font-weight: 800; font-size: 24px; line-height: 1.05;
}
.cert-seal small { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.cert-photo { flex: none; width: 160px; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: transform .2s; }
.cert-photo:hover { transform: scale(1.03); }
.cert-photo img { display: block; width: 100%; aspect-ratio: 1 / 1.414; object-fit: cover; }
@media (max-width: 860px) { .cert-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .cert-card { flex-direction: column; text-align: center; padding: 22px; }
  .cert-check { justify-content: center; }
}

/* Certificate strip in hero */
.cert-strip { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.cert-mini {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: #fff; border: 2px solid var(--green); color: var(--green-dark); font-weight: 700; text-decoration: none;
}
.cert-mini svg { width: 20px; height: 20px; fill: var(--green); }
.cert-mini:hover { background: var(--green); color: #fff; }
.cert-mini:hover svg { fill: #fff; }
.certs .section-head { max-width: 760px; }
.cert-link { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--red); text-decoration: none; }
.cert-link:hover { text-decoration: underline; }
