/* =======================
   CZARNA FIGA - SCANDINAVIAN CLEAN STYLE CSS
   ======================= */

/* CSS RESET & NORMALIZATION */
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;
  box-sizing: border-box;
  vertical-align: baseline;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F5EFE6;
  color: #232323;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #7C4E18;
  outline-offset: 2px;
}
img {
  max-width: 100%;
  display: block;
}
button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

/* =======================
   TYPOGRAPHY & COLORS
   ======================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #232323;
  line-height: 1.12;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  margin-top: 24px;
}
h3 {
  font-size: 1.175rem;
  margin-bottom: 16px;
  margin-top: 20px;
}
p, li, blockquote {
  font-size: 1rem;
  margin-bottom: 16px;
}
blockquote {
  font-style: italic;
  color: #232323;
  background: #F9F6F1;
  border-left: 4px solid #7C4E18;
  margin: 0 0 8px 0;
  padding: 16px 24px;
  border-radius: 8px 12px 12px 8px;
}
strong, b {
  font-weight: 700;
}

/* FONT FALLBACK for system style */
@font-face {
  font-family: 'Montserrat';
  font-display: swap;
  src: local('Montserrat'), local('Montserrat-Regular');
}
@font-face {
  font-family: 'Roboto';
  font-display: swap;
  src: local('Roboto'), local('Roboto-Regular');
}

/* ===============
   CONTAINERS & LAYOUT
   =============== */
.container {
  width: 100%;
  max-width: 1140px;
  padding: 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  margin-bottom: 60px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(44, 38, 22, 0.04);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(44, 38, 22, 0.06);
  padding: 24px;
  flex: 1 1 320px;
  transition: box-shadow 0.26s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(44, 38, 22, 0.11);
}
.content-grid, .features {
  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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(44, 38, 22, 0.07);
  margin-bottom: 24px;
  min-width: 0;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(44,38,22,0.13);
  transform: translateY(-2px) scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.location-map {
  margin-top: 24px;
  background: #F9F6F1;
  border-radius: 10px;
  padding: 20px;
}

/* ==========
   NAVIGATION & HEADER
   ========== */
header {
  background: #FFF;
  box-shadow: 0 2px 8px rgba(44, 38, 22, 0.03);
  padding-top: 8px;
  padding-bottom: 8px;
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 18px;
  position: relative;
  width: 100%;
  height: 60px;
}
.main-nav > a img {
  height: 40px;
  width: auto;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-left: 16px;
}
.main-nav li {
  display: flex;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #232323;
  font-weight: 500;
  transition: color 0.15s;
  padding: 3px 2px;
}
.main-nav a.active,
.main-nav a:hover,
.main-nav a:focus {
  color: #7C4E18;
  text-decoration: underline #F5EFE6 3px;
  text-underline-offset: 4px;
}

/* Header Consultation Button */
.btn-primary {
  background: #7C4E18;
  color: #fff;
  padding: 12px 32px;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(44, 38, 22, 0.08);
  border: none;
  transition: background 0.18s, box-shadow 0.16s, transform 0.08s;
  cursor: pointer;
  margin-left: 16px;
  min-width: 160px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #54340F;
  box-shadow: 0 4px 18px rgba(44, 38, 22, 0.12);
  transform: translateY(-2px) scale(1.03);
}

.btn-secondary {
  background: #F5EFE6;
  color: #7C4E18;
  border: 2px solid #7C4E18;
  padding: 12px 30px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 10px;
  transition: background 0.17s, color 0.17s, border 0.15s, box-shadow 0.17s, transform 0.09s;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(44,38,22,0.05);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #7C4E18;
  color: #fff;
  box-shadow: 0 4px 16px rgba(44,38,22,0.09);
}

/* ========== 
   MOBILE NAVIGATION
   ========== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 15px;
  right: 24px;
  z-index: 220;
  background: #7C4E18;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 2rem;
  justify-content: center;
  align-items: center;
  border: none;
  box-shadow: 0 2px 8px rgba(44,38,22,0.10);
  transition: background 0.18s, color 0.18s, transform 0.12s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #54340F;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #F5EFE6;
  z-index: 250;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.61, 1, 0.88, 1);
  box-shadow: 0 4px 32px rgba(44,38,22,0.12);
  padding: 40px 28px 28px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #7C4E18;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 32px;
  padding: 0 2px;
  transition: color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #232323;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #232323;
  padding: 10px 0;
  width: 100%;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #7C4E18;
  color: #fff;
  padding-left: 10px;
}

/* ==========
   MAIN SECTIONS & CTAs
   ========== */
main {
  display: block;
  min-height: 60vh;
}
section {
  margin-bottom: 60px;
  padding: 0;
}
section:last-child {
  margin-bottom: 0;
}

/* Highlighted CTA section on homepage */
section .btn-primary {
  margin-top: 10px;
}

/* Usługi/offer price spans */
ul li span {
  color: #7C4E18;
  font-weight: 600;
  margin-left: 4px;
}

/* Value/mission text blocks */
.text-section ul {
  margin-left: 12px;
  margin-top: 4px;
}
.text-section ul li {
  margin-bottom: 10px;
  list-style: disc inside;
}
.text-section ol {
  margin-left: 18px;
  margin-top: 4px;
}
.text-section ol li {
  margin-bottom: 10px;
  list-style: decimal inside;
}

.location-map h2 {
  margin-top: 0;
  margin-bottom: 8px;
}

/* Blog cat nav */
.content-wrapper nav {
  margin: 10px 0 0 0;
}
.content-wrapper nav a {
  color: #7C4E18;
  font-weight: 600;
  transition: color 0.14s;
  padding: 0 2px;
}
.content-wrapper nav a:hover, .content-wrapper nav a:focus {
  color: #232323;
  text-decoration: underline #7C4E18 2px;
  text-underline-offset: 2px;
}

/* ==========
   FOOTER
   ========== */
footer {
  background: #FFF;
  padding: 40px 0 32px 0;
  box-shadow: 0 -2px 10px rgba(44,38,22,0.03);
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}
footer a img {
  height: 32px;
  width: auto;
}
footer ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  margin: 0;
}
footer .contact-details {
  font-size: 14px;
  color: #7C4E18;
  margin-top: 0;
}
footer ul a {
  color: #232323;
  transition: color 0.15s;
}
footer ul a:hover, footer ul a:focus {
  color: #7C4E18;
  text-decoration: underline #7C4E18 2px;
}

