/* 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;
}
* {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  color: #171717;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #174159;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #D65C27;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 10px;
}
strong {
  font-weight: 700;
}
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Typography Hierarchy */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #171717;
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}
p, .subheadline {
  font-size: 1rem;
  color: #222;
  margin-bottom: 12px;
}
.subheadline {
  font-size: 1.15rem;
  color: #434343;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.2px;
  margin-bottom: 24px;
}

/* Section, Card & Layout Utility Classes */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  box-shadow: 0 2px 18px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 36px rgba(23,65,89,0.12);
}
.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: 20px;
  padding: 20px;
  background: #fafafa;
  border-left: 4px solid #174159;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.testimonial-card p {
  font-size: 1.04rem;
  color: #212121;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #555;
}

.category-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.category-grid > div {
  flex: 1 1 150px;
  padding: 12px 16px;
  background: #f4f4f4;
  border-radius: 7px;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  color: #1c1c1c;
}

/* Button Styles */
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #171717;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 13px 36px;
  font-size: 1.04rem;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(23,65,89,0.06);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.button-primary:hover, .button-primary:focus {
  background: #D65C27;
  color: #fff;
  outline: none;
  box-shadow: 0 4px 16px rgba(23,65,89,0.14);
}

/* Header & Main Navigation */
header {
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 1px 8px rgba(23,65,89,0.06);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1001;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 68px;
  padding-top: 0;
  padding-bottom: 0;
}
.logo img {
  height: 40px;
  width: auto;
  margin-right: 20px;
  filter: grayscale(100%) contrast(1.1);
  transition: filter 0.18s;
}
.logo-footer img {
  height: 34px;
  width: auto;
  filter: grayscale(100%) contrast(1.1);
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #111;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1px;
  padding: 3px 4px;
  border-radius: 3px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a.active, .main-nav a:hover, .main-nav a:focus {
  color: #fff;
  background: #171717;
}
header .button-primary {
  margin-left: 22px;
  min-width: 160px;
}

/* HIDE MOBILE NAV ON DESKTOP */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

/* Responsive: Hamburger Menu */
@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 850px) {
  .main-nav {
    display: none;
  }
  header .button-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
    font-size: 2rem;
    color: #171717;
    cursor: pointer;
    z-index: 1010;
    transition: color 0.16s;
    margin-left: 16px;
  }
  .mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
    color: #D65C27;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0; left: unset;
    height: 100vh;
    width: 92vw;
    max-width: 375px;
    background: #FCFCFC;
    box-shadow: -3px 0 22px rgba(17,17,17,0.17);
    z-index: 1100;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(.77,0,.175,1);
    padding: 34px 34px 28px 26px;
    gap: 38px;
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    color: #171717;
    background: none;
    border: none;
    font-size: 2.2rem;
    align-self: flex-end;
    cursor: pointer;
    transition: color 0.15s;
  }
  .mobile-menu-close:hover,
  .mobile-menu-close:focus {
    color: #D65C27;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 17px;
  }
  .mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 11px 0;
    color: #171717;
    border-radius: 3px;
    transition: background 0.17s, color 0.17s;
  }
  .mobile-nav a:focus, .mobile-nav a:hover {
    background: #171717;
    color: #fff;
  }
}

/* --- General Cards and Feature Areas --- */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.features > div {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(23,65,89,0.08);
  flex: 1 1 220px;
  min-width: 200px;
  padding: 22px 18px 18px 18px;
  transition: box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.features > div:hover {
  box-shadow: 0 6px 32px rgba(23,65,89,0.11);
}
.features img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin-bottom: 6px;
}

