/* =======================
   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, 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;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #161A1B;
  color: #E1E7E7;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  position: relative;
  font-size: 16px;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
a {
  color: #6EC567;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #39953d;
  text-decoration: underline;
}
ul, ol {
  margin: 0 0 1.5em 1.2em;
  padding-left: 1.2em;
}
li {
  margin-bottom: 0.5em;
}
strong {
  font-weight: 700;
}
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(21, 87, 67, 0.025);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(22,26,27,.06);
}

/* ============
   TYPOGRAPHY
   ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.01em;
  color: #D9E5D6;
  font-weight: 700;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  line-height: 1.1;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  line-height: 1.18;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 12px;
}
p, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  color: #E1E7E7;
  font-size: 1rem;
  margin-bottom: 18px;
  line-height: 1.7;
}
blockquote {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.125rem;
  color: #222A28;
  background: #D9E5D6;
  padding: 18px 22px;
  border-left: 5px solid #155743;
  margin: 0 0 16px 0;
  border-radius: 12px;
}

/* ===================
   FLEX LAYOUT BASICS
   =================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ========================================
   HEADER & NAVIGATION / LOGO & BUTTONS
   ======================================== */
header {
  background: #191C1E;
  border-bottom: 2px solid #23282B;
  position: sticky;
  top: 0;
  z-index: 1020;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px;
}
.logo,
.logo-footer {
  flex-shrink: 0;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 1rem;
  color: #D9E5D6;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
nav a:hover, nav a:focus {
  background: #23282B;
  color: #6EC567;
}
.cta-button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #191C1E;
  background: linear-gradient(90deg, #6EC567 55%, #39953d 100%);
  border: none;
  padding: 12px 26px;
  border-radius: 28px;
  margin-left: 16px;
  box-shadow: 0 2px 10px rgba(110,197,103,0.14);
  cursor: pointer;
  transition: background .22s, color .18s, transform .12s;
  display: inline-block;
  position: relative;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #39953d 45%, #155743 100%);
  color: #D9E5D6;
  transform: translateY(-2px) scale(1.02);
}

/* =============
   MOBILE MENU
   ============= */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #6EC567;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 18px;
  z-index: 1202;
  border-radius: 9px;
  transition: background 0.16s;
  width: 48px;
  height: 44px;
  line-height: 44px;
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #252929;
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #191C1E;
  z-index: 1201;
  transform: translateX(100vw);
  transition: transform .28s cubic-bezier(.76,.04,.38,1) 0s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 24px 24px 24px;
  gap: 36px;
  box-shadow: -2px 0 16px rgba(0,0,0,0.28);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #6EC567;
  cursor: pointer;
  z-index: 1202;
  transition: background .14s;
  border-radius: 8px;
  width: 46px;
  height: 44px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #23282B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  color: #D9E5D6;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 10px 0;
  letter-spacing: .04em;
  border-radius: 5px;
  transition: background .19s, color .19s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #23282B;
  color: #6EC567;
}

