:root {
  --green: #1f5b2e;
  --green-2: #4c9a2a;
  --orange: #f28c28;
  --brown: #7a4e2d;
  --cream: #f7f4ea;
  --sand: #e7d8b8;
  --ink: #1c1c1c;
  --white: #ffffff;
  --muted: #686357;
  --shadow: 0 24px 70px rgba(31, 91, 46, .16);
  --soft-shadow: 0 14px 38px rgba(31, 91, 46, .09);
  --radius: 8px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--green);
  color: var(--white);
}

.skip-link:focus { transform: translateY(0); }

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow { width: min(900px, calc(100% - 40px)); }

.section {
  padding: 58px 0;
  position: relative;
}

.section > .wrap > .section-kicker,
.section > .wrap > h2,
.section > .wrap > .section-intro {
  position: relative;
  z-index: 1;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--brown);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.eyebrow span,
.section-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--orange);
  box-shadow: 0 0 0 8px rgba(242, 140, 40, .14);
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  color: var(--green);
  font-size: clamp(42px, 5.45vw, 70px);
  font-weight: 900;
  text-wrap: balance;
}

h1.typewrite {
  font-style: italic;
}

h2 {
  max-width: 820px;
  color: var(--green);
  font-size: clamp(29px, 2.95vw, 42px);
  font-weight: 800;
  text-wrap: balance;
}

h3 {
  color: var(--green);
  font-size: 19px;
  font-weight: 800;
}

p { margin: 18px 0 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(247, 244, 234, .84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(31, 91, 46, .08);
  transition: box-shadow .25s ease, background .25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 40px rgba(31, 91, 46, .12);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 184px;
  max-height: 76px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-links .nav-cta {
  padding: 10px 16px;
  color: var(--white);
  background: var(--orange);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(242, 140, 40, .22);
}

.nav-links .nav-cta::after { display: none; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: var(--radius);
  background: var(--green);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  min-height: min(100vh, 820px);
  padding-top: 108px;
  padding-bottom: 72px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(247, 244, 234, .97) 0%, rgba(247, 244, 234, .88) 52%, rgba(31, 91, 46, .12) 100%),
    radial-gradient(circle at 76% 30%, rgba(242, 140, 40, .18), transparent 34%);
}

.growth-lines {
  position: absolute;
  inset: 0;
  opacity: .16;
  pointer-events: none;
  background-image:
    linear-gradient(100deg, transparent 0 17%, rgba(31, 91, 46, .4) 17.2% 17.7%, transparent 18% 100%),
    linear-gradient(82deg, transparent 0 28%, rgba(76, 154, 42, .36) 28.2% 28.7%, transparent 29% 100%),
    linear-gradient(94deg, transparent 0 43%, rgba(122, 78, 45, .24) 43.2% 43.7%, transparent 44% 100%);
  background-size: 280px 100%, 340px 100%, 410px 100%;
}

.hero-grid,
.split,
.process-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(min(340px, 100%), .86fr);
  gap: 64px;
  align-items: center;
}

.hero-copy p:not(.eyebrow):not(.hero-lead) {
  max-width: 650px;
  font-size: 17px;
  color: #413d35;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(31, 91, 46, .14);
  border-radius: 99px;
  padding: 7px 13px;
  background: rgba(255, 255, 255, .58);
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.hero-lead {
  color: var(--brown);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
}

.typewrite {
  display: inline-block;
}

.type-char {
  opacity: 0;
  transform: translateY(10px);
}

.type-char.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .18s ease, transform .18s ease;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(210px, 1fr));
  flex-wrap: nowrap;
  align-items: stretch;
  width: min(100%, 900px);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 13px 20px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.hero-actions .btn {
  min-height: 58px;
  padding: 13px 16px;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
}

.hero-actions .hero-message-cta {
  flex-direction: column;
  gap: 5px;
  line-height: 1.12;
  white-space: normal;
}

.hero-actions .hero-message-cta span {
  display: block;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(31, 91, 46, .16);
}

