/* 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7FCFE;
  color: #1f2937;
  min-height: 100vh;
}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section {
  display: block;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
ul,ol { list-style: none; }
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
table { border-collapse: collapse; width: 100%; }
th, td { padding: 8px 12px; text-align: left; }

/* PLAYFUL DYNAMIC BRAND COLORS */
:root {
  --color-primary: #203964;
  --color-secondary: #11C1B0;
  --color-accent: #fff;
  --color-fun-yellow: #FFE566;
  --color-fun-pink: #F85F73;
  --color-fun-blue: #51a8e4;
  --color-fun-green: #70E4A9;
  --shadow: 0 4px 24px rgba(35, 57, 100, .10);
}

/* TYPOGRAPHY SCALE */
h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  text-shadow: 1px 3px var(--color-fun-yellow);
}
h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-fun-pink);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 10px;
}
h4,h5,h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
}
p,li,td,th {
  font-size: 1rem;
  color: #1f2937;
  line-height: 1.7;
}
strong {
  color: var(--color-fun-blue);
}

body, p, li, table, th, td {
  font-family: 'Roboto', Arial, sans-serif;
}

/* FUN/MODERN FONT ALTERNATE - HEADINGS POP */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&family=Roboto:wght@400;500;700&display=swap');

/* CONTAINER AND SPACING LAYOUTS */
.container {
  max-width: 1150px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* MAIN GAP PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: var(--color-accent);
  padding: 28px 18px;
  transition: transform .18s cubic-bezier(.57,1.46,.54,.99),box-shadow .18s;
}
.card:hover {
  transform: translateY(-7px) scale(1.025) rotate(-1.5deg);
  box-shadow: 0 8px 34px rgba(51,193,176, 0.16);
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fffdee;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px 30px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform .16s;
  border-left: 7px solid var(--color-fun-pink);
}
.testimonial-card:hover {
  transform: scale(1.025) rotate(1.2deg);
  box-shadow: 0 10px 40px 0 rgba(248,95,115,0.10);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  padding: 24px 18px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 26px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 260px;
  margin-bottom: 12px;
  background: #fff;
  border-radius: 16px;
  padding: 26px 14px 18px 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.17s, transform 0.17s;
  border-left: 5px solid var(--color-secondary);
  position: relative;
  overflow: hidden;
}
.feature-grid > div:hover {
  transform: translateY(-5.5px) scale(1.035) rotate(1.5deg);
  box-shadow: 0 10px 36px 0 rgba(17,193,176,.075);
  background: #f7fcff;
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  animation: floaty-bounce 2.2s infinite;
  filter: drop-shadow(0 3px 4px rgba(81,168,228,0.11));
}
@keyframes floaty-bounce {
  0%,100%{ transform:translateY(0);} 50%{transform:translateY(-9px);}
}

/* BUTTONS */
.btn-primary {
  background: linear-gradient(90deg, var(--color-fun-pink) 0%, var(--color-secondary) 100%);
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 34px;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  box-shadow: 0 3px 12px 0 rgba(17,193,176, 0.09);
  transition: background .19s, transform .16s, box-shadow .16s;
  letter-spacing: .03em;
  margin-right: 8px;
  margin-bottom: 10px;
  z-index: 1;
  position: relative;
  outline: none;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-fun-pink) 100%);
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 8px 28px 0 rgba(248,95,115,0.13), 0 3px 12px 0 rgba(17,199,176,0.12);
}

.btn-secondary {
  background: var(--color-fun-yellow);
  color: var(--color-primary);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 22px;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  box-shadow: 0 1px 7px 0 rgba(255,229,102,0.18);
  margin-right: 8px;
  margin-bottom: 10px;
  transition: background .15s, color .14s, transform .14s;
}
.btn-secondary:hover {
  background: var(--color-fun-blue);
  color: #fff;
  transform: scale(1.07) rotate(3deg);
}
.btn-tertiary {
  background: #fff;
  border: 2px solid var(--color-fun-green);
  color: var(--color-fun-green);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 10px 22px;
  border-radius: 22px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  transition: background .13s, color .12s;
}
.btn-tertiary:hover {
  background: var(--color-fun-green);
  color: #fff;
}

