/* =========================================================
   CSS 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, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  color: #292A36;
  background: #E3DFCB;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  /* subtle natural texture */
  background-image: url('../assets/bg-texture.png'), linear-gradient(90deg, #F7F6F1 90%, #E3DFCB 100%);
  background-repeat: repeat, no-repeat;
  background-size: 400px, cover;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
a {
  color: #7EC77B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #517f46;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 rgba(32,62,49,0.07);
  /* organic "edge": a subtle uneven border-radius */
  border-bottom-right-radius: 36px 48px;
  border-top-left-radius: 36px 48px;
}
@media (max-width: 540px) {
  section {
    padding: 28px 8px;
    border-radius: 18px 22px 32px 16px;
  }
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 14px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  margin-bottom: 16px;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #292A36;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.25;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
p, ul, ol {
  font-size: 1rem;
  color: #37382C;
  margin-bottom: 16px;
}
blockquote {
  font-size: 1.18rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-style: italic;
  line-height: 1.5;
  background: #E7F4E8;
  color: #23421D;
  padding: 20px 24px 20px 32px;
  border-left: 6px solid #7EC77B;
  border-radius: 16px 32px 28px 16px;
  margin-bottom: 8px;
}
cite {
  display: block;
  font-size: 1rem;
  color: #497849;
  margin-top: 10px;
  font-style: normal;
  letter-spacing: 0.02em;
}
small {
  font-size: 0.91rem;
  color: #59573d;
}

/* =========================================================
   NAVIGATION & HEADER
   ========================================================= */
header {
  background: #F7F6F1;
  box-shadow: 0 2px 16px 0 rgba(110,122,92,0.10);
  padding: 0;
  position: relative;
  z-index: 10;
}
header nav[role="navigation"] {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 0 0 0;
  height: 70px;
}
header nav[role="navigation"] a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #292A36;
  padding: 8px 18px;
  border-radius: 16px;
  transition: background 0.17s, color 0.17s;
  position: relative;
}
header nav[role="navigation"] a.cta {
  background: #7EC77B;
  color: #fff;
  font-weight: 600;
  margin-left: 14px;
  border-radius: 24px 16px 28px 14px;
  box-shadow: 0 1px 8px 0 rgba(36, 87, 56, 0.1);
  transition: background 0.2s;
}
header nav[role="navigation"] a.cta:hover, header nav[role="navigation"] a.cta:focus {
  background: #5da55d;
}
header nav[role="navigation"] img {
  height:46px;
  width: auto;
  margin-right:10px;
  border-radius: 12px 34px 18px 14px;
  box-shadow: 0 2px 8px 0 rgba(75, 109, 82, 0.07);
}
header nav[role="navigation"] a:hover:not(.cta), header nav[role="navigation"] a:focus:not(.cta) {
  background: #E3DFCB;
  color: #497849;
}

@media (max-width: 1024px) {
  header nav[role="navigation"] {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  header nav[role="navigation"] a {
    padding: 7px 8px;
    font-size: 15px;
  }
  header nav[role="navigation"] a.cta {
    margin-left: 6px;
    padding-right: 10px;
    padding-left: 10px;
  }
}
@media (max-width: 800px) {
  header nav[role="navigation"] {
    gap: 2px;
    padding-left: 5px;
  }
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: transparent;
  color: #41704F;
  border: none;
  position: absolute;
  right: 20px;
  top: 10px;
  outline: none;
  z-index: 41;
  cursor: pointer;
  transition: color 0.3s;
}
.mobile-menu-toggle:focus {
  color: #2d522c;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #E3DFCB;
  box-shadow: 0 6px 40px 0 rgba(56, 87, 54, 0.15);
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #7EC77B;
  background: transparent;
  border: none;
  position: absolute;
  top: 28px;
  right: 35px;
  z-index: 1003;
  cursor: pointer;
  transition: color 0.25s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #517f46;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 80px 0 0 46px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  color: #292A36;
  font-weight: 400;
  border-radius: 18px;
  background: transparent;
  padding: 12px 16px 12px 0;
  transition: background 0.22s, color 0.22s;
  outline: 0;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: #497849;
  background: #E7F4E8;
}

@media (max-width: 1120px) {
  header nav[role="navigation"] {
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) {
  header nav[role="navigation"] {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* =========================================================
   SECTION & LAYOUT FLEXBOX PATTERNS
   ========================================================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #F7F6F1;
  border-radius: 22px 26px 14px 18px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 12px 0 rgba(60, 76, 58, 0.08);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.19s;
}
.card:hover {
  box-shadow: 0 6px 28px 0 rgba(99, 122, 89,0.13);
  transform: translateY(-4px) scale(1.012);
}
.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;
  margin-bottom: 38px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F7F6F1;
  border-radius: 14px 28px 22px 12px;
  margin-bottom: 20px;
  box-shadow: 0 3px 16px 0 rgba(90,124,81,0.09);
  min-width: 240px;
  transition: box-shadow 0.22s, transform 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px 0 rgba(104,147,96,0.16);
  transform: translateY(-3px) scale(1.012);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: space-between;
}
.services-grid .text-section {
  background: #fbfbf8;
  border-radius: 20px 24px 14px 18px;
  box-shadow: 0 2px 12px 0 rgba(60, 76, 58, 0.07);
  padding: 20px 18px;
  min-width: 260px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.services-grid .text-section:hover {
  box-shadow: 0 6px 28px 0 rgba(99, 122, 89,0.15);
  transform: translateY(-3px) scale(1.008);
}

@media (max-width: 900px) {
  .services-grid {
    flex-direction: column;
    gap: 18px;
  }
  .services-grid .text-section {
    min-width: 0;
    width: 100%;
    margin-bottom: 8px;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
}

/* =========================================================
   BUTTONS, CTAs, LINKS
   ========================================================= */
.cta,
.button,
button,
input[type=submit],
input[type=button] {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #7EC77B;
  color: #fff;
  border: none;
  padding: 14px 34px;
  font-size: 1.12rem;
  font-weight: 600;
  border-radius: 30px 18px 24px 16px;
  box-shadow: 0 2px 16px 0 rgba(59, 108, 69, 0.07);
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.21s, transform 0.14s;
  margin-top: 8px;
  margin-bottom: 8px;
  outline: 0;
  letter-spacing: 0.02em;
  display: inline-block;
}
.cta:focus, .cta:hover,
.button:focus, .button:hover,
button:focus, button:hover,
input[type=submit]:focus, input[type=submit]:hover,
input[type=button]:focus, input[type=button]:hover {
  background: #497849;
  color: #fff;
  transform: scale(1.022);
  box-shadow: 0 4px 18px 0 rgba(59, 108, 69, 0.13);
}

/* =========================================================
   ORGANIC IMAGERY AND ICON LISTS
   ========================================================= */
ul li img, .feature-list img, ul img {
  height: 32px;
  width: 32px;
  margin-right: 12px;
  vertical-align: middle;
  border-radius: 40%;
  box-shadow: 0 2px 8px 0 rgba(93,126,87,0.08);
  background: #D9F8D3;
  padding: 4px;
}

/* Custom list stylings for nature-inspired look */
ul, ol {
  padding-left: 1.5em;
}
ul li::marker {
  color: #7EC77B;
}
ol li::marker {
  color: #497849;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: #F7F6F1;
  border-top: 2px solid #D4EBC6;
  padding: 28px 0 12px 0;
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav[aria-label="Menu stopki"] {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 8px;
}
footer nav[aria-label="Menu stopki"] a {
  color: #41704F;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.2s;
  padding: 4px 8px;
  border-radius: 10px;
}
footer nav[aria-label="Menu stopki"] a:hover, footer nav[aria-label="Menu stopki"] a:focus {
  background: #D9F8D3;
  color: #1d3725;
}
footer small {
  font-size: 0.97rem;
}

@media (max-width: 650px){
  footer .container {
    padding: 0 4px;
    gap: 7px;
  }
  footer nav[aria-label="Menu stopki"]{
    gap: 9px;
    font-size: 15px;
  }
}

/* =========================================================
   COOKIE BANNER + COOKIE MODAL
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #E3DFCB;
  border-top: 3px solid #A5C8A2;
  box-shadow: 0 -2px 16px 0 rgba(32,62,49,0.09);
  z-index: 2001;
  padding: 28px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1.01rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: bannerfadein 0.7s;
}
@keyframes bannerfadein {
  from { opacity: 0; transform: translateY(64px); }
  to   { opacity: 1; transform: translateY(0);   }
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 4px;
}
.cookie-banner button, .cookie-banner .button {
  padding: 9px 19px;
  border-radius: 22px 12px 20px 11px;
  background: #7EC77B;
  color: #fff;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.17s;
  box-shadow: 0 2px 10px 0 rgba(46,93,67,0.07);
}
.cookie-banner button:hover, .cookie-banner .button:hover,
.cookie-banner button:focus, .cookie-banner .button:focus {
  background: #497849;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: #41704F;
  border: 1px solid #B7D6A8;
}
.cookie-banner .cookie-settings:hover {
  background: #E7F4E8;
  color: #292A36;
  border-color: #497849;
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 16px 2vw 12px 2vw;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-btns {
    flex-direction: column;
    gap: 7px;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(41, 42, 54, 0.55);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 28px 24px 20px 16px;
  box-shadow: 0 14px 56px 0 rgba(110,122,92,0.22);
  padding: 34px 26px 28px 26px;
  max-width: 400px;
  min-width: 0;
  width: 94vw;
  z-index: 2201;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: cookiefadein 0.6s;
}
@keyframes cookiefadein {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal .cookie-modal-close {
  align-self: flex-end;
  background: transparent;
  color: #517f46;
  font-size: 2.1rem;
  border: none;
  margin-bottom: 9px;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal .cookie-modal-close:hover {
  color: #2d522c;
}
.cookie-modal h2,
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #292A36;
  margin-bottom: 10px;
}
.cookie-modal label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.04rem;
  margin: 7px 0;
  color: #384235;
  display: flex;
  align-items: center;
  gap: 11px;
}
.cookie-modal input[type=checkbox] {
  accent-color: #7EC77B;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 20px;
}
.cookie-modal .cookie-modal-actions button {
  padding: 9px 17px;
  border-radius: 22px;
  border: none;
  background: #7EC77B;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(46,93,67,0.08);
  transition: background 0.18s;
}
.cookie-modal .cookie-modal-actions button:hover {
  background: #497849;
}
.cookie-modal .cookie-modal-actions .secondary {
  background: #fff;
  color: #497849;
  border: 1px solid #B7D6A8;
}
.cookie-modal .cookie-modal-actions .secondary:hover {
  background: #E7F4E8;
  color: #292A36;
  border-color: #497849;
}

/* =========================================================
   MEDIA QUERIES FOR RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 2vw;
  }
  section {
    padding: 24px 6px;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  h3 {
    font-size: 1.01rem;
  }
  .container {
    padding: 0 2px;
    min-width: 0;
  }
}

/* =========================================================
   Miscellaneous
   ========================================================= */
::-webkit-scrollbar {
  width: 11px;
  background: #F7F6F1;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: #a5c8a2;
  border-radius: 9px;
}

/* Inputs (in case any are added) */
input, textarea, select {
  font-family: inherit;
  border-radius: 14px 16px 10px 12px;
  border: 1px solid #B7D6A8;
  background: #f4faef;
  color: #292A36;
  padding: 9px 14px;
  font-size: 1rem;
  margin-bottom: 13px;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #7EC77B;
}

/* Hide visually but keep accessible */
.sr-only {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Utility classes */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.gap-2 { gap: 16px; }
.gap-4 { gap: 32px; }

/* End of style.css file */
