/* RESET & BASE STYLES */
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;
  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 {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #1b3a2a;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.015em;
}
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
  background: none;
}

/* GEOMETRIC_STRUCTURED BRAND VARIABLES (with fallbacks) */
:root {
  --color-primary: #275942;
  --color-secondary: #E5F5DB;
  --color-accent: #BCC03B;
  --color-on-primary: #ffffff;
  --color-on-secondary: #1b3a2a;
  --color-bg: #ffffff;
  --shadow-1: 0 2px 8px rgba(39,89,66,0.08);
  --shadow-card: 0 4px 16px rgba(39,89,66,0.12);
  --border-radius-xs: 6px;
  --border-radius: 14px;
  --border-radius-lg: 24px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.1;
  margin-bottom: 24px;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 800;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 700;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-weight: 700;
}
h4,h5,h6 { font-size: 1rem; }
p,ul,ol { margin-bottom: 18px; }
ul,ol { padding-left: 24px; }
strong { font-weight: 700; color: var(--color-accent); }
a {
  color: var(--color-primary);
  text-underline-offset: 3px;
  transition: color 0.2s cubic-bezier(.77,.2,.05,1);
  font-weight: 600;
}
a:hover, a:focus {
  color: var(--color-accent);
  outline: none;
}

/* STRUCTURE & CONTAINER ALIGNMENT */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  position: relative;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  gap: 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;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-1);
  margin-bottom: 28px;
  border-left: 6px solid var(--color-accent);
  min-width: 0;
  flex: 1;
  flex-shrink: 1;
  transition: box-shadow .2s;
}
.testimonial-card:hover {
  box-shadow: 0 2px 16px rgba(39,89,66,0.15);
}
.testimonial-card blockquote {
  font-size: 1.08rem;
  font-style: italic;
  color: var(--color-primary);
  line-height: 1.5;
  margin: 0;
}
.testimonial-author {
  margin-left: 18px;
  font-weight: 600;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.value-list > div {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-1);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 220px;
  gap: 16px;
}
.value-list img {
  width: 42px;
  height: 42px;
}
.value-list h3 {
  font-size: 1.15rem;
  color: var(--color-primary);
}

.tips-grid, .faq, .care-guides {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.tips-grid > div {
  flex: 1 1 220px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-1);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 170px;
  max-width: 350px;
}
.tips-grid img {
  width: 36px;
  height: 36px;
}

.cta-form-success-box {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-left: 6px solid var(--color-accent);
  border-radius: var(--border-radius);
  padding: 14px 22px;
  font-size: 1rem;
  margin-bottom: 12px;
}

/*******************
 HEADER & NAVIGATION
*******************/
header {
  background: var(--color-secondary);
  box-shadow: 0 2px 8px rgba(39,89,66,0.06);
  position: sticky;
  top: 0;
  z-index: 1002;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 0;
}
header img[alt="Zielona Oaza"] {
  height: 52px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 8px 0;
  border-bottom: 2.5px solid transparent;
  transition: color .18s, border-bottom .2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-accent);
  border-bottom: 2.5px solid var(--color-accent);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-on-primary);
  font-family: var(--font-display);
  padding: 10px 32px;
  border-radius: 24px;
  font-weight: 900;
  letter-spacing: 0.04em;
  font-size: 1.08rem;
  text-transform: uppercase;
  box-shadow: var(--shadow-card);
  border: 2.5px solid transparent;
  cursor: pointer;
  margin-left: 24px;
  text-decoration: none;
  transition: background .19s, color .16s, border .17s, box-shadow .4s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border: 2.5px solid var(--color-accent);
  box-shadow: 0 4px 22px rgba(39,89,66,0.15);
}

