/* RESET & NORMALIZATION */
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F9FAFB;
  color: #2A2A32;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
a {
  color: #20446A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #79B47E;
  text-decoration: underline;
}
input, select, textarea, button {
  font-family: inherit;
  font-size: 1em;
  border: none;
  outline: none;
  background: none;
}

/* FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #20446A;
}
h1 { font-size: 2.375rem; margin-bottom: 20px; line-height: 1.1; }
h2 { font-size: 1.75rem; margin-bottom: 18px; line-height: 1.15; }
h3 { font-size: 1.25rem; margin-bottom: 14px; line-height: 1.2; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }

strong { font-weight: 600; }

/* SOFT PASTEL COLORS */
:root {
  --primary: #20446A;
  --secondary: #79B47E;
  --accent: #F3F6FA;
  --white: #fff;
  --pastel-pink: #FFE0EC;
  --pastel-blue: #D5E8FA;
  --pastel-green: #DFF9E1;
  --pastel-yellow: #FFF9D6;
  --pastel-purple: #E5D6FA;
  --dark-text: #24344E;
  --muted-text: #6C7B8A;
  --shadow: 0 2px 12px rgba(32, 68, 106, 0.08), 0 1.5px 6px rgba(32, 68, 106, 0.06);
  --border-radius: 18px;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER & NAVIGATION */
header {
  background: var(--accent);
  box-shadow: var(--shadow);
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  position: relative;
  padding-top: 8px;
  padding-bottom: 8px;
}
header img {
  height: 42px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  padding: 7px 11px;
  border-radius: 9px;
  transition: background 0.15s, color 0.15s;
}
nav a.cta-button {
  background: linear-gradient(90deg, #E5D6FA 0%, #DFF9E1 50%, #FFE0EC 100%);
  color: var(--primary);
  border-radius: 16px;
  font-weight: 700;
  padding: 8px 1.7em;
  margin-left: 7px;
  box-shadow: var(--shadow);
  border: none;
  transition: background 0.22s, color 0.15s, transform 0.17s;
}
nav a.cta-button:hover, nav a.cta-button:focus {
  background: linear-gradient(90deg, #D5E8FA 0%, #FFE0EC 100%);
  color: var(--secondary);
  transform: translateY(-1px) scale(1.025);
}
nav a:hover:not(.cta-button), nav a:focus:not(.cta-button) {
  background: var(--pastel-blue);
  color: var(--secondary);
}
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--white);
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 16px;
  top: 16px;
  border: none;
  box-shadow: var(--shadow);
  z-index: 130;
  cursor: pointer;
  transition: background 0.16s, color 0.14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--primary);
}

@media (max-width: 1024px) {
  nav {
    gap: 8px;
  }
}
@media (max-width: 800px) {
  nav {
    gap: 2px;
  }
}
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    justify-content: flex-start;
  }
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100vw;
  min-height: 100vh;
  background: rgba(243, 246, 250, 0.95);
  z-index: 99999;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.35,0.7,0.25,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 65px;
}
.mobile-menu-open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: var(--primary);
  color: var(--white);
  border: none;
  font-size: 2.1rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100010;
  cursor: pointer;
  transition: background 0.16s, color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 18px;
  padding: 32px 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.22rem;
  color: var(--primary);
  padding: 13px 0;
  border-radius: 10px;
  transition: background 0.14s, color 0.15s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus, .mobile-nav a.cta-button:hover, .mobile-nav a.cta-button:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}

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

/* MAIN SECTIONS */
main {
  min-height: 60vh;
}
section {
  background: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: var(--shadow);
  position: relative;
}
@media (max-width: 800px) {
  .container {
    padding: 0 8px;
  }
  section {
    padding: 28px 4px;
    margin-bottom: 34px;
  }
}

