/* ========================
   CSS 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;
  scroll-behavior: smooth;
}
body {
  background: #FAF8EF;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2B2B2B;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  letter-spacing: 0.03em;
}
ul, ol {
  list-style: none;
}
a {
  background: none;
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}
img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
  border: 0;
}
button {
  outline: none;
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

/* ======================
   Font Faces - Retro Style
   ====================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --primary: #26547C;
  --secondary: #3E7CB1;
  --accent: #F6F6F6;
  --cream-bg: #F6E2B3;
  --soft-brown: #BBA376;
  --orange-peach: #F27E3A;
  --retro-green: #8AAE92;
  --light-grey: #EAE0C8;
  --retro-red: #D85A4E;
  --dark-text: #2B2B2B;
  --retro-shadow: rgba(42,19,17,0.12);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ===============================
   Vintage-Retro Themed Typography
   =============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 16px;
  text-shadow: 1px 2px 0 var(--light-grey), 0 2px 8px rgba(42,19,17,0.04);
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
p, li {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark-text);
}
strong {
  font-weight: 700;
  color: var(--retro-red);
  letter-spacing: 0.03em;
}
/* Hand-drawn/Outline vibe for headlines */
h1, h2 {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 3px dotted var(--soft-brown);
  display: inline-block;
  padding-bottom: 6px;
  background: none;
}
h3 {
  font-variant: small-caps;
}

/* Links */
a {
  color: var(--primary);
  text-decoration: underline dotted var(--retro-red) 1px;
  text-underline-offset: 3px;
  transition: color 0.2s, background 0.2s;
}
a:hover, a:focus {
  color: var(--retro-red);
  background: var(--accent);
}
.btn-primary, .main-nav .btn-primary {
  background: var(--orange-peach);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 14px 0 var(--retro-shadow);
  padding: 11px 32px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  font-weight: bold;
  border: 1.5px solid var(--soft-brown);
  outline: none;
  margin-top: 10px;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 5px 16px 0 var(--retro-shadow), 0 0 0 4px var(--soft-brown);
}

/* ================
   Layout Patterns
   ================ */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 17px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--cream-bg);
  border-radius: 24px;
  box-shadow: 0 2px 18px 0 rgba(138,174,146,0.09), 0 0px 1px 0 var(--retro-shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative; /* for retro corner deco */
  border-radius: 15px;
  background: var(--accent);
  box-shadow: 0 5px 19px 0 var(--retro-shadow);
  padding: 26px 22px;
  border: 2.5px solid var(--soft-brown);
  min-width: 250px;
  flex: 1 1 270px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-6px) scale(1.025) rotate(-0.5deg);
  box-shadow: 0 12px 32px 0 var(--retro-shadow);
}
.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: 14px;
  padding: 20px;
  background: #FFFCEB;
  border-radius: 17px;
  border: 2px dashed var(--retro-green);
  box-shadow: 0 1.5px 14px 0 rgba(46,87,124,0.09);
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 370px;
}
.testimonial-card .stars {
  font-size: 1.2rem;
  color: var(--retro-red);
  letter-spacing: 2px;
  text-shadow: 0 1px 0 var(--cream-bg), 0 0.5px 2px var(--retro-red);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.post-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.category-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 18px 0 20px 0;
  font-size: 1.02em;
}
.featured-posts ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.steps {
  background: var(--retro-green);
  border-radius: 11px;
  padding: 20px 18px;
  color: #fff;
  margin: 12px 0 0 0;
  box-shadow: 0 4px 20px 0 rgba(34,87,68,0.13);
  border: 2px solid var(--soft-brown);
}
.steps h3 {
  color: #fff;
  border: none;
  margin-bottom: 10px;
}

.google-map {
  margin: 24px 0 0 0;
  background: var(--accent);
  padding: 18px;
  text-align: center;
  border-radius: 14px;
  border: 1.5px dashed var(--retro-green);
}
.contact-short-info {
  margin: 18px 0 0 0;
  font-size: 1.01em;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-details {
  background: var(--light-grey);
  border-radius: 10px;
  padding: 20px 20px 12px 20px;
  border: 1.6px solid var(--soft-brown);
  margin-bottom: 18px;
  font-size: 1.05em;
  line-height: 1.8;
}

/* =========================
   Header & Navigation - Retro Style
   ========================= */
header {
  width: 100%;
  background: var(--accent);
  border-bottom: 5px double var(--soft-brown);
  margin-bottom: 7px;
  position: relative;
  z-index: 18;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  padding-bottom: 16px;
  position: relative;
}
header img {
  max-height: 59px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 19px;
}
.main-nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1em;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  letter-spacing: 0.06em;
  transition: color 0.19s, border 0.19s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--retro-red);
  border-bottom: 2px solid var(--retro-red);
  background: var(--light-grey);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: var(--orange-peach);
  color: #fff;
  border-radius: 6px;
  padding: 5px 13px 2px 13px;
  margin-left: 12px;
  transition: background 0.22s;
  z-index: 21;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
}

