/* CSS RESET & BASELINE */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #141414;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: 0.1px;
  -webkit-font-smoothing: antialiased;
  background-color: #fff;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #175A76;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #000;
  text-decoration: underline;
}
ul, ol {
  margin: 0 0 20px 0;
  padding: 0 0 0 24px;
}
ul {
  list-style: disc outside;
}
strong {
  font-weight: 600;
}
blockquote {
  font-style: italic;
  border-left: 4px solid #212121;
  margin: 0 0 10px 0;
  padding: 0 0 0 16px;
  color: #393939;
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
}

/* TYPOGRAPHY */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #141414;
  margin-bottom: 16px;
  letter-spacing: -0.25px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #303030;
  margin-bottom: 12px;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #232323;
}
.section h1, .section h2, .section h3 { margin-top: 0; }

@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.3rem; }
  h3, .h3 { font-size: 1.1rem; }
  .container { padding: 0 12px; }
}

/* LAYOUT UTILS & FLEXBOX MANDATORY PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #f7f7f7;
  color: #1d1d1d;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 28px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid #ebebeb;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(23,90,118,0.14), 0 1.5px 10px rgba(0,0,0,0.07);
  transform: translateY(-2px) scale(1.015);
}
.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;
  align-items: center;
  gap: 20px;
  background: #F9F9F9;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 20px 32px 20px 24px;
  margin-bottom: 20px;
  border: 1px solid #ececec;
  color: #151515;
  min-width: 0;
  transition: box-shadow 0.2s, background 0.2s;
}
.testimonial-card:hover {
  background: #fff;
  box-shadow: 0 3px 20px rgba(23,90,118,0.10);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-grid > div {
  flex: 1 1 200px;
  background: #f7f7f7;
  border-radius: 14px;
  padding: 24px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1px solid #eaeaea;
  transition: box-shadow 0.2s, background 0.2s;
}
.service-grid > div:hover {
  background: #fff;
  box-shadow: 0 6px 18px rgba(23,90,118,0.17);
}
.service-price {
  color: #175A76;
  font-weight: 600;
  margin-top: 8px;
  font-size: 1.1rem;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.7em 2em;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  line-height: 1.15;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.18s, color 0.17s, box-shadow 0.19s, transform 0.13s;
  margin-top: 14px;
}
.btn.primary, .btn.primary:visited {
  background: #141414;
  color: #fff;
  box-shadow: 0 2px 10px rgba(23,90,118,0.08);
}
.content-wrapper .footer-contact {
  color: #000;
}
.btn.primary:hover, .btn.primary:focus {
  background: #fff;
  color: #141414;
  border: 1.5px solid #141414;
  box-shadow: 0 4px 24px rgba(23,90,118,0.16);
  transform: translateY(-1px) scale(1.01);
}
.btn.secondary {
  background: #fff;
  color: #141414;
  border: 1.5px solid #141414;
}
.btn.secondary:hover, .btn.secondary:focus {
  background: #141414;
  color: #fff;
  border: 1.5px solid #232323;
  box-shadow: 0 6px 22px rgba(0,0,0,0.09);
  transform: translateY(-1px) scale(1.01);
}
.btn.accent {
  background: #E1A200;
  color: #fff;
}
.btn.accent:hover, .btn.accent:focus {
  background: #FFD75A;
  color: #232323;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #ebebeb;
  box-shadow: 0 2px 18px rgba(20,20,28,0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-navigation {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: flex-start;
  padding: 0;
  height: 72px;
}
.main-navigation > a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: #232323;
  font-weight: 500;
  padding: 0 10px;
  border-radius: 4px;
  transition: background 0.16s, color 0.12s;
  height: 100%;
  display: flex;
  align-items: center;
}
.main-navigation > a:hover, .main-navigation > a:focus {
  color: #000;
  background: #f0f0f0;
}
.main-navigation > a img {
  height: 38px;
  width: auto;
  margin-right: 10px;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #000;
  position: absolute;
  right: 28px;
  top: 18px;
  cursor: pointer;
  z-index: 1900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background 0.15s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #f0f1f3;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 2000;
  transform: translateX(-100vw);
  box-shadow: 0 0 36px rgba(0,0,0,0.16);
  transition: transform 0.38s cubic-bezier(.78,.39,.45,1.16);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #000;
  align-self: flex-end;
  margin: 20px 22px 0 0;
  cursor: pointer;
  transition: background 0.13s;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ececec;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 48px 34px 0 40px;
}
.mobile-nav a {
  font-size: 1.23rem;
  color: #232323;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 8px 0;
  border-radius: 6px;
  transition: color 0.13s, background 0.11s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f4f4f4;
  color: #000;
}
@media (max-width: 1100px) {
  .main-navigation {
    gap: 18px;
  }
}
@media (max-width: 920px) {
  .main-navigation {
    gap: 8px;
  }
}
@media (max-width: 850px) {
  .main-navigation { gap: 2px; }
  .main-navigation > a { font-size: 0.97rem; }
  .main-navigation > a img { height: 32px; }
}
@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header { min-height: 62px; }
}
@media (min-width: 769px) {
  .mobile-menu { display: none; }
}

/* HERO SECTION */
.hero {
  background: #fff;
  padding-top: 44px;
  padding-bottom: 38px;
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}
@media (max-width: 800px) {
  .hero { padding-top: 26px; padding-bottom: 26px; }
  .hero .container { min-height: 120px; }
}

