/* 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; }
*,*:before,*:after { box-sizing: inherit; }
body { line-height: 1; background: #FAFBF8; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; border: none; }

table { border-collapse: collapse; width: 100%; }
th, td { padding: 12px 10px; text-align: left; }
button,input[type="submit"],input[type="button"] {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

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

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #2B415D;
  background: #FAFBF8;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #2B415D;
  letter-spacing: -0.03em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 10px; }
p, li, blockquote { font-size: 1.07rem; line-height: 1.7; }

strong { color: #35c48c; }

/* PLAYFUL DYNAMIC COLORS*/
:root {
  --primary: #2B415D;
  --secondary: #7FC9A8;
  --accent: #FAFBF8;
  --fun-yellow: #FFE861;
  --fun-coral: #FF7C7C;
  --fun-blue: #71A8FF;
  --fun-violet: #D6A4FF;
  --cta-pink: #FF74A7;
  --cta-shadow: #2b415d22;
}

/* BASE CONTAINER & SPACING PATTERNS (flex only!) */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 5px 36px 0 #d5ebef2b;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
  padding: 26px 20px 22px 28px;
  min-width: 220px;
  flex: 1 1 280px;
}
.card:hover {
  transform: translateY(-4px) scale(1.025) rotate(-2deg);
  box-shadow: 0 8px 42px 0 #8ed1b742;
}
.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: #fffbe9;
  border-radius: 18px;
  box-shadow: 0 2px 20px #F9CC6C24;
  margin-bottom: 20px;
  transition: transform 0.16s, box-shadow 0.16s;
  border-left: 7px solid #FFE861;
  position: relative;
}
.testimonial-card:hover {
  transform: scale(1.022) skew(-1deg, 1deg);
  box-shadow: 0 5px 32px #F9CC6C3a;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 2px 18px #cefce94e;
  padding: 22px 16px 18px 18px;
  margin-bottom: 20px;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #F7FAFF;
  box-shadow: 0 4px 18px #8ed1b726;
  display: flex;
  align-items: center;
  padding: 14px 22px;
  position: sticky;
  z-index: 99;
  top: 0;
}
.logo-section {
  margin-right: 20px;
  display: flex;
  align-items: center;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
}
nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  color: #2B415D;
  font-size: 1rem;
  padding: 7px 14px;
  border-radius: 8px;
  transition: color 0.12s, background 0.14s;
}
nav a:hover,
nav a.active {
  background: #FFE861;
  color: #2B415D;
}

.cta {
  background: var(--cta-pink);
  color: #fff;
  border-radius: 28px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  padding: 11px 34px;
  box-shadow: 0 4px 18px var(--cta-shadow);
  margin-left: 28px;
  transition: background 0.18s, color 0.18s, transform 0.15s;
  display: inline-block;
  border: none;
  outline: none;
}
.cta.primary {
  background: var(--secondary);
  color: #2B415D;
}
.cta:hover, .cta:focus {
  background: var(--fun-yellow);
  color: #1c3155;
  transform: translateY(-2px) scale(1.035);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #2B415D;
  border-radius: 50%;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  margin-left: 20px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px #a2dacb3c;
  transition: background 0.16s, color 0.16s;
  z-index: 119;
}
.mobile-menu-toggle:hover {
  background: var(--fun-blue);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: #2B415Dce;
  z-index: 199;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.62,-0.23,.7,1.4);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: var(--cta-pink);
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 2rem;
  position: absolute;
  top: 19px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  z-index: 120;
  transition: background 0.1s, color 0.1s;
}
.mobile-menu-close:hover {
  background: var(--fun-coral);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 80px;
}
.mobile-nav a {
  color: #FFF;
  background: #2B415D;
  padding: 13px 34px;
  border-radius: 26px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.24rem;
  margin-bottom: 0;
  transition: background 0.16s, color 0.14s;
  box-shadow: 0 3px 18px #65ceb158;
}
.mobile-nav a:hover {
  background: #7FC9A8;
  color: #2B415D;
}

@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
  nav {
    gap: 15px;
  }
}
@media (max-width: 930px) {
  nav { gap: 8px; }
  .cta { margin-left: 11px; padding: 9px 20px; }
  .header { padding: 13px 10px; }
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 12px 10px;
    min-height: 64px;
  }
  .logo-section { margin-right: 8px; }
  nav {
    display: none;
  }
  .cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container, .content-wrapper { padding: 0 2px; }
}