/* NAVIGATION (DESKTOP) */
header {
  background: #fff;
  box-shadow: 0 4px 18px 0 rgba(35,57,100,0.045);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  min-height: 70px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  color: var(--color-primary);
  padding: 6px 16px;
  border-radius: 19px;
  transition: background .14s, color .13s;
}
header nav a:hover,
header nav a:focus {
  background: var(--color-fun-yellow);
  color: var(--color-fun-pink);
}
header img {
  max-height: 48px;
}
header .btn-primary {
  font-size: 1rem;
  padding: 10px 22px;
  margin-left: 10px;
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
  background: var(--color-fun-pink);
  color: #fff;
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  padding: 7px 15px 10px 15px;
  cursor: pointer;
  margin-left: 10px;
  display: none;
  transition: background .15s, box-shadow .14s;
  box-shadow: 0 1px 5px 0 rgba(248,95,115,0.11);
  z-index: 101;
}
.mobile-menu-toggle:active {
  background: var(--color-fun-yellow);
  color: var(--color-fun-pink);
}

/* MOBILE MENU STYLES */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fffcf7;
  box-shadow: 2px 0 32px 0 rgba(32,57,100,0.13);
  transform: translateX(-105vw);
  transition: transform .33s cubic-bezier(.6,-0.025,.32,1.17);
  z-index: 111;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 28px 24px 0 24px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-fun-blue);
  color: #fff;
  font-size: 2.5rem;
  border: none;
  border-radius: 50%;
  padding: 0 18px 2px 18px;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 15px;
  transition: background .14s, color .13s;
}
.mobile-menu-close:hover{
  background: var(--color-fun-yellow);
  color: var(--color-fun-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 22px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--color-fun-pink);
  padding: 17px 6px 17px 16px;
  border-radius: 22px;
  background: none;
  transition: background .15s, color .15s, padding .12s;
  margin-bottom: 10px;
}
.mobile-nav a:hover {
  background: var(--color-fun-yellow);
  color: var(--color-fun-blue);
  padding-left: 30px;
}

@media (max-width: 1020px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
  }
  header nav {
    gap: 8px;
  }
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 900px) {
  header nav,
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    justify-content: space-between;
  }
}
@media (min-width: 900px) {
  .mobile-menu { display: none !important; }
}

/* FOOTER */
footer {
  background: #fff;
  padding: 36px 0 24px 0;
  border-top: 2px solid #F7FCFE;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
footer img {
  max-width: 42px;
  margin-right: 22px;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
}
footer nav a {
  color: var(--color-fun-blue);
  font-weight: 700;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 5px 12px;
  border-radius: 14px;
  transition: background .13s, color .13s;
}
footer nav a:hover {
  background: var(--color-fun-pink);
  color: #fff;
}
footer p {
  color: #9ca3af;
  font-size: 0.95rem;
}

@media (max-width: 786px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* MAIN SECTIONS MOBILE-FIRST RESPONSIVE */
@media (max-width: 768px) {
  .section {
    padding: 30px 7px;
    margin-bottom: 42px;
  }
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    padding: 20px 12px;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.52rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 570px) {
  .feature-grid > div {
    min-width: 98%; max-width: 99%;
  }
}

.text-image-section {
  flex-direction: row;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 23px;
    align-items: flex-start;
  }
}

/* LISTS AND TABLES */
ul li, ol li {
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  font-size: 1rem;
}
ul li:before {
  content: '';
  display: block;
  position: absolute;
  left: 6px;
  top: 11px;
  width: 13px;
  height: 13px;
  background: var(--color-fun-pink);
  border-radius: 50%;
  box-shadow: 0 1px 6px 0 rgba(248,95,115,.13);
}
ol li {
  counter-increment: sectionCounter;
}
ol {
  counter-reset: sectionCounter;
}
ol li:before {
  content: counter(sectionCounter) '.';
  color: var(--color-fun-blue);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  position: absolute;
  left: 6px;
  top: 0;
  width: 18px;
  height: 20px;
  background: none;
}
table {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 22px 0 20px 0;
}
th {
  background: var(--color-secondary);
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 800;
}
tbody tr:nth-child(even) {
  background: #f7fbfd;
}
td {
  color: #20519f;
}

/* ICONS in LISTS */
li img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
  position: absolute; left: 6px; top: 4px;
}

/* TESTIMONIALS */
.testimonial-card p {
  font-size: 1.15rem;
  color: var(--color-primary);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 10px;
}
.testimonial-card cite {
  display: block;
  text-align: right;
  color: var(--color-fun-blue);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

/* FORM-LIKE BLOCKS, NEWSLETTERS, FOOTER BUTTONS */
.form-wrapper, .newsletter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: 13px;
  box-shadow: var(--shadow);
  padding: 18px 18px 18px 28px;
  margin-bottom: 20px;
}