.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: #d87516; }
.btn-ghost { border-color: rgba(31, 91, 46, .26); color: var(--green); background: rgba(255,255,255,.62); }
.btn-soft { background: #efe3c8; color: var(--green); }

.hero-card {
  position: relative;
  min-height: 540px;
  overflow: visible;
}

.hero-card.is-visible .hero-photo,
.about-photo.is-visible .image-panel {
  animation: imageSettle .9s ease both;
}

.hero-photo,
.image-panel {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  min-height: 500px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background:
    linear-gradient(120deg, rgba(31,91,46,.08), rgba(31,91,46,.26)),
    url("../img/hero-zniwa-kombajn-ciagnik.jpg") center 57% / cover;
}

.hero-photo::before {
  display: none;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 0% 35%, rgba(255,255,255,.28) 50%, transparent 65% 100%);
  animation: lightSweep 5s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
}

.hero-note {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  padding: 20px 26px;
  border-radius: 0 0 var(--radius) var(--radius);
  color: var(--white);
  background: rgba(31, 91, 46, .82);
  box-shadow: 0 -4px 24px rgba(0,0,0,.14);
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

.field-card {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 0;
  display: grid;
  gap: 6px;
  width: auto;
  min-width: 200px;
  padding: 22px 26px 20px;
  border-radius: var(--radius) 0 var(--radius) 0;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(10px);
  color: var(--green);
  box-shadow: 0 8px 28px rgba(0,0,0,.13);
  animation: cardPulse 3s ease-in-out infinite;
}

.tech-tags {
  position: absolute;
  z-index: 4;
  right: 24px;
  top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 360px;
}

.tech-tags span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 99px;
  padding: 6px 10px;
  background: rgba(31, 91, 46, .62);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
  opacity: 1;
  transform: translateY(0);
  animation: floatTag .7s ease both;
}

.tech-tags span:nth-child(2) { animation-delay: .18s; }
.tech-tags span:nth-child(3) { animation-delay: .34s; }

.field-card span {
  color: var(--orange);
  font-size: 56px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: -1px;
}

.field-card small {
  display: grid;
  gap: 2px;
  color: var(--green);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
}

.field-card small b {
  display: block;
  font: inherit;
}

.hero-note strong,
.hero-note span { display: block; }

.hero-note span { margin-top: 8px; color: rgba(255,255,255,.82); }

.about { background: var(--white); }
.about .split { grid-template-columns: minmax(min(340px, 100%), .86fr) minmax(0, 1fr); align-items: start; }

.about-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  align-self: start;
  height: clamp(390px, 32vw, 450px);
}

.image-panel {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  box-shadow: none;
  background-image: none;
}

.photo-signature {
  display: none;
}

.photo-signature text {
  fill: rgba(247,244,234,0);
  stroke: #f7f4ea;
  stroke-width: 1.05;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 980;
  stroke-dashoffset: 980;
  font-family: "Segoe Script", "Bradley Hand", "Brush Script MT", cursive;
  font-size: 58px;
  font-weight: 400;
  letter-spacing: 0;
}

.about-photo.is-visible .photo-signature text {
  animation: writeSignature 2.7s ease forwards .28s, fillSignature .65s ease forwards 2.45s;
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(circle at 50% 51%, rgba(31,91,46,.16), transparent 32%);
  pointer-events: none;
}

@keyframes writeSignature {
  to { stroke-dashoffset: 0; }
}

@keyframes fillSignature {
  to { fill: rgba(247,244,234,.76); }
}

.text-panel p,
.mission-box p,
.process-grid p,
.partner-box p,
.section-intro,
.contact p {
  max-width: 720px;
  color: var(--muted);
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.checks span {
  position: relative;
  padding: 14px 14px 14px 34px;
  border: 1px solid rgba(31, 91, 46, .12);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--green);
  font-weight: 700;
}

.checks span::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--orange);
}


.mission {
  background:
    linear-gradient(135deg, rgba(31,91,46,.95), rgba(31,91,46,.88)),
    url("../img/proces-zniwa-kombajn.jpg") center / cover;
  color: var(--white);
}

.mission h2,
.mission .section-kicker,
.mission p { color: var(--white); }

.mission-box {
  max-width: 1180px;
}

blockquote {
  margin: 34px 0 0;
  padding-left: 28px;
  border-left: 5px solid var(--orange);
  color: var(--sand);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(24px, 2.35vw, 34px);
  line-height: 1.32;
}

@media (min-width: 1000px) {
  .mission blockquote {
    width: max-content;
    max-width: calc(100vw - 360px);
    white-space: nowrap;
  }
}

.stats,
.products,
.faq { background: var(--cream); }

.stats {
  padding-bottom: 56px;
}

.help {
  padding-top: 58px;
  padding-bottom: 58px;
}

