/* Prismatyczne Rozliczenia - Vibrant Energetic Style CSS */
/* CSS RESET & BASELINE */
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 { scroll-behavior: smooth; }
body { line-height: 1.5; min-height: 100vh; color: #222; background: #fff; }
*, *:before, *:after { box-sizing: inherit; }
a { color: inherit; text-decoration: none; transition: color 0.18s; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; height: auto; }
button, input[type="button"], input[type="submit"], .cta-button {
  font-family: inherit; font-size: inherit; line-height: inherit; background: none; border: none; cursor: pointer; outline: none;
}

/* VARIABLES (with fallbacks) */
:root {
  --primary: #195995;
  --secondary: #ffffff;
  --accent: #28A745;
  --accent-dark: #1b6e31;
  --vibrant-cyan: #16bcf8;
  --vibrant-magenta: #c91fc9;
  --vibrant-yellow: #ffe23a;
  --grey-bg: #F7F8FA;
  --card-shadow: 0 4px 16px 0 rgba(25, 89, 149, 0.08), 0 1.5px 10px -4px #19599555;
  --transition: 0.2s cubic-bezier(.57,1.4,.58,.97);
  --radius: 18px;
  --danger: #e53935;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: var(--grey-bg, #F7F8FA);
  color: #1a1a1a;
  font-size: 16px;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.18; }
h2 { font-size: 2rem; margin-bottom: 24px; line-height: 1.18; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4, h5 { font-size: 1.1rem; margin-bottom: 8px; }
p, li { font-size: 1rem; color: #222; line-height: 1.65; }
strong { color: var(--primary); font-weight: 700; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.section { margin-bottom: 60px; padding: 40px 20px; background: none; }
@media (max-width: 768px) {
  .section { margin-bottom: 32px; padding: 24px 8px; }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(90deg, var(--primary), var(--vibrant-cyan) 70%);
  color: #fff;
  padding: 50px 0 50px 0;
  min-height: 320px;
}
.hero h1 {
  color: #fff;
  font-size: 2.5rem;
  text-shadow: 0 4px 24px #19599544;
}
.hero p {
  color: #f4f4f4;
  font-size: 1.17rem;
  margin-bottom: 24px;
  max-width: 700px;
}
@media (max-width: 768px) {
  .hero { padding: 28px 0 24px 0; }
  .hero h1 { font-size: 1.5rem; }
}

/* BUTTONS AND CALLS TO ACTION */
.cta-button {
  background: linear-gradient(90deg, var(--accent), var(--vibrant-cyan));
  color: #fff;
  padding: 15px 38px;
  border-radius: 38px;
  font-size: 1.14rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  box-shadow: 0 4px 20px 0 #28a74544;
  letter-spacing: 0.03em;
  transition: background 0.15s, box-shadow var(--transition), transform var(--transition);
  border: none;
  display: inline-block;
  margin-top: 8px;
  margin-bottom: 8px;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, var(--vibrant-magenta), var(--accent));
  color: #fff;
  box-shadow: 0 8px 24px 0 #c91fc988, 0 2px 12px -4px #19599533;
  transform: translateY(-2px) scale(1.04);
}

button,
input[type="button"],
input[type="submit"] {
  background: var(--accent, #28A745);
  color: #fff;
  border-radius: 9px;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  transition: background 0.15s, box-shadow var(--transition), transform var(--transition);
  padding: 12px 26px;
}
button:hover,
input[type="button"]:hover {
  background: var(--primary, #195995);
  color: #fff;
  box-shadow: 0 4px 16px #19599522, 0 0.5px 3px #1b6e3122;
  transform: scale(1.02);
}

/* MAIN MENU */
.main-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.main-menu a {
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.015em;
  padding: 7px 0 6px 0;
  border-bottom: 2.5px solid transparent;
  position: relative;
  transition: color 0.16s, border-color 0.16s;
}
.main-menu a:hover,
.main-menu a:focus {
  color: var(--accent);
  border-color: var(--vibrant-cyan);
}
.main-menu .cta-button {
  margin-left: 14px;
  font-size: 1rem;
  padding: 12px 22px;
}

header {
  background: var(--secondary, #fff);
  width: 100%;
  box-shadow: 0 2px 14px 0 #dee5ef33;
  z-index: 100;
  position: relative;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  padding-top: 18px;
  padding-bottom: 14px;
}
header img {
  height: 40px;
  width: auto;
  margin-right: 24px;
}
@media (max-width: 992px) {
  .main-menu { gap: 12px; }
  header .container {gap:14px;}
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    padding-top: 8px; padding-bottom: 8px;
  }
  .main-menu { display: none !important; }
}

/* MOBILE MENU STYLES */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 2500;
  background: var(--accent);
  width: 46px;
  height: 46px;
  color: #fff;
  font-size: 2rem;
  border-radius: 14px;
  box-shadow: 0 2px 14px #28a74533;
  border: none;
}
@media (max-width: 768px) {
  .mobile-menu-toggle { display: flex; align-items: center; justify-content: center; }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 88vw;
  max-width: 375px;
  height: 100vh;
  background: var(--primary);
  color: #fff;
  z-index: 3000;
  transform: translateX(102%);
  transition: transform 0.32s cubic-bezier(0.65,0,0.35,1);
  box-shadow: -3px 0 30px #1b6e3177;
  padding: 32px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 4000;
  cursor: pointer;
  opacity: 0.95;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px 30px 30px 36px;
}
.mobile-nav a {
  color: #fff;
  padding: 12px 0;
  font-size: 1.11rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border-bottom: 1px solid #28a74533;
  transition: color 0.14s, background 0.15s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  background: #fff2;
}

@media (max-width: 768px) {
  .mobile-menu {
    display: flex;
  }
}

/* GENERAL FLEXBOX LAYOUTS */
.card-container, .card-grid, .features .content-wrapper, .services .content-wrapper, .benefits .content-wrapper, .blog-list .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  min-width: 220px;
  max-width: 370px;
  background: #fff;
  box-shadow: var(--card-shadow);
  border-radius: var(--radius);
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
  border-left: 7px solid var(--accent);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 42px #16bcf888;
  transform: scale(1.035) translateY(-4px);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Features List/Icon List */
.features ul, .about ul, .benefits ul, .services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 34px;
  align-items: flex-start;
  margin-top: 10px;
  margin-bottom: 20px;
}
.features ul li,
.about ul li,
.benefits ul li,
.services ul li {
  background: #fff;
  color: var(--primary);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  font-size: 1.08rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  gap: 14px;
  padding: 18px 24px;
  min-width: 240px;
  min-height: 44px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.features ul li:hover, .about ul li:hover, .benefits ul li:hover, .services ul li:hover {
  box-shadow: 0 8px 42px #19599511, 0 2px 20px -4px #28a74533;
  transform: scale(1.04);
}
.features ul img,
.about ul img,
.benefits ul img,
.services ul img {
  height: 36px;
  width: 36px;
}

/* ABOUT SECTION */
.about .content-wrapper { gap: 24px; }

/* TESTIMONIALS SECTION */
.testimonials { background: var(--vibrant-yellow); margin-bottom: 60px; padding: 40px 0 40px 0; }
.testimonials h2 { color: var(--primary); }
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.testimonial-card p {
  color: #232323;
  font-size: 1.11rem;
  font-style: italic;
  line-height: 1.5;
}
.testimonial-card strong {
  color: var(--primary);
  font-weight: 700;
}

/* Pricing Table */
.pricing table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  font-family: 'Roboto', sans-serif;
  overflow: hidden;
  margin-bottom: 28px;
}
.pricing th, .pricing td {
  padding: 16px 18px;
  text-align: center;
  border-bottom: 1.5px solid #e8e8e8;
  font-size: 1.08rem;
}
.pricing th {
  background: var(--vibrant-cyan);
  color: #fff;
  font-family: 'Montserrat',sans-serif;
  font-weight: 800;
}
.pricing tr:last-child td { border-bottom: none; }
.pricing em { color: var(--primary); }

/* BLOG SECTION */
.blog-list input[type="search"] {
  width: 100%;
  max-width: 400px;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1.8px solid var(--primary);
  border-radius: 32px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.17s;
}
.blog-list input[type="search"]:focus {
  border-color: var(--accent);
  background: #f8f6ff;
}
.blog-list ul {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.blog-list li {
  background: #fff;
  box-shadow: var(--card-shadow);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-list li:hover {
  box-shadow: 0 6px 24px #16bcf827;
  transform: translateY(-2px);
}
.blog-categories a {
  color: var(--primary);
  background: #ffe23a44;
  padding: 4px 14px;
  border-radius: 12px;
  margin-right: 7px;
  transition: background 0.18s;
  font-size: 0.95rem;
}
.blog-categories a:hover {
  background: var(--vibrant-magenta);
  color: #fff;
}

/* CONTACT SECTION */
.contact .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.contact ul {
  flex: 2 1 380px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.06rem;
  color: var(--primary);
}
.contact ul img {
  height: 28px;
  width: 28px;
}
.contact .map {
  flex: 1 1 300px;
  min-width: 200px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  padding: 18px;
  height: auto;
  max-width: 340px;
}
@media (max-width: 1000px) {
  .contact .content-wrapper { flex-direction: column; }
  .contact .map { max-width: 100%; justify-content: center; }
}

/* CTA SECTIONS */
.cta {
  background: linear-gradient(90deg, var(--vibrant-magenta), var(--vibrant-cyan) 115%);
  color: #fff;
  padding: 40px 0 34px 0;
  text-align: center;
  border-radius: 0 0 26px 26px;
  margin-bottom: 60px;
  box-shadow: 0 3px 34px #c91fc922;
}
.cta h2 {
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 3px 18px #1b6e3166;
}
.cta .cta-button { margin-top: 16px; }

/* LEGAL/TEXT PAGES */
.legal {
  background: #fff;
  box-shadow: var(--card-shadow);
  border-radius: var(--radius);
  padding: 28px 22px;
  margin-bottom: 60px;
}
.legal h1 { margin-bottom: 26px; }
.legal h2 { margin-bottom: 16px; }
.legal ul {
  padding-left: 18px;
  list-style: disc;
  color: var(--primary);
}
.legal li { margin-bottom: 8px; }

.confirmation .content-wrapper {
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--card-shadow);
  padding: 48px 28px;
}
.confirmation h1 { color: var(--primary); }

/* FOOTER */
footer {
  background: var(--primary);
  color: #fff;
  padding-top: 48px;
  padding-bottom: 32px;
  font-size: 0.98rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid #ffffff1a;
  padding-bottom: 24px;
  margin-bottom: 18px;
  gap: 20px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}
.footer-menu a {
  color: #fff;
  font-weight: 600;
  font-family: 'Montserrat',sans-serif;
  padding: 8px 0;
  opacity: 0.85;
  transition: color 0.14s, opacity 0.13s;
}
.footer-menu a:hover { color: var(--accent); opacity: 1; }
footer img {
  height: 40px;
  margin-right: 18px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 18px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.01rem;
  color: #ffe23a;
  min-width: 210px;
}
.footer-contact img { height: 24px; width: 24px; vertical-align: middle; margin-right: 7px; }
.footer-legal {
  text-align: right;
  flex: 1 1 180px;
  color: #f3f7fc;
  opacity: 0.85;
  font-size: 0.86rem;
  align-self: flex-end;
}
@media (max-width: 768px) {
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { text-align: left; margin-top: 16px; }
  footer img { margin-bottom: 8px; }
}

/* MOBILE RESPONSIVE ADJUSTMENTS */
@media (max-width: 1100px) {
  .card-container, .card-grid, .features .content-wrapper, .services .content-wrapper, .benefits .content-wrapper, .blog-list .content-wrapper, .footer-bottom {
    gap: 14px;
  }
}
@media (max-width: 992px) {
  .features ul, .about ul, .benefits ul, .services ul, .testimonials .content-wrapper {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .container { padding: 0 5px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  .section, .cta, .testimonials, .legal, .confirmation .content-wrapper {
    border-radius: 12px;
    padding: 14px 7px;
  }
  .content-grid, .card-container, .features .content-wrapper, .services .content-wrapper, .benefits .content-wrapper, .blog-list .content-wrapper { flex-direction: column; gap: 10px; }
  .text-image-section { flex-direction: column; gap: 14px; }
  .footer-contact { font-size: 0.97rem; }
}

/* INTERACTIVE STATES, MICRO-INTERACTIONS */
::-webkit-input-placeholder { color: #aaa; }
::-moz-placeholder { color: #aaa; }
:-ms-input-placeholder { color: #aaa; }
::placeholder { color: #aaa; }
input, textarea, select {
  border-radius: 7px;
  border: 1.2px solid #dde7f0;
  padding: 8px 12px;
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom:12px;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent, #28A745);
  outline: none;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 9999;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -2px 16px #19599522;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: center;
  padding: 22px 14px 22px 18px;
  font-size: 1.04rem;
  font-family: 'Roboto',sans-serif;
  animation: slideUp 0.5s cubic-bezier(.56,1.3,0.58,1) 1;
}
@keyframes slideUp {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner-buttons {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-left: 10px;
}
.cookie-consent-banner button {
  background: var(--accent, #28A745);
  color: #fff;
  border-radius: 24px;
  padding: 9px 22px;
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  margin:0 2px;
  transition: background 0.16s, box-shadow 0.16s;
  border: none;
  font-size: 1rem;
}
.cookie-consent-banner .cookie-settings-btn {
  background: #fff;
  color: var(--primary);
  border: 1.6px solid var(--primary);
  box-shadow: none;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: var(--primary, #195995);
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed; left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(25, 89, 149, 0.28);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.32s;
}
@keyframes fadeIn {
  from { opacity:0; } to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  padding: 36px 26px 28px;
  border-radius: 18px;
  box-shadow: 0 8px 46px 4px #16bcf877;
  min-width: 320px;
  max-width: 98vw;
  color: var(--primary);
  font-family: 'Roboto',sans-serif;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-title {
  font-family: 'Montserrat',sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  border: none;
  background: none;
  color: var(--primary);
  font-size: 1.8rem;
  cursor: pointer;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-size: 1.06rem;
  padding: 8px 0;
}
.cookie-category input[type="checkbox"] {
  margin-right: 6px;
  accent-color: var(--accent, #28A745);
  width: 20px;
  height: 20px;
}
.cookie-category.essential input[type="checkbox"] {
  accent-color: var(--primary);
}

.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  align-items:flex-end;
}
.cookie-modal-actions button {
  background: var(--accent, #28A745);
  color: #fff;
  border-radius: 18px;
  padding: 9px 24px;
  font-size: 1rem;
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  border: none;
}
.cookie-modal-actions .cookie-modal-close-btn {
  background: none;
  color: var(--primary, #195995);
  border: 1.4px solid var(--primary);
}
.cookie-modal-actions button:hover {
  background: var(--primary);
}
@media (max-width: 500px) {
  .cookie-modal { min-width: 0; padding:14px 4px 14px 10px; }
  .cookie-category { font-size: 0.99rem; }
}

/* Animations for focus and interaction */
a, button, .cta-button { outline-color: var(--vibrant-cyan); outline-width: 2.5px; outline-offset: 1.8px; }
a:focus-visible, .cta-button:focus-visible { outline: 2.5px solid var(--vibrant-cyan); }

/* Table responsiveness */
@media (max-width: 600px) {
  .pricing table, .pricing thead, .pricing tbody, .pricing th, .pricing td, .pricing tr {
    display: block;
    width: 100%;
  }
  .pricing th, .pricing td {
    text-align: left;
    padding: 9px 10px;
  }
  .pricing thead { display: none; }
  .pricing tr { border-bottom: 1.3px solid #dde7f0; }
}

/* Miscellaneous Spacing Adjustments */
.section, .testimonials, .cta, .legal {
  margin-bottom: 60px;
}
@media (max-width: 600px) {
  .section, .testimonials, .cta, .legal {
    margin-bottom: 24px;
  }
}

/* Z-INDEX layering to guarantee no overlap */
header { z-index: 100; }
.mobile-menu { z-index: 3000; }
.mobile-menu-toggle { z-index: 3500; }
.cookie-consent-banner { z-index: 9999; }
.cookie-modal-overlay { z-index: 10000; }

/* Hide elements visually only */
.visually-hidden { position: absolute!important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
