/* ProteBranc Vintage_Retro CSS Theme */
/* 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 {
  scroll-behavior: smooth;
}
/* Set base box-sizing */
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #39322B; /* vintage semi-dark brown */
  background: #F3F7FA;
  font-size: 16px;
  background-image: repeating-linear-gradient(90deg, #f0eeea 0px, #f0eeea 32px, #f3f7fa 32px, #f3f7fa 64px);
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #22527A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B9935A;
  text-decoration: underline;
}

/* Typography vintage/retro scale */
h1, .h1 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  color: #2C3950;
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  line-height: 1.1;
  text-shadow: 2px 2px 0 #fbeec1;
}
h2, .h2 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  color: #22527A;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 #fbeec1;
}
h3, .h3 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-size: 1.35rem;
  color: #39322B;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  text-shadow: 1px 1px 0 #fff6e6;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: #66604a;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(255,255,255,0.94);
  border-radius: 20px;
  box-shadow: 0 2px 18px 0 rgba(79,59,32,0.09);
  border: 2px solid #eedba0;
}
p {
  margin-bottom: 16px;
  font-size: 16px;
  color: #39322B;
}
ul, ol {
  margin: 0 0 20px 24px;
  font-size: 16px;
  color: #3b3329;
}
ul li, ol li {
  margin-bottom: 8px;
}
strong { font-weight: bold; color: #a26b19; }
blockquote {
  padding: 16px 28px;
  background: #fffbec;
  border-left: 8px solid #B9935A;
  border-radius: 10px;
  color: #684d16;
  font-style: italic;
  margin-bottom: 16px;
}

/* CONTAINERS & WRAPPERS */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 32px;
}

/* Header & Navigation */
header {
  background: #2C3950;
  border-bottom: 5px solid #E1BF6C;
  box-shadow: 0 2px 8px 0 rgba(34,82,122,.07);
  position: relative;
  z-index: 101;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  min-height: 76px;
  gap: 16px;
}
header img {
  max-height: 54px;
  margin-right: 32px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #ffe8ad;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
}
header nav a:hover, header nav a:focus {
  background: #E1BF6C;
  color: #2C3950;
}
.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #B9935A;
  color: #fff;
  font-size: 1.13rem;
  box-shadow: 0 4px 14px 0 rgba(36,35,30,0.12);
  border-radius: 32px;
  padding: 10px 40px;
  font-weight: 700;
  letter-spacing: 2px;
  border: none;
  outline: none;
  cursor: pointer;
  margin-left: 16px;
  text-transform: uppercase;
  transition: background 0.17s, box-shadow 0.17s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #b57d24;
  color: #fffbe6;
  box-shadow: 0 8px 24px 0 rgba(36,35,30,0.16);
}
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #a26b19;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid #E1BF6C;
  border-radius: 32px;
  padding: 10px 24px;
  margin-top: 16px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border 0.15s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #fdeac1;
  color: #39322B;
  border-color: #b57d24;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 999;
  font-size: 2.1rem;
  background: #E1BF6C;
  color: #22527A;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  display: none;
  box-shadow: 0 2px 8px 0 rgba(34,82,122,.10);
  transition: background 0.2s;
}
.mobile-menu-toggle:active {
  background: #b57d24;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #2C3950;
  transform: translateX(-100vw);
  transition: transform 0.28s cubic-bezier(.77,0,.175,1);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 28px 28px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #E1BF6C;
  color: #2C3950;
  border: none;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 24px;
  border-radius: 8px;
  cursor: pointer;
  padding: 8px 16px;
  box-shadow: 0 2px 8px 0 rgba(34,82,122,.10);
  transition: background 0.2s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 32px;
}
.mobile-nav a {
  display: block;
  color: #FFD46B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  padding: 14px 12px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #2C3950;
  background: #E1BF6C;
}

