/* ==== Scandinavian Clean Design CSS for Luminous Banks ==== */
/* --- CSS Reset and 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 {
  font-size: 16px;
  box-sizing: border-box;
  scroll-behavior: smooth;
  background: #F6F8FC;
}

body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #222831;
  background: #F6F8FC;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

*, *::before, *::after {
  box-sizing: inherit;
}

img, picture {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #1B263B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #40A2E3;
  outline: none;
}
ul, ol {
  list-style: none;
}

button, .btn-primary {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', 'serif';
  color: #1B263B;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 { font-size: 2.25rem; line-height: 1.16; margin-bottom: 20px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }

p, li, a, span, label {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #222831;
}
strong {
  font-weight: 700;
  color: #1B263B;
  letter-spacing: 0.01em;
}

/* ---- Layout Containers ---- */
.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 8px 0 rgba(27,38,59,0.03);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-top: 8px;
}

.card-container, .card-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(27,38,59,0.06);
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  min-width: 240px;
  flex: 1 1 260px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.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;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F6F8FC;
  padding: 18px 24px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F6F8FC;
  border-radius: 14px;
  margin-bottom: 24px;
  box-shadow: 0 1px 6px 0 rgba(27,38,59,0.05);
  max-width: 480px;
}
.testimonial-card p {
  color: #222831;
  font-style: italic;
  font-size: 1.0625rem;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 1rem;
  color: #1B263B;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .card-container, .card-grid, .features, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .section {
    padding: 28px 10px;
    gap: 10px;
  }
  .container {
    padding: 0 8px;
  }
}

