/* 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, 
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #354055;
  background: #F9F6F2;
  font-size: 16px;
  min-height: 100vh;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
}
[hidden] { display: none !important; }
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  padding-left: 1.25em;
  margin-bottom: 1em;
}
li + li {
  margin-top: 0.5em;
}

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

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #354055;
  line-height: 1.15;
  margin-bottom: 0.2em;
  font-weight: 700;
}
h1 { font-size: 2.25rem; margin-bottom: 0.6em; }
h2 { font-size: 1.5rem; margin-bottom: 0.5em; }
h3 { font-size: 1.13rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 500; }
p, .subtitle, .thankyou-message {
  margin-bottom: 1.25em;
  color: #534e4e;
}
.subtitle {
  font-size: 1.12rem;
  color: #7e645a;
}
.container {
  max-width: 1160px;
  padding: 0 18px;
  margin: 0 auto;
  width: 100%;
}

/* HEADER */
header {
  background: #fff6ef;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px 0 rgb(230 180 130 / 9%);
}
.logo img {
  height: 44px;
  width: auto;
  border-radius: 12px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 38px;
}
.main-nav a {
  padding: 7px 10px;
  border-radius: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #354055;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #fde9d2;
  color: #789262;
}
.btn-primary {
  background: #789262;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 20px;
  padding: 10px 26px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 2px 16px 0 rgba(120,146,98,0.10);
  margin-left: 22px;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  cursor: pointer;
  outline: none;
  display: inline-block;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #354055;
  color: #fff6ef;
  box-shadow: 0 4px 18px 0 rgba(120,146,98,0.18);
}
.mobile-menu-toggle {
  display: none;
  background: #ffdcb1;
  color: #354055;
  font-size: 2.15rem;
  border: none;
  border-radius: 14px;
  padding: 2px 14px 2px 14px;
  margin-left: 18px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(222,176,123,0.12);
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #ffe7c8;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,244,224,0.98);
  box-shadow: 0 0 40px 0 rgba(90,60,20,0.15);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.77,.21,.38,.97);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #789262;
  font-size: 2.5rem;
  padding: 19px 25px 9px 15px;
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  z-index: 10;
  border-radius: 0 0 0 24px;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #f6eddc;
}
.mobile-nav {
  margin-top: 62px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #354055;
  padding: 12px 0 12px 0;
  border-radius: 11px;
  width: 80vw;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #fde9d2;
  color: #789262;
}

/* HERO SECTIONS */
.hero {
  background: #fff7eb;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 6px 36px -10px rgba(230,180,130,0.09);
  margin-bottom: 60px;
  padding: 40px 0 36px 0;
}
.hero .container,
.section .container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* SECTIONS AND FLEX PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 29px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 14px 0 rgba(90,60,20,0.07);
  padding: 32px 22px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 270px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(90,60,20,0.14);
  transform: translateY(-3px) scale(1.02);
}
.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;
  margin-bottom: 60px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(90,60,20,0.1);
  border-radius: 19px;
  gap: 20px;
  padding: 20px;
  min-width: 240px;
  max-width: 360px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px 0 rgba(90,60,20,0.18);
  transform: translateY(-2.5px);
}
.testimonials .testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
  background: #fff8ed;
  border-radius: 14px;
  box-shadow: 0 1px 6px 0 rgba(221,160,80,0.10);
  padding: 19px 18px;
}

/* FEATURE GRID ON HOMEPAGE */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 35px;
  margin-bottom: 35px;
  justify-content: center;
}
.feature {
  flex: 1 1 210px;
  max-width: 250px;
  min-width: 190px;
  text-align: center;
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 2px 14px -3px rgba(221,160,80,0.09);
  padding: 25px 18px 20px 18px;
  transition: box-shadow 0.16s, transform 0.11s;
}
.feature:hover {
  box-shadow: 0 8px 32px 0 rgba(90,60,20,0.14);
  transform: scale(1.04);
}
.feature img {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
}

/* SERVICES LIST */
.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 30px;
}
.services-list li {
  background: #fff8ed;
  border-radius: 15px;
  box-shadow: 0 1px 8px 0 rgba(221,160,80,0.09);
  padding: 20px 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
}
.service-price {
  background: #f5dcc6;
  color: #354055;
  border-radius: 13px;
  padding: 5px 16px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-left: 12px;
  display: inline-block;
}

/* CTA SECTION */
.cta-section {
  background: #fde0bb;
  border-radius: 26px;
  box-shadow: 0 2px 28px 0 rgba(233,198,143,0.10);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.cta-section .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 13px;
}
.cta-section p {
  max-width: 530px;
  color: #836c4c;
}