/* --- Footer --- */
footer {
  background: #101010;
  color: #EFEFEF;
  font-size: 0.98rem;
  padding: 40px 0 12px 0;
  margin-top: 40px;
}
footer p {
  color: white;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.logo-footer {
  margin-right: 28px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 170px;
}
.footer-nav a {
  color: #F2EFEA;
  text-decoration: none;
  padding: 2px 0;
  font-weight: 500;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #D65C27;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #e2e2e2;
  font-size: 0.97rem;
  align-items: flex-start;
}
.footer-contact img {
  height: 15px;
  width: 15px;
  margin-right: 6px;
  margin-bottom: -2px;
  display: inline-block;
}
.copyright {
  width: 100%;
  color: #a8a8a8;
  font-size: 0.95rem;
  margin: 24px 0 0 0;
  text-align: left;
}

/* --- Cookie Banner & Modal --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #262626;
  color: #fff;
  padding: 22px 20px 18px 20px;
  box-shadow: 0 -2px 16px rgba(23,65,89,0.10);
  z-index: 1800;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  animation: cookie-slide-in 0.4s;
}
@keyframes cookie-slide-in {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 7px;
}
.cookie-banner .cookie-btn {
  padding: 8px 22px;
  border-radius: 24px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  margin-right: 8px;
}
.cookie-banner .accept {
  background: #174159;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #D65C27;
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  color: #171717;
  border: 1px solid #bbb;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #EEE;
  color: #D65C27;
  border-color: #D65C27;
}
.cookie-banner .settings {
  background: transparent;
  color: #eee;
  border: 1px solid #eee;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  border: 1px solid #D65C27;
  color: #fff;
  background: #333;
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 1900;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(17,17,17,0.43);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fade-in-cookie-modal 0.3s;
}
@keyframes fade-in-cookie-modal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  width: 97vw;
  max-width: 400px;
  background: #FCFCFC;
  color: #181818;
  border-radius: 16px;
  box-shadow: 0 4px 40px rgba(23,65,89,0.19);
  padding: 28px 26px 24px 26px;
  z-index: 1910;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #171717;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  color: #191919;
  font-weight: 600;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 40px;
  height: 22px;
  background: #d1d1d1;
  border-radius: 11px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal .cookie-toggle:checked {
  background: #174159;
}
.cookie-modal .cookie-toggle:before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #FAFAFA;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: left 0.18s;
  box-shadow: 0 1px 4px 0 rgba(22,25,36,0.11);
}
.cookie-modal .cookie-toggle:checked:before {
  left: 20px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 20px;
}
.cookie-modal .cookie-modal-btn {
  padding: 8px 22px;
  border-radius: 24px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #174159;
  color: #fff;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal .cookie-modal-btn:hover,
.cookie-modal .cookie-modal-btn:focus {
  background: #D65C27;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #171717;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: #D65C27;
}

/* --- Responsive rules, Mobile-first approach --- */
@media (max-width: 1100px) {
  .container { max-width: 1000px; }
}
@media (max-width: 900px) {
  .container { max-width: 700px; }
  section {
    padding: 32px 0 0 0;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.4rem; }
  .container { padding: 0 12px; }
  .features, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .category-grid {
    flex-direction: column;
    gap: 10px;
  }
  .footer-nav { min-width: unset; }
  .card-container, .content-grid {
    gap: 16px;
  }
  section {
    padding: 28px 0 0 0;
  }
  .section {
    padding: 24px 10px;
  }
  .testimonial-card {
    padding: 17px 11px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .card {
    padding: 12px 6px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 540px) {
  html { font-size: 14px; }
  h1, .h1 { font-size: 1.35rem; }
  h2, .h2 { font-size: 1.1rem; }
  .category-grid > div { font-size: 0.99rem; }
}

/* Misc */
[tabindex]:focus-visible {
  outline: 2px solid #D65C27;
}

/* Monochrome Sophisticated Palette
   Use only black/white/gray with strong contrast,
   but bring in branded color for key accent elements only. */
body {
  background: #FAFAFA;
  color: #171717;
}
section, .section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(23,23,23,0.05);
  margin-bottom: 60px;
}
.content-wrapper h2, .content-wrapper h3 {
  color: #111;
}
ul, ol { color: #232323; }
ul strong, ol strong { color: #111; }

/* VISUAL HIERARCHY & SPACING */
.section:not(:last-child) {
  margin-bottom: 60px;
}
.card, .testimonial-card {
  margin-bottom: 20px;
}
.card-container, .content-grid {
  gap: 20px;
}
.features {
  gap: 24px;
}

/* VISUAL MICRO-INTERACTIONS */
.button-primary, .cookie-banner .cookie-btn, .cookie-modal-btn {
  transition: background 0.2s, color 0.2s, box-shadow 0.16s, border 0.18s;
}
.main-nav a, .footer-nav a {
  transition: color 0.19s, background 0.17s;
}
.card, .features > div, .category-grid > div, .testimonial-card {
  transition: box-shadow 0.16s, border-color 0.16s;
  cursor: pointer;
}
.card:hover, .features > div:hover, .category-grid > div:hover {
  box-shadow: 0 4px 36px rgba(23,65,89,0.11) !important;
  border-color: #174159;
}
.testimonial-card:hover {
  border-left-color: #D65C27;
}

/* ACCESSIBILITY - CONTRAST FOR REVIEWS */
#opinie .testimonial-card,
section#opinie .testimonial-card {
  background: #fff;
  color: #161616;
  border-left: 4px solid #174159;
}
#opinie .testimonial-card:hover,
section#opinie .testimonial-card:hover {
  border-left-color: #D65C27;
}
/* HERO AREA (First Section each page) */
section:first-of-type {
  background: #fff;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
section:first-of-type h1 {
  color: #111;
  font-weight: 800;
}

/* Hide scrollbars for modal overlay on iOS/Android */
.cookie-modal-backdrop {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

/* Hide visually but keep accessible (for a11y, if needed later) */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* END OF STYLE.CSS */
