/* RESET & NORMALIZE */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn,
em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas,
details, embed, figure, figcaption, footer, header, hgroup, menu, nav,
output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  box-sizing: border-box;
  font-family: inherit;
}

html {
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  color: #27382d;
  background: #f5f6f3;
  line-height: 1.6;
  font-size: 16px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  background-image: url('../assets/bg-organic-texture.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

*, *::before, *::after { box-sizing: inherit; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul, ol { list-style-position: inside; }
strong { font-weight: bold; }
button, .cta, .primary, .secondary {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  cursor: pointer;
  border: none;
  outline: none;
}

/* Brand Colors / Nature-Organic Extended Palette */
:root {
  --color-primary: #164174;
  --color-secondary: #EEC643;
  --color-accent: #F0F4F8;
  --color-green: #609636;
  --color-earth: #c9ad8a;
  --color-forest: #316137;
  --color-light: #f5f6f3;
  --color-dark: #27382d;
  --color-bark: #6F5846;
  --shadow: 0 3px 14px rgba(44, 54, 26, 0.15);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--color-forest);
  letter-spacing: -0.01em;
}
h1 { font-size: 2.75rem; line-height: 1.12; margin-bottom: 24px; color: var(--color-primary); }
h2 { font-size: 2rem;   line-height: 1.18; margin-bottom: 20px; }
h3 { font-size: 1.35rem; line-height: 1.22; margin-bottom: 10px; color: var(--color-forest); }
h4 { font-size: 1.1rem; line-height: 1.25; margin-bottom: 8px; }
h5, h6 { font-size: 1rem; margin-bottom: 6px; }
p, ul, ol, li { font-size: 1rem; margin-bottom: 12px; }
p { color: var(--color-dark); }
strong { color: var(--color-forest); }

/* CONTAINER LAYOUT */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: var(--color-light);
  border-radius: 26px;
  box-shadow: 0 4px 20px rgba(49,97,55,0.056);
}
@media (max-width: 768px) {
  .section { padding: 22px 10px; margin-bottom: 32px; }
}

.content-wrapper, .text-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 22px; }
}

/* HEADER */
header {
  background: #fff7ef url('../assets/bg-header-leaf.svg') right 0 top 0 no-repeat;
  box-shadow: 0 1px 12px rgba(49,97,55,0.04);
  padding-top: 0;
  position: relative;
  z-index: 1020;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 14px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover,
header nav a:focus {
  background: var(--color-accent);
  color: var(--color-green);
}
header .cta.primary {
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  font-weight: bold;
  background: var(--color-green);
  color: #fff;
  padding: 10px 24px;
  border-radius: 22px;
  font-size: 1.08rem;
  box-shadow: 0 2px 8px rgba(96,150,54,0.09);
  transition: background 0.18s, transform 0.13s;
}
header .cta.primary:hover,
header .cta.primary:focus {
  background: var(--color-forest);
  transform: translateY(-2px) scale(1.03);
}
header img[alt="Polskie Marketowo"] {
  height: 48px; width: auto;
  margin-right: 24px;
}

/* BURGER MENU MOBILE */
.mobile-menu-toggle {
  display: none;
  background: var(--color-green);
  color: #fff;
  font-size: 2.1rem;
  padding: 6px 18px 6px 12px;
  border-radius: 14px;
  border: none;
  margin-left: 12px;
  z-index: 1041;
  transition: background 0.19s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-forest);
}

@media (max-width: 1024px) {
  header nav, header .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 1050;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(239,244,240,0.99);
  box-shadow: 0 12px 60px rgba(49,97,55,0.09);
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.54s cubic-bezier(.5,.02,.22,1), opacity 0.32s;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: var(--color-green);
  background: none;
  border: none;
  margin: 20px 24px 0 0;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 1060;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-forest);
  background: var(--color-accent);
  border-radius: 12px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 40px 32px;
  margin-top: 30px;
}
.mobile-nav a {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--color-primary);
  border-radius: 12px;
  padding: 12px 8px 12px 0;
  transition: background 0.2s, color 0.2s;
  width: 100%;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-green);
}
@media (min-width:1025px) {
  .mobile-menu, .mobile-menu-toggle { display: none!important; }
}

