/* 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;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{
  display:block;
}
body{
  line-height:1;
}
ol,ul{
  list-style:none;
}
a{
  text-decoration:none;
  color:inherit;
}
img{
  max-width:100%;
  height:auto;
  display:block;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

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

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #235974;
  background: #F8FAFB;
  font-size: 16px;
  line-height: 1.7;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: #235974;
  letter-spacing: -1px;
}
h1 { font-size: 2.5rem; line-height:1.1; }
h2 { font-size: 2rem;margin-bottom:18px;line-height:1.15; }
h3 { font-size: 1.5rem;margin-bottom:12px; }
.subtitle {
  color: #5EA5ED;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

p,li,blockquote {
  font-size: 1rem;
  color: #235974;
}
strong, b { font-weight: 700; color:#B5E458; }

/* CONTAINER & LAYOUTS */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* SPACING SECTIONS */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius:22px;
  box-shadow: 0 3px 14px 2px rgba(36,139,211,0.09),0 1.5px 6px 1px #B5E45826;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 28px;
  min-width:260px;
  flex:1 1 280px;
  transition:box-shadow 0.2s,transform 0.16s;
}
.card:hover {
  box-shadow: 0 6px 30px 4px #23597422,0 1.5px 10px 2px #B5E45866;
  transform: translateY(-3px) scale(1.02);
  z-index:2;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  min-height:180px;
  width:100%;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #E0E5EC;
  border-radius: 19px;
  margin-bottom: 20px;
  box-shadow: 0 2px 7px 0px #23597421;
  max-width:740px;
  width:100%;
}
.testimonial-card blockquote {
  font-size: 1.13rem;
  color: #1B2B34;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 700;
  margin-bottom:8px;
  line-height:1.5;
}
.testimonial-card cite {
  font-size: 1rem;
  font-style: normal;
  color: #4A6685;
  letter-spacing: 0.02em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* LIST GRIDS */
.feature-grid, .service-list, .service-grid, .benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.feature-grid li, .service-list li, .service-grid li, .benefit-grid li {
  background: #fff;
  border-radius:18px;
  box-shadow: 0 1.5px 6px 1px #B5E45819;
  padding: 22px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #235974;
  flex:1 1 280px;
  min-width:240px;
}
.feature-grid li img,
.service-list li img,
.benefit-grid li img {
  width:42px;
  margin-bottom:7px;
}
.feature-grid li b,
.service-list li b,
.benefit-grid li b {
  color: #235974;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing:-0.5px;
}

.service-list,.service-grid {
  margin-bottom:18px;
}

.benefit-grid {
  gap:20px;
}

/* BUTTONS */
.btn-primary {
  background: #B5E458;
  color: #235974;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 15px 36px;
  border-radius: 100px;
  font-size: 1.11rem;
  box-shadow:0 2px 21px 1px #23597412;
  border: none;
  outline: none;
  transition: background 0.2s, box-shadow 0.22s, transform 0.14s;
  text-transform: uppercase;
  margin-top: 9px;
  margin-bottom: 9px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #235974;
  color: #E0E5EC;
  box-shadow: 0 4px 21px #B5E45833,0 1.5px 10px 2px #23597421;
  text-decoration:none;
  transform: scale(1.035);
}

.btn-link {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #235974;
  background: none;
  font-weight: 700;
  font-size:1.125rem;
  border:none;
  text-decoration: underline;
  padding:8px 2px 8px 2px;
  border-radius:7px;
  transition: color 0.17s,background 0.17s;
}
.btn-link:hover {
  color:#B5E458;
  background:#2359741A;
}

/* NAVIGATION */
header {
  background: #fff;
  position: relative;
  box-shadow: 0 3px 17px 0px #23597419;
  z-index:101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}
nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #235974;
  font-size:1.04rem;
  padding: 7px 20px;
  border-radius: 22px;
  transition: background .14s, color .13s;
}
nav a:hover, nav a:focus {
  background: #B5E458;
  color: #fff;
}