.people-proof,
.process,
.products,
.partner,
.blog-preview,
.faq,
.contact {
  padding-top: 52px;
  padding-bottom: 52px;
}

.stats-grid,
.cards,
.product-grid,
.blog-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.stats-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stat-card,
.info-card,
.product-card,
.post-card,
.faq-item,
.contact-form {
  border: 1px solid rgba(31, 91, 46, .10);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.stat-card {
  padding: 24px 18px;
  text-align: center;
}

.stat-card strong {
  display: block;
  color: var(--orange);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  font-weight: 800;
}

.stat-card strong b { font: inherit; }
.stat-card span { display: block; margin-top: 12px; color: var(--green); font-weight: 800; }

.six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.product-card,
.post-card {
  padding: 24px;
  transition: transform .22s ease, box-shadow .22s ease;
}

.info-card {
  position: relative;
  min-height: 214px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,244,234,.76)),
    linear-gradient(135deg, rgba(76,154,42,.08), transparent 48%);
}

.info-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), rgba(76,154,42,.42));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s ease;
}

.info-card.is-visible::after {
  transform: scaleX(1);
}

.info-card p,
.product-card p,
.post-card p {
  color: var(--muted);
}

.info-card:hover,
.product-card:hover,
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.decision-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-bottom: 20px;
  border-radius: 99px;
  background: var(--orange);
  box-shadow: 0 0 0 10px rgba(242, 140, 40, .13);
}

.people-proof {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(247,244,234,.94), rgba(255,255,255,.94)),
    radial-gradient(circle at 18% 18%, rgba(242,140,40,.11), transparent 32%),
    radial-gradient(circle at 88% 20%, rgba(76,154,42,.12), transparent 30%);
}

.people-proof h2 {
  max-width: 760px;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.person-card {
  position: relative;
  border-radius: var(--radius);
  box-shadow: 0 22px 58px rgba(31, 91, 46, .16);
  background: var(--white);
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.person-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  display: block;
  transition: filter .25s ease;
}

.person-card:nth-child(1) img { object-position: center center; }
.person-card:nth-child(2) img { object-position: center center; }
.person-card:nth-child(3) img { object-position: center center; }
.person-card:nth-child(4) img {
  object-position: center center;
}

.person-card::before {
  display: none;
}

.person-overlay {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 138px;
  padding: 24px 22px;
  border: 1px solid rgba(247,244,234,.14);
  border-radius: 18px;
  background: rgba(18, 53, 29, .45);
  color: var(--cream);
  text-align: center;
  backdrop-filter: blur(6px);
  transform: translateY(0);
  transition: min-height .35s ease, background .35s ease, transform .35s ease;
  cursor: pointer;
}
/* Hint kliknij */
.person-overlay::after {
  content: '(kliknij)';
  display: block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(247,244,234,.5);
  text-transform: lowercase;
}
.person-card.is-touched .person-overlay::after,
.person-card:hover .person-overlay::after {
  display: none;
}

.person-overlay h3 {
  display: grid;
  justify-items: center;
  gap: 9px;
  width: 100%;
  color: var(--cream);
  line-height: 1;
}

.person-overlay h3 span {
  max-height: none;
  margin: 0;
  overflow: visible;
  color: rgba(247,244,234,.92);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  opacity: 1;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.person-overlay h3 strong {
  color: var(--orange);
  font-size: clamp(37px, 3vw, 52px);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.person-overlay p {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: rgba(247,244,234,.9);
  font-size: 13.5px;
  line-height: 1.55;
  opacity: 0;
  text-align: center;
  transition: max-height .35s ease, margin-top .35s ease, opacity .35s ease;
}

.person-overlay > span {
  display: block;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: var(--sand);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.35;
  opacity: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: max-height .35s ease, margin-top .35s ease, opacity .35s ease;
}

.person-card:hover img {
  filter: saturate(1.05) contrast(1.03);
}

.person-card:hover::before {
  display: none;
}

.person-card:hover .person-overlay,
.person-card:focus-within .person-overlay,
.person-card.is-touched .person-overlay {
  min-height: calc(100% - 32px);
  justify-content: space-between;
  background: rgba(18, 53, 29, .62);
  transform: translateY(-2px);
}

.person-card:hover .person-overlay p,
.person-card:hover .person-overlay > span,
.person-card:focus-within .person-overlay p,
.person-card:focus-within .person-overlay > span,
.person-card.is-touched .person-overlay p,
.person-card.is-touched .person-overlay > span {
  max-height: 180px;
  margin-top: 16px;
  opacity: 1;
}

.person-card:hover img,
.person-card.is-touched img {
  filter: saturate(1.05) contrast(1.03);
}

.person-card:hover::before,
.person-card.is-touched::before {
  display: none;
}

.process {
  background: var(--white);
}

.process-grid {
  grid-template-columns: .78fr 1fr;
  align-items: start;
}

.process-copy {
  padding-top: 4px;
}

.process-photo {
  margin: 24px 0 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 22px 46px rgba(31, 91, 46, .16);
  background: var(--cream);
  max-height: 240px;
}

.process-photo img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center 80%;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  counter-increment: process;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--green);
  font-weight: 800;
  opacity: 0;
  transform: translateX(24px);
}

.process-list li.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.process-list li::before {
  content: counter(process);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 99px;
  background: var(--orange);
  color: var(--white);
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.products-head {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(280px, .6fr);
  gap: 34px;
  align-items: stretch;
}

.products-copy {
  align-self: center;
}

.products-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--cream);
  box-shadow: 0 22px 46px rgba(31, 91, 46, .14);
  align-self: center;
  max-height: 220px;
}