/* ---- Header and Navigation ---- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 12px 0;
  background: #fff;
  border-bottom: 1px solid #ECECEC;
  min-height: 82px;
  position: relative;
  z-index: 10;
}
header > a > img {
  height: 48px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 32px;
}
nav a {
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1B263B;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: #F6F8FC;
  color: #40A2E3;
}
.btn-primary {
  background: #40A2E3;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 12px;
  box-shadow: 0 1px 5px 0 rgba(64,162,227,0.07);
  margin-left: 20px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  letter-spacing: 0.03em;
  border: none;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #1B263B;
  color: #fff;
  box-shadow: 0 2px 10px rgba(27,38,59,0.11);
  transform: translateY(-2px) scale(1.03);
  outline: none;
}

/* ---- Mobile Navigation ---- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: #40A2E3;
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 50;
  border: none;
  transition: box-shadow 0.18s, background 0.2s;
  box-shadow: 0 2px 8px rgba(64,162,227, 0.10);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #1B263B;
  outline: none;
}
@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: flex;
  }
  nav, .btn-primary {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(27,38,59,0.24);
  z-index: 200;
  transform: translateX(106%);
  transition: transform 0.43s cubic-bezier(.61,.01,.46,.98);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 54px;
  padding: 48px 34px 34px 48px;
  background: #fff;
  min-width: 71vw;
  max-width: 87vw;
  min-height: 100vh;
  box-shadow: -6px 0 24px 0 rgba(27,38,59,0.12);
  border-radius: 20px 0 0 20px;
}
.mobile-nav a {
  font-size: 1.17rem;
  color: #1B263B;
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 13px 10px;
  border-radius: 12px;
  transition: background 0.18s, color 0.18s;
  font-weight: 600;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #F6F8FC;
  color: #40A2E3;
  outline: none;
}
.mobile-menu-close {
  font-size: 2rem;
  background: #fff;
  color: #222831;
  border-radius: 50%;
  border: none;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 24px;
  right: 27px;
  z-index: 300;
  box-shadow: 0 1px 8px rgba(64,162,227, 0.09);
  transition: background 0.19s,color 0.13s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #40A2E3;
  color: #fff;
  outline: none;
}

@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {display: none !important;}
}


/* --- Footer --- */
footer {
  background: #fff;
  border-top: 1px solid #ECECEC;
  padding: 32px 0 16px 0;
  min-height: 90px;
  margin-top: 48px;
}
.footer-menu {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.footer-menu a {
  color: #1B263B;
  font-size: 1rem;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background .17s, color .17s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #F6F8FC;
  color: #40A2E3;
  outline: none;
}
.footer-contact {
  text-align: center;
  color: #7B8794;
  font-size: 0.98rem;
  margin-top: 6px;
}

@media (max-width: 544px) {
  .footer-menu {
    gap: 12px;
    font-size: 0.97rem;
  }
}

/* --- Lists and Content Blocks --- */
ul li, ol li {
  padding-left: 0;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.01em;
  line-height: 1.6;
}
ul li img {
  width: 28px;
  height: 28px;
  margin-right: 6px;
  flex-shrink: 0;
}

ul {
  margin-bottom: 12px;
}

/* --- Home Features / Icons --- */
.content-wrapper ul li img {
  background: #F6F8FC;
  border-radius: 7px;
  box-shadow: 0 1px 4px rgba(27,38,59,0.05);
}

/* --- Form Styles (if needed in kontakt.html) --- */
input, textarea {
  width: 100%;
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 11px 15px;
  margin: 8px 0 16px 0;
  border: 1px solid #E4E9F2;
  border-radius: 10px;
  background: #F6F8FC;
  font-size: 1rem;
  color: #222831;
  transition: border-color 0.2s;
}
input:focus, textarea:focus {
  border-color: #40A2E3;
  outline: none;
  background: #fff;
}
label {
  font-size: 1rem;
  margin-bottom: 7px;
  display: block;
}

/* --- Utility Classes --- */
.bg-accent { background: #F6F8FC!important; }
.bg-primary { background: #1B263B!important; color: #fff!important; }
.txt-primary { color: #1B263B!important; }
.txt-secondary { color: #40A2E3!important; }
.rounded-lg { border-radius: 20px !important; }
.shadow-m { box-shadow: 0 2px 8px rgba(27,38,59,0.13) !important; }

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -2px 18px rgba(27,38,59,0.11);
  padding: 28px 18px 20px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  z-index: 9900;
  transition: transform 0.40s cubic-bezier(.62,0,.39,1.02);
  transform: translateY(120%);
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-banner p {
  color: #222831;
  font-size: 1rem;
  margin: 0;
  flex: 1 1 320px;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #40A2E3;
  color: #fff;
  padding: 10px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  border: none;
  transition: background 0.2s, color 0.18s, transform 0.17s;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #1B263B;
  color: #fff;
}
.cookie-btn.secondary {
  background: #fff;
  color: #40A2E3;
  border: 1.5px solid #40A2E3;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #40A2E3;
  color: #fff;
}

@media (max-width: 625px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 7px 16px 7px;
  }
}

/* --- Cookie Modal --- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27,38,59,0.21);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.31s cubic-bezier(.33,0,.66,1);
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  padding: 36px 18px 28px 28px;
  border-radius: 18px;
  min-width: 320px;
  max-width: 98vw;
  min-height: 230px;
  box-shadow: 0 8px 24px rgba(27,38,59,0.13);
  color: #1B263B;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h3 {
  margin-bottom: 7px;
  font-size: 1.13rem;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 12px;
}
.cookie-cat input[type=checkbox] {
  width: 20px; height: 20px;
  accent-color: #40A2E3;
  margin-right: 7px;
}
.cookie-cat label {
  font-size: 1rem;
  color: #222831;
}
.cookie-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.6rem;
  background: transparent;
  border: none;
  color: #7B8794;
  cursor: pointer;
  z-index: 1;
  transition: color .23s;
}
.cookie-close-modal:focus, .cookie-close-modal:hover {
  color: #40A2E3;
  outline: none;
}

@media (max-width: 440px) {
  .cookie-modal {
    min-width: 90vw;
    padding: 21px 4px 14px 9px;
  }
}

/* --- Animations --- */
@media (prefers-reduced-motion: no-preference) {
  .btn-primary, .cookie-btn {
    transition: background 0.18s, color 0.13s, box-shadow 0.18s, transform 0.11s;
  }
  a, .footer-menu a, nav a, .mobile-nav a {
    transition: color 0.18s, background 0.18s;
  }
}

/**** --- Custom Scrollbar (NICE on Light BG) --- ****/
html {
  scrollbar-width: thin;
  scrollbar-color: #40A2E3 #F6F8FC;
}
::-webkit-scrollbar {
  width: 9px;
  background: #F6F8FC;
}
::-webkit-scrollbar-thumb {
  background: #40A2E3;
  border-radius: 24px;
}
::-webkit-scrollbar-thumb:hover { background: #1B263B; }

/* ---- Misc Utility ---- */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top:40px; }
.mb-40 { margin-bottom:40px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-20 { gap: 20px; }

/* ---- Responsive Typography ---- */
@media (max-width: 540px) {
  h1 {
    font-size: 1.36rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  h3 {
    font-size: 1rem;
  }
  p, li, label, a, span {
    font-size: 0.96rem;
  }
  .btn-primary, .cookie-btn {
    font-size: 0.97rem;
    padding: 10px 18px;
  }
}

/* --- Subtle box/shadow accent for cards --- */
.card, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.13s, background 0.13s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 4px 16px 0 rgba(27,38,59,0.12);
  transform: translateY(-2px) scale(1.016);
  background: #F6F8FC;
}

/* --- Selection --- */
::selection {
  background: #40A2E3;
  color: #fff;
}

/* --- Accessibility Focus --- */
:focus, .focus-visible {
  outline: 2px dashed #40A2E3 !important;
  outline-offset: 2px !important;
}

/* --- No Grid, Only Flexbox Used --- */
/* VERIFIED: No grid or columns properties present */

/* END OF CSS */