/* ANIMATIONS/MICRO-INTERACTIONS */
.btn-primary, .btn-secondary, .card, .feature-grid > div, .testimonial-card {
  will-change: transform, box-shadow;
}
section {
  opacity: 0;
  transform: translateY(32px);
  animation: fadein-section 0.7s ease-out forwards;
}
section:nth-child(2) { animation-delay: .12s; }
section:nth-child(3) { animation-delay: .22s; }
section:nth-child(4) { animation-delay: .28s; }
section:nth-child(5) { animation-delay: .37s; }
section:nth-child(6) { animation-delay: .41s; }
@keyframes fadein-section {
  100% { opacity: 1; transform: translateY(0); }
}

/* LINKS */
a {
  color: var(--color-fun-pink);
  font-weight: 700;
  text-decoration: none;
  transition: color .14s;
}
a:hover, a:focus {
  color: var(--color-fun-blue);
  text-decoration: underline;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffde7;
  box-shadow: 0 -1px 12px 0 rgba(81,168,228,0.07);
  z-index: 888;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 36px 22px 28px;
  animation: cookie-slide-in .41s ease;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.99rem;
}
@keyframes cookie-slide-in {
  from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 300px;
  color: var(--color-primary);
  margin-bottom: 0;
  margin-right: 16px;
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary, .cookie-banner .btn-tertiary {
  margin-bottom: 0;
  margin-right: 8px;
  padding: 9px 22px;
  font-size: 1rem;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px;
    gap: 13px;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  left:0;right:0;top:0;bottom:0;
  background: rgba(32,57,100,0.15);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fadein-section .24s;
}
.cookie-modal {
  background: #fffde7;
  border-radius: 20px;
  box-shadow: 0 7px 30px 0 rgba(81,168,228,.23);
  padding: 36px 28px 32px 28px;
  max-width: 400px;
  min-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  position: relative;
  animation: cookie-modal-in .37s cubic-bezier(.6,-0.04,.46,1.08);
}
@keyframes cookie-modal-in {
  from {transform: scale(.86) translateY(44px); opacity: 0;} to {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal h3 {
  color: var(--color-primary);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  color: var(--color-fun-pink);
  cursor: pointer;
}
.cookie-modal input[type='checkbox'] {
  accent-color: var(--color-fun-blue);
  width: 20px; height: 20px;
  margin-right: 9px;
}
.cookie-modal .btn-primary, .cookie-modal .btn-tertiary {
  margin-top: 18px;
  width: 100%;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--color-fun-pink);
  color: #fff;
  font-size: 1.4rem;
  border: none;
  border-radius: 50%;
  width: 34px; height: 34px;
  cursor: pointer;
}
.cookie-modal .close-modal:hover {
  background: var(--color-fun-blue);
}
.cookie-category-desc {
  margin-left: 28px;
  font-size: 0.96rem;
  color: #6f6f7b;
}
.cookie-modal label[disabled] {
  color: #bbb;
  font-style: italic;
  cursor: not-allowed;
}

/* Special class for accessibility focus state */
:focus {
  outline: 2.5px solid var(--color-secondary);
  outline-offset: 2px;
}

/* CARD CONTAINER (for future blog/realizacje etc) */
.card-container article, .card-container section {
  margin-bottom: 20px;
}

/* BLOG NAVIGATION (categories) */
.content-wrapper nav ul {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.content-wrapper nav ul li a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--color-secondary);
  background: #f7fcff;
  padding: 8px 16px;
  border-radius: 19px;
  font-weight: 700;
  transition: background .12s, color .11s;
}
.content-wrapper nav ul li a:hover {
  color: var(--color-fun-pink);
  background: var(--color-fun-yellow);
}

/* Utility classes */
.hidden { display: none !important; }
.text-center { text-align: center; }
.flex { display: flex; }

/* Prevent content overlap */
.section, .feature-grid > div, .testimonial-card, .card, .content-wrapper, .form-wrapper, .newsletter {
  box-sizing: border-box;
}

/* Z-INDEX LAYERING */
header { z-index: 40; }
.mobile-menu { z-index: 111; }
.mobile-menu-toggle { z-index: 101; }
.cookie-banner { z-index: 888; }
.cookie-modal-overlay { z-index: 999; }

/* -- END OF CSS -- */
