/* =======================================================
   CSS RESET & BASE STYLE
   ======================================================= */
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, menu, 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 {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #243B6B;
  background: #F6F6F6;
  min-height: 100vh;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  border-style: none;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 1.5em;
}
a {
  color: #243B6B;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
  border-radius: 4px;
}
a:focus-visible {
  outline: 2px solid #FCE146;
}
a:hover, a:active {
  color: #7FBDEF;
}
strong, b {
  font-weight: 700;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 8px 40px 0 rgba(36, 59, 107, 0.07);
  margin-bottom: 0;
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.text-section {
  align-items: center;
  text-align: center;
}
/* =======================================================
   TYPOGRAPHY
   ======================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #243B6B;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5em;
}
h1 { font-size: 2.75rem; line-height: 1.06; margin-bottom: 0.3em; }
h2 { font-size: 2rem; margin-bottom: 0.4em; }
h3 { font-size: 1.3rem; margin-bottom: 0.2em; }
p, li, blockquote, label {
  font-size: 1.12rem;
  color: #36476B;
}
blockquote {
  font-style: italic;
  background: #ECF4F9;
  border-left: 4px solid #A6C8E9;
  padding: 18px 26px;
  margin: 24px 0 32px 0;
  border-radius: 10px;
  color: #243B6B;
  box-shadow: 0 2px 8px 0 rgba(36,59,107,0.06);
}
.user-stories blockquote strong {
  display: block;
  font-weight: 700;
  margin-top: 12px;
  font-size: 1.03rem;
}
/* =======================================================
   HEADER & NAVIGATION
   ======================================================= */
header {
  background: linear-gradient(90deg, #F7E0ED 0%, #EAF8FB 80%, #FFFBE3 100%);
  box-shadow: 0 2px 18px rgba(36, 59, 107, 0.06);
  position: relative;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 24px 18px 18px 18px;
  gap: 22px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.04rem;
  color: #243B6B;
  padding: 8px 20px;
  border-radius: 18px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover,
header nav a:focus {
  background: #facbe7;
  color: #243B6B;
}
.cta-button {
  background: #FCE146;
  color: #243B6B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  border-radius: 28px;
  padding: 12px 38px;
  box-shadow: 0 4px 20px rgba(252, 225, 70, 0.14);
  border: none;
  display: inline-block;
  margin-top: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.12s;
}
.cta-button:hover, .cta-button:focus {
  background: #F6E59B;
  color: #243B6B;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px rgba(252,225,70,0.23);
}
.secondary-cta {
  color: #fff;
  background: #99D0EA;
  border-radius: 22px;
  padding: 9px 32px;
  font-weight: 500;
  font-size: 1.07rem;
  margin-top: 12px;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
  box-shadow: 0 4px 14px rgba(153,208,234,0.11);
  display: inline-block;
}
.secondary-cta:hover, .secondary-cta:focus {
  background: #67B5DA;
  color: #fff;
  box-shadow: 0 7px 24px rgba(103,181,218,0.15);
}

/* =======================================================
   MOBILE MENU
   ======================================================= */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  background: #FFFBE3;
  color: #243B6B;
  font-size: 2.2rem;
  z-index: 1001;
  border: none;
  border-radius: 50%;
  width: 51px;
  height: 51px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(248,223,206,0.15);
  transition: background 0.19s, box-shadow 0.17s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #FFF8C6;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: #FAFAFE;
  position: fixed;
  z-index: 1100;
  top: 0; left: 0;
  width: 100vw;
  height: 100%;
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.85,.02,.3,1.08);
  box-shadow: 0 0 56px 8px #F7E0ED;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2.4rem;
  color: #243B6B;
  margin: 24px 0 18px 20px;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.2s;
  z-index: 1110;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #c177a8;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-left: 34px;
}
.mobile-nav a {
  color: #243B6B;
  text-decoration: none;
  padding: 13px 0px;
  font-size: 1.29rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 20px;
  transition: background 0.22s, color 0.21s;
  width: calc(100vw - 60px);
  max-width: 380px;
  font-weight: 500;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F7E0ED;
  color: #c177a8;
}
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none!important;
  }
}
/* Mobile fix header height for overlay */
@media (max-width: 460px) {
  .mobile-nav a {font-size: 1.09rem;}
  .mobile-menu-close {font-size: 2rem; margin-left: 11px;}
}
/* =========== Section FLEX CONTAINERS & CARDS =========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 21px;
  box-shadow: 0 2px 16px rgba(153,208,234,0.10);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.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;
  background: #F7F8FA;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(103,181,218,0.08);
  font-size: 1.09rem;
  color: #243B6B;
  min-height: 84px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 7px 32px rgba(153,208,234,0.18);
  transform: translateY(-2px) scale(1.018);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.feature-grid > div {
  background: #F9F5FB;
  box-shadow: 0 1px 8px rgba(242,189,246,0.09);
  border-radius: 16px;
  padding: 28px 18px;
  flex: 1 1 220px;
  min-width: 190px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  transition: box-shadow 0.19s, transform 0.15s;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 36px rgba(242,189,246,0.20);
  transform: translateY(-2px) scale(1.045);
}
.feature-grid img {
  width: 48px; height: 48px; margin-bottom: 8px;
}

/* ================= Lists and Product Cards ============== */
.product-highlights {
  background: #F0FFF7;
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 16px;
  box-shadow: 0 2px 13px 0 rgba(81,202,181,0.09);
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-highlights li strong {
  color: #6C51B3;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}

.product-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0 0 0;
  padding: 0;
}
.product-grid li {
  background: #FFC9E2;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(255,201,226,0.11);
  padding: 32px 22px 24px 22px;
  flex: 1 1 230px;
  min-width: 180px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
}
.product-grid h3 {
  color: #243B6B;
  font-size: 1.16rem;
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.product-grid ul {
  font-size: 1.07rem;
  color: #36476B;
  margin-bottom: 11px;
}
.product-grid .secondary-cta {
  margin: 9px 0 0 0;
  width: fit-content;
  align-self: flex-start;
}
.store-filters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 19px;
  font-size: 1.03rem;
}
.store-filters label {font-weight: 600; color: #243B6B; margin-right:5px;}
.store-filters span {
  margin-right: 8px;
  color: #36398B;
  background: #F6FAFF;
  border-radius: 8px;
  padding: 3px 10px;
  font-size: 0.99em;
}
.store-filters span:hover {background: #EAF8FB;color:#7FBDEF;}


/* ================== FAQ & STEPS ======================== */
.faq-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #ECF4F9;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(127,189,239,0.10);
  padding: 19px 24px;
  margin-bottom: 8px;
}
.steps-overview {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}
.steps-overview li {
  background: #FFFBE3;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(252,225,70,0.10);
  flex: 1 1 200px;
  min-width: 180px;
  max-width: 250px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  margin-bottom: 20px;
}
.steps-overview li img {
  width: 40px; height: 40px; margin-bottom: 9px;
}

/* ================== CONTACT & MAP ======================= */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
}
.contact-details p {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.google-map-placeholder {
  background: #ECF4F9;
  color: #36476B;
  border-radius: 10px;
  padding: 23px 12px;
  margin-top: 20px;
  text-align: center;
  font-size: 1.03rem;
  box-shadow: 0 0px 10px rgba(127,189,239,0.06);
}

/* ============== FOOTER =================== */
footer {
  background: linear-gradient(90deg, #FAF8F3 0%, #F7E0ED 100%);
  padding: 45px 0 28px 0;
  color: #6B648B;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo img {
  width: 54px;
  margin-bottom: 15px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
footer nav a {
  color: #6B648B;
  font-size: 1.08rem;
  font-weight: 400;
}
footer nav a:hover { color: #243B6B; }
.footer-contact p {
  font-size: 1rem;
  color: #6B648B;
}

/* ============ COOKIE CONSENT BANNER ============= */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #FFF6FA;
  box-shadow: 0 -3px 28px rgba(220,180,200,0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 18px 22px 18px 22px;
  gap: 26px;
  z-index: 1500;
  font-size: 1.01rem;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  transition: transform 0.23s;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-consent-banner p {
  color: #505080;
  margin: 0 0 0 0;
  flex: 2 1 180px;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 16px;
  padding: 7px 25px;
  cursor: pointer;
  transition: background 0.15s, color 0.17s, transform 0.11s;
}
.cookie-btn.accept {
  background: #FCE146;
  color: #243B6B;
  box-shadow: 0 2px 7px rgba(252,225,70,0.10);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #FFF8C6;
  color: #243B6B;
  transform: scale(1.03);
}
.cookie-btn.reject {
  background: #FFC9E2;
  color: #73386b;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F7E0ED;
  color: #243B6B;
  transform: scale(1.03);
}
.cookie-btn.settings {
  background: #EAF8FB;
  color: #243B6B;
  border: 1.5px solid #B5DAF6;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #C8EAFB;
  color: #243B6B;
  transform: scale(1.03);
}

/* ===== Cookie Modal ===== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3000;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(36, 59, 107, 0.17);
  backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.show {
  display: flex;
  animation: fadeIn 0.22s linear;
}
@keyframes fadeIn {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 12px 48px rgba(127,189,239,0.13);
  padding: 36px 30px 34px 30px;
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 23px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-category {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 1.02rem;
}
.cookie-category input[type=checkbox] {
  accent-color: #FCE146;
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: 7px;
}
.cookie-category input[disabled] {
  opacity: 0.6;
}
.cookie-modal .cookie-btn-group {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.cookie-modal-close {
  position: absolute;
  right: 19px;
  top: 15px;
  background: transparent;
  border: none;
  font-size: 1.7rem;
  color: #243B6B;
  cursor: pointer;
  z-index: 4000;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #c177a8;
}
@media (max-width: 530px) {
  .cookie-modal {
    padding: 25px 10px 21px 11px;
    min-width: 92vw;
    gap: 14px;
  }
  .cookie-modal-close {right: 10px;top:5px;font-size:1.31rem;}
}
/* ================= MOBILE FLUID RESPONSIVENESS =============== */
@media (max-width: 1024px) {
  .container {max-width: 98vw;}
  .content-grid, .feature-grid, .steps-overview, .product-grid, .card-container {flex-direction: column;gap:22px;}
  .content-wrapper {padding: 24px 10px;}
  .section {padding: 30px 5px;}
  header .container {padding: 20px 10px;gap:14px;}
  .feature-grid > div, .steps-overview li, .product-grid li {max-width:100%;}
}
@media (max-width: 768px) {
  .feature-grid, .steps-overview, .content-grid, .card-container, .product-grid {flex-direction: column;gap:19px;}
  .content-wrapper, .section {padding: 16px 2px;}
  header .container {flex-direction: column;align-items: flex-start;}
  .text-image-section {flex-direction: column;align-items: center;gap:13px;}
}
@media (max-width: 650px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.15rem; }
  .content-wrapper {padding: 12px 0;}
  .footer-logo img {width:34px;}
}
@media (max-width: 440px) {
  .testimonial-card,.faq-item,.product-highlights,.feature-grid>div,.card {
    padding: 10px 5px;
  }
}

/* =========== Spacing/margin safeguards ================ */
main > section,
.section,
.content-wrapper,
.feature-grid>div,
.product-grid>li,
.card,
.testimonial-card,
.faq-item {
  margin-bottom: 20px;
}
footer .container>*, header .container>* {margin-bottom:0;}
/* Avoid overlapping of flex items on all screens */
.card-container > *, .content-grid > *, .feature-grid > *, .product-grid > * { min-width: 0;flex-shrink:1; }

/* ======================== MICRO-INTERACTIONS =========================== */
.card, .feature-grid > div, .steps-overview li, .product-grid li, .faq-item, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.16s;
}
.card:hover,
.feature-grid > div:hover,
.steps-overview li:hover,
.product-grid li:hover,
.faq-item:hover {
  box-shadow: 0 7px 28px rgba(127,189,239,0.13);
  transform: translateY(-2px) scale(1.025);
}
.card:active,
.feature-grid > div:active,
.steps-overview li:active,
.product-grid li:active,
.faq-item:active {
  box-shadow: 0 3px 9px rgba(127,189,239,0.07);
  transform: scale(0.99);
}

/* ============ SELECTION & FOCUS ==================== */
::selection {
  background: #FCE146;
  color: #243B6B;
}

/* =================== DREAMY PASTEL BACKGROUND ACCENTS ======================== */
body:before {
  content: "";
  display: block;
  position: fixed;
  z-index: 0;
  top: -70px; 
  left: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle at 45% 65%, #FDEDF7 0%, #FCE9DE 75%, transparent 100%);
  filter: blur(1.5px); opacity: 0.43;
  pointer-events: none;
}
body:after {
  content: "";
  display: block;
  position: fixed;
  z-index: 0;
  bottom: -110px; right: -90px;
  width: 290px; height: 290px;
  background: radial-gradient(circle at 48% 44%, #EAF8FB 0%, #E7E6FE 75%, transparent 100%);
  filter: blur(2.3px); opacity: 0.45;
  pointer-events: none;
}

/* =========== SCROLLBAR - pastel soft ================= */
body::-webkit-scrollbar {
  width: 13px;
  background: #F7E0ED;
}
body::-webkit-scrollbar-thumb {
  background: #EAF8FB;
  border-radius: 12px;
}
body::-webkit-scrollbar-thumb:hover {
  background: #FCE9DE;
}

/* ===========  FORMS (if present) ============== */
input, select, textarea {
  font-family: inherit;
  border-radius: 11px;
  border: 1.3px solid #B5DAF6;
  padding: 8px 13px;
  margin-bottom: 12px;
  box-shadow: 0 2px 7px rgba(127,189,239,0.06);
  font-size: 1rem;
  transition: border 0.16s, box-shadow 0.17s;
}
input:focus, select:focus, textarea:focus {
  border: 1.7px solid #FCE146;
  outline: none;
}
button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
}

/* ==== SPECIAL: Always high-contrast for testimonials ====== */
.testimonial-card, blockquote {
  color: #243B6B;
  background: #F7F8FA;
}
.testimonial-card strong, blockquote strong {
  color: #6C51B3;
}

/* ============ Misc Utility =========== */
.gap-24 {gap:24px;}
.align-center {align-items:center;justify-content:center;}
.flex {display:flex;}

/* ============================== */
/*    END Twórczy Impuls CSS      */
/* ============================== */