/* === 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,
main, 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 {
  height: 100%;
  font-size: 16px;
}
body {
  min-height: 100vh;
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #0B3954;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #0B3954;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2B134;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}
strong, b {
  font-weight: bold;
}

/* === BRAND TYPOGRAPHY === */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  line-height: 1.1;
  color: #0B3954;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
}
p, li, label, input, select, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #222;
}
blockquote {
  border-left: 4px solid #F2B134;
  background: #BFD7EA22;
  color: #0B3954;
  padding: 16px 24px;
  font-style: italic;
  margin: 20px 0;
  border-radius: 12px;
  font-size: 1.15rem;
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 rgba(11, 57, 84, .08);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: 0 4px 18px 0 rgba(11,57,84,.07);
  transition: box-shadow 0.25s, transform 0.18s;
  position: relative;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 360px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(11,57,84,.14);
  transform: translateY(-3px) scale(1.012);
}

.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: #BFD7EA;
  color: #0B3954;
  padding: 24px 28px;
  border-radius: 18px;
  margin-bottom: 20px;
  min-width: 260px;
  box-shadow: 0 4px 16px 0 rgba(11, 57, 84, .12);
  font-size: 1.13rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card strong {
  color: #0B3954;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-card div {
  font-size: 1.1rem;
  color: #F2B134;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 12px;
}
ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.5;
  color: #0B3954;
  font-weight: 500;
  font-size: 1rem;
}

/* === BUTTONS & CTAs === */
.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.12rem;
  background: #F2B134;
  color: #0B3954 !important;
  padding: 16px 36px;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(242,177,52,.12);
  border: none;
  letter-spacing: .03em;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  text-align: center;
  margin-top: 12px;
  margin-bottom: 12px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #0B3954;
  color: #fff !important;
  box-shadow: 0 4px 16px 0 rgba(11,57,84,.26);
  transform: translateY(-2px) scale(1.03);
}

/* === HEADER & NAV === */
header {
  width: 100%;
  background: #0B3954;
  box-shadow: 0 2px 12px 0 rgba(11, 57, 84, .11);
  position: relative;
  z-index: 1001;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
  min-height: 60px;
}
header img {
  height: 38px;
  width: auto;
  margin-right: 18px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #BFD7EA;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-bottom 0.18s;
}
header nav a:hover, header nav a:focus {
  color: #F2B134;
  border-bottom: 2px solid #F2B134;
}
header .btn-primary {
  margin: 0 0 0 20px;
}

/* MOBILE HEADER */
.mobile-menu-toggle {
  display: none;
  background: #0B3954;
  color: #F2B134;
  border: none;
  font-size: 2rem;
  padding: 8px 16px;
  border-radius: 9px;
  margin-left: 12px;
  transition: background 0.18s;
  z-index: 1102;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F2B134;
  color: #0B3954;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 84vw;
  max-width: 340px;
  height: 100vh;
  background: #0B3954;
  box-shadow: -8px 0 32px rgba(11,57,84,0.22);
  z-index: 2001;
  padding: 34px 26px 26px 32px;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.86,.05,.58,1.09);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #F2B134;
  color: #0B3954;
  border: none;
  border-radius: 50%;
  padding: 8px 11px;
  font-size: 1.7rem;
  margin-bottom: 28px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff;
  color: #0B3954;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  color: #BFD7EA;
  font-size: 1.17rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: none;
  padding: 9px 0;
  border-radius: 6px;
  transition: background 0.14s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #BFD7EA44;
  color: #F2B134;
}

/* === MAIN STYLES === */
main {
  flex: 1 1 100%;
  width: 100%;
  margin: 0 auto 40px auto;
  background: #fff;
  position: relative;
  z-index: 1;
}

/* === FOOTER === */
footer {
  padding: 44px 0 30px 0;
  background: #0B3954;
  color: #BFD7EA;
  font-size: 1rem;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  box-shadow: 0 -6px 24px rgba(11,57,84,.13);
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1 1 200px;
}
.footer-menu a {
  color: #BFD7EA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1em;
  transition: color 0.16s;
}
.footer-menu a:hover {
  color: #F2B134;
}
.footer-contact {
  flex: 2 1 350px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1rem;
}
.footer-contact img {
  vertical-align: middle;
  height: 24px;
  margin-right: 7px;
  margin-bottom: -5px;
}
footer a {
  color: #F2B134;
  word-break: break-all;
}
footer a:hover {
  color: #fff;
}