/* ==========
   INTERACTIONS & EFFECTS
   ========== */
button, .btn-primary, .btn-secondary {
  transition: background 0.18s, color 0.18s, box-shadow 0.16s, border 0.13s, transform 0.14s;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.97) translateY(1.5px);
}

/* Input - accessible outline if present (none in your HTML) */
input:focus, textarea:focus {
  outline: 2px solid #7C4E18 !important;
}

/* ==========
   COOKIE CONSENT BANNER
   ========== */
.cookie-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #FFF;
  color: #232323;
  box-shadow: 0 -4px 16px rgba(44,38,22,0.10);
  padding: 20px 24px;
  z-index: 3000;
  border-radius: 16px 16px 0 0;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.61,1,0.88,1);
}
.cookie-banner.show {
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner__text {
  flex: 1 1 200px;
  margin: 0 12px 0 0;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  padding: 9px 22px;
  border-radius: 16px;
  border: 2px solid #7C4E18;
  color: #fff;
  background: #7C4E18;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  min-width: 120px;
  cursor: pointer;
  transition: background 0.16s, color 0.15s, border 0.13s;
  box-shadow: 0 2px 8px rgba(44, 38, 22, 0.05);
}
.cookie-btn.cookie-btn-secondary {
  background: #fff;
  color: #7C4E18;
}
.cookie-btn.cookie-btn-secondary:hover, .cookie-btn.cookie-btn-secondary:focus {
  background: #7C4E18;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #54340F;
  color: #fff;
}

/* Cookie settings modal */
.cookie-modal {
  min-width: 320px;
  max-width: 94vw;
  background: #fff;
  color: #232323;
  border-radius: 16px;
  box-shadow: 0 8px 48px rgba(44,38,22,0.24);
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1.05);
  z-index: 4000;
  padding: 32px 28px 24px 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.77,0,0.175,1), transform 0.35s cubic-bezier(0.77,0,0.175,1);
}
.cookie-modal.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 10px;
}
.cookie-modal__header h3 {
  font-size: 1.2rem;
  color: #232323;
  margin: 0;
}
.cookie-modal__close {
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #7C4E18;
  cursor: pointer;
  margin-left: 8px;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #232323;
}
.cookie-prefs-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 0;
}
.cookie-category label {
  font-size: 1.05rem;
  font-weight: 500;
  color: #232323;
}
.cookie-category input[type="checkbox"] {
  accent-color: #7C4E18;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  border-radius: 4px;
}
.cookie-category--locked input[type="checkbox"] {
  accent-color: #232323;
}
.cookie-category--locked label {
  color: #7C4E18;
  font-weight: 700;
}
.cookie-modal__footer {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}

/* ==========================
   RESPONSIVE
   ========================== */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 100%;
  }
  .content-wrapper {
    gap: 18px;
  }
  .section {
    margin-bottom: 48px;
    padding: 32px 10px;
  }
}
@media (max-width: 768px) {
  .main-nav ul {
    display: none;
  }
  .main-nav {
    flex-direction: row;
    height: 56px;
  }
  .main-nav > a img {
    height: 36px;
  }
  .btn-primary {
    min-width: 128px;
    font-size: 0.97rem;
    padding: 10px 16px;
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer .container {
    flex-direction: column;
    gap: 24px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .card-container, .content-grid, .features {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    margin-bottom: 40px;
    padding: 18px 3vw;
  }
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 18px 6px;
    border-radius: 16px 16px 0 0;
  }
}
@media (max-width: 510px) {
  .container {
    padding: 0 3vw;
  }
  .section {
    padding: 10px 2vw;
  }
  .card, .testimonial-card {
    padding: 13px 7px 14px 14px;
  }
  h1 {
    font-size: 1.19rem;
  }
  h2 {
    font-size: 1rem;
  }
}

/* ==========
   ACCESSIBLE FOCUS RINGS
   ========== */
.btn-primary:focus, .btn-secondary:focus, .cookie-btn:focus {
  outline: 2px solid #7C4E18;
  outline-offset: 2px;
}

/* ==========
   Z-INDEX LAYERS
   ========== */
.mobile-menu, .cookie-modal, .cookie-banner {
  z-index: 4000;
}

/* ==========
   UTILITIES - MARGINS/GAP
   ========== */
.mb-20 { margin-bottom: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-60 { margin-bottom: 60px !important; }
.gap-20 { gap: 20px !important; }

/* ==========
   DARK TEXT IN TESTIMONIALS
   ========== */
.testimonial-card {
  color: #232323;
  background: #fff;
}

/* ==========
   FINE MICRO-ANIMATIONS
   ========== */
.btn-primary, .btn-secondary, .cookie-btn {
  transition: background 0.19s, color 0.17s, border 0.13s, transform 0.14s, box-shadow 0.16s;
}
.card, .testimonial-card {
  transition: box-shadow 0.21s, transform 0.17s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(44,38,22,0.13);
  transform: translateY(-2px) scale(1.018);
}

/* ==========
   HIDE ON MOBILE & DESKTOP
   ========== */
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}