.products-photo img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 40%;
}

.crop-materials {
  margin-top: 28px;
  padding: 26px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(31, 91, 46, .12);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(31, 91, 46, .08), rgba(242, 140, 40, .08));
  box-shadow: var(--soft-shadow);
}

.crop-materials .section-kicker {
  margin: 0 0 6px;
}

.crop-materials h3 {
  margin: 0;
  color: var(--green);
}

.crop-materials-copy p:not(.section-kicker) {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.crop-materials-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.crop-download-card {
  min-height: 190px;
  padding: 22px;
  display: grid;
  gap: 14px;
  align-content: space-between;
  border: 1px solid rgba(31, 91, 46, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
}

.crop-download-card span {
  color: var(--green);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
}

.crop-link {
  width: 100%;
  min-height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 28px;
  border-radius: 14px;
  background: var(--green);
  font-weight: 800;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(31, 91, 46, .14);
}

.product-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, var(--white), #fbfaf5);
}

.product-card::before {
  content: "";
  width: 42px;
  height: 6px;
  margin-bottom: 20px;
  border-radius: 99px;
  background: var(--orange);
}

.product-grid-detailed {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.product-card-detail {
  min-height: 0;
  gap: 12px;
  padding: 18px;
}

.product-card-detail::before {
  display: none;
}

.product-card-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 0 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  background: #f7f4ea;
  border: 1px solid rgba(31, 91, 46, .10);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1 1 auto;
  object-fit: contain;
  padding: 14px;
  display: block;
}

.product-card-media figcaption {
  width: calc(100% - 24px);
  margin: 0 12px 12px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(31, 91, 46, .92);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.product-card-category {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.product-card-detail h3 {
  margin: 0;
}

.product-card-detail p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.product-card a,
.post-card a {
  margin-top: 24px;
  color: var(--orange);
  font-weight: 800;
}

.partner { background: var(--white); }

.partner-box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: center;
  padding: 46px;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  overflow: hidden;
}

.partner-box::after {
  content: "";
  width: 240px;
  height: 240px;
  position: absolute;
  right: -80px;
  bottom: -130px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
}

.partner-box h2,
.partner-box .section-kicker,
.partner-box p { color: var(--white); }

.partner-box .btn {
  margin-top: 34px;
}

.partner-logo {
  position: relative;
  display: grid;
  place-items: center;
  gap: 14px;
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(247,244,234,.6);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--cream), var(--sand));
  color: var(--green);
  text-align: center;
  box-shadow: 0 22px 52px rgba(0,0,0,.16);
  overflow: hidden;
}

.partner-logo::before {
  display: none;
}

.partner-logo img {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  max-height: 270px;
  object-fit: contain;
  border-radius: var(--radius);
  filter: drop-shadow(0 14px 24px rgba(31,91,46,.2));
}

.partner-logo span {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: rgba(31,91,46,.78);
}

.blog-preview {
  background: linear-gradient(180deg, var(--cream), var(--white));
}