/*******************
 MOBILE NAVIGATION
*******************/
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--color-primary);
  background: none;
  border: none;
  margin-left: 20px;
  cursor: pointer;
  z-index: 1003;
  padding: 7px 18px;
  border-radius: 12px;
  transition: background .16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  max-width: 410px;
  background: var(--color-secondary);
  box-shadow: -4px 0 36px rgba(27,58,42,0.18);
  z-index: 3000;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.77,.2,.05,1);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 32px 28px 28px 38px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 2rem;
  line-height: 1;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3001;
  box-shadow: 0 2px 5px rgba(27,58,42,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
}
.mobile-nav a {
  font-size: 1.08rem;
  font-weight: bold;
  color: var(--color-primary);
  text-transform: uppercase;
  padding: 16px 0 16px 8px;
  border-radius: 8px;
  transition: background .16s, color .18s;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: #fff;
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 22px;
  }
  .cta-btn {
    margin-left: 12px;
  }
  .container { max-width: 98vw; }
}
@media (max-width: 960px) {
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .main-nav,
  .cta-btn { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 900px) {
  header .container {
    justify-content: space-between;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 10px;
  }
}

/**********************************
 HERO, FEATURE & GENERAL SECTIONS
**********************************/
.hero {
  background: linear-gradient(95deg, var(--color-secondary) 85%, #fff 100%);
  padding: 58px 0 38px 0;
  border-bottom-left-radius: 68px 38px;
  border-bottom-right-radius: 24px 64px;
  box-shadow: 0 6px 44px rgba(171, 192, 59, .02);
}
.hero h1, .hero h2 {
  color: var(--color-primary);
  font-size: 2.6rem;
  line-height: 1.12;
}
.hero p {
  max-width: 660px;
  font-size: 1.12rem;
  margin-bottom: 18px;
}
.hero .cta-btn {
  margin-top: 16px;
  font-size: 1.12rem;
}

/***************
 LIST STYLING
***************/
ul, ol {
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.7;
  color: #243d35;
}
ul li, ol li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 1.2em;
}
ul li:before {
  content: '';
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 3px;
  vertical-align: middle;
  margin-right: 10px;
  margin-left: -18px;
  background: var(--color-accent);
}

/* Remove before from ul's with icons */
ul li img {
  margin-right: 8px;
  vertical-align: middle;
}
ul li {
  display: flex;
  align-items: center;
  gap: 10px;
}
ul li:has(img):before {
  display: none;
}

/************
 FOOTER
************/
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 40px 0 18px 0;
  margin-top: 38px;
  width: 100%;
  box-shadow: 0 -2px 16px rgba(27,58,42,0.07);
}
footer .container {
  gap: 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
}
.footer-nav a {
  color: #fff;
  opacity: 0.93;
  text-decoration: none;
  transition: color .2s, opacity .14s;
}
.footer-nav a:hover {
  color: var(--color-accent);
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px 36px;
  align-items: center;
  font-size: 1rem;
  opacity: .96;
  margin-bottom: 10px;
}
.footer-contact img {
  margin-right: 6px;
  vertical-align: middle;
  width: 18px;
  height: 18px;
}
.footer-branding {
  opacity: 0.73;
  font-size: .93rem;
  letter-spacing: .02em;
  margin-top: 12px;
}

/******************
 CTA FINAL SECTION
******************/
.cta-final {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--border-radius-lg);
  margin-bottom: 60px;
  padding: 42px 20px;
  box-shadow: 0 8px 40px rgba(39,89,66,0.08);
}
.cta-final h2 {
  color: #fff;
  margin-bottom: 18px;
}
.cta-final .cta-btn {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 3px 10px rgba(27,58,42,0.09);
  border: 2px solid var(--color-accent);
  margin: 20px 0 16px 0;
}
.cta-final .cta-btn:hover,
.cta-final .cta-btn:focus {
  background: var(--color-accent);
  color: #fff;
  border: 2px solid #fff;
}
.cta-final ul {
  list-style: none;
  padding-left: 0;
}
.cta-final ul li:before {
  content: '\25A0';
  color: var(--color-accent);
  display: inline-block;
  width: 14px;
  margin-right: 10px;
  position: relative;
  top: 1px;
}

/**************
 CARDS & FAQS
**************/
.care-guides {
  flex-direction: column;
  gap: 16px;
}
.care-guides ul {
  padding-left: 0;
  list-style: none;
}
.care-guides li {
  margin-bottom: 10px;
  padding-left: 0;
}
.care-guides li a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
  transition: color .17s;
}
.care-guides li a:hover {
  color: var(--color-accent);
}
.faq {
  flex-direction: column;
  gap: 12px;
}
.faq ul {
  list-style: none;
  padding-left: 0;
}
.faq li {
  margin-bottom: 10px;
  color: var(--color-on-secondary);
}
/***********************
 COOKIE CONSENT BANNER
***********************/
.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100vw;
  left: 0;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 1rem;
  box-shadow: 0 -2px 14px rgba(27,58,42,0.10);
  padding: 22px 8vw 18px 8vw;
  z-index: 2500;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  transition: transform .25s cubic-bezier(.76,.3,.3,1);
}
.cookie-banner.hide {
  transform: translateY(160%);
}
.cookie-banner__text {
  flex: 1 1 66%;
  max-width: 740px;
}
.cookie-banner__actions {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
  align-items: center;
}
.cookie-btn {
  background: var(--color-primary);
  color: #fff;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  transition: background .15s, color .16s;
  margin-right: 0;
  font-weight: bold;
  box-shadow: 0 1px 5px rgba(27,58,42,0.07);
}
.cookie-btn.settings {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-accent);
  color: #fff;
}

