/* 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;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background: #20262c;
  color: #f9f7f3;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: #48A28B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #2B5C91;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 20px;
}
ul li, ol li {
  margin-bottom: 8px;
}

/* TYPOGRAPHY */
h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  color: #F9F7F3;
  letter-spacing: 1px;
  font-weight: 800;
  margin-bottom: 24px;
  text-shadow: 1px 2px 4px #10121833;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  color: #F9F7F3;
  font-weight: 700;
  margin-bottom: 18px;
  text-shadow: 1px 2px 4px #10121822;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  color: #48A28B;
  margin-bottom: 14px;
  font-weight: 700;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #2B5C91;
}
p, .text-section p {
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

/* FLEX PATTERNS & SPACING */
.section {
  background: #22272e;
  border-radius: 12px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 24px -6px #11131a55, 0 1px 0 #22252a;
}
.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #23272d;
  border-radius: 10px;
  box-shadow: 0 3px 14px -5px #181c2299, 0 1px 0 #23272d;
  padding: 26px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1.5px solid #364150;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  border-color: #2B5C91;
  box-shadow: 0 2px 24px -3px #184269aa, 0 1px 0 #23272d;
  z-index: 5;
}
.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;
  justify-content: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F9F7F3;
  color: #232728;
  border-radius: 9px;
  box-shadow: 0 4px 13px -6px #11121818;
  margin-bottom: 24px;
  min-width: 0;
  position: relative;
  border-left: 5px solid #2B5C91;
  transition: box-shadow 0.18s, border-left-color 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px -2px #48A28B33, 0 1px 0 #eeeeee;
  border-left-color: #48A28B;
  z-index: 1;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 500;
  margin-right: 12px;
  color: #222;
}
.testimonial-card footer {
  color: #2B5C91;
  font-size: 1rem;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #23272d 84%, #2B5C91 100%);
  padding: 70px 0 50px 0;
  border-radius: 0 0 22px 22px;
  margin-bottom: 48px;
  box-shadow: 0 4px 32px -12px #2b5c9170;
}
.hero .container .content-wrapper {
  align-items: flex-start;
  max-width: 640px;
}
.hero h1, .hero p {
  text-align: left;
}
.hero h1 {
  color: #FFFFFF;
  font-size: 2.4rem;
  padding-bottom: 18px;
}
.hero p {
  color: #F9F7F3;
  font-size: 1.22rem;
  margin-bottom: 28px;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2B5C91;
  color: #F9F7F3;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 3px 18px -9px #294d7a77, 0 1px 0 #1b232d;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.14s;
  margin-top: 12px;
  margin-bottom: 12px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #48A28B;
  color: #181f26;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px -6px #48a28b55;
}
.btn-secondary {
  display: inline-flex;
  background: #23272d;
  color: #F9F7F3;
  border: 2px solid #48A28B;
  padding: 12px 24px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.15s, color 0.2s, border-color 0.13s;
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #48A28B;
  color: #111216;
  border-color: #2B5C91;
}

/* MAIN NAVIGATION */
header {
  background: #1A2126;
  box-shadow: 0 2px 8px -4px #10161b66;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 68px;
}
.brand-logo {
  display: flex;
  align-items: center;
  height: 60px;
  margin-right: 34px;
}
.brand-logo img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F9F7F3;
  font-weight: 600;
  font-size: 1.01rem;
  letter-spacing: 0.1px;
  padding: 8px 7px;
  border-radius: 5px;
  transition: background 0.12s, color 0.15s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #29323b;
  color: #48A28B;
}
.main-nav .btn-primary {
  margin: 0 0 0 10px;
  padding: 10px 18px;
  font-size: 1rem;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: transparent;
  color: #48A28B;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 10px 16px;
  margin-left: 18px;
  border-radius: 50px;
  transition: background 0.13s;
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #253040;
  color: #2B5C91;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #181f24ef;
  z-index: 9999;
  transform: translateX(-110vw);
  transition: transform 0.36s cubic-bezier(.73,.17,.32,1.15);
  display: flex;
  flex-direction: column;
  padding-top: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #48A28B;
  font-size: 2.7rem;
  border: none;
  align-self: flex-end;
  padding: 6px 20px;
  cursor: pointer;
  transition: color 0.18s;
  margin-bottom: 22px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #2B5C91;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 23px;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  font-size: 1.32rem;
  color: #F9F7F3;
  padding: 9px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.25px;
  border-radius: 6px;
  transition: color 0.21s, background 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #48A28B;
  background: #20262c;
  padding-left: 12px;
}

