/* ========================
   CSS RESET & BASE STYLES
============================= */
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, 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;
  font-size: 16px;
  scroll-behavior: smooth;
  background: #FAFAFA;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FAFAFA;
  color: #34495E;
  min-height: 100vh;
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #34495E;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #E67E22;
  outline: none;
}
ol, ul {
  list-style: none;
}
strong, b {
  font-weight: 600;
}

/* =================
   BRAND COLORS
=================== */
:root {
  --color-primary: #34495E;
  --color-secondary: #E67E22;
  --color-accent: #F9F9F9;
  --color-bg: #FAFAFA;
  --color-border: #EAEDF2;
  --color-success: #A3C197;
  --color-error: #D96C6C;
  --card-shadow: 0 2px 10px 0 rgba(34,40,49,0.06);
}

/* ========================
   TYPOGRAPHY SCALE
========================== */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.125rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.16;
  margin-bottom: 24px;
  color: var(--color-primary);
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--color-primary);
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
}
p, li, blockquote {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}
blockquote {
  font-style: italic;
  color: #34495E;
  background: #F3F3F3;
  border-left: 4px solid var(--color-secondary);
  padding: 12px 20px 12px 18px;
  margin-bottom: 12px;
  border-radius: 0 8px 8px 0;
}
h1:last-child, h2:last-child, h3:last-child, p:last-child {
  margin-bottom: 0;
}
ul:last-child, ol:last-child {
  margin-bottom: 0;
}
.text-section ul,
.text-section ol,
.features ul,
.features ol {
  margin-bottom: 0;
  padding-left: 0;
}

/* ===========================
   LAYOUT & SECTIONS
=============================== */
.container {
  width: 100%;
  max-width: 1140px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  position: relative;
  border-radius: 14px;
}
.hero {
  padding: 58px 0 38px 0;
  background: var(--color-accent);
  margin-bottom: 0;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 5px 28px 0 rgba(34,40,49,0.04);
}
.section:not(.hero):not(.cta):not(.legal) {
  background: #FFFFFF;
  box-shadow: var(--card-shadow);
}

.features {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features ul, .features ol {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-left: 0;
  margin-bottom: 0;
  align-items: flex-start;
}
.features ul li, .features ol li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-accent);
  border-radius: 10px;
  padding: 20px 18px 18px 18px;
  box-shadow: 0 2px 8px 0 rgba(52,73,94,0.04);
  font-size: 1rem;
  min-width: 180px;
  flex: 1 1 210px;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
}
.features img {
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
}

.card-container, .card-grid, .service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card, .service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  padding: 32px 24px 22px 24px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.17s;
}
.card:hover, .service-card:hover {
  box-shadow: 0 6px 24px 0 rgba(52,73,94,0.09);
}

.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-placeholder {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #F9F9F9;
  border-radius: 8px;
  color: #34495E;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  margin: 24px 0 12px 0;
}


/* ============================
   TESTIMONIALS & CARDS
=============================== */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 14px;
}
.testimonials h2 {
  margin-bottom: 30px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  background: #fff;
  border-radius: 9px;
  box-shadow: var(--card-shadow);
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.17s, border-color 0.17s;
}
.testimonial-card:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 4px 18px 0 rgba(52,73,94,0.09);
}
.testimonial-card blockquote {
  font-size: 1.06rem;
  color: var(--color-primary);
  margin: 0;
  border: none;
  padding: 0;
  background: transparent;
  font-style: italic;
}
.testimonial-card footer {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--color-secondary);
  margin-left: auto;
}

/* =====================
   HEADER & NAVIGATION
========================== */
header {
  background: #fff;
  box-shadow: 0px 4px 16px 0 rgba(52,73,94,0.07);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo-link img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--color-primary);
  padding: 5px 0;
  display: inline-block;
  border-radius: 3px;
  transition: color 0.16s, background 0.14s;
}
.main-nav a:focus, .main-nav a:hover {
  background: rgba(230,126,34,0.08);
  color: var(--color-secondary);
}
.main-nav .cta {
  margin-left: 8px;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: background 0.17s, border 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 9999;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(0.53,0.19,0.15,1.16);
  will-change: transform;
  padding: 24px 24px 64px 24px;
  display: flex;
  flex-direction: column;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  color: var(--color-primary);
  font-size: 2.1rem;
  border: none;
  background: transparent;
  padding: 6px 8px;
  margin-bottom: 16px;
  border-radius: 8px;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.19rem;
  font-weight: 600;
  color: var(--color-primary);
  border-radius: 6px;
  padding: 11px 12px;
  transition: background 0.16s, color 0.17s;
  letter-spacing: 0.01em;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-secondary);
  color: #fff;
}

/* ===============
    CALL TO ACTION
================== */
.cta {
  display: inline-block;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.18s, box-shadow 0.19s, color 0.15s, border 0.17s;
  text-align: center;
  box-shadow: 0 2px 10px 0 rgba(52,73,94,0.05);
  padding: 13px 28px;
  margin: 14px 0 0 0;
  font-size: 1.07rem;
  outline: none;
  min-width: 185px;
}
.cta.primary {
  background: var(--color-secondary);
  color: #fff;
  border: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: #c76612;
  box-shadow: 0 4px 22px 0 rgba(230,126,34,0.09);
}
.cta.secondary {
  background: transparent;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--color-secondary);
  color: #fff;
}


/* ===============
   PRICING SUMMARY
================== */
.pricing-summary {
  margin: 26px 0 0 0;
  font-size: 1rem;
  color: var(--color-primary);
  font-style: italic;
  background: var(--color-accent);
  border-left: 3px solid var(--color-secondary);
  padding: 13px 20px;
  border-radius: 0 7px 7px 0;
}