/* --- HERO/BANNER --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 32px;
  background: #fffefb;
  box-shadow: 0 4px 24px rgba(173, 195, 133, 0.07);
}
@media (max-width: 768px) {
  section { margin-bottom: 32px; padding: 22px 8px; }
}

/* FLEX LAYOUTS & MANDATORY SPACING */
.feature-grid, .trust-grid, .workflow-list, .marketplace-list, .pricing-table, .posts-list, .categories, .content-grid, .user-benefits-list, .card-container, .comparison-features, .feature-checklist, .market-trends-list, .category-descriptions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: space-between;
}
.feature, .trust-point, .workflow-step, .marketplace-option, .price-option, .post-card, .faq-item, .card, .testimonial-card {
  margin-bottom: 20px;
  background: var(--color-accent);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 26px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  min-width: 210px;
  max-width: 340px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature:hover, .trust-point:hover, .workflow-step:hover, .marketplace-option:hover, .price-option:hover, .post-card:hover, .faq-item:hover,
.card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(49,97,55,0.10);
  transform: translateY(-4px) scale(1.015);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 22px;
  background: var(--color-accent);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: var(--color-dark);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(173,195,133,0.09);
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .feature-grid, .trust-grid, .marketplace-list, .pricing-table, .posts-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature, .trust-point, .workflow-step, .marketplace-option, .price-option, .post-card, .card {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

/* FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 1px 8px rgba(173,195,133,0.07);
  padding: 18px 18px 12px 18px;
  cursor: pointer;
}
.faq-item h3 {
  color: var(--color-green);
  margin-bottom: 4px;
  font-size: 1.1rem;
}
.faq-item p { margin-bottom: 0; color: var(--color-bark); font-size: 1rem; }

/* PRICING TABLE SPECIAL */
.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: space-between;
}
.price-option {
  background: #f6fff0;
  border: 2px solid var(--color-green);
  box-shadow: 0 2px 16px rgba(49,97,55,0.06);
  border-radius: 19px;
  padding: 30px 24px 26px 24px;
  min-width: 220px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: border 0.23s, box-shadow 0.19s;
}
.price-option:hover, .price-option:focus {
  border-color: var(--color-forest);
  box-shadow: 0 6px 24px rgba(49,97,55,0.14);
}
.price-option strong {
  font-size: 1.5rem;
  color: var(--color-green);
  margin-bottom: 14px;
  display: block;
}
.price-option ul { margin-bottom: 0; }

/* CATEGORIES */
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.category-tag {
  background: var(--color-secondary);
  color: var(--color-dark);
  border-radius: 15px;
  padding: 8px 18px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  margin-bottom: 8px;
  box-shadow: 0 1px 6px rgba(49,97,55,0.05);
  transition: background 0.18s, color 0.18s;
}
.category-tag:hover, .category-tag:focus {
  background: var(--color-green);
  color: #fff;
}

/* BUTTONS / CTA */
.cta, .primary, .secondary, button, .price-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  border-radius: 21px;
  padding: 11px 24px;
  font-weight: bold;
  font-size: 1.08rem;
  margin-top: 10px;
  box-shadow: 0 2px 9px rgba(96,150,54,0.11);
  border: none;
  letter-spacing: 0.01em;
  outline: none;
  cursor: pointer;
  transition: background 0.19s, color 0.17s, transform 0.16s;
}
.cta.primary, .primary {
  background: var(--color-green);
  color: #fff;
}
.cta.primary:hover, .primary:hover, .cta.primary:focus {
  background: var(--color-forest);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}
.cta.secondary, .secondary {
  background: var(--color-secondary);
  color: var(--color-dark);
}
.cta.secondary:hover, .secondary:hover, .cta.secondary:focus {
  background: var(--color-green);
  color: #fff;
}
button:active, .cta:active { transform: scale(0.97); }

/* LISTS */
ul, ol { padding-left: 24px; margin-bottom: 14px; }
ul li, ol li { margin-bottom: 8px; }

/* CARDS/POSTS */
.post-card {
  background: #fff;
  border-radius: 19px;
  box-shadow: var(--shadow);
  padding: 22px 16px;
  margin-bottom: 20px;
  min-width: 210px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.post-card a {
  color: var(--color-green);
  font-weight: 600;
  margin-top: 8px;
  transition: color 0.17s;
}
.post-card a:hover, .post-card a:focus {
  color: var(--color-forest);
  text-decoration: underline;
}

/* FOOTER */
footer {
  background: #f7faee;
  color: var(--color-dark);
  border-radius: 0 0 36px 36px;
  margin-top: 48px;
  box-shadow: 0 -2px 22px rgba(49,97,55,0.08);
  padding-top: 36px;
  padding-bottom: 28px;
  position: relative;
  z-index: 998;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 38px;
  flex-direction: row;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 25%;
}
.footer-menu a {
  color: var(--color-green);
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 0;
  border-radius: 10px;
  transition: color 0.17s, background 0.16s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  background: var(--color-accent);
  color: var(--color-forest);
}
.footer-contact address {
  font-size: 1rem;
  color: var(--color-dark);
  font-style: normal;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-contact img {
  vertical-align: middle;
  margin-right: 6px;
  height: 20px; width: 20px;
}
.footer-contact a {
  color: var(--color-primary);
  transition: color 0.15s;
  font-weight: 500;
}
.footer-contact a:hover,
.footer-contact a:focus { color: var(--color-forest); text-decoration: underline; }
.footer-logo img { height: 36px; margin-bottom: 10px; }
.footer-logo span {
  display: block;
  font-size: 1rem;
  color: var(--color-bark);
  margin-top: 6px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff8e2;
  color: var(--color-dark);
  box-shadow: 0 -3px 31px rgba(96,150,54,0.12);
  padding: 28px 18px 22px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  z-index: 1065;
  gap: 22px;
  border-radius: 25px 25px 0 0;
  animation: cookieBannerIn 0.72s cubic-bezier(0.5,0,0.2,1) 0.2s both;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 7px 16px 10px;
  }
}
.cookie-banner__text {
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 15px;
}
.cookie-banner__btn {
  background: var(--color-green);
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 9px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  transition: background 0.16s, color 0.16s;
  cursor: pointer;

}
.cookie-banner__btn.secondary {
  background: var(--color-secondary);
  color: var(--color-dark);
}
.cookie-banner__btn:hover, .cookie-banner__btn:focus {
  background: var(--color-forest);
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(31,41,23,0.30);
  z-index: 1110;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s, visibility 0.28s;
}
.cookie-modal.active {
  opacity: 1;
  visibility: visible;
}
.cookie-modal__card {
  background: #fff;
  border-radius: 21px;
  box-shadow: 0 7px 24px rgba(49,97,55,0.17);
  padding: 44px 30px 36px 30px;
  max-width: 390px;
  width: 95%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: cookieModalIn 0.8s cubic-bezier(0.65,0,0.18,1) both;
}
.cookie-modal__close {
  position: absolute;
  top: 18px; right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-forest);
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus { color: var(--color-bark); }
.cookie-modal__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  color: var(--color-green);
  margin-bottom: 10px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex; flex-direction: row; gap: 12px; align-items: center;
}
.cookie-category label {
  cursor: pointer;
  font-size: 1rem;
  color: var(--color-dark);
}
.cookie-category input[type=checkbox] {
  accent-color: var(--color-green);
  border-radius: 4px;
}
.cookie-category.essential label {
  font-weight: 600;
  color: var(--color-forest);
}
.cookie-category.essential input {
  accent-color: var(--color-bark);
}
.cookie-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}