@media (max-width: 980px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 12px;
    gap: 8px;
  }
  header nav, header .btn-primary {
    margin-top: 8px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    justify-content: flex-start;
    min-height: 56px;
  }
  header nav {
    flex-wrap: wrap;
  }
}
@media (max-width: 780px) {
  header nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MAIN CONTENT LAYOUTS & CARDS */
.feature-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 16px 0 0 0;
}
.feature-grid > div, .card, .faq-list > div, .tips-list > div {
  background: #fffdf6;
  border: 1.5px solid #eedba0;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(189,147,90,0.08);
  padding: 32px 22px 24px 22px;
  flex: 1 1 265px;
  min-width: 253px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, background 0.16s;
}
.feature-grid > div:hover {
  background: #fdeac1;
  box-shadow: 0 6px 18px 0 rgba(189,147,90,0.14);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  background: #fffdf6;
  border-radius: 16px;
  box-shadow: 0 1px 6px 0 rgba(65,58,32,0.08);
  border: 1.3px solid #eedba0;
  padding: 20px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.text-section {
  margin-bottom: 24px;
}
.text-section ul, .text-section ol {
  margin-bottom: 16px;
}
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 18px 0;
}
.faq-list > div {
  min-width: 266px;
  flex: 1 1 320px;
}
.tips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.tips-list > div {
  flex: 1 1 270px;
}
.map-info {
  background: #ede3c9;
  border-radius: 11px;
  color: #2c230e;
  padding: 16px 20px;
  margin: 26px 0 0 0;
  font-size: 16px;
  box-shadow: 0 1px 8px 0 rgba(160,135,47,0.07);
}

/* TABLES (CENNIK) */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fef9ef;
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: 0 1px 8px rgba(34,82,122,.06);
  overflow: hidden;
}
thead {
  background: #E1BF6C;
}
thead th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #2C3950;
  padding: 14px 8px;
}
tbody td {
  padding: 13px 7px;
  font-size: 1rem;
  border-bottom: 1px solid #eedba0;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* Testimonials */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff6e1;
  border: 2.3px dashed #B9935A;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px 0 rgba(34,82,122,0.04);
  position: relative;
}
.testimonial-card p {
  color: #4e3901;
  font-size: 1.13rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 4px;
}
.testimonial-card span {
  color: #9b750f;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card blockquote {
  color: #4e3901;
  font-size: 1.07rem;
  border-left: 5px solid #B9935A;
  background: #fffbe6;
  margin-top: 4px;
  padding-left: 18px;
}

/* Feature Item (used for icons/services) */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.feature-item img {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
}

/* Section: Text + Image Section Layouts */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* Contact/Info List */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin: 24px 0 18px 0;
  color: #816521;
  font-size: 1rem;
  align-items: center;
}
.contact-info > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-info img {
  width: 22px;
  height: 22px;
}