@media (max-width: 520px) {
  .container, .section {
    padding: 0 5px;
  }
  .section {
    padding: 28px 2px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .testimonial-card { padding: 13px 10px; }
  .card { padding: 17px 8px 13px 9px; }
}

/* HERO SECTIONS & BANNERS */
.hero {
  background: linear-gradient(90deg, #FFE861 10%, #7FC9A8 100%);
  padding: 54px 0 38px 0;
  min-height: 330px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 17px;
}
.hero h1 {
  color: #2B415D;
  font-weight: 900;
  font-size: 3rem;
  line-height: 1.13;
  text-shadow: 0 3px 18px #fff7;
}
.hero p {
  max-width: 540px;
  font-size: 1.18rem;
  color: #1f2c3d;
}

@media (max-width: 768px) {
  .hero {
    min-height: 180px;
    padding: 24px 0 20px 0;
  }
  .hero h1 {font-size: 2rem;}
}

/* DISTINCT CARDS & GRIDS */
.tips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
  justify-content: flex-start;
}
.tip-card {
  background: #FFF0F5;
  border-radius: 18px;
  box-shadow: 0 2px 18px #ff74a70c;
  padding: 24px 18px;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: transform 0.14s, box-shadow 0.19s;
}
.tip-card:hover {
  transform: translateY(-3px) rotate(1.5deg) scale(1.02);
  box-shadow: 0 4px 32px #ff74a73a;
}
.tip-category {
  font-size: 0.96rem;
  font-weight: bold;
  color: #FF7C7C;
  background: #FFE9ED;
  border-radius: 9px;
  padding: 2px 10px;
  margin-top: 8px;
  display: inline-block;
}

/* Newsletter Signup */
.newsletter-signup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
}
.newsletter-signup label {
  font-weight: 700;
  font-size: 1.1rem;
  color: #2B415D;
  margin-right: 6px;
}
.newsletter-signup input[type="email"] {
  border-radius: 22px;
  padding: 8px 17px;
  border: 2px solid #7FC9A8;
  background: #fff;
  font-size: 1rem;
  color: #2B415D;
  outline: none;
  transition: border 0.16s;
}
.newsletter-signup input[type="email"]:focus {
  border-color: #FF7C7C;
}

/* Testimonial Blockquotes */
.testimonial-card blockquote {
  color: #1a2942;
  font-style: italic;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 6px;
  font-size: 1.13rem;
  max-width: 500px;
  letter-spacing: .01em;
}
.testimonial-card cite {
  color: #7FC9A8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.95rem;
  font-style: normal;
  margin-left: 8px;
}

/* Pricing Table */
.pricing-grid {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 2px 20px #EAECCC24;
  overflow: hidden;
  margin-bottom: 22px;
}
.pricing-grid th {
  background: #7FC9A8;
  color: #FFF;
  font-size: 1.09rem;
}
.pricing-grid td {
  border-bottom: 1px solid #EFECED;
  color: #2B415D;
}
.pricing-grid tr:last-child td {
  border-bottom: none;
}
.small-print {
  font-size: 0.94rem;
  color: #828889;
  margin-top: 6px;
}

/* Contact Page */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 20px 0 8px 0;
}
.contact-list li {
  display: flex;
  align-items: center;
  font-size: 1.07rem;
  gap: 12px;
}
.contact-list a {
  color: #7FC9A8;
  font-weight: 600;
  transition: color .14s;
}
.contact-list a:hover {
  color: #FF7C7C;
}
.map-placeholder {
  background: #a7f9d840;
  color: #376958;
  border-radius: 13px;
  padding: 15px;
  font-size: 1.04rem;
  font-style: italic;
}

/* Service Details (Usługi) */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.service-detail {
  background: #F7FAFF;
  border-radius: 16px;
  box-shadow: 0 2px 16px #a2dacb20;
  padding: 20px 16px 17px 19px;
  min-width: 220px;
  flex: 1 1 230px;
  transition: box-shadow 0.16s, transform 0.16s;
  margin-bottom: 20px;
}
.service-detail:hover {
  box-shadow: 0 6px 28px #7fc9a820;
  transform: scale(1.04) rotate(-2deg);
}

/* Footer */
footer {
  background: #2B415D;
  color: #fff;
  width: 100%;
  padding: 34px 0 0 0;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-branding {
  padding: 18px 0 15px 0;
  text-align: center;
  color: #fff;
  letter-spacing: .03em;
  font-size: 0.98rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 4px;
  font-size: 1.08rem;
}
.footer-nav a {
  color: #FFE861;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.13s;
}
.footer-nav a:hover {
  color: #FF7C7C;
}
.contact-info {
  margin: 18px 0 0 0;
  text-align: center;
}
.contact-info img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 6px;
  margin-bottom: 2px;
}
.contact-info p {
  color: #fff;
  font-size: 1.04rem;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .footer-nav { gap: 9px; font-size: 0.98rem; }
  .contact-info { font-size: 0.96rem; }
}

/* Utility Lists */
ul, ol {
  margin-bottom: 17px;
  padding-left: 22px;
}
ul li, ol li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 4px;
}
ul li:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 10px;
  height: 10px;
  background: #7FC9A8;
  border-radius: 50%;
  margin-right: 11px;
  margin-top: -2px;
}
ul li img {
  width: 20px; height: 20px; margin-right: 7px; vertical-align: middle;
  background: #FFE861; border-radius: 6px;
}
.service-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 13px;
}
.service-highlights > div {
  background: #FFF0F5;
  color: #2B415D;
  border-radius: 10px;
  padding: 10px 15px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  box-shadow: 0 2px 8px #ff74a71f;
  transition: background 0.16s, color 0.16s;
}
.service-highlights > div:hover {
  background: #FF7C7C;
  color: #fff;
}

