/* 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,main,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 {
  background: #fff;
  color: #213758;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a {
  color: #213758;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2B705;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-style: none;
}
ul,ol {
  margin: 0 0 1.2em 1.2em;
}
li {
  margin-bottom: 10px;
  font-size: 1em;
}

/* BRAND FONTS (PLAYFUL_DYNAMIC) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Comic Sans MS', 'Comic Sans', cursive, sans-serif;
  color: #213758;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  color: #F2B705;
  text-shadow: 2px 4px 0 #2137580f;
}
h2 {
  font-size: 2rem;
  color: #213758;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 9px;
  color: #F25436;
}
p, .text-section, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #213758;
  font-size: 1.125rem;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
  color: #213758;
}

/* CONTAINER AND LAYOUT */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 4px;
}

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

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 22px;
  box-shadow: 0 3px 18px 0 rgba(33,55,88,0.08), 0 1.5px 6px 0 #F2B70522;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, box-shadow 0.22s;
  min-width:240px;
  max-width: 99%;
}
.card:hover {
  transform: translateY(-4px) scale(1.022) rotate(-1deg);
  box-shadow: 0 6px 28px 0 #F2B70555, 0 3px 16px 0 rgba(33,55,88,0.14);
}
.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;
  margin-bottom:24px;
  background: #fffbe6;
  border-radius: 28px;
  box-shadow: 0 3px 10px -2px #F2B70550, 0 1px 4px #21375810;
  position: relative;
  border-left: 6px solid #F2B705;
  min-width: 275px;
  max-width: 98vw;
  word-break:break-word;
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  color: #213758;
  font-family: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
  quotes: "\201C" "\201D";
  padding-right: 8px;
}
.testimonial-card p {
  margin-bottom: 0;
  font-size: 1em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  flex:1 1 220px;
  min-width: 200px;
  margin-bottom: 24px;
}

