/* ========================
   RichMoor Kurier Minimalist CSS
   =============================
   Brand Colors: #004266 (Primary), #FFFFFF (Secondary), #FF9500 (Accent)
   Fonts: Montserrat (display), Roboto (body)
   =============================
*/

/* -------- 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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #FFFFFF;
  color: #222;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #004266;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #FF9500;
  outline-offset: 2px;
}
ul, ol {
  padding-left: 1.4em;
}
table { border-collapse: collapse; width: 100%; background: #fff; border-radius: 12px; overflow: hidden; margin-bottom: 32px; }
th, td { padding: 12px 16px; border-bottom: 1px solid #f1f1f1; text-align: left; }
th { font-family: 'Montserrat', Arial, sans-serif; font-weight: 600; background: #F5F7FA; font-size: 1.1rem; }
tr:last-child td { border-bottom: none; }

/* -------- TYPOGRAPHY -------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #004266;
  margin-bottom: 0.5em;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 0.8em; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 0.7em; }
h3 { font-size: 1.4rem; margin-bottom: 0.6em; }
h4 { font-size: 1.15rem; margin-bottom: 0.5em; }
p, ul, ol, dl, table {
  margin-bottom: 1.3em;
  font-size: 1rem;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
}
strong { color: #004266; font-weight: 600; }
small { font-size: 0.93em; color: #666; }

/* -------- LAYOUT CONTAINERS -------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.8em;
}

/* -------- SECTIONS & CARDS -------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 16px rgba(0,32,54,0.07);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px rgba(0,32,54,0.14);
  transform: translateY(-2px) scale(1.01);
}
.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;
  background: #F5F7FA;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(0,32,54,0.07);
  padding: 20px;
  margin-bottom: 20px;
  max-width: 530px;
  min-width: 220px;
}
.testimonial-card p {
  font-size: 1.04rem;
  color: #222;
  margin-bottom: 0.5em;
}
.testimonial-card small {
  color: #004266;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -------- HEADER -------- */