/* MOBILE NAVIGATION */
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: var(--cream-bg);
  z-index: 99;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.35,.95,.52,1), box-shadow 0.16s;
  box-shadow: 0 0 28px 0 var(--retro-shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 38px 31px 21px 31px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 34px;
  color: var(--primary);
  font-size: 2.2rem;
  border-radius: 7px;
  background: var(--retro-red);
  color: #fff;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 68px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: var(--primary);
  background: var(--accent);
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: bold;
  border-left: 6px solid var(--retro-red);
  margin-left: 0;
  margin-right: 0;
  box-shadow: 0 2px 10px 0 var(--retro-shadow);
  transition: background 0.15s, color 0.12s, border-left 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--retro-red);
  background: var(--retro-green);
  border-left: 6px solid var(--primary);
}

/* Hide main nav on mobile */
@media (max-width: 1040px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Show main nav on desktop */
@media (min-width: 1041px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==========================
   Hero / Special Retro Section
   =========================== */
#hero {
  background: repeating-linear-gradient(135deg, var(--accent) 0 30px, var(--cream-bg) 30px 60px);
  padding: 40px 0 48px 0;
  border-bottom: 4px dashed var(--retro-red);
}
#hero .container {
  min-height: 310px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 26px;
}
#hero h1 {
  color: var(--retro-red);
  font-size: 2.18rem;
  text-shadow: 0 2px 0 var(--soft-brown);
  border: none;
}
#hero p {
  color: var(--primary);
  font-size: 1.07rem;
  margin-bottom: 13px;
}

/* ==========================
   Feature Cards & Grids
   ========================== */
.feature-grid > div {
  background: var(--accent);
  border-radius: 15px;
  box-shadow: 0 3px 16px 0 var(--retro-shadow);
  padding: 26px 20px 19px 20px;
  min-width: 205px;
  max-width: 265px;
  flex: 1 1 200px;
  text-align: left;
  border: 1.5px solid var(--retro-green);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.17s;
}
.feature-grid > div:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 9px 20px 0 var(--retro-shadow);
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
}
.feature-grid h3 {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: bold;
  font-variant: none;
  font-size: 1.12rem;
  margin-bottom: 7px;
}
.feature-grid p {
  color: #333;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* =====================
   Tables & Cennik Section
   ===================== */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--accent);
  box-shadow: 0 2px 10px 0 var(--retro-shadow);
  margin-bottom: 24px;
  border-radius: 14px;
  overflow: hidden;
  font-size: 1.02em;
}
.pricing-table th {
  background: var(--primary);
  color: #fff;
  padding: 14px 15px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  border-bottom: 2.5px solid var(--soft-brown);
}
.pricing-table td {
  background: var(--accent);
  color: var(--dark-text);
  padding: 13px 12px;
  border-bottom: 1.5px dashed var(--soft-brown);
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.pricing-notes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.93em;
  color: #6F5E46;
  margin-bottom: 14px;
}
.service-scope-explained {
  margin-top: 18px;
  padding: 18px 12px;
  background: var(--cream-bg);
  border-radius: 12px;
  border: 1.2px solid var(--soft-brown);
}

/* =====================
   Footer - Retro Style
   ===================== */
footer {
  width: 100%;
  background: var(--retro-green);
  color: var(--primary);
  padding: 40px 0 12px 0;
  border-top: 5px double var(--soft-brown);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  gap: 19px;
  margin-top: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--primary);
  font-family: var(--font-display);
  text-decoration: none;
  font-size: 1em;
  font-weight: 700;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--retro-red);
  text-decoration: underline;
  background: var(--cream-bg);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.97em;
  color: var(--primary);
  margin-bottom: 12px;
  margin-top: 7px;
}
.footer-contact img {
  width: 16px;
  margin-right: 5px;
  vertical-align: middle;
}
.footer-copy {
  font-size: 0.9em;
  color: #888;
  text-align: center;
  margin-top: 10px;
}
footer img {
  max-height: 40px;
  margin-bottom: 7px;
}

/* ========================
   Lists and Steps Styling
   ======================== */