/***********************
 COOKIE PREFERENCES MODAL
***********************/
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(27,58,42,0.56);
  z-index: 3500;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .22s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: var(--color-primary);
  padding: 36px 28px 28px 34px;
  border-radius: 22px;
  max-width: 430px;
  width: 94vw;
  box-shadow: 0 10px 44px rgba(27,58,42,0.23);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookie-modal-in .4s cubic-bezier(.5,2,0,1);
}
@keyframes cookie-modal-in {
  0% { transform: scale(.88) translateY(64px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 28px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 1.6rem;
  border-radius: 50%;
  width: 38px; height: 38px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}
.cookie-modal .cookie-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 9px 0;
}
.cookie-modal .category {
  font-size: 1rem;
}
.cookie-modal .cookie-switch {
  position: relative;
  width: 46px;
  height: 24px;
  background: var(--color-accent);
  border-radius: 20px;
  margin-left: 8px;
  margin-right: 4px;
  cursor: pointer;
  display: inline-block;
  transition: background .2s;
}
.cookie-modal .cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .cookie-slider {
  position: absolute;
  top: 2px; left: 2px;
  height: 20px;
  width: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform .14s cubic-bezier(.5,.2,.1,1);
  box-shadow: 0 2px 5px rgba(27,58,42,0.07);
}
.cookie-modal .cookie-switch input:checked + .cookie-slider {
  transform: translateX(22px);
}
.cookie-modal .cookie-switch[aria-disabled="true"] {
  opacity: 0.55;
  cursor: default;
}
.cookie-modal .cookie-switch[aria-disabled="true"] .cookie-slider {
  background: #d5d5d5;
}

/********* TABLET & MOBILE *********/
@media (max-width: 768px) {
  .hero {
    padding: 28px 0 24px 0;
    border-bottom-left-radius: 34px 18px;
    border-bottom-right-radius: 14px 36px;
  }
  h1 { font-size: 1.37rem; }
  h2 { font-size: 1.08rem; }
  .container { padding: 0 7px; }
  .content-wrapper { gap: 16px; }
  .section, .cta-final {
    padding: 24px 5px;
    border-radius: var(--border-radius);
    margin-bottom: 34px;
  }
  .card {
    padding: 16px 11px;
    border-radius: var(--border-radius);
  }
  .card-container {
    gap: 12px;
  }
  .testimonial-card {
    padding: 14px 9px;
    border-radius: var(--border-radius);
    margin-bottom: 12px;
  }
  .cta-form-success-box {
    padding: 8px 10px;
    font-size: 0.98rem;
  }
  .cta-final {
    padding: 22px 5px;
    border-radius: var(--border-radius);
    margin-bottom: 28px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 14px 6vw 12px 6vw;
    font-size: 0.97rem;
  }
  .value-list {
    flex-direction: column;
    gap: 18px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 7px;
    font-size: .98rem;
    align-items: flex-start;
  }
  .footer-nav {
    gap: 10px;
    font-size: .97rem;
  }
}
@media (max-width: 850px) {
  .main-nav { gap: 8px; }
  .cta-btn { margin-left: 0; }
}
@media (max-width: 480px) {
  .hero h1, .hero h2 { font-size: 1.32rem; }
  .cookie-modal { max-width: 96vw; padding: 20px 5vw; }
}
/******* FLEX ONLY for all layouts *******/
.card-container,
.content-grid,
.text-image-section,
.value-list,
.tips-grid,
.faq,
.care-guides,
.footer-nav,
.footer-contact,
.section,
.cta-final {
  display: flex;
}
.card-container,
.content-grid,
.value-list,
.tips-grid,
.footer-nav { flex-wrap: wrap; }
.card-container,
.content-grid,
.value-list,
.tips-grid,
.faq,
.care-guides,
.footer-nav,
.footer-contact {
  gap: 20px;
  min-width: 0;
}

/******** RESPONSIVE TEXT-IMAGE SECTIONS ********/
.text-image-section { flex-direction: row; }
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/******* Z-INDEX LAYERING ******/
header { z-index: 1002; }
.mobile-menu { z-index: 3000; }
.cookie-banner { z-index: 2500; }
.cookie-modal-overlay { z-index: 3500; }

/****** MICRO-INTERACTIONS ******/
.cta-btn, .cookie-btn, .mobile-menu-close, .mobile-menu-toggle, .card, .testimonial-card {
  transition: box-shadow .24s, background .19s, color .16s, border .14s, transform .15s;
}
.cta-btn:active,
.cookie-btn:active,
.mobile-menu-close:active,
.mobile-menu-toggle:active {
  transform: scale(.96);
}
.card:hover, .card:focus {
  box-shadow: 0 2px 18px rgba(39,89,66,0.12);
}
.card:active { transform: scale(.97); }

/***************
 MISC FORM STYLES
***************/
input, textarea {
  background: #fff;
  border: 2px solid var(--color-secondary);
  border-radius: var(--border-radius-xs);
  font-size: 1rem;
  margin-bottom: 14px;
  padding: 9px 12px;
  color: var(--color-primary);
  width: 100%;
  box-sizing: border-box;
  transition: border-color .14s;
}
input:focus, textarea:focus {
  border-color: var(--color-accent);
}
label {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 5px;
}

/*********
 THANK YOU PAGE
*********/
.thank-you {
  text-align: center;
  padding: 40px 16px;
  margin: 0 auto;
}

/***** Accessibility - focuses *****/
a:focus-visible, button:focus-visible, .cta-btn:focus-visible, .cookie-btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}
a:active, .cta-btn:active, .cookie-btn:active {
  outline: none;
}

/******* SCROLLBAR ******/
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 12px; }
::-webkit-scrollbar-track { background: var(--color-secondary); }

/**** Hide elements for screen readers only ****/
.sr-only {  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