/* FOOTER */
footer {
  background: #121212;
  padding: 48px 0 32px 0;
  color: #f1f1f1;
  border-top: 1px solid #232323;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-navigation {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 24px;
}
.footer-navigation a {
  color: #f1f1f1;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.12s, text-decoration 0.13s;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  text-decoration: underline;
  color: #E1A200;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #eaeaea;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 18px;
  vertical-align: middle;
  margin-right: 7px;
}
footer a img {
  height: 39px;
  width: auto;
  margin-bottom: 18px;
}
@media (max-width: 850px) {
  footer .container {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
  }
}

/* SECTION SPACING UTILITY */
@media (max-width: 600px) {
  .section {
    padding: 26px 7px;
    margin-bottom: 35px;
  }
}

/* TESTIMONIALS CONTRAST/ACCESSIBILITY */
.testimonial-card {
  background: #fff;
  color: #232323;
  border: 1.5px solid #e3e3e3;
  box-shadow: 0 4px 18px rgba(66,66,66,0.06);
}
.testimonial-card blockquote {
  color: #172939;
  border-color: #141414;
  font-size: 1.08rem;
  font-weight: 500;
}
.testimonial-card > div {
  color: #394150;
  font-size: 1rem;
}

/* SERVICE GRID (INDEX SERVICES) */
@media (max-width: 1100px) {
  .service-grid { flex-direction: column; gap: 24px; }
  .service-grid > div { width: 100%; min-width: 0; }
}

/* CONTENT FLEX UTILS */
@media (max-width: 1100px) {
  .content-grid { flex-direction: column; gap: 28px;}
  .text-image-section { flex-direction: column; gap: 20px; }
}
@media (max-width: 768px) {
  .content-grid, .text-image-section { flex-direction: column; gap: 18px;}
}

/* GENERAL FORMS & INPUTS */
input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}
input, textarea {
  background: #f8f8f8;
  border: 1px solid #d4d6d9;
  border-radius: 7px;
  padding: 10px 12px;
  margin-bottom: 12px;
  transition: border 0.14s, box-shadow 0.14s;
}
input:focus, textarea:focus {
  border-color: #175A76;
  box-shadow: 0 1px 6px #175A7620;
}

/* ICONS IN LISTS */
ul li>img, .feature-item img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 9px;
}
li {
  margin-bottom: 11px;
}

