/* Elyra Power Zielono Mi – Minimalist CSS Theme */
/* ============================ RESET & BASE ============================ */
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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F8F5F2;
  color: #355D3A;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
*, *:before, *:after {
  box-sizing: inherit;
}
main {
  flex: 1 0 auto;
}
a {
  color: #355D3A;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #A2CFA5;
  outline-offset: 2px;
}
a:hover {
  color: #274728;
  text-decoration: underline;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  max-width: 770px;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 16px;
  padding-left: 1.1em;
}
ul li, ol li {
  margin-bottom: 10px;
}
b, strong {
  font-weight: 700;
}

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #1E3021;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.07rem;
  margin-bottom: 7px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
}

/* ===================== NAVIGATION ===================== */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(53,93,58,0.04);
  position: sticky;
  top: 0; z-index: 99;
  padding: 0 0 0 0;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 72px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #355D3A;
  padding: 8px 10px;
  border-radius: 7px;
  transition: background 0.17s, color 0.17s;
}
header nav a.cta-btn {
  background: #355D3A;
  color: #fff;
  border-radius: 26px;
  padding: 8px 26px;
  box-shadow: 0 1px 8px rgba(53,93,58,0.08);
  margin-left: 10px;
  font-weight: bold;
  letter-spacing: .2px;
  text-align: center;
}
header nav a.cta-btn:hover,
header nav a.cta-btn:focus {
  background: #A2CFA5;
  color: #355D3A;
}
header nav a:hover,
header nav a:focus {
  background: #A2CFA5;
  color: #1E3021;
}
header nav img {
  width: 54px;
  height: 54px;
  margin-right: 20px;
}
.mobile-menu-toggle {
  display: none; 
  background: transparent;
  color: #355D3A;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  margin-left: auto;
  z-index: 201;
  padding: 6px 16px;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #A2CFA5;
  color: #274728;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 94vw;
  max-width: 340px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 30px rgba(53,93,58,0.13);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.77,0,.18,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  gap: 12px;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #A2CFA5;
  border: none;
  border-radius: 50%;
  color: #355D3A;
  font-size: 1.5rem;
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: background 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #355D3A;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.14rem;
  color: #355D3A;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A2CFA5;
  color: #1E3021;
}