.product-categories, .product-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.product-categories ul, .product-benefits ul {
  margin: 0;
  padding-left: 22px;
  min-width: 200px;
}
.product-categories li, .product-benefits li {
  color: #2B415D;
  margin-bottom: 7px;
  font-weight: 600;
}
.product-list-intro {
  font-size: 1.1rem;
  color: #2B415D;
  margin-bottom: 13px;
}

.categories-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 22px 0 10px 0;
}
.categories-filter a {
  background: #7FC9A8;
  color: #fff;
  padding: 4px 17px;
  border-radius: 13px;
  font-size: 0.99rem;
  font-weight: 600;
  transition: background 0.13s, color 0.11s;
}
.categories-filter a:hover {
  background: #FFE861;
  color: #1c3155;
}

/* Fancy Animations */
.hero, .testimonial-card, .card, .tip-card, .feature-item, .service-detail {
  animation: popIn 0.75s cubic-bezier(.31,2.31,.71,.88) both;
}
@keyframes popIn {
  0% { opacity:0; transform: scale(0.89) translateY(30px); }
  70% { opacity:1; transform: scale(1.06) translateY(-7px); }
  100% { opacity:1; transform: scale(1) translateY(0); }
}

/* Cookie Consent Banner & Modal */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffbe9;
  color: #1c3155;
  border-top: 6px solid #FFE861;
  box-shadow: 0 -2px 20px #FFD8543b;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  z-index: 220;
  padding: 18px 12px 18px 28px;
  font-size: 1rem;
  animation: cookieFadeIn .64s cubic-bezier(.31,2.31,.71,.88);
}
@keyframes cookieFadeIn {
  0% { opacity:0; transform: translateY(48px); }
  100% { opacity:1; transform: translateY(0); }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 13px;
}
.cookie-banner button, .cookie-banner .cta {
  padding: 8px 17px;
  border-radius: 16px;
  border: none;
  background: #7FC9A8;
  color: #fff;
  font-weight: bold;
  font-size: 1.01rem;
  margin-left: 0;
  transition: background 0.16s, color 0.11s, transform 0.13s;
}
.cookie-banner button.accept {
  background: #35c48c;
  color: #fff;
}
.cookie-banner button.reject {
  background: #FF7C7C;
  color: #fff;
}
.cookie-banner button.settings {
  background: #FFE861;
  color: #2B415D;
}
.cookie-banner button:hover {
  transform: translateY(-1px) scale(1.03);
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: #2b415dc2;
  z-index: 310;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn .36s cubic-bezier(.08,.77,.57,1.18);
}
@keyframes cookieModalIn {
  0% { opacity:0; transform: scale(.93); }
  100% { opacity:1; transform: scale(1); }
}
.cookie-modal {
  background: #fffbe9;
  border-radius: 14px;
  padding: 33px 22px 28px 25px;
  max-width: 430px;
  width: 90vw;
  color: #1c3155;
  font-size: 1.07rem;
  position: relative;
  animation: modalBounce .38s cubic-bezier(.1,1.1,.41,.91);
  box-shadow: 0 6px 36px #FFD8547c;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@keyframes modalBounce {
  0% {transform: scale(.85);}
  60% {transform: scale(1.11);}
  100% {transform: scale(1);}
}
.cookie-modal h2 {
  color: #2B415D;
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  padding: 10px 8px 6px 9px;
  border-left: 6px solid #7FC9A8;
  background: #f6faf8;
  border-radius: 9px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 2px;
}
.cookie-category.essential {
  border-left: 6px solid #35c48c;
  font-weight: bold;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #7FC9A8;
  margin-right: 5px;
  transform: scale(1.2);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 18px;
}
.cookie-modal .close {
  position: absolute;
  top: 13px;
  right: 13px;
  background: #FF7C7C;
  color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 1.28rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.13s;
}
.cookie-modal .close:hover {
  background: #FFE861;
  color: #2B415D;
}

@media (max-width: 530px) {
  .cookie-modal {
    padding: 20px 7px 18px 8px;
    font-size: 1rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 13px 4px 11px 10px;
    font-size: .99rem;
  }
}

/* --- GENERAL SPACING, EFFECTS, AND MICRO-INTERACTIONS --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:last-child {
  margin-bottom: 0;
}

a, button, .cta, input[type="submit"] {
  transition: box-shadow 0.17s, outline-color 0.15s, color 0.14s, background 0.12s, transform 0.16s;
  outline: none;
}
input, textarea, select { border-radius: 8px; border: 1.6px solid #7FC9A8; padding: 7px 13px; font-size: 1rem; background: #fff; color: #1c3155; margin-bottom: 14px; }
input:focus, textarea:focus, select:focus { border-color: #FF7C7C; background: #FFFCF3; }

::-webkit-input-placeholder { color: #b6cfd0; }
::-moz-placeholder { color: #b6cfd0; }
:-ms-input-placeholder { color: #b6cfd0; }
::placeholder { color: #b6cfd0; }

/* Remove grid/column compatibility: CRITICAL */
/* No display: grid, grid-*, column-*, break-inside anywhere (except this comment) */