header .btn-primary {
  margin-left: 14px;
  margin-top: 0;
  margin-bottom: 0;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #235974;
  color: #fff;
  font-size: 2.1rem;
  border-radius: 8px;
  padding: 6px 15px 7px 15px;
  margin-right: 4px;
  margin-left: 14px;
  z-index: 104;
  border: none;
  box-shadow:0 1.5px 6px 0px #23597419;
  transition: background 0.13s;
}
.mobile-menu-toggle:hover {
  background: #B5E458;
  color:#235974;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left:0;
  width: 100vw;
  height:100vh;
  background: #235974;
  color: #fff;
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content:flex-start;
  padding:0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self:flex-end;
  margin:26px 30px 12px 0;
  font-size:2.4rem;
  color:#B5E458;
  background: none;
  border: none;
  z-index:1401;
  transition: color 0.13s;
}
.mobile-menu-close:hover {
  color:#fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap:24px;
  width:100vw;
  align-items: flex-start;
  padding-left:42px;
  padding-top:12px;
}
.mobile-nav a {
  color: #fff;
  font-size:1.35rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 0;
  border-radius: 18px;
  transition: background 0.12s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B5E458;
  color: #235974;
}

@media (max-width: 1020px) {
  nav {
    gap: 10px;
  }
  .container {
    padding-left:8px;
    padding-right:8px;
  }
}
@media (max-width: 820px) {
  header .container nav,
  header .btn-primary {
    display:none;
  }
  .mobile-menu-toggle {
    display:inline-block;
  }
}
@media (max-width: 820px) {
  .content-wrapper {
    gap: 13px;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
}

@media (max-width: 768px) {
  h1 { font-size:2rem; }
  h2 { font-size:1.44rem; }
  .section, section {
    padding: 25px 0 25px 0;
    margin-bottom: 44px;
  }
  .card, .feature-grid li, .service-list li, .service-grid li, .benefit-grid li {
    min-width: 95vw;
    max-width:98vw;
    width:100%;
    padding:18px 12px 15px 15px;
  }
  .testimonial-card {
    max-width:98vw;
    padding: 15px;
  }
  .feature-grid, .service-list, .service-grid, .benefit-grid {
    gap: 10px;
    flex-direction: column;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap:12px;
  }
  .text-image-section {
    flex-direction: column;
    gap:16px;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left:3px;
    padding-right:3px;
  }
  nav a,.mobile-nav a {
    font-size:1.09rem;
    padding: 8px;
  }
  h1 { font-size:1.44rem; }
  h2 { font-size:1.08rem; }
}

/* FOOTER */
footer {
  background: #1B2B34;
  color: #fff;
  padding: 30px 0 22px 0;
}
footer .container {
  flex-direction: column;
  gap: 0px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}
footer .content-wrapper > div,
footer nav {
  flex: 1 1 220px;
}
footer img {
  width:45px;
  margin-bottom:8px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #B5E458;
  font-size: 1rem;
  padding:3px 0px 3px 2px;
  border-radius:6px;
  transition: background 0.12s, color 0.11s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
footer nav a:hover {
  color: #fff;
  background: #B5E45844;
}
footer p,img {
  color:#fff;
  font-family: 'Roboto', Arial, sans-serif;
}
footer p img {
  width:21px;
  display: inline-block;
  vertical-align:middle;
  margin-right:5px;
  margin-bottom:0;
}
@media (max-width:768px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* TEXT SECTION */
.text-section {
  background: #fff;
  border-radius:18px;
  box-shadow: 0 1.5px 6px 1px #B5E45818;
  padding: 22px;
  margin-bottom:18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  word-break:break-word;
}

.text-section h2 {
  margin-bottom: 7px;
}
.text-section p, .text-section li {
  color: #235974;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1402;
  background: #fff;
  box-shadow: 0 -2px 14px #23597415;
  border-top: 4px solid #B5E458;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 20px 18px 20px;
  gap: 15px;
  transition: transform 0.23s;
}
.cookie-consent-banner.hidden {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-consent-banner p {
  color: #235974;
  font-size: 1.08rem;
}
.cookie-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight:700;
  font-size: 1.04rem;
  padding: 9px 19px;
  border-radius: 22px;
  border:none;
  cursor:pointer;
  transition: background 0.14s, color 0.14s;
  outline:none;
}
.cookie-actions .accept {
  background:#B5E458;
  color:#235974;
}
.cookie-actions .accept:hover {
  background:#235974;
  color:#fff;
}
.cookie-actions .reject {
  background:#235974;
  color:#fff;
}
.cookie-actions .reject:hover {
  background:#B5E458;
  color:#235974;
}
.cookie-actions .settings {
  background:#E0E5EC;
  color:#235974;
  border:1px solid #B5E458;
}
.cookie-actions .settings:hover {
  background:#B5E458;
  color:#235974;
}

.cookie-modal {
  position:fixed;
  top:0;left:0;right:0;bottom:0;
  background:rgba(35,89,116,0.50);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:1505;
  transition: opacity .18s;
}
.cookie-modal-content {
  background:#fff;
  border-radius:23px;
  box-shadow:0 2px 32px #2359741A,0 1.5px 11px 1px #B5E45833;
  padding:34px 30px 25px 30px;
  min-width:320px;
  max-width:94vw;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:18px;
  position:relative;
  animation: popup-bounce-in .33s cubic-bezier(.37,1.41,.71,1.02);
}
.cookie-modal-content h3 {
  font-size: 1.4rem;
  color: #235974;
  margin-bottom:10px;
}
.cookie-modal-content label {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:7px;
  font-family:'Roboto',Arial,sans-serif;
  color:#235974;
}
.cookie-modal-close {
  position:absolute;
  top:9px;right:18px;
  font-size:1.9rem;
  color:#B5E458;
  background:none;
  border:none;
  cursor:pointer;
  transition:color .11s;
}
.cookie-modal-close:hover { color:#235974; }

@keyframes popup-bounce-in {
  0% {transform: scale(.91) translateY(55px);opacity:0; }
  54% {transform:scale(1.07) translateY(-6px);}
  99% {transform:scale(.98) translateY(1px);}
  100% {transform:scale(1) translateY(0);opacity:1;}
}

@media (max-width:560px) {
  .cookie-modal-content { padding:15px 8px 13px 9px;min-width:95vw; }
}

/* FORM FIELDS (generic) */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 11px 15px;
  border: 1.5px solid #23597422;
  border-radius: 7px;
  font-size: 1rem;
  margin-bottom:16px;
  background: #fff;
  color: #235974;
  transition: border-color 0.17s, box-shadow 0.15s;
}
input:focus, textarea:focus {
  border-color: #B5E458;
  box-shadow: 0 2px 8px #B5E45829;
  outline: none;
}
label {
  font-family: 'Roboto', Arial, sans-serif;
  color: #235974;
  font-weight: 500;
  margin-bottom:5px;
}

/* MISC LINK STYLES */
a {
  transition: color 0.16s underline 0.1s;
}
a:focus { outline: 2px dashed #235974; }
a[href^="mailto:"] {
  color: #B5E458;
  text-decoration: underline dotted;
}
a[href^="tel:"] {
  color: #B5E458;
}

/* MICRO-INTERACTIONS & ANIMATION */
.btn-primary, .btn-link, .mobile-menu-toggle, .mobile-menu-close, .cookie-actions button {
  transition: background 0.15s, color 0.21s, box-shadow .19s, transform .12s;
}

.feature-grid li:hover,
.service-list li:hover,
.service-grid li:hover,
.benefit-grid li:hover {
  box-shadow: 0 5px 19px 3px #2359740C, 0 1.5px 14px 1px #B5E45842;
  transform: translateY(-2px) scale(1.016);
}

/* UTILITIES */
@media (max-width: 430px) {
  .btn-primary {
    padding:12px 9vw;
    font-size:1rem;
  }
}

/* Vibrant/Energetic Details */
section:nth-child(even) {
  background: #E0E5EC;
}
section:nth-child(odd) {
  background: #F8FAFB;
}
hr {
  border:0;
  border-top:2px solid #B5E458;
  margin:30px 0;
}

/* REALIZACJE/TESTIMONIALS variations - enhance contrast */
.testimonial-card {
  background: #E0E5EC;
  border-left: 6px solid #B5E458;
  color: #1B2B34;
}

/* Hide banner/overlay by default, show with .open/.visible */
.cookie-consent-banner.hidden {
  display:none;
}
.cookie-modal[aria-hidden="true"] {
  display:none;
}

/* Misc. Spacing for nonstandard lists */
ul, ol { margin-left:0; margin-bottom:16px; }
ul li, ol li { margin-bottom:12px; }
ol li {margin-bottom:7px;}

/* STYLE CHECK: NO grid, columns, or break-inside anywhere; only FLEX layouts. */