@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}

/* CTA SECTION */
.cta {
  background: #23292e;
  border-radius: 18px;
  margin-bottom: 40px;
  padding: 40px 20px;
  box-shadow: 0 2px 12px -5px #2B5C9140;
}
.cta h2 {
  color: #48A28B;
}

/* TRUST BADGES */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
}
.trust-badges span {
  background: #2B5C91;
  color: #F9F7F3;
  border-radius: 7px;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 12px -8px #10141a55;
}
.trust-badges img {
  height: 22px;
  width: auto;
}

/* CARDS - FEATURES */
.content-wrapper > ul,
.content-wrapper ul {
  margin: 0 0 18px 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.content-wrapper > ul > li,
.content-wrapper ul > li {
  background: #23272d;
  color: #F9F7F3;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px -6px #18315233;
  border-left: 3.5px solid #2B5C91;
  margin-bottom: 12px;
  font-size: 1.08rem;
  transition: box-shadow 0.13s, border-color 0.19s;
}
.content-wrapper > ul > li img,
.content-wrapper ul > li img {
  width: 24px; height: 24px; margin-right: 7px; flex-shrink: 0;
}
.content-wrapper ul > li strong {
  color: #48A28B;
}
.content-wrapper ul > li:hover, .content-wrapper ul > li:focus {
  border-left: 3.5px solid #48A28B;
  box-shadow: 0 4px 16px -4px #48a28b44;
  z-index: 1;
}

.text-section {
  margin-bottom: 24px;
}
.text-section p {
  margin-bottom: 8px;
}

/* TABLES (CENNIK, HARMONOGRAM) */
table {
  width: 100%;
  border-collapse: collapse;
  background: #1A2126;
  border-radius: 10px;
  box-shadow: 0 2px 16px -6px #10141a44;
  overflow: hidden;
  margin-bottom: 30px;
}
thead tr {
  background: #2B5C91;
  color: #F9F7F3;
}
th, td {
  padding: 13px 18px;
  border-bottom: 1px solid #23292e;
  text-align: left;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
}
th {
  font-weight: 800;
  letter-spacing: 0.2px;
  background: #2B5C91;
}
tr:last-child td {
  border-bottom: none;
}
tbody tr:hover {
  background: #23272d99;
}
tbody td {
  color: #F9F7F3;
}

/* FOOTER */
footer {
  background: #181f24;
  color: #E9E5DD;
  padding: 0;
  margin-top: 50px;
  box-shadow: 0 -4px 32px -6px #1a202873;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 46px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 40px 0 16px 0;
}
.footer-brand {
  display: flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: .5px;
  font-size: 1.12rem;
  color: #48A28B;
  gap: 8px;
}
.footer-brand img {
  height: 27px;
  width: auto;
  margin-right: 9px;
}
.footer-menu, .footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-menu a {
  color: #E9E5DD;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.16s;
  margin-bottom: 3px;
  font-weight: 600;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #48A28B;
}
.footer-contacts span {
  display: flex;
  align-items: center;
  color: #F9F7F3;
  font-size: 0.98rem;
  margin-bottom: 4px;
  gap: 8px;
}
.footer-contacts img {
  width: 19px; height: 19px;
}
.copyright {
  text-align: center;
  color: #56616E;
  background: none;
  font-size: 0.92rem;
  padding: 4px 0 12px 0;
  margin-top: 0px;
  border-top: 1px solid #22272e;
}


/* RESPONSIVE & LAYOUT ADJUSTMENTS */
@media (max-width: 990px) {
  .container, .footer-nav {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 24px !important;
  }
  .footer-nav {
    gap: 18px !important;
    padding-left: 18px;
    padding-right: 12px;
  }
}
@media (max-width: 800px) {
  .content-grid, .trust-badges, .footer-nav {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .hero {
    padding: 36px 0 22px 0;
    border-radius: 0 0 12px 12px;
  }
}
@media (max-width: 600px) {
  h1 {font-size: 1.65rem;}
  h2 {font-size: 1.3rem;}
  .btn-primary, .btn-secondary {padding: 12px 20px; font-size: 1rem;}
  .section, .cta {padding: 22px 7px;}
  .testimonial-card {padding: 8px;}
  th, td {padding: 8px 7px; font-size: 0.96rem;}
  .brand-logo img {height: 28px;}
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
  }
  .card-container, .content-grid, .trust-badges {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}


/*--------------------
COOKIE CONSENT BANNER
----------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #23272d;
  color: #F9F7F3;
  z-index: 99999;
  box-shadow: 0 -4px 24px -8px #2B5C91a0;
  padding: 19px 0 19px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  gap: 22px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.25s, opacity 0.2s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-left: 28px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-size: 1rem;
  padding: 9px 21px;
  margin: 0 2px;
  transition: background 0.15s, color 0.13s;
}
.cookie-banner .accept-btn {
  background: #48A28B;
  color: #181f26;
}
.cookie-banner .accept-btn:hover, .cookie-banner .accept-btn:focus {
  background: #2B5C91;
  color: #fff;
}
.cookie-banner .reject-btn {
  background: #23272d;
  color: #F9F7F3;
  border: 2px solid #48A28B;
}
.cookie-banner .reject-btn:hover {
  background: #292d34;
  border-color: #2B5C91;
}
.cookie-banner .settings-btn {
  background: #1e2328;
  color: #48A28B;
  border: 2px solid #2B5C91;
}
.cookie-banner .settings-btn:hover {
  background: #2B5C91;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 15px 10px 17px 12px;
    font-size: .96rem;
  }
  .cookie-banner .cookie-buttons {
    margin-left: 0;
  }
}


/*--------------------
COOKIE MODAL
----------------------*/
.cookie-modal-overlay {
  position: fixed;
  z-index: 100003;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #181a20bb;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: opacity 0.2s;
}
.cookie-modal {
  background: #23272d;
  border-radius: 14px;
  max-width: 380px;
  width: 94%;
  padding: 26px 26px 20px;
  box-shadow: 0 6px 34px -8px #2B5C9199;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F9F7F3;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h2 {
  color: #48A28B; font-size: 1.22rem; margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-weight: 600;
  color: #F9F7F3;
}
.cookie-modal .cookie-switch {
  position: relative;
  width: 44px;
  height: 23px;
}
.cookie-modal .cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #29323B;
  border-radius: 23px;
  transition: background 0.18s;
}
.cookie-modal .cookie-switch input:checked + .slider {
  background: #48A28B;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 17px;
  width: 17px;
  left: 3px;
  bottom: 3px;
  background-color: #F9F7F3;
  border-radius: 50%;
  transition: transform 0.19s;
}
.cookie-modal .cookie-switch input:checked + .slider:before {
  transform: translateX(21px);
}
.cookie-modal .cookie-category.essential label {
  color: #56616E;
}
.cookie-modal .cookie-category.essential .slider {
  background: #20262c;
}
.cookie-modal .cookie-category.essential .slider:before {
  background: #abaebe;
}
.cookie-modal .modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 8px;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  margin: 0;
  padding: 8px 20px;
  font-size: 0.99rem;
}
.cookie-modal-close {
  position: absolute;
  top: 4px; right: 10px;
  background: none;
  color: #48A28B;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 50%;
  padding: 2px 7px;
  transition: background 0.1s, color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #23292e;
  color: #F9F7F3;
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 16px 7px 12px;
    max-width: 99vw;
  }
}


/* MICRO-INTERACTIONS & TRANSITIONS */
.btn-primary, .btn-secondary,
.main-nav a, .mobile-nav a, .footer-menu a {
  transition: background 0.18s, color 0.19s, box-shadow 0.19s, border-color 0.13s;
}
.card, .testimonial-card, .content-wrapper ul > li, .footer-menu a {
  transition: box-shadow 0.17s, border-color 0.17s, color 0.14s;
}

/* SCROLLBAR STYLE */
body::-webkit-scrollbar {
  width: 12px;
  background: #20262c;
}
body::-webkit-scrollbar-thumb {
  background: #2B5C91;
  border-radius: 8px;
}
body::-webkit-scrollbar-thumb:hover {
  background: #48A28B;
}

/* HIGHLIGHT SELECTION */
::selection {
  background: #48A28BAA;
  color: #111;
}

/* Z-INDEX For Menus & Modals */
.mobile-menu, .mobile-menu.open {
  z-index: 11000;
}
.cookie-banner, .cookie-modal-overlay {
  z-index: 12000;
}

/* ENSURE NO GRID, ABSOLUTE ONLY FOR DECORATIVE */
/* (No forbidden CSS props are present) */