@keyframes cookieModalIn {
  0% { opacity: 0; transform: translateY(40px) scale(0.87); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes cookieBannerIn {
  0% { opacity: 0; transform: translateY(80px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* MISC/NATURE ORGANIC TEXTURES */
section, .feature, .card, .testimonial-card, .price-option {
  /* Subtle natural/organic shape effect */
  border-radius: 23px 31px 18px 35px/25px 22px 32px 29px;
}

/* SHADOWS & EFFECTS */
.card, .feature, .testimonial-card, .faq-item, .post-card, .price-option {
  box-shadow: 0 6px 22px rgba(49,97,55,0.08);
  border: 1px solid #e7e9e3;
}

/* ANIMATIONS: Button microinteractions */
.cta, .category-tag, button {
  transition: background 0.15s, color 0.13s, transform 0.15s;
}
.cta:active, .category-tag:active, button:active { transform: scale(0.97); }

/* QUOTES/TESTIMONIALS */
.testimonial-card {
  box-shadow: 0 4px 14px rgba(49,97,55,0.12);
  background: #fff;
  border: 1.5px solid #edf0ea;
  color: #232e1a;
}
.testimonial-card strong {
  color: var(--color-green);
}

/* CALL TO ACTION SPECIAL */
.callout {
  background: #FFF7D6;
  border: 2px dashed var(--color-secondary);
  border-radius: 17px;
  padding: 17px 16px;
  font-size: 1.1rem;
  color: var(--color-dark);
  box-shadow: none;
  margin-bottom: 20px;
}

/* Responsive Image Handling */
img {
  border-radius: 14px;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: box-shadow 0.14s;
}
img:hover, img:focus {
  box-shadow: 0 2px 12px rgba(96,150,54,0.11);
}

/* NEXT STEPS IN "thank-you" PAGE */
.next-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  background: var(--color-accent);
  border-left: 5px solid var(--color-green);
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 1px 9px rgba(49,97,55,0.06);
}

/* DISCRETE ADJUSTMENTS FOR MOBILE */
@media (max-width: 640px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  .container { padding-left: 5px; padding-right: 5px; }
  .card, .feature, .testimonial-card, .post-card, .price-option {
    padding: 14px 6px;
    min-width: unset;
    max-width: unset;
  }
}

/* Remove Margin for Last Items in Containers */
.card-container > *:last-child, .feature-grid > *:last-child, .pricing-table > *:last-child, .marketplace-list > *:last-child, .posts-list > *:last-child {
  margin-bottom: 0;
}

/* ACCESSIBILITY: FOCUS STATES */
a:focus, button:focus, .cta:focus, .category-tag:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Hide default outline on mouse interaction, show on keyboard (accessibility enhancement) */
:focus:not(:focus-visible) { outline: none; }

/* Utility Classes */
.text-section { gap: 16px; }
.m-0 { margin: 0!important; }
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }

/* Hide visually / For accessibility */
.visually-hidden {
  position: absolute!important;
  clip: rect(1px,1px,1px,1px);
  padding: 0;
  border: 0;
  height: 1px; width: 1px;
  overflow: hidden;
}

/* ORGANIC DECORATIVE ELEMENT (OPTIONAL EXAMPLE) */
.organics-leaf {
  pointer-events: none;
  position: absolute;
  z-index: 0;
  opacity: 0.045;
}

/* Ensure no grid or columns used as required! */