/* RESET & BASE STYLES (normalize + adjustment) */
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 { scroll-behavior: smooth; }
body {
  background: #FAF8FF;
  color: #443465;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #5A319C;
  text-decoration: none;
  transition: color .2s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #A07309;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
  color: #5A319C;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #5A319C;
  margin-bottom: 18px;
  letter-spacing: 0.015em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 22px;
}
h3 {
  font-size: 1.26rem;
  font-weight: 600;
  margin-bottom: 13px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 9px;
}
.hero-subline {
  font-size: 1.1rem;
  font-weight: 500;
  color: #6B529B;
  margin-bottom: 28px;
}

/* LAYOUT UTILS */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* CARD & FLEX SPACING */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(90,49,156,0.08);
  margin-bottom: 20px;
  position: relative;
  padding: 26px 22px;
  transition: box-shadow .25s, transform .18s;
  min-width: 240px;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(90,49,156,0.17);
  transform: translateY(-2px) scale(1.025);
}
.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: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F7F6FB;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(90,49,156,0.07);
  color: #3D2868;
  margin-bottom: 20px;
  min-width: 280px;
  max-width: 500px;
}
.testimonial-author {
  font-size: 1rem;
  color: #5A319C;
  font-style: italic;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* BRANDING STYLES, BUTTONS, EFFECTS */
.cta-button, .service-cta {
  display: inline-block;
  background: #5A319C;
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 32px;
  letter-spacing: 0.02em;
  padding: 13px 32px;
  margin-top: 12px;
  border: none;
  box-shadow: 0 2px 11px rgba(90,49,156,0.11);
  cursor: pointer;
  transition: background .26s, color .18s, transform .15s, box-shadow .22s;
}
.cta-button:hover, .service-cta:hover, .cta-button:focus, .service-cta:focus {
  background: #874DDB;
  color: #fff;
  transform: translateY(-1px) scale(1.035);
  box-shadow: 0 4px 18px rgba(160,115,9,0.09), 0 8px 30px rgba(90,49,156,0.14);
}

.service-cta {
  background: #A07309;
  color: #fff;
  margin-top: 10px;
}
.service-cta:hover, .service-cta:focus {
  background: #D7A42D;
  color: #fff;
}
.service-price {
  display: inline-block;
  background: #F7EDD9;
  color: #A07309;
  font-weight: 600;
  border-radius: 16px;
  padding: 6px 18px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin: 10px 0 4px;
}

/* FEATURE BOXES (home) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 12px;
}
.feature {
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 3px 14px rgba(90,49,156,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 22px 25px 22px;
  min-width: 250px;
  flex: 1 1 270px;
  transition: box-shadow .2s, transform .18s;
  margin-bottom: 20px;
}
.feature img {
  height: 62px;
  margin-bottom: 8px;
}
.feature:hover {
  box-shadow: 0 7px 24px rgba(90,49,156,0.15);
  transform: translateY(-2px) scale(1.03);
}

/* SERVICES LISTS */
.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 12px;
}
.services-list li {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(90,49,156,0.09);
  padding: 26px 22px 21px 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .23s, transform .15s;
}
.services-list li:hover {
  box-shadow: 0 8px 28px rgba(160,115,9,0.10), 0 14px 30px rgba(90,49,156,0.10);
  transform: translateY(-2px) scale(1.019);
}