/* FOOTER */
footer {
  background: #354055;
  color: #fff;
  border-radius: 22px 22px 0 0;
  margin-top: 60px;
  padding-top: 14px;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 18px 30px 18px;
  max-width: 1160px;
  margin: 0 auto;
}
.footer-wrapper > a {
  display: flex;
  align-items: center;
}
.footer-wrapper img {
  height: 50px;
  width: auto;
  border-radius: 13px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 180px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 9px;
  padding: 7px 8px 7px 0;
  transition: background 0.15s, color 0.12s;
}
.footer-nav a:hover {
  background: #789262;
  color: #fff6e7;
}
.footer-contact {
  font-size: 0.98rem;
  color: #f5e7c7;
  margin-top: 7px;
  word-break: break-word;
}

/* SECTIONS FOR POLICY AND LEGAL PAGES */
.privacy-policy, .rodo-section, .cookies-policy, .terms-section {
  background: #fff8ed;
  border-radius: 17px;
  box-shadow: 0 1px 14px 0 rgba(221,160,80,0.06);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section h1, .text-section h2, .text-section h3, .text-section h4 {
  color: #354055;
  margin-bottom: 11px;
}
.text-section ul, .text-section ol {
  margin-left: 1em;
  margin-bottom: 16px;
}

/* BLOG LISTS */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.blog-teaser {
  flex: 1 1 280px;
  min-width: 225px;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 1px 16px 0 rgba(221,160,80,0.09);
  padding: 22px 18px 21px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.12s, transform 0.11s;
}
.blog-teaser:hover {
  box-shadow: 0 4px 18px 0 rgba(90,60,20,0.14);
  transform: scale(1.03);
}
.read-more {
  color: #789262;
  font-weight: 600;
  text-decoration: underline;
  font-size: 1rem;
  margin-top: 7px;
  transition: color 0.13s;
}
.read-more:hover { color: #354055; }
.blog-categories {
  margin-top: 14px;
}
.blog-categories ul {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.blog-categories li {
  background: #f5dcc6;
  color: #354055;
  border-radius: 9px;
  padding: 6px 13px;
  font-size: 0.98rem;
}

/* CASE STUDY SUMMARIES (REALIZACJE) */
.case-summary {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 8px 0 rgba(221,160,80,0.13);
  padding: 20px 16px;
  margin-bottom: 24px;
}
.case-summary h3 {
  color: #789262;
  margin-bottom: 10px;
  font-size: 1.09rem;
}

/*************************/
/* CONTACT PAGE COMPONENTS */
/*************************/
.contact-section {
  background: #fff8ed;
  border-radius: 18px;
  box-shadow: 0 1px 11px 0 rgba(221,160,80,0.08);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.contact-details-block {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 22px;
}
.contact-address, .contact-hours, .contact-map {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 7px 0 rgba(221,160,80,0.09);
  padding: 18px 16px;
  flex: 1 1 210px;
}
.contact-address ul {
  list-style: none;
  padding-left: 0;
}
.contact-address li{
  margin-bottom: 5px;
}

/***************************/
/* THANK-YOU PAGE COMPONENTS */
/***************************/
.thankyou-section {
  background: #fde0bb;
  border-radius: 20px;
  box-shadow: 0 2px 24px 0 rgba(233,198,143,0.08);
  padding: 40px 0 42px 0;
}
.thankyou-message {
  font-size: 1.1rem;
  color: #5B5B4F;
  margin-bottom: 1.8em;
}

/***********************************/
/* ---- FLEXBOX PADDING PATTERNS ---*/
/***********************************/
/* These are already applied above to corresponding classes */
/* .section, .card-container, .card, .content-grid, .text-image-section, .testimonial-card, .feature-item */
/***********************************/

/******************/
/* INTERACTIVE ELEMENTS */
/******************/
button, .btn-primary {
  cursor: pointer;
  outline: none;
  transition: background 0.17s, color 0.17s, box-shadow 0.17s;
}
button:active, .btn-primary:active {
  box-shadow: 0 1px 6px #d9a46830;
  opacity: 0.92;
}


/* MICRO-INTERACTIONS */
a, .btn-primary, button {
  transition: background 0.13s, color 0.11s, box-shadow 0.17s, transform 0.13s;
}
a:active, .btn-primary:active, button:active {
  transform: scale(0.98);
}

/**********************/
/* RESPONSIVE DESIGN */
/**********************/
@media (max-width: 1100px) {
  .footer-wrapper { flex-direction: column; gap: 28px; align-items: flex-start; }
  .feature-grid { gap: 18px; }
}
@media (max-width: 900px) {
  .container { max-width: 99vw; }
  .feature-grid, .blog-list { gap: 16px; }
  .footer-wrapper { gap: 18px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .btn-primary { margin-left: 0; }
  .mobile-menu-toggle { display: block; }
  .header { gap: 0; }
  .container, .section, .privacy-policy, .rodo-section, .cookies-policy, .terms-section, .cta-section, .contact-section {
    padding-left: 8px;
    padding-right: 8px;
  }
  .feature-grid, .blog-list, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card { min-width: 0; }
  .contact-details-block {
    flex-direction: column;
    gap: 12px;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 18px;
    padding: 18px 5px 28px 5px;
    align-items: flex-start;
  }
  .mobile-nav a {
    width: calc(100vw - 56px);
  }
  .hero .content-wrapper, .cta-section .content-wrapper {
    align-items: stretch;
    text-align: left;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}
@media (max-width: 520px) {
  .hero, .cta-section, .privacy-policy, .rodo-section, .cookies-policy, .terms-section, .contact-section, .thankyou-section {
    padding: 23px 2px;
  }
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1.08rem; }
  .feature,
  .card,
  .testimonial-card,
  .blog-teaser
  { min-width: 0; max-width: 100%; }
}

/************************************/
/* COOKIE CONSENT BANNER & MODAL   */
/************************************/
.cookie-consent-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: #fff8ed;
  color: #354055;
  border-radius: 19px;
  box-shadow: 0 2px 16px 0 rgba(221,160,80,0.13);
  padding: 20px 32px 18px 32px;
  z-index: 99999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  animation: fadeInBanner 0.55s cubic-bezier(.65,.05,.36,1) 0.17s both;
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
.cookie-consent-banner__text {
  flex: 1 1 230px;
  min-width: 150px;
  color: #534e4e;
}
.cookie-consent-banner__actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 13px;
  padding: 7px 19px;
  border: none;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  background: #789262;
  color: #fff;
  box-shadow: 0 2px 10px 0 rgba(120,146,98,0.08);
  transition: background 0.15s, color 0.13s;
}
.cookie-btn--secondary {
  background: #FFE7C8;
  color: #354055;
}
.cookie-btn--secondary:hover { background: #ffe1b7; color: #354055; }
.cookie-btn--settings {
  background: #f4dfc3;
  color: #354055;
  border: 1px solid #dcc19a;
}
.cookie-btn--settings:hover { background: #f4d2a7; }
.cookie-btn:hover, .cookie-btn:focus {
  background: #354055;
  color: #fff6ef;
}
.cookie-btn--settings:focus {
  background: #789262;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(50,32,0,0.16);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModalBg .3s cubic-bezier(.5,.13,.33,1) both;
}
@keyframes fadeInModalBg {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff8ed;
  border-radius: 18px;
  box-shadow: 0 8px 48px 0 rgba(221,160,80,0.14),0 1px 2px 0 #ddd8d3;
  max-width: 380px;
  width: 93vw;
  padding: 33px 28px 24px 28px;
  position: relative;
  z-index: 100001;
  animation: slideUpModal .44s cubic-bezier(.71,.19,.24,.97) both;
}
@keyframes slideUpModal {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  font-size: 1.28rem;
  margin-bottom: 15px;
  color: #354055;
}
.cookie-modal-category {
  background: #f9efd4;
  border-radius: 11px;
  padding: 12px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #55514b;
}
.cookie-modal-category__toggle {
  margin-left: auto;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #789262;
  width: 23px;
  height: 23px;
}
.cookie-modal .cookie-modal-category__desc {
  font-size: 0.95rem;
  color: #776b54;
}
.cookie-modal-footer {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 18px;
  flex-wrap: wrap;
}
/* Modal close button */
.cookie-modal-close {
  position: absolute;
  top: 8px;
  right: 15px;
  font-size: 1.7rem;
  color: #aaa;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 30px;
  padding: 2px 6px;
  transition: background 0.18s, color 0.1s;
}
.cookie-modal-close:hover { background: #fff6e0; color: #789262; }

@media (max-width: 600px) {
  .cookie-consent-banner { flex-direction: column; align-items: flex-start; padding: 12px 10px 12px 10px; left: 7px; right: 7px; }
  .cookie-modal { padding: 19px 10px 12px 10px; width: 97vw; }
}

/*****************************************/
/* ADDITIONAL ACCESSIBILITY & UTILITIES */
/*****************************************/
:focus-visible {
  outline: 2px dashed #789262;
  outline-offset: 2px;
}
::selection {
  background: #fde0bb;
  color: #354055;
}
::-webkit-scrollbar {
  width: 10px;
  background: #fde0bb;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #e9b983;
  border-radius: 10px;
}

/* OVERLAP & LAYER FIX */
header, .mobile-menu, .cookie-consent-banner, .cookie-modal-backdrop, .cookie-modal { z-index: inherit; }

/*********************/
/* MISC DECORATIONS */
/*********************/
hr {
  border: none;
  border-top: 1.5px solid #fce0b7;
  margin: 30px 0;
  width: 100%;
}

/* END OF CSS */
