/* -------------------------------
   CSS 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,
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #25282A;
  background: #F9F8FF;
  min-height: 100vh;
  line-height: 1.7;
  font-weight: 400;
  position: relative;
  transition: background 0.3s;
}

img {
  max-width: 100%;
  display: block;
}

*, *:before, *:after {
  box-sizing: inherit;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: #627DAF;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FF6D00;
}

/* Google Fonts Import (Montserrat, Open Sans) */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800,900|Open+Sans:400,600,700&display=swap');

/* Brand palette */
:root {
  --primary: #25282A;
  --secondary: #627DAF;
  --accent: #F3EAE3;
  --brand-yellow: #FFE04A;
  --brand-pink: #FF6D91;
  --brand-green: #3EE4B3;
  --brand-orange: #FF6D00;
  --brand-blue: #42A5F5;
}

/* -------------------------------
         LAYOUT CONTAINERS
---------------------------------*/
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Section Spacing Patterns */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* General section style override for all top-level sections */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
/* Use .section class as well everywhere for utility */

/* ----------------------------------
           TYPOGRAPHY
-----------------------------------*/
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #25282A;
  letter-spacing: 1px;
}
h1 {
  font-size: 2.7rem;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--brand-pink);
  animation: pop-in .7s cubic-bezier(.8,0,.3,1.5) 0.1s both;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  color: var(--secondary);
}
h3 {
  font-size: 1.35rem;
  color: var(--brand-orange);
}
h4 {
  font-size: 1.13rem;
  color: var(--brand-blue);
}
p, li {
  font-size: 1rem;
  color: #25282A;
}
p {
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  background: var(--brand-yellow);
  border-radius: 14px;
  padding: 18px 36px;
  font-size: 1.13rem;
  font-weight: 600;
  margin-bottom: 6px;
  position: relative;
  box-shadow: 0 4px 16px 0 rgba(255, 224, 74, 0.12);
}
.blockquote:before {
  content: '“';
  color: var(--brand-pink);
  font-size: 2.2rem;
  vertical-align: top;
  left: -8px;
  top: -12px;
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  h2 {
    font-size: 1.45rem;
  }
  h3 {
    font-size: 1.09rem;
  }
  p, li {
    font-size: 0.98rem;
  }
}

/* ----------------------------------
                HEADER
-----------------------------------*/
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(98,125,175,0.03);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1050;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 10px 20px;
  min-height: 60px;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
  margin-right: 10px;
  transition: transform 0.3s;
}
.logo img:hover {
  transform: rotate(-6deg) scale(1.1);
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: 10px;
  flex: 1 1 auto;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #25282A;
  padding: 7px 14px;
  border-radius: 25px;
  position: relative;
  transition: background 0.18s, color 0.12s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--brand-pink);
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(255, 109, 145, 0.13);
  outline: none;
}
.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--secondary);
  color: #fff !important;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 1px;
  border: none;
  border-radius: 30px;
  padding: 0.7em 1.8em;
  margin-left: 20px;
  box-shadow: 0 6px 30px 0 rgba(98, 125, 175, 0.10);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.cta-button:before {
  content: '';
  background: var(--brand-pink);
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  z-index: -1;
  transition: width 0.22s cubic-bezier(0.5,0,0.3,1.3);
}
.cta-button:hover:before {
  width: 100%;
}
.cta-button:hover,
.cta-button:focus {
  color: #fff;
  background: var(--brand-pink);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 30px 0 rgba(255, 109, 145, 0.17);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--brand-pink);
  cursor: pointer;
  margin-left: 25px;
  position: relative;
  z-index: 1101;
  width: 44px;
  height: 44px;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover {
  color: var(--brand-orange);
}

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

/* ------------------------
     MOBILE MENU
--------------------------*/
.mobile-menu {
  position: fixed;
  left: 0; bottom: 0; top: 0; right: 0;
  background: #fff;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.7,0,.3,1) 0s;
  box-shadow: 6px 0 36px 0 rgba(98, 125, 175, 0.12);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--brand-pink);
  background: none;
  border: none;
  cursor: pointer;
  align-self: flex-end;
  margin: 30px 30px 0 0;
  width: 50px;
  height: 50px;
  z-index: 2002;
  transition: color 0.17s;
}
.mobile-menu-close:hover {
  color: var(--brand-orange);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 30px 40px;
  margin-top: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 1.18rem;
  font-weight: 700;
  background: var(--accent);
  border-radius: 28px;
  padding: 10px 26px;
  margin-bottom: 2px;
  transition: background 0.18s, color 0.14s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-yellow);
  color: var(--brand-pink);
}