ul {
  list-style: inside disc;
  margin-left: 22px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
ol {
  list-style: decimal inside;
  margin-left: 24px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.steps ol {
  margin-left: 16px;
}
.category-tabs {
  margin: 12px 0 24px 0;
  display: flex;
  gap: 15px;
  font-size: 1.07rem;
}
.category-tabs a {
  color: var(--retro-red);
  padding: 5px 12px;
  border-radius: 7px;
  background: var(--cream-bg);
  border: 1px solid var(--soft-brown);
  transition: background 0.11s, color 0.11s;
}
.category-tabs a:hover, .category-tabs a:focus {
  background: var(--retro-green);
  color: #fff;
}
.service-highlights {
  background: var(--light-grey);
  border-radius: 10px;
  margin: 12px 0 17px 0;
  padding: 16px;
  font-size: 1.02em;
  border: 1.2px dotted var(--retro-red);
}

/* ================
   Micro-Interactions
   ================ */
.card, .feature-grid > div, .testimonial-card, .btn-primary {
  transition: box-shadow .18s, transform .16s, background .16s, color .16s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 10px 29px 0 var(--retro-shadow);
  transform: translateY(-5px);
}
.category-tabs a, .btn-primary, .main-nav a, .footer-nav a {
  transition: background 0.13s, color 0.13s, border 0.13s;
}

/* ====================
   Cookie Consent Banner
   ==================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--soft-brown);
  color: var(--primary);
  padding: 23px 20px 20px 20px;
  z-index: 1111;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -4px 25px 0 var(--retro-shadow);
  font-size: 1.02rem;
  gap: 13px;
  animation: cookieBannerIn 0.5s 0.3s backwards;
}
@keyframes cookieBannerIn {
  from {transform: translateY(100%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-banner-btns button {
  font-family: var(--font-display);
  font-size: 1em;
  border-radius: 7px;
  padding: 8px 22px;
  border: 2px solid var(--primary);
  font-weight: 700;
  background: var(--accent);
  color: var(--primary);
  cursor: pointer;
  margin: 0;
  transition: background 0.13s, color 0.13s;
}
.cookie-banner-btns button.accept {
  background: var(--retro-green);
  color: #fff;
  border-color: var(--retro-green);
}
.cookie-banner-btns button.reject {
  background: var(--retro-red);
  color: #fff;
  border-color: var(--retro-red);
}
.cookie-banner-btns button.settings {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.cookie-banner-btns button:hover, .cookie-banner-btns button:focus {
  opacity: 0.8;
}

/* Cookie settings modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(46,87,124,0.45);
  z-index: 1200;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.31s backwards;
}
@keyframes fadeIn {
  from {opacity: 0;} to {opacity: 1;}
}
.cookie-modal-content {
  background: #FFFCEB;
  color: var(--dark-text);
  border-radius: 15px;
  padding: 34px 23px;
  max-width: 375px;
  box-shadow: 0 0 40px 0 var(--retro-shadow);
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.3em;
  text-align: center;
  color: var(--primary);
  border: none;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed var(--soft-brown);
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-weight: bold;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 18px;
  font-size: 1.6em;
  color: var(--retro-red);
  background: none;
  border: none;
  padding: 2px 6px;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 9px;
}
.cookie-modal-actions button {
  font-family: var(--font-display);
  font-size: 1em;
  border-radius: 7px;
  padding: 8px 16px;
  border: 2px solid var(--primary);
  font-weight: 700;
  background: var(--accent);
  color: var(--primary);
  cursor: pointer;
  margin: 0;
}
.cookie-modal-actions button.confirm {
  background: var(--retro-green);
  color: #fff;
  border-color: var(--retro-green);
}
.cookie-modal-actions button.cancel {
  background: var(--retro-red);
  color: #fff;
  border-color: var(--retro-red);
}

/* ===============
   Responsive Styles
   =============== */
@media (max-width: 768px) {
  .container {
    padding-left: 7px;
    padding-right: 7px;
    max-width: 100vw;
  }
  .section {
    margin-bottom: 36px;
    padding: 28px 7px;
    border-radius: 12px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 22px;
  }
  .feature-grid > div {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .testimonial-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  .steps {
    padding: 14px 6px;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    padding: 16px 9px;
  }
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 11px;
  }
  .footer-contact {
    gap: 3px;
    margin-bottom: 5px;
    margin-top: 2px;
  }
  .contact-details {
    padding: 14px 9px 8px 9px;
    font-size: 0.97em;
  }
  .category-tabs {
    gap: 7px;
    font-size: 0.92rem;
  }
  .mobile-nav a {
    font-size: 1.1rem;
    padding: 10px 11px;
  }
  #hero .container {
    min-height: 220px;
    padding: 0;
  }
  h1 {
    font-size: 1.39rem;
  }
  h2 {
    font-size: 1.12rem;
  }
  h3 {
    font-size: 1.02rem;
  }
  .post-list, .featured-posts ul {
    gap: 12px;
  }
  .section {
    margin-bottom: 32px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px
  }
}
@media (max-width: 600px) {
  #hero {
    padding: 10px 0 18px 0;
  }
  footer {
    padding: 23px 0 7px 0;
  }
  .cookie-modal-content {
    padding: 22px 7px;
    max-width: 94vw;
  }
}

/* ===================
   Accessibility & Misc
   =================== */
:focus-visible {
  outline: 2.5px dashed var(--retro-red);
  outline-offset: 2.5px;
}

/* ================
   Utility Classes
   ================ */
.mt-2 { margin-top: 16px !important;}
.mb-2 { margin-bottom: 16px !important;}
.mt-3 { margin-top: 32px !important;}
.mb-3 { margin-bottom: 32px !important;}
.center {
  text-align: center;
  justify-content: center;
  align-items: center;
}

/* ===================
   Other Minor Elements
   =================== */
::-webkit-scrollbar {
  width: 10px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 8px;
}

/* ==========================
   Miscellaneous
   ========================== */
hr {
  border: none;
  border-top: 2px dotted var(--soft-brown);
  margin: 24px 0 14px 0;
}

/* ================
   End of Style.CSS
   ================ */