@media (max-width: 1020px) {
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
}
@media (max-width: 900px) {
  header nav a:not(:first-child) {
    font-size: 0.95rem;
    padding: 7px 7px;
  }
}
@media (max-width: 860px) {
  header nav { gap:10px; }
}
@media (max-width: 800px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Footer */
footer {
  background: #fff;
  border-top: 1px solid #E7EBE6;
  padding: 32px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
footer nav a {
  color: #355D3A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.14s;
}
footer nav a:hover,
footer nav a:focus {
  color: #A2CFA5;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #6B8871;
  font-size: 0.98rem;
}
.footer-info a {
  color: #355D3A;
  text-decoration: underline;
  transition: color 0.1s;
}
.footer-info a:hover,
.footer-info a:focus {
  color: #A2CFA5;
}

/* ==================== REPEATED LAYOUTS =================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px 0 rgba(53,93,58,0.08);
  margin-bottom: 20px;
  position: relative;
  padding: 30px 24px;
  transition: box-shadow 0.18s, transform 0.17s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(53,93,58,0.12);
  transform: translateY(-2px) scale(1.015);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 26px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(53,93,58,0.10);
  margin-bottom: 20px;
  max-width: 510px;
  margin-right: 20px;
  border-left: 4px solid #A2CFA5;
}
.testimonial-card p {
  color: #274728;
  font-size: 1.08rem;
  margin-bottom: 6px;
  line-height: 1.7;
}
.testimonial-card b {
  color: #355D3A;
}
.testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ============= FEATURES & SERVICES ============= */
.feature-grid, .service-list, .services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.feature, .service {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 14px rgba(53,93,58,0.07);
  padding: 22px 20px 20px 20px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.feature:hover, .service:hover {
  box-shadow: 0 4px 16px 0 rgba(53,93,58,0.13);
  transform: translateY(-2px) scale(1.018);
}
.feature img {
  width: 38px; height: 38px;
  margin-bottom: 4px;
}
.service-price {
  color: #355D3A;
  background: #F8F5F2;
  border-radius: 10px;
  padding: 5px 14px;
  font-weight: 500;
  margin-top: 9px;
  font-size: 0.97rem;
}

/* ============= CTA BUTTONS ============= */
.cta-btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #355D3A;
  color: #fff;
  border: none;
  border-radius: 999px;
  transition: background 0.15s, color 0.14s, transform 0.14s, box-shadow 0.13s;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 3px 14px 0 rgba(53,93,58,0.08);
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #A2CFA5;
  color: #355D3A;
  transform: translateY(-1.5px) scale(1.025);
  box-shadow: 0 8px 18px 0 rgba(53,93,58,0.14);
  text-decoration: none;
}

/* ================== MISC COMPONENTS ================== */
.map-embed {
  background: #F8F5F2;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 18px;
}

/* ===================== RESPONSIVENESS ===================== */
@media (max-width: 1180px) {
  .feature-grid, .service-list, .services-grid {
    justify-content: flex-start;
    gap: 16px;
  }
}
@media (max-width: 1100px) {
  .feature-grid, .service-list, .services-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature, .service {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 800px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .content-wrapper { gap: 16px; }
  .feature, .service, .testimonial-card { padding: 18px 12px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.32rem; }
  .section { padding: 26px 6px; }
  .container { padding: 0 3px; }
  .feature-card, .testimonial-card { padding: 12px 8px; }
  .footer-info { font-size: 0.93rem; }
}

/* =================== COOKIE CONSENT =================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 18px 0 rgba(53,93,58,0.13);
  color: #274728;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  z-index: 9999;
  padding: 20px 24px 16px 24px;
  font-size: 1rem;
  transition: transform 0.35s cubic-bezier(.7,0,.2,1);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner-message {
  max-width: 560px;
  font-size: 1rem;
  color: #355D3A;
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  border: none;
  border-radius: 30px;
  padding: 9px 22px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 1px 8px rgba(53,93,58,0.05);
  transition: background 0.15s, color 0.15s, box-shadow 0.13s, border 0.12s;
}
.cookie-accept-btn {
  background: #355D3A;
  color: #fff;
}
.cookie-accept-btn:hover, .cookie-accept-btn:focus {
  background: #A2CFA5;
  color: #355D3A;
}
.cookie-reject-btn {
  background: #A2CFA5;
  color: #355D3A;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: #355D3A;
  color: #fff;
}
.cookie-settings-btn {
  background: transparent;
  color: #355D3A;
  border: 1px solid #355D3A;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #A2CFA5;
  color: #1E3021;
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 13px;
    padding: 16px 6px 12px 10px;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10001;
  inset: 0;
  background: rgba(38, 46, 36, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .22s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #355D3A;
  border-radius: 18px;
  box-shadow: 0 12px 44px 0 rgba(53,93,58,0.15);
  width: 95vw;
  max-width: 410px;
  padding: 32px 30px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: fadeInModal 0.32s cubic-bezier(.77,0,.18,1);
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.98) translateY(30px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal-close {
  position: absolute;
  right: 14px;
  top: 11px;
  background: transparent;
  border: none;
  color: #A2CFA5;
  font-size: 1.6rem;
  padding: 4px 7px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #A2CFA5;
  color: #fff;
}
.cookie-modal h2 {
  font-size: 1.1rem;
  color: #355D3A;
  margin-bottom: 0;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px 0;
}
.cookie-category-label {
  flex: 1;
  font-size: 1rem;
}
.cookie-toggle {
  width: 39px; height: 22px;
  border-radius: 20px;
  background: #A2CFA5;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: background 0.18s;
  margin-left: 2px;
}
.cookie-toggle input {
  appearance: none;
  width: 0; height: 0;
  opacity: 0;
  position: absolute;
}
.cookie-toggle .knob {
  display: block;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 5px rgba(53,93,58,0.09);
  transition: transform 0.15s;
  transform: translateX(2px);
}
.cookie-toggle input:checked + .knob {
  transform: translateX(17px);
  background: #355D3A;
}
.cookie-category-essential {
  color: #6c8e76;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 7px;
}
.cookie-modal-actions {
  display: flex;
  gap: 9px;
  margin-top: 13px;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 20px;
  border-radius: 30px;
  border: none;
  font-weight: 500;
  background: #A2CFA5;
  color: #355D3A;
  box-shadow: 0 1px 7px rgba(53,93,58,0.09);
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.cookie-modal-actions .cookie-accept-btn {
  background: #355D3A;
  color: #fff;
}
.cookie-modal-actions .cookie-accept-btn:hover,
.cookie-modal-actions .cookie-accept-btn:focus {
  background: #A2CFA5;
  color: #355D3A;
}
.cookie-modal-actions .cookie-reject-btn {
  background: #A2CFA5;
  color: #355D3A;
}
.cookie-modal-actions .cookie-reject-btn:hover,
.cookie-modal-actions .cookie-reject-btn:focus {
  background: #355D3A;
  color: #fff;
}

@media (max-width: 520px) {
  .cookie-modal {
    padding: 18px 7px 14px 12px;
    max-width: 97vw;
    font-size: 0.96rem;
  }
  .cookie-modal h2 { font-size: 1rem; }
  .cookie-modal .cookie-category { font-size: 0.96rem; }
}

/* =============== FINE DETAILS & MICRO-INTERACTIONS ============= */
button, .cta-btn {
  transition: background 0.13s, color 0.13s, transform 0.12s, box-shadow 0.11s;
}
section, .section {
  transition: box-shadow 0.16s, background 0.13s;
}
.card, .feature, .service, .testimonial-card {
  transition: box-shadow 0.16s, border-color 0.13s, transform 0.16s;
}

/* =============== ADDITIONAL PAGE ELEMENTS =============== */
hr {
  border: none;
  height: 1px;
  background: #ececec;
  margin: 24px 0;
}
blockquote {
  border-left: 4px solid #A2CFA5;
  padding-left: 1em;
  color: #355D3A;
  font-style: italic;
  margin: 14px 0;
}

/* ================= ACCESSIBILITY ================== */
:focus {
  outline: 2px solid #A2CFA5;
  outline-offset: 2px;
}

/* Hide visually but accessible for screen readers */
.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