@media (min-width: 992px) {
  .mobile-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* -------------------------------
       HERO & FEATURES
---------------------------------*/
.hero {
  background: linear-gradient(85deg,#FFE04A 50%,#F3EAE3 100%);
  border-bottom: 6px solid var(--brand-pink);
  position: relative;
  margin-top: 0;
  padding-top: 50px;
}
.hero .content-wrapper {
  max-width: 680px;
  align-items: flex-start;
  gap: 22px;
}
.hero h1 {
  color: var(--brand-pink);
  font-size: 2.7rem;
  margin-bottom: 8px;
}
.hero p {
  color: var(--primary);
  margin-bottom: 16px;
}

.features .content-wrapper, .features .feature-grid {
  gap: 28px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 18px;
}
.feature-block {
  background: var(--accent);
  border-radius: 22px;
  box-shadow: 0 5px 32px 0 rgba(98, 125, 175, 0.07);
  flex: 1 1 230px;
  min-width: 230px;
  max-width: 270px;
  padding: 32px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: box-shadow 0.25s, transform 0.2s;
  margin-bottom: 20px;
  z-index: 1;
}
.feature-block img {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(255,224,74,0.12);
  background: #fff;
  border: 2px solid var(--brand-yellow);
}
.feature-block h3 {
  font-size: 1.18rem;
  color: var(--brand-orange);
  margin-bottom: 7px;
  margin-top: 0;
}
.feature-block p {
  font-size: 1.0rem;
  color: var(--primary);
}
.feature-block:hover {
  box-shadow: 0 12px 40px 0 rgba(255, 109, 145, 0.11);
  transform: translateY(-6px) scale(1.026);
}

@media (max-width: 991px) {
  .feature-grid {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .feature-block {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    margin-bottom: 0;
  }
}

/* ------------------------
         ABOUT/TEXT SECTIONS
--------------------------*/
.text-section {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 3px 28px 0 rgba(255,224,74,0.04);
  padding: 38px 34px;
}
.text-section ul,
.features ul {
  margin-left: 18px;
  margin-bottom: 18px;
}
.text-section li,
.features li {
  font-size: 1rem;
  margin-bottom: 11px;
  list-style-type: disc;
  position: relative;
  padding-left: 10px;
}
.text-section li::marker,
.features li::marker {
  color: var(--brand-pink);
}

/* ------------------------
     CTA (Call to Action)
--------------------------*/
.cta {
  background: var(--brand-yellow);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 6px 30px 0 rgba(255, 224, 74, 0.13);
  text-align: left;
}
.cta .content-wrapper {
  align-items: flex-start;
  gap: 14px;
}
.cta h2 {
  color: var(--brand-orange);
}

/* ------------------------
        TESTIMONIALS
--------------------------*/
.testimonials {
  margin-top: 40px;
  padding-bottom: 50px;
}
.testimonials .content-wrapper {
  gap: 36px;
  align-items: flex-start;
  flex-direction: column;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border-radius: 20px;
  padding: 23px 36px;
  box-shadow: 0 3px 24px 0 rgba(98, 125, 175, 0.09);
  margin-bottom: 20px;
  max-width: 700px;
  transition: box-shadow 0.2s, transform 0.17s;
  border-left: 6px solid var(--brand-pink);
  position: relative;
  z-index: 1;
}
.testimonial-card:hover {
  box-shadow: 0 12px 40px 0 rgba(255, 109, 145, 0.11);
  transform: translateY(-4px) scale(1.01);
}
.testimonial-card blockquote {
  background: transparent;
  box-shadow: none;
  font-size: 1rem;
  color: var(--primary);
  padding: 0;
  margin-bottom: 0;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--secondary);
  font-weight: 800;
  font-size: 1.06rem;
}

@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    padding: 18px 14px;
  }
}


/* -------------------------
        CONTACT PAGE
---------------------------*/
.contact-info-list {
  display: flex;
  flex-wrap: wrap;
  gap: 19px 32px;
}
.contact-info-list > div {
  min-width: 220px;
  background: var(--brand-blue);
  color: #fff;
  border-radius: 14px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  box-shadow: 0 3px 18px 0 rgba(66, 165, 245, 0.11);
  margin-bottom: 8px;
}
.contact-info-list img {
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
  margin-right: 8px;
}
.contact-info-list a {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}
.contact-info-list a:hover {
  color: var(--brand-yellow);
}

/* -------------------------
          FOOTER
---------------------------*/
footer {
  background: var(--primary);
  color: #fff;
  border-top: 8px solid var(--brand-pink);
  padding: 36px 0 18px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
.footer-nav {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 16px;
  padding: 6px 18px;
  font-size: 1rem;
  transition: background 0.16s, color 0.13s;
}
.footer-nav a:hover {
  background: var(--brand-pink);
  color: #fff;
}
.footer-info {
  font-size: 0.99rem;
  color: #eee;
}

/* ------------------------------
          LEGAL/STATIC PAGES
-------------------------------*/
.legal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 22px 0 rgba(98,125,175,0.07);
  padding: 40px 28px;
}