.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card { padding: 0 0 26px; overflow: hidden; display: flex; flex-direction: column; }
.post-card span,
.post-card h3,
.post-card a,
.post-card p { margin-left: 24px; margin-right: 24px; }
.post-card span { display: block; margin-top: 22px; color: var(--brown); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.post-card h3 { flex: 1; }
.post-card > a:last-child { margin-top: auto; padding-top: 8px; }
.post-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  background: var(--sand);
  border-radius: var(--radius) var(--radius) 0 0;
}

.blog-link {
  margin-top: 30px;
}

.faq-item { margin-top: 12px; overflow: hidden; }

.faq-item button {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  padding: 20px 22px;
  background: transparent;
  color: var(--green);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.faq-item button span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 99px;
  background: var(--orange);
  color: var(--white);
  transition: transform .22s ease;
}

.faq-item.is-open button span { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.contact {
  background:
    linear-gradient(90deg, rgba(247,244,234,.98), rgba(247,244,234,.92)),
    url("../img/produkty-klient-ciagnik.jpg") center / cover;
}

.contact-grid {
  grid-template-columns: minmax(0, .96fr) minmax(360px, 1fr);
  grid-template-areas:
    "copy right"
    "map right"
    "social right";
  column-gap: 56px;
  row-gap: 22px;
  align-items: start;
}

.contact-copy { grid-area: copy; }

.contact-right {
  grid-area: right;
  display: grid;
  gap: 18px;
  align-self: start;
}

.contact .social-links { grid-area: social; }

.phone {
  display: none;
}

.service-map {
  grid-area: map;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 0;
  padding: 22px;
  border: 1px solid rgba(31, 91, 46, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .62);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(10px);
}

.map-copy span {
  display: inline-flex;
  gap: 10px;
  min-height: 30px;
  align-items: center;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--brown);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.map-copy span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--orange);
  box-shadow: 0 0 0 8px rgba(242, 140, 40, .14);
}

.map-copy strong {
  display: block;
  margin-top: 10px;
  color: var(--green);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.35;
  white-space: normal;
}

.map-visual {
  min-height: 330px;
  overflow: hidden;
}

.map-visual svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.map-google-style svg {
  filter: drop-shadow(0 16px 30px rgba(31, 91, 46, .11));
  overflow: hidden;
}

.map-bg {
  fill: #fbfaf5;
  stroke: rgba(31, 91, 46, .12);
  stroke-width: 2;
}

.map-forest {
  fill: rgba(76, 154, 42, .18);
}

.map-field {
  fill: rgba(231, 216, 184, .34);
}

.map-field-two {
  fill: rgba(242, 140, 40, .10);
}

.map-boundary {
  fill: none;
  stroke: rgba(31, 91, 46, .18);
  stroke-width: 2;
  stroke-dasharray: 8 9;
}