@media (max-width: 1024px) {
  header .container {
    gap: 10px;
    flex-wrap: wrap;
  }
  nav {
    gap: 10px;
  }
}
@media (max-width: 970px) {
  nav {
    display: none;
  }
  .cta-button {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 480px) {
  .mobile-menu {
    padding: 24px 8px 16px 8px;
  }
}

/* ====================
   MAIN LAYOUT SECTIONS
   ==================== */
.section, section {
  margin-bottom: 60px;
  padding: 40px 16px;
}
@media (max-width: 768px) {
  .section, section {
    margin-bottom: 38px;
    padding: 25px 6px;
  }
}

.content-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
@media (max-width: 900px) {
  .content-grid {
    flex-direction: column;
  }
}
.text-image-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #20292B;
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: 0 2px 18px rgba(22,26,27,0.12);
  min-width: 250px;
  flex: 1 1 320px;
  transition: box-shadow .21s, background .16s;
  border: 1.5px solid #23282B;
}
.card:hover, .card:focus {
  background: #233028;
  box-shadow: 0 6px 28px rgba(86,158,104,0.17);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =============
   FEATURES-LIST
   ============= */
.features-list, .values-list, .services-list, .benefits-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.features-list li,
.values-list li,
.services-list li,
.benefits-list li {
  background: #223028;
  border: 1.5px solid #23282B;
  border-radius: 16px;
  padding: 20px 18px 18px 18px;
  flex: 1 1 270px;
  min-width: 240px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(21,87,67,0.09);
  transition: box-shadow .19s, background .15s;
  flex-direction: column;
}
.features-list li:hover, .features-list li:focus {
  background: #155743;
  color: #D9E5D6;
  box-shadow: 0 6px 24px rgba(86,158,104,0.15);
}
.features-list img {
  width: 44px; height: 44px;
  flex-shrink: 0;
  filter: grayscale(60%) brightness(1.08) contrast(104%);
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

/* ================
   SERVICES CARDS
   ================ */
.services-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.service-card {
  background: #212925;
  border-radius: 16px;
  border: 1.5px solid #23282B;
  padding: 22px 18px 24px 18px;
  flex: 1 1 260px;
  min-width: 250px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(22,26,27,0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow .16s, background .16s;
  position: relative;
}
.service-card img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  filter: grayscale(50%) brightness(.93) contrast(140%);
}
.service-link {
  color: #6EC567;
  font-weight: 600;
  margin-top: 12px;
  transition: color .16s, text-decoration .2s;
  font-size: 1rem;
}
.service-link:hover,
.service-link:focus {
  color: #39953d;
  text-decoration: underline;
}
.service-card:hover, .service-card:focus {
  background: #155743;
  color: #D9E5D6;
  box-shadow: 0 6px 24px rgba(86,158,104,0.17);
}

@media (max-width: 900px) {
  .services-cards {
    flex-direction: column;
    gap: 16px;
  }
  .service-card {
    min-width: unset;
    width: 100%;
  }
  .features-list,
  .services-list {
    flex-direction: column;
  }
  .features-list li, .services-list li {
    min-width: unset;
    width: 100%;
  }
}

/* ================
   TESTIMONIALS
   ================ */
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F8FAF7;
  border-radius: 15px;
  box-shadow: 0 4px 24px rgba(21,87,67,0.10);
  color: #191C1E;
  flex: 1 1 350px;
  min-width: 260px;
  margin-bottom: 20px;
  border: 1.5px solid #D9E5D6;
  transition: box-shadow .12s, background .15s;
}
.testimonial-card blockquote {
  color: #1d231f;
  background: #E9EDE5;
  border-left: 4px solid #6EC567;
  border-radius: 9px;
  margin: 0;
  font-size: 1.06rem;
  font-style: italic;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #20292B;
}
.testimonial-card:hover, .testimonial-card:focus {
  background: #ffffff;
  box-shadow: 0 8px 38px rgba(21,87,67,0.13);
}
@media (max-width: 900px) {
  .testimonial-cards {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    min-width: unset;
    width: 100%;
  }
}

/* ===============
   CASE STUDY TEASERS (Realizacje)
   =============== */
.case-study-teasers {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.case-study {
  background: #212925;
  border-radius: 16px;
  border: 1.5px solid #23282B;
  padding: 23px 20px 24px 18px;
  flex: 1 1 320px;
  min-width: 250px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(22,26,27,0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  position: relative;
  transition: background .15s, box-shadow .19s;
}
.case-study:hover,.case-study:focus {
  background: #155743;
  box-shadow: 0 6px 24px rgba(86,158,104,0.15);
  color: #D9E5D6;
}
@media (max-width: 900px) {
  .case-study-teasers {
    flex-direction: column;
    gap: 16px;
  }
  .case-study {
    min-width: unset;
    width: 100%;
  }
}

/* =============
   FOOTER
   ============= */
footer {
  background: #191C1E;
  border-top: 2px solid #23282B;
  padding: 29px 0 15px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 38px;
}
.logo-footer {
  margin-bottom: 0;
  flex-shrink: 0;
}
footer nav {
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #B7CEC0;
  font-size: 1rem;
  padding: 4px 0;
  font-weight: 500;
  transition: color .17s;
}
footer nav a:hover, footer nav a:focus {
  color: #6EC567;
}
.footer-contact p {
  font-size: 0.98rem;
  color: #7EA289;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* =====================
   COOKIES CONSENT BANNER
   ===================== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  background: #202925;
  border-top: 2px solid #155743;
  color: #E1E7E7;
  font-family: 'Roboto', Arial, sans-serif;
  z-index: 2105;
  box-shadow: 0 -2px 18px rgba(21,87,67,0.09);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 20px 26px;
  gap: 28px;
  animation: fadeInBottom .34s;
}
.cookie-banner p {
  margin-bottom: 0;
  max-width: 440px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 9px 24px;
  border-radius: 23px;
  border: none;
  cursor: pointer;
  margin: 0;
  transition: background .18s, color .15s;
}
.cookie-btn.accept {
  background: #6EC567;
  color: #191C1E;
}
.cookie-btn.accept:hover {
  background: #39953d;
  color: #FFF;
}
.cookie-btn.decline {
  background: #282F2D;
  color: #D9E5D6;
}
.cookie-btn.decline:hover {
  background: #23282B;
  color: #6EC567;
}
.cookie-btn.settings {
  background: #23282B;
  color: #6EC567;
}
.cookie-btn.settings:hover {
  background: #155743;
  color: #FFF;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 10px;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ===========================
   COOKIES SETTINGS POPUP MODAL
   =========================== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; bottom: 0; right: 0;
  background: rgba(22,26,27,0.82);
  z-index: 2220;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  animation: fadeIn .25s;
}
.cookie-modal {
  background: #191C1E;
  color: #E1E7E7;
  border-radius: 24px;
  box-shadow: 0 10px 38px 0 rgba(21,87,67,0.19);
  padding: 38px 38px 29px 38px;
  min-width: 330px;
  max-width: 96vw;
  min-height: 220px;
  max-height: 90vh;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: popUp .25s;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 25px;
  background: none;
  border: none;
  color: #6EC567;
  font-size: 1.8rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 7px;
  width: 44px;
  height: 44px;
  z-index: 2;
  transition: background .12s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #23282B;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  background: #23282B;
  color: #D9E5D6;
  padding: 12px 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.cookie-toggle {
  appearance: none;
  width: 44px;
  height: 24px;
  background: #155743;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .17s;
  margin-left: 10px;
  vertical-align: middle;
}
.cookie-toggle:checked {
  background: #6EC567;
}
.cookie-toggle:before {
  content: '';
  display: block;
  border-radius: 50%;
  background: #FFF;
  width: 18px; height: 18px;
  position: absolute;
  top: 3px; left: 5px;
  transition: left .16s, background .15s;
  box-shadow: 0 2px 4px #191C1E20;
}
.cookie-toggle:checked:before {
  background: #191C1E;
  left: 21px;
}
.cookie-category .always-on {
  font-size: 0.94em;
  color: #6EC567;
  background: none;
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 18px 8px 17px 8px;
    min-width: unset;
  }
}
@keyframes fadeInBottom {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  0% { opacity: 0; } 100% { opacity: 1; }
}
@keyframes popUp {
  0% {transform: scale(0.91); opacity: 0;}
  98% {transform: scale(1.03);}
  100% {transform: scale(1.0); opacity:1;}
}

/* ==============
   ELEMENTS & MICRO-INTERACTIONS
   ============== */
button, input[type=button], input[type=submit] {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: background .17s, color .15s, box-shadow .1s;
  outline: none;
}
button:focus, .cookie-btn:focus, .cookie-btn:active,
input:focus {
  outline: 2px solid #6EC567;
  outline-offset: 1px;
}
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  color: #23282B;
  border: 1px solid #C2CEE6;
  background: #F6F7F9;
  border-radius: 4px;
  font-size: 1rem;
  padding: 11px 14px;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
}
input:focus, textarea:focus {
  border-color: #6EC567;
}

/* ===================
   FLEX SPACING HELPERS
   =================== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =============
   CONTENT SPACING
   ============= */
@media (max-width: 600px) {
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
  .service-card, .card, .testimonial-card, .case-study {
    padding: 12px 6px 13px 6px;
  }
}

/* ===========
   UTILITIES
   =========== */
.d-none { display: none !important; }

/* ===========
   ACCESSIBILITY
   =========== */
:focus-visible { outline: 2px solid #6EC567; outline-offset: 1.5px; }
::-webkit-input-placeholder { color: #7EA289; }
::-moz-placeholder { color: #7EA289; }
:-ms-input-placeholder { color: #7EA289; }
::placeholder { color: #7EA289; }

/* =============
   SCROLLBAR
   ============= */
body {
  scrollbar-color: #155743 #23282B;
}
::-webkit-scrollbar {
  width: 10px;
  background: #23282B;
}
::-webkit-scrollbar-thumb {
  background: #155743;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #39953d;
}

/*
=======================
INDUSTRIAL MODERN METAL ACCENTS
=======================
*/
.card, .feature-item, .service-card, .case-study, .testimonial-card {
  box-shadow: 0 2px 18px rgba(52,62,61,0.10), 0 1.5px 0 #747C7B2c inset;
  border: 1.5px solid #23282B;
}
.card:before, .service-card:before, .case-study:before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 4px;
  background: linear-gradient(90deg, #747C7B55 5%, #15574315 100%);
  border-radius: 18px 18px 0 0;
  z-index: 1;
  pointer-events: none;
}

/* METALLIC ACCENT LINES (subtle, for industrial look) */
h2, h3 {
  position: relative;
  padding-left: 0;
  margin-bottom: 18px;
}
h2:after, h3:after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #747C7B55 0%, #155743 100%);
  border-radius: 2px;
  margin-top: 6px;
}


/* ===========================
   RESPONSIVENESS & HIERARCHY
   =========================== */
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.09rem; }
  .content-wrapper { gap: 13px; }
}

/*
======================
  PRINT BRAND FONTS (MONTSERRAT & ROBOTO)
======================
*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');


/*
=========================
  FOCUS, HOVER, MICRO FX
=========================
*/
p a, h3 a, .service-link {
  position: relative;
  z-index: 2;
  cursor: pointer;
}
p a:after, h3 a:after, .service-link:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #6EC567;
  transition: width .22s;
  position: absolute;
  left: 0; bottom: -1px;
  z-index: 2;
}
p a:hover:after, h3 a:hover:after, .service-link:hover:after {
  width: 100%;
}

/* ===========
   MISC
   =========== */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 32px;
}
td, th {
  padding: 10px 16px;
  border: 1px solid #C2CEE6;
}
th {
  background: #155743;
  color: #fff;
}
td {
  background: #D9E5D6;
  color: #191C1E;
}

/* ================================
   END OF CSS
   NO GRID/COLUMNS/COLUMN-*
   ALL LAYOUT: FLEXBOX & FLEX-WRAP
   ================================ */