/* TABLES (Cennik) */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  background: #FFF;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 2px 9px rgba(90,49,156,0.07);
}
thead tr {
  background: #F7F6FB;
}
th, td {
  padding: 16px 12px;
  text-align: left;
}
th {
  font-size: 1.08rem;
  font-weight: 700;
  color: #5A319C;
}
td {
  font-size: 1rem;
  border-top: 1px solid #EDDFFF;
}
tbody tr:nth-child(odd) {
  background: #FAF8FF;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* CATEGORY TAGS */
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.category-tags span {
  background: #F4EFFF;
  color: #5A319C;
  border-radius: 16px;
  padding: 7px 18px;
  font-size: .97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background .2s;
}
.category-tags span:hover, .category-tags span:focus {
  background: #E1D6FA;
}

/* FOOTER */
footer {
  background: #5A319C;
  color: #fff;
  padding: 36px 0 26px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo {
  flex: 0 0 auto;
  margin-bottom: 16px;
}
.footer-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 0 9px #bc98db66);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0 38px 0 18px;
}
.footer-nav a {
  color: #E4CCE5;
  font-size: .99rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.03em;
  transition: color .17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff7d5;
}
.footer-contact {
  font-size: .98rem;
  color: #F9EBFB;
}
footer p {
  margin-bottom: 4px;
}

/* HEADER */
header {
  background: #FFFFFF;
  box-shadow: 0 7px 22px rgba(90,49,156,0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 18px;
}
.logo img {
  width: 154px;
  height: 44px;
  object-fit: contain;
  display: block;
  margin: 0 10px 0 0;
  filter: drop-shadow(0 0 6px #bc98db22);
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  color: #5A319C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color .15s, text-decoration .18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #A07309;
}
.mobile-menu-toggle {
  display: none;
  background: #F4EFFF;
  color: #5A319C;
  border: none;
  font-size: 2.2rem;
  border-radius: 14px;
  padding: 9px 17px;
  margin-left: 10px;
  transition: background .2s, color .18s;
  cursor: pointer;
  z-index: 110;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E1D6FA;
  color: #A07309;
}

/* MOBILE NAV - OVERLAY & ANIMATION */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(250,248,255,.95);
  z-index: 1002;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 0 0 0;
  box-sizing: border-box;
  transform: translateX(100%);
  opacity: 0;
  transition: transform .32s cubic-bezier(.5,.2,.3,1), opacity .22s;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: #F7EDD9;
  color: #A07309;
  border: none;
  font-size: 2rem;
  padding: 6px 19px 6px 9px;
  border-radius: 10px;
  align-self: flex-end;
  margin: 0 24px 18px 0;
  cursor: pointer;
  transition: background .2s, color .16s;
  z-index: 110;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #D7A42D;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding-left: 32px;
}
.mobile-nav a {
  color: #5A319C;
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: none;
  border: none;
  padding: 14px 0;
  transition: color .17s;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #A07309;
  text-decoration: underline;
  background: none;
}

/* HERO/COMMON SECTIONS */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
section .container {
  flex-direction: column;
  align-items: stretch;
}
.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}


/* COOKIES BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: #F7F6FB;
  box-shadow: 0 -4px 22px rgba(90,49,156,.11);
  color: #3D2868;
  padding: 24px 12px 24px 18px;
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border-radius: 16px 16px 0 0;
  opacity: 1;
  transition: opacity .32s, transform .33s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner p {
  flex: 2;
  margin-right: 18px;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  background: #5A319C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 24px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  margin-right: 6px;
  transition: background .2s, color .2s, transform .13s;
}
.cookie-btn.reject {
  background: #A07309;
}
.cookie-btn.settings {
  background: #F7EDD9;
  color: #A07309;
  border: 1px solid #D7A42D;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #874DDB;
  color: #fff;
  transform: scale(1.04);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #D7A42D;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #EDDFFF;
  color: #5A319C;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10001;
  background: rgba(44, 26, 56, 0.26);
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity .18s;
}
.cookie-modal-overlay.show {
  display: flex;
}
.cookie-modal {
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 8px 48px rgba(90,49,156,0.13);
  min-width: 340px;
  max-width: 98vw;
  padding: 40px 28px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeInScale .44s cubic-bezier(.66,.02,.38,.94);
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(.88); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  color: #5A319C;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 12px;
  font-size: 1.4rem;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 600;
  color: #5A319C;
  margin-left: 4px;
}
.cookie-category input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: #A07309;
}
.cookie-category.essential label {
  color: #A07309;
}
.cookie-modal .cookie-btn {
  margin-top: 10px;
}
.close-cookie-modal {
  position: absolute;
  top: 9px; right: 12px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #A07309;
  cursor: pointer;
  transition: color .19s;
}
.close-cookie-modal:hover, .close-cookie-modal:focus {
  color: #5A319C;
}

/* RESPONSIVENESS - MOBILE-FIRST */
@media (max-width: 990px) {
  .container {
    max-width: 98vw;
  }
  .feature-grid, .services-list {
    flex-direction: column;
  }
  .main-nav {
    gap: 13px;
  }
}
@media (max-width: 850px) {
  .feature {
    min-width: 220px;
    padding: 26px 12px 21px 12px;
  }
  .card {
    min-width: 190px;
    padding: 21px 13px;
  }
  th, td {
    padding: 13px 7px;
  }
  .footer-logo img {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header .container {
    flex-direction: row;
    gap: 10px;
    padding: 0 10px;
  }
  .main-nav {
    display: none;
  }
  .cta-button {
    padding: 11px 22px;
    font-size: 1rem;
    margin-top: 9px;
  }
  .logo img {
    width: 120px; height: 32px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    padding-top: 15px;
  }
  .footer-nav {
    margin: 0 0 22px 0;
    gap: 6px;
  }
  .footer-contact {
    font-size: .96rem;
  }
}
@media (max-width: 650px) {
  section,
  .section {
    padding: 28px 0 32px 0;
  }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.07rem; }
  .testimonial-card {
    max-width: 98vw;
    padding: 14px 9px;
  }
  .feature {
    min-width: 90vw;
    flex: 1 1 90vw;
  }
  .feature-grid {
    gap: 18px;
  }
  .card-container {
    gap: 11px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 4px;
  }
  section,
  .section {
    padding: 13px 0 12px 0;
  }
  h1, h2, h3, h4, h5, h6 {
    margin-bottom: 9px;
  }
  .hero-subline {
    font-size: .99rem;
    margin-bottom: 16px;
  }
  .content-wrapper {
    gap: 10px;
  }
  .footer-logo img {
    width: 26px; height: 26px;
  }
  .footer-contact {
    padding-bottom: 8px;
  }
}
@media (max-width: 660px) {
  .feature-grid {
    flex-direction: column;
    gap: 13px;
  }
  .services-list {
    gap: 12px;
  }
  .card-container {
    gap: 11px;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 18px !important;
  }
}

/* TESTIMONIAL SLIDER (Home) */
.testimonial-slider {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 8px;
}

/* UTILITIES AND HELPER CLASSES */
.mt-16 { margin-top: 16px !important; }
.mt-32 { margin-top: 32px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-16 { margin-bottom: 16px !important; }

/* FOCUS & ACCESSIBILITY */
a, button, .cta-button, .service-cta, .cookie-btn {
  outline: none;
}
a:focus-visible, button:focus-visible, .cta-button:focus-visible, .service-cta:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid #A07309;
  outline-offset: 2px;
}

/* PSEUDO BACKGROUND EFFECTS FOR SOFT/PASTEL LOOKS */
section {
  background:
    linear-gradient(137deg, #F7F6FB 70%, #EAE0F3 100%)
    no-repeat;
  border-radius: 22px;
}

/* SCROLLBAR SOFTNESS */
::-webkit-scrollbar {
  width: 10px;
  background: #F7F6FB;
}
::-webkit-scrollbar-thumb {
  background: #D7A42D44;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #D7A42D77;
}

/* END */