.map-road {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-road-main {
  stroke: #f2b46b;
  stroke-width: 15;
}

.map-road-second {
  stroke: #e7d8b8;
  stroke-width: 11;
}

.map-road-small {
  stroke: rgba(122, 78, 45, .22);
  stroke-width: 5;
}

.map-route {
  fill: none;
  stroke: var(--orange);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 8 10;
  animation: routeMove 3.6s linear infinite;
}

.map-pin path {
  fill: var(--orange);
  stroke: var(--white);
  stroke-width: 5;
  filter: drop-shadow(0 8px 14px rgba(122, 78, 45, .22));
}

.map-pin circle {
  fill: var(--white);
}

.map-pin-second path {
  fill: var(--green);
}

.map-town-dot {
  fill: var(--orange);
  stroke: var(--white);
  stroke-width: 4;
  filter: drop-shadow(0 5px 10px rgba(122, 78, 45, .2));
}

.map-label rect {
  fill: rgba(255, 255, 255, .86);
  stroke: rgba(31, 91, 46, .12);
}

.map-label text,
.map-city,
.map-road-number {
  fill: var(--green);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 19px;
  font-weight: 800;
}

.map-city {
  fill: rgba(31, 91, 46, .72);
  font-size: 15px;
  font-weight: 700;
}

.map-city-main {
  fill: var(--green);
  font-size: 17px;
  font-weight: 800;
}

.map-city-small {
  font-size: 12px;
  line-height: 1.15;
}

.map-road-number {
  fill: var(--brown);
  font-size: 12px;
  font-weight: 800;
}

.service-map:hover .map-pin-main {
  animation: pinPulse 1.4s ease infinite;
}

@keyframes routeMove {
  to { stroke-dashoffset: -44; }
}

@keyframes pinPulse {
  0%, 100% { transform: translate(172px, 226px) scale(1); }
  50% { transform: translate(172px, 226px) scale(1.05); }
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(31, 91, 46, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .76);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(10px);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(31, 91, 46, .18);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: #fffdf8;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 3px solid rgba(242, 140, 40, .22);
  border-color: var(--orange);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.microcopy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.consent {
  grid-template-columns: 22px 1fr !important;
  align-items: start;
  gap: 10px !important;
  color: var(--muted) !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}
.consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.site-footer {
  padding: 18px 0;
  background: #12351d;
  color: rgba(255,255,255,.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}

.footer-logo {
  justify-self: center;
}

.site-footer img {
  width: 118px;
  max-height: 50px;
  object-fit: contain;
  margin-bottom: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.site-footer a { color: var(--white); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
  font-size: 12px;
  font-weight: 500;
}

.credit {
  display: grid;
  gap: 4px;
  color: var(--sand);
  font-weight: 400;
  text-align: right;
  font-size: 11px;
}

.credit a {
  color: var(--sand);
  text-decoration: none;
  transition: color .2s ease;
}

.credit a:hover {
  color: var(--orange);
}

.site-footer p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner {
  position: fixed;
  z-index: 80;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(31,91,46,.14);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: 0 18px 70px rgba(0,0,0,.2);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p { margin: 0; font-size: 14px; }
.cookie-banner p a { color: var(--green); font-weight: 800; text-decoration: underline; }
.cookie-banner div { display: flex; gap: 10px; flex-wrap: wrap; }

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
}

.admin-nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid rgba(31, 91, 46, .16);
  border-radius: var(--radius);
  padding: 9px 14px;
  background: var(--white);
  color: var(--green);
  font-weight: 800;
}

.admin-nav a.active {
  background: var(--green);
  color: var(--white);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 50px rgba(31, 91, 46, .08);
}

.admin-table th,
.admin-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(31, 91, 46, .1);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--green);
  font-size: 13px;
  text-transform: uppercase;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inline-form {
  display: inline;
}

.status-pill {
  display: inline-flex;
  border-radius: 99px;
  padding: 4px 10px;
  background: var(--sand);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.alert {
  margin: 18px 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #fff2dd;
  color: var(--brown);
  font-weight: 700;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.media-grid img,
.media-grid video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--sand);
}

.post-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--sand);
}