/* FLEX LAYOUTS PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px;
  flex: 1 1 280px;
  min-width: 280px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 36px rgba(32,68,106,0.16), 0 2.5px 17px rgba(32,68,106,0.08);
  transform: translateY(-2px) scale(1.03);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .footer-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--pastel-blue);
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(32,68,106,.06);
  color: var(--dark-text);
}
.testimonial-card strong {
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  display: block;
  margin-top: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.feature-grid > div {
  flex: 1 1 250px;
  min-width: 220px;
  background: var(--pastel-green);
  box-shadow: 0 1px 4px rgba(32,68,106,0.05);
  border-radius: 16px;
  padding: 16px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.17s, transform 0.13s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px rgba(32,68,106,0.14);
  transform: translateY(-2px) scale(1.04);
}
.feature-grid img {
  height: 42px;
  margin-bottom: 6px;
}

/* BUTTONS & INPUTS */
.cta-button, button, input[type="submit"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  background: linear-gradient(90deg,#D5E8FA 0%,#DFF9E1 100%);
  color: var(--primary);
  padding: 10px 34px;
  border-radius: 16px;
  border: none;
  margin: 5px 0 5px 0;
  cursor: pointer;
  box-shadow: var(--shadow);
  font-size: 1.12em;
  letter-spacing: 0.03em;
  transition: background 0.22s, color 0.16s, transform 0.13s;
}
.cta-button:hover, .cta-button:focus, button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: linear-gradient(90deg,#FFE0EC 0%, #DFF9E1 100%);
  color: var(--secondary);
  transform: translateY(-1px) scale(1.035);
}
input[type="text"], select, textarea {
  padding: 11px 15px;
  background: #F3F6FA;
  border-radius: 11px;
  border: 1.5px solid #E0E4F0;
  margin-bottom: 14px;
  font-size: 1em;
  transition: border-color 0.15s, box-shadow 0.14s;
  width: 100%;
  color: var(--primary);
}
input[type="text"]:hover, input[type="text"]:focus, select:hover, select:focus, textarea:hover, textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 2px 8px #D5E8FAaa;
}

label {
  font-size: 1em;
  margin-right: 7px;
  color: var(--muted-text);
}

/* LISTS */
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1.05em;
}
ul li img, ol li img {
  height: 22px;
  margin-right: 6px;
  vertical-align: middle;
}

ol {
  counter-reset: step;
  list-style-type: none;
  padding-left: 0;
}
ol li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
}
ol li > span {
  background: var(--pastel-purple);
  color: var(--primary);
  border-radius: 13px;
  font-size: 1em;
  font-weight: bold;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 2px;
}

/* FOOTER */
footer {
  background: var(--accent);
  border-top: 2.5px solid var(--primary);
  margin-top: 60px;
  padding: 45px 0 35px 0;
  box-shadow: 0 -1px 18px #e9ecf7ba;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 38px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1em;
  color: var(--primary);
  padding: 4.5px 10px;
  border-radius: 7px;
  transition: background 0.18s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}