/* Footer */
footer {
  background: #2C3950;
  color: #ffe8ad;
  padding: 32px 0 10px 0;
  border-top: 5px solid #E1BF6C;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer img {
  margin-bottom: 12px;
  max-height: 54px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
footer nav a {
  color: #ffe8ad;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 4px;
  transition: background 0.14s, color 0.14s;
  letter-spacing: 0.7px;
}
footer nav a:hover, footer nav a:focus {
  background: #E1BF6C;
  color: #2C3950;
}
footer .copyright {
  margin-top: 12px;
  color: #fbeec1;
  font-size: 0.94rem;
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: #D1C098;
  color: #3b3329;
  z-index: 1500;
  padding: 19px 16px;
  box-shadow: 0 -2px 16px 0 rgba(3,2,1,0.09);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 0.98rem;
  animation: cookieSlideUp 0.5s;
}
@keyframes cookieSlideUp {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner button, .cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 22px;
  padding: 8px 24px;
  border: none;
  outline: none;
  cursor: pointer;
  margin-left: 12px;
  margin-right: 8px;
  background: #E1BF6C;
  color: #2C3950;
  transition: background 0.15s, color 0.15s;
}
.cookie-banner button.accept {
  background: #3CA66B;
  color: #fff;
}
.cookie-banner button.accept:hover {
  background: #26734a;
}
.cookie-banner button.reject {
  background: #b57d24;
  color: #fff5d3;
}
.cookie-banner button.reject:hover {
  background: #2C3950;
  color: #FDF6E7;
}
.cookie-banner button.settings {
  background: transparent;
  color: #2C3950;
  border: 2px solid #b9935a;
}
.cookie-banner button.settings:hover {
  background: #ede3c9;
}

/* Cookie Consent Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(56,44,21,0.64);
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #faf8f2;
  border-radius: 20px;
  padding: 36px 36px 28px 36px;
  max-width: 352px;
  width: 96vw;
  box-shadow: 0 3px 36px 0 rgba(65,55,36,.17);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  position: relative;
  border: 3px solid #eedba0;
}
.categories-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.category-item label {
  font-weight: 700;
  color: #a26b19;
  margin-right: 10px;
}
.toggle-switch {
  width: 44px; height: 22px; border-radius: 11px;
  background: #e3d4a4;
  position: relative;
  cursor: pointer;
  transition: background .17s;
}
.toggle-switch[data-enabled="true"] {
  background: #3CA66B;
}
.toggle-knob {
  position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,.09);
  transform: translateX(0);
  transition: transform 0.18s;
}
.toggle-switch[data-enabled="true"] .toggle-knob {
  transform: translateX(22px);
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 13px;
  background: #E1BF6C;
  color: #2C3950;
  font-size: 1.34rem;
  border: none;
  border-radius: 7px;
  padding: 7px 14px;
  cursor: pointer;
}

/* Responsive Layouts */
@media (max-width: 1140px) {
  .container {
    padding: 0 7px;
  }
}
@media (max-width: 960px) {
  .feature-grid, .card-container, .content-grid, .faq-list, .tips-list {
    gap: 16px;
  }
  .feature-grid > div, .card, .faq-list > div, .tips-list > div {
    min-width: 180px;
    padding: 22px 11px 18px 11px;
  }
}
@media (max-width: 760px) {
  .section, section {
    padding: 26px 6px;
    margin-bottom: 40px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .feature-grid, .card-container, .content-grid, .faq-list, .tips-list {
    flex-direction: column;
    gap: 13px;
    align-items: stretch;
  }
  .testimonial-card {
    padding: 14px;
    gap: 12px;
    border-radius: 12px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 10px 5px;
    font-size: 0.92rem;
  }
  .cookie-modal-content {
    padding: 17px 7vw 8px 7vw;
    border-radius: 13px;
    max-width: 99vw;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  header img, footer img {
    max-height: 40px;
  }
  .container {
    padding: 0 3px;
  }
}
@media (max-width: 480px) {
  h1, .h1 { font-size: 1.65rem; }
  h2, .h2 { font-size: 1.26rem; }
  .btn-primary, .btn-secondary { font-size: 1rem; padding: 9px 18px; }
  .feature-grid > div, .card, .faq-list > div, .tips-list > div { padding: 11px 6px 11px 6px; }
  .testimonial-card { padding: 10px; gap: 7px; }
  .cookie-modal-content { padding: 6vw 4vw 8px 4vw; }
  .mobile-menu { padding: 27px 10px 8px 10px; }
  .mobile-nav a { font-size: 1.05rem; }
}

/* Accessibility: Focus states */
a:focus, .btn-primary:focus, .btn-secondary:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus, .cookie-banner button:focus, .cookie-modal-close:focus {
  outline: 2px dotted #e1bf6c;
  outline-offset: 2px;
}

/* Vintage/Nostalgic/Retro micro-decoration */
.section, section {
  background-image: repeating-linear-gradient(135deg, transparent, transparent 90px, #fbedc5 91px, #fbedc5 98px);
}
.feature-grid > div::before, .card::before, .testimonial-card::before {
  content: '';
  display: block;
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  border-radius: 18px;
  pointer-events: none;
  box-shadow: 0 3px 16px 0 rgba(208,140,37,0.05), 0 0 0 6px rgba(238,219,160,0.13) inset;
  opacity: 0.13;
  z-index: 0;
}

/* Hide visually but accessible for screen readers */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* Custom scrollbars for retro look */
::-webkit-scrollbar {
  width: 11px;
  background: #F3F7FA;
}
::-webkit-scrollbar-thumb {
  background: #eedba0;
  border-radius: 8px;
}

/* Utility classes */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }

/*---- End ProteBranc Vintage_Retro Style ----*/