.post-hero-image {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  margin-top: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.post-content {
  margin-top: 32px;
  color: #343029;
  font-size: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .62s ease, transform .62s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

h2.reveal.is-visible,
.text-panel.reveal.is-visible h2,
.process-grid .reveal.is-visible h2 {
  animation: titleLift .62s ease both;
}

.cards .reveal:nth-child(1),
.process-list .reveal:nth-child(1) { transition-delay: .04s; }
.cards .reveal:nth-child(2),
.process-list .reveal:nth-child(2) { transition-delay: .12s; }
.cards .reveal:nth-child(3),
.process-list .reveal:nth-child(3) { transition-delay: .20s; }
.cards .reveal:nth-child(4),
.process-list .reveal:nth-child(4) { transition-delay: .28s; }
.cards .reveal:nth-child(5),
.process-list .reveal:nth-child(5) { transition-delay: .36s; }
.cards .reveal:nth-child(6) { transition-delay: .44s; }

@keyframes lightSweep {
  0%, 70%, 100% { transform: translateX(-120%); opacity: 0; }
  12%, 32% { opacity: .44; }
  45% { transform: translateX(120%); opacity: 0; }
}

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

@keyframes imageSettle {
  from {
    opacity: .78;
    transform: scale(1.025);
    filter: saturate(.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: saturate(1.04);
  }
}

@keyframes titleLift {
  from {
    letter-spacing: .01em;
    transform: translateY(8px);
  }
  to {
    letter-spacing: 0;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .six, .product-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { gap: 14px; font-size: 13px; }
  .hero-actions {
    grid-template-columns: 1fr;
    width: min(100%, 620px);
  }
  .hero-actions .btn {
    justify-content: center;
    min-height: 56px;
    white-space: normal;
  }
}

@media (max-width: 860px) {
  .wrap, .narrow { width: min(100% - 28px, 720px); max-width: 100%; }
  .section { padding: 62px 0; }
  .nav { min-height: 72px; }
  .brand img { width: 150px; max-height: 62px; }
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 82px;
    display: grid;
    gap: 4px;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 12px; }
  .hero {
    min-height: auto;
    padding-top: 116px;
  }
  .hero-grid,
  .split,
  .about .split,
  .process-grid,
  .products-head,
  .partner-box,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-areas:
      "copy"
      "right"
      "map"
      "social";
    row-gap: 22px;
  }
  .hero-card { min-height: 460px; margin-top: 10px; overflow: hidden; }
  .hero-photo, .image-panel { min-height: 420px; }
  .products-photo img { min-height: 260px; }
  .crop-materials {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .about-photo { height: auto; max-height: 420px; }
  .hero-actions {
    flex-wrap: nowrap;
  }
  .hero-note {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 16px 20px;
    border-radius: 0 0 var(--radius) var(--radius);
  }
  .hero-note strong { font-size: 15px; }
  .hero-note span { font-size: 13px; margin-top: 4px; }
  .field-card {
    left: 0;
    top: 0;
  }
  .tech-tags {
    top: auto;
    right: 18px;
    bottom: 126px;
    justify-content: flex-start;
    max-width: calc(100% - 36px);
  }
  .checks,
  .six,
  .people-grid,
  .product-grid,
  .blog-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .person-card,
  .person-card img {
    min-height: 340px;
  }
  .person-card img {
    object-position: center 15%;
  }
  .stats {
    padding-bottom: 46px;
  }
  .help {
    padding-top: 46px;
    padding-bottom: 50px;
  }
  .people-proof,
  .process,
  .products,
  .partner,
  .blog-preview,
  .faq,
  .contact {
    padding-top: 58px;
    padding-bottom: 58px;
  }
  .partner-box { padding: 28px; }
  .footer-grid { gap: 14px; text-align: center; }
  .site-footer img { margin-inline: auto; }
  .footer-links { justify-content: center; }
  .credit { text-align: center; }
  .map-copy strong { white-space: normal; }
  .contact-copy { grid-area: auto; }
  .contact-right { grid-area: auto; }
  .service-map { grid-area: auto; }
  .social-links { grid-area: auto; }
  .cookie-banner {
    grid-template-columns: 1fr;
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-height: calc(100vh - 24px);
    overflow: auto;
  }
  .admin-table,
  .admin-table thead,
  .admin-table tbody,
  .admin-table th,
  .admin-table td,
  .admin-table tr {
    display: block;
  }
  .admin-table thead { display: none; }
  .admin-table tr {
    padding: 12px;
    border-bottom: 1px solid rgba(31,91,46,.14);
  }
  .admin-table td {
    border-bottom: 0;
    padding: 8px 0;
  }
  .media-grid { grid-template-columns: 1fr; }
  .service-map {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  h1 { font-size: 38px; }
  h2 { font-size: 28px; line-height: 1.2; }
  .eyebrow,
  .section-kicker {
    font-size: 11px;
    letter-spacing: .04em;
  }
  .hero-actions,
  .contact-actions,
  .cookie-banner div { display: grid; }
  .crop-materials-actions { grid-template-columns: 1fr; }
  .crop-download-card { min-height: 160px; }
  .btn { width: 100%; font-size: 14px; padding: 13px 16px; }
  .contact-actions .btn { font-size: 13px; white-space: normal; line-height: 1.3; min-height: 50px; }
  .hero-photo, .image-panel { min-height: 350px; }
  .about-photo { height: auto; max-height: 360px; }
  .hero-note {
    padding: 12px 16px;
  }
  .hero-note strong { font-size: 14px; }
  .hero-note span { font-size: 12px; }
  .field-card {
    width: auto;
    padding: 16px 20px;
  }
  .field-card span { font-size: 44px; }
  .field-card small { font-size: 15px; }
  .tech-tags {
    display: none;
  }
  .process-list li {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 14px;
  }
  .process-list li::before {
    width: 44px;
    height: 44px;
  }
  .contact-form { padding: 20px; }
}

/* ===== MOBILE OVERFLOW FIX ===== */
@media (max-width: 860px) {
  .hero-grid,
  .split,
  .process-grid,
  .contact-grid,
  .partner-box,
  .hero-card,
  .about-photo,
  .service-map,
  .map-visual {
    max-width: 100%;
  }
  .map-visual svg {
    max-width: 100%;
    overflow: hidden;
  }
  /* Wyśrodkuj i zablokuj overflow formularza i przycisków kontaktu */
  .contact-grid { width: 100%; box-sizing: border-box; overflow: hidden; }
  .contact-actions { width: 100%; box-sizing: border-box; flex-direction: column; }
  .contact-actions .btn { box-sizing: border-box; max-width: 100%; width: 100%; }
  .contact-form { width: 100%; box-sizing: border-box; min-width: 0; }
  .contact-form input,
  .contact-form textarea,
  .contact-form select { box-sizing: border-box; max-width: 100%; min-width: 0; }
  .contact-cta-text { font-size: 15px; }
}

/* ===== PRZYCISK TELEFON - FLIP ===== */
[data-phone-btn] {
  position: relative;
  overflow: hidden;
}

[data-phone-btn] .btn-text-default,
[data-phone-btn] .btn-text-hover {
  display: block;
  transition: transform .28s ease, opacity .28s ease;
  white-space: nowrap;
}

[data-phone-btn] .btn-text-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(100%);
  font-weight: 800;
  letter-spacing: .01em;
}

[data-phone-btn]:hover .btn-text-default,
[data-phone-btn].is-flipped .btn-text-default {
  opacity: 0;
  transform: translateY(-100%);
}

[data-phone-btn]:hover .btn-text-hover,
[data-phone-btn].is-flipped .btn-text-hover {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PERSON CARD - ANIMACJA WEJŚCIA ===== */
.person-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.person-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}
.person-card:nth-child(1) { transition-delay: .0s; }
.person-card:nth-child(2) { transition-delay: .15s; }
.person-card:nth-child(3) { transition-delay: .30s; }
.person-card:nth-child(4) { transition-delay: .45s; }

/* ===== AKADEMIA / PLONU SPLIT ===== */
.hero-title-plonu {
  color: var(--orange);
  font-style: italic;
  font-weight: 900;
}

/* ===== SOCIAL MEDIA LINKS ===== */
.social-links {
  margin-top: 4px;
  padding: 16px 22px;
  border: 1px solid rgba(31, 91, 46, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .62);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(10px);
}

.social-links-lead {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 17px;
  font-weight: 800;
}

.social-links-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .2s ease;
  line-height: 1.3;
  text-align: center;
}

.social-btn svg {
  flex-shrink: 0;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px;
  min-height: 22px;
  max-width: 22px;
  max-height: 22px;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

.social-btn-fb {
  background: var(--green);
}

.social-btn-ig {
  background: var(--orange);
}

/* ===== PRZYCISK SKLEPU W NAWIGACJI ===== */
.nav-shop {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff !important;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
  transition: background .25s ease, transform .2s ease;
  box-shadow: 0 10px 26px rgba(31, 91, 46, .18);
}
.nav-links .nav-shop::after { display: none; }
.nav-shop:hover {
  background: var(--orange) !important;
  color: #fff !important;
  transform: translateY(-1px);
}
@media (min-width: 861px) {
  .nav-shop-label { display: inline; }
  .nav-shop { padding: 10px 16px; }
}
/* Na mobile - pokaż napis w hamburger menu */
@media (max-width: 860px) {
  .nav-shop { border-radius: 8px; width: 100%; justify-content: flex-start; }
  .nav-shop-label { display: inline; }
}
@keyframes shopPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242,140,40,0); }
  50% { box-shadow: 0 0 0 6px rgba(242,140,40,.22); }
}

/* ===== KARTY LUDZI - MOBILE ===== */
@media (hover: none) and (pointer: coarse) {
  .person-card {
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }
}

/* ===== CONTACT CTA ===== */
.contact-cta {
  margin-bottom: 16px;
}
.contact-cta-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--green);
  margin: 0;
  padding: 16px 20px;
  background: rgba(31,91,46,.06);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ===== PERSON CAPTION - opis pod zdjęciem ===== */
.person-card {
  display: flex;
  flex-direction: column;
}
.person-caption {
  padding: 18px 18px 22px;
  background: #fff;
  border-radius: 0;
  position: relative;
  z-index: 2;
  min-height: 218px;
  text-align: center;
}
.person-caption h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--green);
  margin: 0 0 10px;
}
.person-caption h3 span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.person-caption h3 strong {
  font-size: 24px;
  color: var(--orange);
}
.person-caption p {
  max-width: 30ch;
  margin: 0 auto;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}