/* =====================
   BLOG LIST & TAGS
======================== */
.blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 36px 0;
}
.blog-post-list li {
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--card-shadow);
  border-radius: 8px;
  flex: 1 1 245px;
  padding: 28px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  min-width: 200px;
  transition: box-shadow 0.18s;
}
.blog-post-list li:hover {
  box-shadow: 0 5px 18px 0 rgba(230,126,34,0.12);
  border-color: var(--color-secondary);
}
.category-tags {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.category-tags li {
  background: var(--color-accent);
  color: var(--color-secondary);
  font-size: 0.93rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 22px;
}

/* =====================
   FOOTER
======================== */
footer {
  background: #fff;
  margin-top: 80px;
  box-shadow: 0 -3px 16px 0 rgba(34,40,49,0.06);
  position: relative;
  padding: 36px 0 0 0;
  color: var(--color-primary);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 18px;
  margin-bottom: 20px;
}
.footer-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  transition: color 0.17s;
  padding-bottom: 2px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 22px;
}
.social-links {
  display: flex;
  gap: 19px;
}
.social-links a img {
  width: 28px;
  height: 28px;
  opacity: 0.93;
  transition: opacity 0.16s, transform 0.15s;
  border-radius: 6px;
}
.social-links a:hover img, .social-links a:focus img {
  opacity: 1;
  background: var(--color-accent);
  transform: translateY(-2px) scale(1.08);
}
.legal span {
  font-size: 0.97rem;
  color: #98A1B3;
}

/* ==============
   LEGAL & TEXT
================= */
.legal {
  background: #fff;
  padding: 40px 20px;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  color: var(--color-primary);
  margin-bottom: 50px;
}
.legal h1, .legal h2 {
  margin-bottom: 17px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===============
   RESPONSIVE DESIGN
==================== */
@media (max-width: 1023px) {
  .container {
    max-width: 92%;
    padding: 0 12px;
  }
  .card, .service-card {
    min-width: 200px;
  }
  .features ul li, .features ol li {
    min-width: 140px;
    font-size: 0.98rem;
  }
}
@media (max-width: 874px) {
  .main-nav {
    gap: 18px;
  }
  .footer-nav {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav {
    flex-direction: column;
    gap: 15px;
    padding-bottom: 10px;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .blog-post-list,
  .features ul,
  .features ol,
  .service-cards {
    flex-direction: column;
    gap: 20px;
  }
  .section, .testimonials, .features {
    padding: 28px 9px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 13px;
    gap: 10px;
  }
  .content-grid,.card-container,.card-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  h1,
  .h1 {
    font-size: 1.4rem;
    margin-bottom: 18px;
  }
  h2,.h2 {
    font-size: 1.14rem;
    margin-bottom: 14px;
  }
  .cta {
    font-size: 0.99rem; min-width: 135px;
    padding: 11px 16px;
  }
}

/* =====================
   COOKIE BANNER & MODAL
======================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 20000;
  background: #fff;
  border-top: 2px solid var(--color-border);
  box-shadow: 0 -2px 14px rgba(52,73,94,0.05);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  gap: 22px;
  font-size: 1rem;
  animation: slideUpBanner 0.44s cubic-bezier(0.48,1.75,0.27,0.74);
}
.cookie-banner__text {
  flex: 1 1 0%;
  color: #34495E;
}
.cookie-banner__actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-btn {
  border-radius: 5px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  padding: 9px 21px;
  min-width: 80px;
  transition: background 0.14s, color 0.14s, border 0.17s;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #c76612;
}
.cookie-btn.reject {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F9F9F9;
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: var(--color-secondary);
  color: #fff;
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(52,73,94,0.19);
  z-index: 30010;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInModal 0.25s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(52,73,94,0.13);
  max-width: 420px;
  width: 94vw;
  padding: 28px 24px 18px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 23px;
  color: var(--color-primary);
  font-size: 1rem;
  animation: popInModal 0.32s;
}
@keyframes popInModal {
  0% { transform: scale(0.86); opacity:0 }
  80% { transform: scale(1.04); }
  100% { transform: scale(1); opacity:1 }
}
.cookie-modal h2 {
  font-size: 1.23rem;
  font-weight: 700;
  margin-bottom: 9px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category span {
  flex: 1 1 0%;
}
.cookie-toggle {
  width: 44px;
  height: 26px;
  background: var(--color-border);
  border-radius: 26px;
  position: relative;
  transition: background 0.15s;
  margin-left: 10px;
}
.cookie-toggle-input {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.cookie-toggle-slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 22px; height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.13s, background 0.14s;
  box-shadow: 0 1.5px 4px rgba(34,40,49,0.07);
}
.cookie-toggle-input:checked + .cookie-toggle-slider {
  left: 20px;
  background: var(--color-secondary);
}
.cookie-toggle-input:checked ~ .cookie-toggle {
  background: var(--color-secondary);
}
.cookie-category--essential .cookie-toggle,
.cookie-category--essential .cookie-toggle-slider {
  background: #A3C197;
  cursor: not-allowed;
}
.cookie-category--essential .cookie-toggle-input {
  pointer-events: none;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  justify-content: flex-end;
}

/* ===========
 TOUCH TARGETS
============== */
a, button, .cta, .cookie-btn, .mobile-menu-close {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(52,73,94,0.10);
}

/* =====================
   UTILITY & HELPERS
======================== */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.hide { display: none !important; }
.d-flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap; }
.gap-24 { gap: 24px !important; }

/* =====================
   PRINT STYLES
======================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner {
    display: none !important;
  }
}

/* END OF STYLE.CSS - Scandinavian Clean for Mocna Przestrzeń */