/* ACCENT ELEMENTS */
span[aria-label="ocena"] {
  color: #E1A200;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 4px;
  letter-spacing: 2.3px;
}

/* MODALS, BANNERS, MICRO-INTERACTIONS */
/* COOKIE CONSENT */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 2500;
  background: #111;
  box-shadow: 0 -2px 30px rgba(40,40,40,0.14);
  color: #fff;
  padding: 26px 16px 19px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  min-height: 50px;
  justify-content: space-between;
  font-size: 1.08rem;
  animation: fadeInBanner 0.9s;
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(80px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-btn {
  border: none;
  border-radius: 21px;
  padding: 7px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.19s, color 0.14s;
  margin-right: 0;
}
.cookie-btn.accept {
  background: #141414;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #E1A200;
  color: #141414;
}
.cookie-btn.reject {
  background: #fff;
  color: #141414;
  border: 1.5px solid #888;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #232323;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1.4px solid #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #fff;
  color: #141414;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(16,16,16,0.56);
  z-index: 2550;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeModalBg 0.33s;
}
@keyframes fadeModalBg {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #232323;
  padding: 34px 28px 20px 36px;
  border-radius: 18px;
  box-shadow: 0 4px 44px rgba(0,0,0,0.17);
  max-width: 390px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 13px;
  animation: fadeInModal 0.35s;
  position: relative;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.96) translateY(50px);} to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.19rem;
  color: #141414;
  margin-bottom: 8px;
}
.cookie-modal .modal-close {
  background: none;
  border: none;
  position: absolute;
  right: 15px;
  top: 8px;
  font-size: 1.65rem;
  color: #232323;
  cursor: pointer;
  border-radius: 50%;
  width: 34px; height: 34px;
  padding: 0;
  transition: background 0.12s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #eee;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #f8f8f8;
  padding: 8px 13px;
  border-radius: 10px;
  margin-bottom: 8px;
}
.cookie-category .toggle-btn {
  background: #eee;
  border: 1.5px solid #aaa;
  border-radius: 18px;
  width: 45px;
  height: 24px;
  position: relative;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: background 0.17s, border 0.12s;
}
.cookie-category .toggle-btn:checked {
  background: #175A76;
  border-color: #175A76;
}
.cookie-category .toggle-btn:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3.5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}
.cookie-category .toggle-btn:checked:before {
  transform: translateX(21px);
}
.cookie-category .category-required {
  color: #E1A200;
  font-size: 0.98em;
  font-weight: 500;
  margin-left: 8px;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 7px 13px 11px;
    font-size: 0.98rem;
    gap: 12px;
  }
  .cookie-banner__actions {
    gap: 8px;
  }
  .cookie-modal {
    padding: 19px 8px 12px 13px;
    max-width: 97vw;
  }
}


/* MONOCHROME_SOPHISTICATED SPECIFIC */
body, .section, .hero {
  background-color: #fff;
  color: #151515;
}
.card, .service-grid > div, .testimonial-card, .cookie-modal {
  border-radius: 17px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}
ul li, .feature-item {
  color: #232323;
  font-size: 1.04rem;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* MISCELLANEOUS ACCESSIBILITY/UTILITY STYLES */
:focus {
  outline: 2px solid #E1A200;
  outline-offset: 2px;
}

@media (max-width: 680px) {
  h1, .h1 { font-size: 1.35rem; }
  h2, .h2 { font-size: 1.06rem; }
}

/* HIDE SCROLLBAR FOR MOBILE NAV (optional, UX) */
.mobile-menu::-webkit-scrollbar {
  display: none;
}
.mobile-menu {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Prevent container overlapping on very small screens */
@media (max-width: 500px) {
  .container {
    padding: 0 4px;
  }
  .section {
    padding: 10px 1px;
  }
}

/* Hide elements visually if needed (utility) */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