/* ---------------------------
 ANIMATIONS & MICRO-INTERACTIONS
-----------------------------*/
@keyframes pop-in {
  from { opacity: 0; transform: translateY(-35px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Fun hover-cards effect */
.card, .feature-block, .testimonial-card, .cta {
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .feature-block:hover, .testimonial-card:hover, .cta:hover {
  box-shadow: 0 9px 36px 0 rgba(255, 224, 74, 0.19);
  transform: translateY(-5px) scale(1.018);
  z-index: 2;
}

/* Button bounce animation */
.cta-button:active {
  transform: scale(.96);
  box-shadow: 0 2px 10px 0 rgba(98,125,175,0.21);
}

/* Fun animated underline effect for h2s */
h2 {
  position: relative;
}
h2:after {
  content: '';
  display: block;
  width: 44px;
  height: 6px;
  background: var(--brand-pink);
  border-radius: 3px;
  margin-top: 8px;
  transition: width 0.27s cubic-bezier(.67,.02,.33,1.65);
}
h2:hover:after {
  width: 89px;
}

/* -------------------------
         COOKIE BANNER
--------------------------*/
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 18px;
  background: #fffbe8;
  color: #25282A;
  box-shadow: 0 4px 28px 1px rgba(255,224,74,0.17);
  border-radius: 19px;
  padding: 24px 30px 18px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  z-index: 9000;
  animation: fade-in 0.4s;
  font-size: 1.03rem;
}
.cookie-banner h3 {
  color: var(--brand-pink);
  font-size: 1.09rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 2px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.cookie-btn {
  display: inline-block;
  border-radius: 25px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 24px;
  margin: 0 3px 3px 0;
  cursor: pointer;
  transition: background 0.2s, color 0.13s;
  box-shadow: 0 2px 10px rgba(255, 224, 74, 0.07);
}
.cookie-btn.accept {
  background: var(--brand-yellow);
  color: var(--primary);
  border: 2px solid var(--brand-yellow);
}
.cookie-btn.accept:hover {
  background: var(--brand-pink);
  color: #fff;
  border-color: var(--brand-pink);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--brand-orange);
  border: 2px solid var(--brand-orange);
}
.cookie-btn.reject:hover {
  background: var(--brand-orange);
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
}
.cookie-btn.settings:hover {
  background: var(--brand-blue);
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 15px 10px 10px 10px;
    font-size: 0.96rem;
    left: 8px;
    right: 8px;
  }
  .cookie-actions {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
}

/* -------------------------
        COOKIE MODAL
--------------------------*/
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  right: 0; bottom: 0;
  background: rgba(37,40,42,0.73);
  z-index: 10001;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fade-in 0.15s;
}
.cookie-modal-content {
  background: #fffbe9;
  color: #25282A;
  border-radius: 23px;
  padding: 38px 32px 28px 32px;
  box-shadow: 0 7px 38px 2px rgba(255,224,74,0.13);
  max-width: 420px;
  width: 95%;
  font-size: 1.09rem;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal-content h3 {
  color: var(--brand-pink);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
}
.cookie-modal-close {
  position: absolute;
  top: 20px; right: 22px;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--brand-pink);
  cursor: pointer;
  z-index: 10002;
  transition: color 0.13s;
}
.cookie-modal-close:hover {
  color: var(--brand-orange);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  padding: 15px 16px;
  border-radius: 11px;
  background: #fff;
  color: #25282A;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category input[type='checkbox'] {
  width: 19px;
  height: 19px;
  accent-color: var(--brand-pink);
}
.cookie-category.essential {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  opacity: 0.67;
}
.cookie-category.essential label:after {
  content: '(zawsze włączone)';
  color: var(--brand-pink);
  margin-left: 7px;
  font-size: 0.93rem;
}

.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------------------------
         RESPONSIVE RULES
-----------------------------*/
@media (max-width: 991px) {
  .container { max-width: 96vw; padding: 0 10px; }
  header .container { gap: 14px; min-height: 50px; }
  footer .container { gap: 10px; }
}
@media (max-width: 768px) {
  .section, section { padding: 24px 0 0 0; margin-bottom: 34px; }
  .content-wrapper { gap: 14px; }
  .hero {
    padding-top: 24px;
    border-radius: 0 0 19px 19px;
  }
  .hero .content-wrapper { max-width: 96vw; }
  .features .content-wrapper { gap: 14px; }
  .contact-info-list { flex-direction: column; gap: 10px; }
}
@media (max-width: 600px) {
  .text-section,.legal { padding: 19px 4px; border-radius: 11px; }
  .cta { border-radius: 0 0 14px 14px; }
  .footer-nav { flex-direction: column; gap: 4px; }
  .footer-info { font-size: 0.89rem; }
}

/* Utility classes */
.d-none { display: none!important; }
.d-flex { display: flex!important; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.ai-center { align-items: center; }
.ai-start { align-items: flex-start; }
.jc-center { justify-content: center; }
.jc-between { justify-content: space-between; }
.gap-20 { gap: 20px; }

/* ------------------
   END CSS
-------------------*/