.footer-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.footer-info img {
  width: 46px;
  height: 46px;
}
.footer-info p {
  color: var(--muted-text);
  font-size: 1em;
  margin-top: 4px;
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* CARDS/TABLES/UTILS */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
/* FAQ/Extras */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* HIERARCHY */
.section h2 {
  margin-bottom: 22px;
}
.section p {
  margin-bottom: 16px;
  color: var(--muted-text);
}
.section ul, .section ol {
  margin-bottom: 8px;
}

/* ANIMATIONS & MICROINTERACTIONS */
.cta-button, button, input[type="submit"], .card, .feature-grid > div, .testimonial-card {
  transition: background 0.22s, color 0.16s, box-shadow 0.19s, transform 0.15s;
}

/* BADGES / HIGHLIGHT */
.badge {
  display: inline-block;
  background: var(--pastel-yellow);
  color: var(--primary);
  font-size: 0.93em;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 8px;
  padding: 3.5px 11px;
  margin-left: 8px;
  font-weight: 600;
}

/* RESPONSIVE FLEX ADJUSTMENTS */
@media (max-width: 700px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 9px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg,#DFF9E1 0%,#FFE0EC 100%);
  color: var(--primary);
  box-shadow: 0 -2px 16px #D5E8FA66;
  z-index: 100089;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 8vw 22px 6vw;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.06em;
  animation: cookiefadein 0.85s;
}
@keyframes cookiefadein {
  from {opacity: 0; transform: translateY(38px);}
  to {opacity: 1; transform: none;}
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98em;
  border-radius: 12px;
  border: 0;
  padding: 9px 18px;
  background: var(--white);
  color: var(--primary);
  cursor: pointer;
  box-shadow: 0 1px 5px #dde4fe60;
  transition: background 0.11s, color 0.14s, transform 0.11s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
  transform: translateY(-1px) scale(1.07);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 17px 3vw;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 94vw;
  max-width: 390px;
  background: var(--white);
  box-shadow: 0 6px 48px #24344e44, 0 3px 12px #20446A18;
  border-radius: 19px;
  transform: translate(-50%,-50%) scale(0.98);
  z-index: 120384;
  padding: 34px 22px 26px 22px;
  display: none;
  flex-direction: column;
  gap: 22px;
  animation: cookiemodalfadein 0.44s;
}
@keyframes cookiemodalfadein {
  from {opacity: 0; transform: translate(-50%,-48%) scale(0.95);}
  to {opacity: 1; transform: translate(-50%,-50%) scale(1.0);}
}
.cookie-modal.open { display: flex; }
.cookie-modal-close {
  position: absolute;
  right: 19px;
  top: 15px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.22em;
  cursor: pointer;
}
.cookie-modal-close:hover {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--pastel-blue);
  border-radius: 8px;
  padding: 7px 11px;
  font-size: 1em;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 20px;
  height: 20px;
}
.cookie-category .category-desc {
  font-size: 0.97em;
  color: var(--muted-text);
}
.cookie-category.essential input[type="checkbox"] {
  display: none;
}
.cookie-category.essential:after {
  content: '(zawsze włączone)';
  font-size: 0.87em;
  color: var(--muted-text);
  margin-left: 10px;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal-actions button {
  font-size: 1em;
  padding: 8px 16px;
  border-radius: 9px;
}

/* PASTEL BACKGROUND DECORATIVE ELEMENTS (OPTIONAL) */
.pastel-bg-blur {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  width: 180px;
  height: 120px;
  left: -75px;
  top: -35px;
  background: linear-gradient(90deg, #D5E8FA 50%, #FFE0EC 100%);
  opacity: 0.15;
  filter: blur(42px);
  border-radius: 50%;
}
/* Add more .pastel-bg-blur in HTML as decorative, NOT as content! */

/* UTILS */
.mb-20 { margin-bottom: 20px; }
.mt-32 { margin-top: 32px; }
.gap-24 { gap: 24px; }

/* ACCESSIBILITY & FOCUS */
a:focus, button:focus, .cta-button:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
  z-index: 999;
}

/* ----- SCROLLBAR --------- */
::-webkit-scrollbar {
  width: 12px;
  background: #F3F6FA;
}
::-webkit-scrollbar-thumb {
  background: #E5D6FA;
  border-radius: 13px;
}

/* SPECIAL: TABLES/LISTS (in basic form - as almost no tabular layouts in HTML) */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 24px;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(32,68,106,0.05);
}
th, td {
  text-align: left;
  padding: 11px 7px;
  font-size: 1em;
}
th {
  background: var(--pastel-blue);
  color: var(--primary);
  font-weight: 700;
}
td {
  background: var(--white);
  color: var(--primary);
}

/* ------ FORMS (minimal as most forms are lists) ------ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
}

/* THANK YOU PAGE */
.thank-you-message {
  font-size: 1.22em;
  color: var(--secondary);
  margin-bottom: 28px;
}

/* DREAMY ATMOSPHERE SHADOWS & RADIUS */
.card, .feature-grid > div, .testimonial-card, section, .cookie-banner, .cookie-modal {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow) !important;
}

/* MICRO-ANIMATION FOR HOVER ON CARDS */
.card, .feature-grid > div {
  will-change: transform, box-shadow;
}

/*------------------- Responsive Headings -------------------*/
@media (max-width: 700px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 1.05rem; }
}

/* --------- COLOR ADJUSTMENTS FOR CONTRAST IN TESTIMONIALS --------- */
.testimonial-card {
  background: var(--pastel-blue);
  color: var(--dark-text);
  border-left: 4.5px solid var(--secondary);
}

/* END CSS */