header {
  width: 100%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 18px 18px;
  box-shadow: 0 2px 10px rgba(0,66,102,0.02);
  position: relative;
  z-index: 50;
}
header a img {
  width: 155px;
  height: auto;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: 30px;
}
.main-nav a {
  color: #004266;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.19s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F5F7FA;
  color: #222;
}
.cta-primary {
  background: #004266;
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 26px;
  border-radius: 999px;
  margin-left: 30px;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 10px rgba(0,66,102,0.07);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #FF9500;
  color: #222;
  text-decoration: none;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #004266;
  margin-left: 22px;
  cursor: pointer;
  transition: color 0.18s;
  border-radius: 7px;
  padding: 7px 13px;
}
.mobile-menu-toggle:focus { background: #F5F7FA; outline: 2px solid #FF9500; }

/* -------- MOBILE NAV MENU -------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: #FFFFFF;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.86,0,.07,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 0 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #004266;
  cursor: pointer;
  align-self: flex-end;
  margin: 22px 18px 0 0;
  line-height: 1.1;
  transition: color 0.18s, background 0.23s;
  border-radius: 7px;
  padding: 9px 13px;
}
.mobile-menu-close:focus { background: #F5F7FA; outline: 2px solid #FF9500; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 34px 0 0 28px;
}
.mobile-nav a {
  color: #004266;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 500;
  padding: 10px 0;
  border-radius: 6px;
  transition: background 0.18s, color 0.2s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #F5F7FA; color: #222;
}

/* -------- MAIN & SECTIONS -------- */
main {
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #FFF;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
section:last-child { margin-bottom: 0; }

/* -------- FEATURES + ICONS -------- */
ul li, ol li {
  margin-bottom: 18px;
  font-size: 1.05rem;
  color: #222;
  display: flex;
  align-items: center;
  gap: 11px;
  list-style: none;
}
ul li img, ol li img {
  width: 28px;
  height: 28px;
  margin-right: 3px;
  flex-shrink: 0;
}
ol {
  counter-reset: step;
}
ol li {
  position: relative;
  counter-increment: step;
}

/* -------- CTA BANNERS -------- */
.cta-banner {
  background: #004266;
  color: #FFF;
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 16px;
  box-shadow: 0 3px 20px rgba(0,66,102,0.08);
  margin: 0 0 40px 0;
}
.cta-banner h2, .cta-banner p {
  color: #FFF;
}

/* -------- FOOTER -------- */
footer {
  background: #F5F7FA;
  padding: 46px 20px 36px 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-top: 1px solid #EBF0F5;
  margin-top: 60px;
}
.footer-logo img {
  width: 120px;
  height: auto;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 2px;
}
.footer-nav a {
  color: #004266;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  padding: 4px 0;
  border-radius: 6px;
  transition: background 0.18s, color 0.25s;
}
.footer-nav a:hover,
.footer-nav a:focus { background: #FFF; color: #FF9500; }
.footer-contact {
  color: #222;
  font-size: 0.97em;
  line-height: 1.7;
}
.footer-contact a { color: #004266; }

/* -------- COOKIE CONSENT BANNER -------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #222;
  color: #FFF;
  padding: 26px 18px 22px 18px;
  box-shadow: 0 -2px 15px rgba(0,0,0,0.13);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  transition: transform 0.36s cubic-bezier(.82,0,.13,1);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 7px;
  width: 100%;
  justify-content: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 30px;
  padding: 9px 24px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  margin: 0 5px;
  transition: background 0.19s, color 0.17s;
}
.cookie-btn.accept {
  background: #FF9500;
  color: #222;
}
.cookie-btn.reject {
  background: transparent;
  color: #FFF;
  border: 1.5px solid #FFF;
}
.cookie-btn.settings {
  background: #004266;
  color: #FFF;
}
.cookie-btn:focus { outline: 2px solid #FF9500; }
.cookie-btn:hover {
  opacity: 0.93;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-60%) scale(0.94);
  background: #FFF;
  color: #222;
  border-radius: 14px;
  box-shadow: 0 6px 48px rgba(0,32,54,0.14);
  padding: 38px 25px 30px 25px;
  z-index: 10000;
  width: 96vw;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: opacity 0.29s, transform 0.33s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h3 {
  font-size: 1.23rem;
  margin-bottom: 0.7em;
  color: #004266;
}
.cookie-pref-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-pref-row {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 0.99rem;
}
.cookie-toggle {
  appearance: none;
  width: 32px;
  height: 18px;
  background: #F5F7FA;
  border-radius: 16px;
  position: relative;
  outline: none;
  cursor: pointer;
  margin-right: 6px;
  transition: background 0.19s;
  border: 1px solid #EEE;
}
.cookie-toggle:checked {
  background: #FF9500;
  border-color: #FF9500;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 1px;
  width: 16px; height: 16px;
  background: #FFF;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  transition: left 0.23s;
}
.cookie-toggle:checked:before {
  left: 14px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #004266;
  font-size: 1.7rem;
  position: absolute;
  top: 15px; right: 15px;
  cursor: pointer;
  transition: background 0.17s, color 0.19s;
  border-radius: 7px;
  padding: 4px 8px;
}
.cookie-modal-close:focus { background: #F5F7FA; outline: 2px solid #FF9500; }

/* -------- RESPONSIVE DESIGN -------- */
@media (max-width: 1100px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 920px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    align-items: center;
    padding: 15px 13px 13px 10px;
  }
  header a img { width: 120px; }
  .main-nav, .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  .section, section {
    margin-bottom: 38px;
    padding: 26px 0;
  }
  .content-wrapper {
    gap: 1.15em;
  }
  .card-container, .content-grid {
    gap: 16px;
  }
  .testimonial-card {
    padding: 16px;
    min-width: 0;
    max-width: 98vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-logo img { width: 97px; }
  .footer-nav { gap: 12px; }
  .footer-contact { font-size: 0.93em; }
  .cta-banner { padding: 19px 8px; border-radius: 11px; }
}
@media (max-width: 500px) {
  h1 { font-size: 1.49rem; }
  h2 { font-size: 1.18rem; }
  .section, section {
    padding: 17px 0 12px 0;
  }
  .footer-logo img { width: 80px; }
  .card { padding: 18px 10px; }
}

/* -------- MICRO-INTERACTIONS -------- */
button, .cta-primary, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn, .cookie-modal-close {
  transition: background 0.18s, box-shadow 0.17s, color 0.16s, transform 0.19s;
}
button:active, .cta-primary:active, .cookie-btn:active {
  transform: scale(.98);
}
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.3px solid #DFE7EF;
  background: #FAFBFC;
  padding: 10px 16px;
  margin-bottom: 22px;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: #FF9500;
  outline: none;
}

/* -------- MISC -------- */
.text-section h2 { margin-bottom: 0.45em; }
.text-section ul li { margin-bottom: 12px; }

/* For visually hidden (e.g. cookie) */
.visually-hidden { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* -------- ENSURE MANDATORY SPACING -------- */
section, .section { margin-bottom: 60px !important; padding: 40px 20px !important; }
.card-container, .content-grid { gap: 20px !important; flex-wrap: wrap; }
.card { margin-bottom: 20px !important; }
.text-image-section { gap: 30px !important; align-items: center; flex-wrap: wrap; }
.testimonial-card { gap: 20px !important; align-items: center; padding: 20px !important; }
.feature-item { flex-direction: column; align-items: flex-start; gap: 15px !important; }

/* --------- END OF MINIMALIST CSS --------- */