/* === FORMS, INPUTS, SELECT === */
input[type="search"], select {
  padding: 12px 18px;
  border-radius: 9px;
  border: 2px solid #BFD7EA;
  font-size: 1rem;
  width: 100%;
  background: #fff;
  margin-bottom: 12px;
  color: #0B3954;
  transition: border-color 0.15s;
  outline: none;
}
input[type="search"]:focus, select:focus {
  border-color: #F2B134;
  background: #BFD7EA33;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.94rem;
  color: #0B3954;
  margin-bottom: 3px;
  display: inline-block;
  font-weight: 600;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #0B3954;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1rem;
  z-index: 3000;
  gap: 18px;
  box-shadow: 0 -6px 32px rgba(11,57,84,.18);
  animation: cookieBannerSlideIn 0.6s cubic-bezier(.77,0,.18,1);
  border-radius: 18px 18px 0 0;
}
@keyframes cookieBannerSlideIn {
  0% {transform: translateY(100%); opacity:0;}
  100% {transform: translateY(0); opacity:1;}
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 9px;
  font-size: 1em;
  padding: 11px 22px;
  margin-left: 2px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cookie-btn--accept {
  background: #F2B134;
  color: #0B3954;
}
.cookie-btn--accept:hover, .cookie-btn--accept:focus {
  background: #fff;
  color: #0B3954;
}
.cookie-btn--reject {
  background: #BFD7EA;
  color: #0B3954;
}
.cookie-btn--reject:hover, .cookie-btn--reject:focus {
  background: #F2B134;
  color: #fff;
}
.cookie-btn--settings {
  background: transparent;
  color: #fff;
  border: 2px solid #F2B134;
}
.cookie-btn--settings:hover, .cookie-btn--settings:focus {
  background: #F2B134;
  color: #0B3954;
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 57, 84, 0.75);
  z-index: 3002;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.21s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #0B3954;
  border-radius: 22px;
  box-shadow: 0 8px 36px rgba(11,57,84,.19);
  max-width: 420px;
  width: 90%;
  padding: 38px 32px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  animation: cookieModalUp 0.36s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieModalUp {
  0% {transform: translateY(60px); opacity:0;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: #F2B134;
  color: #0B3954;
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #BFD7EA44;
  border-radius: 9px;
  padding: 13px 17px;
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.cookie-category label {
  margin: 0;
  font-weight: 700;
  color: #0B3954;
}
.cookie-category input[type="checkbox"] {
  accent-color: #F2B134;
  width: 22px;
  height: 22px;
}
.cookie-essential {
  opacity: 0.6;
}
.cookie-essential label::after {
  content: " (vždy povoleno)";
  font-weight: 400;
  font-size: 0.95em;
  color: #555;
}

/* =========================
   == RESPONSIVE BREAKPOINTS ==
   ========================= */
@media (max-width:1024px) {
  .container { max-width: 94vw; }
  header .container { padding-right: 12px; padding-left: 12px; }
}
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.37rem; }
  .container { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 10px;
    height: 62px;
    min-height: 58px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .section {
    padding: 26px 7px;
    margin-bottom: 32px;
    border-radius: 14px;
  }
  .content-wrapper {
    gap: 20px;
  }
  .card-container, .content-grid {
    gap: 14px;
  }
  .testimonial-card {
    font-size: 1rem;
    padding: 14px 13px;
    border-radius: 12px;
  }
  .feature-item { gap: 7px; margin-bottom: 12px; }
  .text-image-section { flex-direction: column; gap: 16px; }
  .footer-menu, .footer-contact { font-size: 0.97rem; }
  footer .container { flex-direction: column; gap: 18px; }
  .cookie-modal { padding: 28px 11px 18px 13px; border-radius: 9px; }
}
@media (max-width: 600px) {
  .btn-primary,
  .cookie-btn {
    font-size: 1em;
    padding: 13px 16px;
    border-radius: 9px;
  }
  .mobile-menu {
    width: 96vw;
    max-width: 100vw;
    padding: 26px 9px 16px 16px;
    border-radius: 0;
  }
  .mobile-menu-close {
    font-size: 1.4rem;
    padding: 7px 10px;
    height: 36px;
    width: 36px;
  }
  .footer-menu, .footer-contact { font-size: 0.93rem; }
  .testimonial-card { padding: 10px 6px; }
}
@media (max-width: 420px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1rem; }
}

/* === ANIMATIONS & MICRO-INTERACTIONS === */
.btn-primary, .cookie-btn {
  will-change: transform, box-shadow;
}
.card, .testimonial-card, .cookie-banner {
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:active, .btn-primary:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* === MISC UTILITIES FOR BOLD, MODERN STYLE === */
.geometric-shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.geometric-dot {
  width: 18px; height: 18px;
  background: #F2B134;
  border-radius: 50%;
}
.geometric-rect {
  width: 44px; height: 14px;
  background: #BFD7EA;
  border-radius: 6px;
}

/* === VISUAL HIERARCHY OVERRIDES === */
.section > h1, .section > h2, .section > h3 {
  margin-top: 0;
  margin-bottom: 18px;
}
.section > p {
  margin-bottom: 12px;
}

/* ==== ELEVATED: .card, .testimonial-card visual effect ==== */
.card, .testimonial-card {
  border: 2px solid #BFD7EA;
}
.card:before {
  content: "";
  display: block;
  position: absolute;
  top: -19px; right: -19px;
  width: 38px; height: 38px;
  background: #F2B134;
  border-radius: 12px 0 42px 32px;
  opacity: 0.07;
  z-index: 1;
  pointer-events: none;
}
.card:after {
  content: "";
  display: block;
  position: absolute;
  bottom: -15px; left: -15px;
  width: 24px; height: 24px;
  background: #BFD7EA;
  border-radius: 42px 0 0 32px;
  opacity: 0.1;
  z-index: 1;
  pointer-events: none;
}

/* === Highlighted links in plain content === */
.section a:not(.btn-primary),
.testimonial-card a {
  color: #F2B134;
  text-decoration: underline;
  font-weight: 700;
  transition: color 0.16s;
}
.section a:not(.btn-primary):hover,
.testimonial-card a:hover {
  color: #0B3954;
}

/* === Accessibility utility classes === */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* === Prevent content overlap & add spacing === */
.section, .card, .testimonial-card, .content-wrapper, .card-container, .content-grid,
.text-image-section, .feature-item {
  margin-bottom: 20px;
}

/* === Z-INDEX ENFORCEMENT === */
header, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay {
  z-index: 3000;
}
main, .section, .card, .testimonial-card {
  z-index: 1;
}

/* ==== END OF CSS FILE ==== */