/* NAVIGATION HEADER */
header {
  background: #213758;
  padding: 0 0 0 0;
  box-shadow: 0 2px 12px 0 #21375811;
  position: relative;
  z-index: 110;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
nav a {
  font-family: 'Montserrat', 'Comic Sans MS', sans-serif;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 8px 11px;
  border-radius: 9px;
  transition: background 0.16s, color 0.18s;
  position: relative;
  display: inline-block;
}
nav a:hover, nav a.active, nav a:focus {
  background: #F2B705;
  color: #213758;
  text-decoration: none;
}
header nav a img {
  display: block;
  height: 40px;
  width:auto;
  margin-right: 10px;
}

/* CALL TO ACTION BUTTONS */
.cta-btn {
  font-family: 'Montserrat', 'Comic Sans MS', sans-serif;
  padding: 14px 32px;
  font-size: 1.14rem;
  border-radius: 2em;
  background: #F2B705;
  color: #213758;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 12px 0 #F2B70530, 0 1px 4px #21375810;
  transition: background 0.18s, color 0.18s, transform 0.18s;
  display: inline-block;
  margin: 18px 0 0 0;
  text-shadow: 0 1.5px 0 #FFF9;
}
.cta-btn:hover, .cta-btn:focus {
  background: #fff;
  color: #F2B705;
  box-shadow: 0 5px 20px #F2B70555, 0 3px 10px #21375822;
  transform: scale(1.05) rotate(-2deg);
}

/* FOOTER */
footer {
  background: #213758;
  color: #fff;
  padding: 24px 0 10px 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  justify-content: center;
  gap: 24px;
  margin-bottom: 0;
}
footer nav a {
  color: #F2B705;
  font-size: 1rem;
  font-family: 'Montserrat', 'Comic Sans MS', sans-serif;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: #F2B705;
  color: #213758;
}
footer p {
  font-size: 0.98rem;
  letter-spacing:.01em;
}

/* BUTTONS GENERAL */
button, input[type=submit], .btn {
  font-family: 'Montserrat', 'Comic Sans MS', sans-serif;
  border-radius: 2em;
  background: #F2B705;
  color: #213758;
  border: none;
  padding: 10px 20px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.19s, color 0.16s, box-shadow 0.16s, transform 0.19s;
  margin-right: 9px;
  margin-bottom: 7px;
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: #213758;
  color: #fff;
  transform: scale(1.07) rotate(-2.5deg);
  box-shadow:0 4px 16px #F2B70533;
}

/* LISTS & BLOCKQUOTES */
ul,ol {
  padding-left: 1.5em;
}
ul li, ol li {
  font-size: 1.12rem;
  margin-bottom: 7px;
}
ul li:before {
  content: '';
  display: none;
}
blockquote {
  border-left: 4px solid #F2B705;
  margin: 0;
  padding-left: 14px;
  font-style: italic;
  background: transparent;
}

/* SECTIONS HERO & CARDS STYLES */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:nth-child(odd) {
  background: #F8FBFF;
}
section:nth-child(even) {
  background: #FFFFFF;
}
section:first-of-type {
  border-radius: 0 0 40px 40px;
  box-shadow: 0 7px 38px 0 #F2B70513;
  background: linear-gradient(127deg, #F8FBFF, #F2B70526, #fff 70%);
  animation: introfade 1.2s both;
}
@keyframes introfade {
  from { opacity: 0; transform:translateY(50px) scale(0.93); }
  to   { opacity: 1; transform:translateY(0) scale(1); }
}

/* STYLE CARDS (USŁUGI) */
.content-wrapper ul, .content-wrapper ol {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.content-wrapper ul li, .content-wrapper ol li {
  background: #FFFAE8;
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 0px;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #213758;
  font-size: 1.1rem;
  box-shadow: 0 1.2px 3.5px #F2B70519 inset;
  transition: box-shadow 0.2s, background 0.14s;
  position: relative;
  min-width:190px;
  font-weight: 600;
}
.content-wrapper ul li strong, .content-wrapper ol li strong {
  color: #F25436;
  font-weight: 800;
}
.content-wrapper li:hover {
  box-shadow: 0 3px 13px #F2B70555;
  background: #F2B70514;
  transform: scale(1.02) skew(-1deg, 1deg);
}

/* RESPONSIVE FLEX LAYOUTS */
@media (max-width: 768px) {
  .container, header .container, footer .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .content-grid, .card-container, .content-wrapper, .text-image-section {
    flex-direction: column !important;
    gap: 18px !important;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    max-width: 100%;
  }
  nav {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  section {
    padding: 22px 4px;
  }
  header .container {
    flex-direction: row;
    gap: 0;
    min-height: 64px;
  }
}


/**********************************************/
/* MOBILE NAVIGATION (BURGER MENU) */
/**********************************************/
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 16px;
  right: 22px;
  z-index: 200;
  height: 44px;
  width: 54px;
  background: #F2B705;
  color: #213758;
  border-radius: 15px;
  border: none;
  font-size: 2rem;
  font-weight: bold;
  box-shadow: 0 2px 11px #2137581c, 0 1px 2px #F2B70527;
  cursor: pointer;
  justify-content:center;
  align-items: center;
  transition: background 0.16s, color 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #213758;
  color: #FFF;
}
@media (max-width: 980px) {
  .mobile-menu-toggle {
    display: flex;
  }
  header nav, header .cta-btn {
    display: none !important;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 88vw;
  max-width: 370px;
  height: 100vh;
  background: #213758;
  box-shadow: -2px 0 32px #F2B70580;
  transform: translateX(102%);
  z-index: 2200;
  transition: transform 0.3s cubic-bezier(0.4,0.4,0.15,1.14);
  padding: 0 0 0 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 20px 18px 14px auto;
  font-size: 2rem;
  background: #F2B705;
  color: #213758;
  border-style: none;
  border-radius: 11px;
  padding: 5px 12px;
  box-shadow: 0 2px 12px #F2B70538;
  cursor:pointer;
  transition: background 0.15s, color 0.15s;
  z-index: 9999;
  display: block;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #213758;
  color: #FFF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 21px;
  margin: 12px 0 0 0;
  padding: 0 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Comic Sans MS', sans-serif;
  color: #F2B705;
  font-size: 1.21rem;
  font-weight: 700;
  padding: 14px 6px 11px 2px;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
  margin-bottom: 0px;
  margin-top:0px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2B705;
  color: #213758;
}
.mobile-menu {
  visibility: visible;
}
@media (min-width: 981px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/**********************************************/
/* COOKIE CONSENT BANNER & MODAL */
/**********************************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 11900;
  background: #fffbea;
  box-shadow: 0 -2px 16px #F2B70566, 0 0.5px 2.5px #21375818;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 28px 12px 24px 18px;
  justify-content: space-between;
  min-height: 48px;
  font-size: 1.05rem;
  border-radius: 22px 22px 0 0;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.9,0,.2,1.4), opacity 0.2s;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner p {
  color: #213758;
  font-size: 1.05rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 0;
}
.cookie-banner .cookie-btn {
  margin-left: 8px;
}
.cookie-btn {
  padding: 10px 20px;
  background: #F2B705;
  color: #213758;
  font-family: 'Montserrat', 'Comic Sans MS', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  border: none;
  border-radius: 18px;
  box-shadow: 0 1.5px 7px #F2B70533;
  margin-right:7px;
  cursor:pointer;
  transition: background 0.17s, color 0.18s, box-shadow 0.17s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #213758;
  color: #fff;
}
.cookie-settings-btn {
  background: #fff;
  color: #F2B705;
  border: 2px solid #F2B705;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #F2B705;
  color: #213758;
}

/* COOKIE MODAL OVERLAY */
.cookie-modal-overlay {
  position: fixed;
  z-index: 12000;
  left:0; top:0; width:100vw; height: 100vh;
  background: rgba(33,55,88,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: #fffbe6;
  min-width: 300px;
  max-width: 97vw;
  padding: 32px 28px 28px 28px;
  border-radius: 30px;
  box-shadow: 0 4px 40px #F2B70560, 0 1.5px 6px #21375818;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookiescale 0.6s cubic-bezier(.7,1.2,.4,1) both;
  position:relative;
}
@keyframes cookiescale {
  from { transform: scale(0.86) translateY(80px); opacity:0; }
  to   { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.44rem;
  color: #213758;
  margin-bottom: 8px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 13px; right: 18px;
  background: #F2B705;
  color: #213758;
  border: none;
  border-radius: 15px;
  font-size: 1.4rem;
  width: 34px; height: 34px;
  cursor: pointer;
  box-shadow:0 1px 10px #F2B70527;
  display: flex; justify-content:center; align-items:center;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #213758;
  color: #fff;
}
.cookie-modal .cookie-category {
  background: #21375808;
  border-radius: 13px;
  padding: 10px 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 17px;
  justify-content: space-between;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  border-radius: 18px;
  background: #F2B705;
  border: 2px solid #F2B705;
  outline: none;
  position: relative;
  cursor: pointer;
  transition: background 0.18s, border 0.18s;
}
.cookie-modal .cookie-toggle:checked {
  background: #213758;
  border: 2px solid #213758;
}
.cookie-modal .cookie-toggle:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.cookie-modal .cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
}
.cookie-modal .cookie-toggle:checked::before {
  left: 17px;
  background: #F2B705;
}
.cookie-modal .cookie-buttons-group {
  display: flex;
  flex-direction: row;
  gap: 17px;
  margin-top: 10px;
  align-items: center;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 19px 4px 10px 8px;
    font-size: 1em;
    border-radius: 10px 10px 0 0;
  }
  .cookie-modal {
    min-width: 0;
    padding: 21px 8px 19px 11px;
    border-radius: 15px;
    max-width:98vw;
  }
}

/**********************************************/
/* ANIMATIONS & MICRO-INTERACTIONS */
/**********************************************/
.card, .testimonial-card, .content-wrapper li, .cta-btn, .card ul li, .content-grid > div, .section {
  transition: box-shadow 0.18s, background 0.18s, transform 0.2s cubic-bezier(.7,1.2,.3,1), color 0.14s;
}
.card:hover, .content-wrapper li:hover {
  z-index: 2;
}
.testimonial-card:hover {
  background: #fff3aa;
  transform: translateY(-2.5px) scale(1.017) skew(-1deg);
  box-shadow: 0 6px 22px 0 #F2B70573;
}

/* PLAYFUL SHAPES (Decorative only; content has no position:absolute) */
.section:before {
  content: '';
  display: block;
  position: absolute;
  left: -40px;
  top: 30px;
  width: 66px;
  height: 66px;
  background: #FFF9cf;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.3;
  pointer-events: none;
  animation: orbfade 3.5s infinite alternate cubic-bezier(.5,0,1,.6);
}
@media (max-width: 768px) {
  .section:before { left:-15px; top:13px; width:36px; height:36px;}
}
@keyframes orbfade {
  from { transform: scale(0.98) translateY(-6px);} 
  to   { transform: scale(1.11) translateY(8px);}
}

/* VISUAL HIERARCHY & SPACING */
.section:not(:last-child) { margin-bottom: 60px; }
.content-wrapper > * {
  margin-bottom: 0;
}
.section > .container > h2 {
  margin-bottom: 14px;
}

/* Z-INDEX LAYERING for overlays/menus */
header { z-index: 110; }
.mobile-menu, .mobile-menu.active { z-index: 2200; }
.cookie-banner { z-index: 11900; }
.cookie-modal-overlay { z-index: 12000; }

/* UTILITIES */
.mt-2  { margin-top: 2rem; }
.mt-3  { margin-top: 3rem; }
.mb-2  { margin-bottom: 2rem; }
.d-flex { display: flex; }
.flex-col { flex-direction: column; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* SELECTION */
::selection {
  background: #F2B70577;
  color: #213758;
}
footer p{
  color: white;
}
/* SCROLLBAR */
body::-webkit-scrollbar {
  width: 13px;
  background: #F2B70522;
}
body::-webkit-scrollbar-thumb {
  background: #F2B705;
  border-radius: 16px;
}
/* End of style.css */
