/* RESET & BASE STYLES */
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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F8FAFB;
  color: #22404e;
  min-height: 100vh;
  line-height: 1.7;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #34789c;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #11558B;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
::-webkit-input-placeholder { color: #b1c3cf; }
::-moz-placeholder { color: #b1c3cf; }
:-ms-input-placeholder { color: #b1c3cf; }
::placeholder { color: #b1c3cf; }

/* BRAND COLORS */
:root {
  --color-primary: #11558B;
  --color-secondary: #56886C;
  --color-accent: #F2F9FB;
  --color-pastel-blue: #bdd6f6;
  --color-pastel-green: #cde7da;
  --color-pastel-pink: #fde1ea;
  --color-pastel-yellow: #fff9ec;
  --color-pastel-lavender: #f5eafe;
  --color-text-body: #22404e;
  --color-text-dark: #18374d;
  --color-card-bg: #ffffff;
  --color-shadow: rgba(108,183,224,0.13);
  --color-muted: #bdd6f6;
  --color-testimonial-bg: #ECF6FD;
  --color-testimonial-border: #cde7da;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.015em;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
p, li {
  font-size: 1.063rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--color-text-body);
  margin-bottom: 12px;
}
strong {
  color: var(--color-secondary);
  font-weight: 700;
}
.cta, .button {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(90deg, #bdd6f6 0%, #cde7da 100%);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  border: none;
  border-radius: 36px;
  cursor: pointer;
  box-shadow: 0 2px 20px var(--color-shadow);
  text-align: center;
  text-decoration: none;
  transition: background 0.35s, color 0.2s, box-shadow 0.2s;
  outline: none;
  margin-top: 10px;
}
.button-alt, .cta.button-alt {
  background: var(--color-pastel-pink);
  color: var(--color-primary);
  border: 2px solid var(--color-muted);
}
.cta:hover, .button:hover, .cta:focus, .button:focus {
  background: linear-gradient(90deg, #fff9ec 0%, #bdd6f6 100%);
  color: var(--color-secondary);
  box-shadow: 0 6px 30px var(--color-shadow);
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  background: rgba(255,255,255,0.7);
  border-radius: 28px;
  box-shadow: 0 2px 24px var(--color-shadow);
  backdrop-filter: blur(2px);
  margin-bottom: 32px;
  padding: 32px 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

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

.card {
  background: var(--color-card-bg);
  border-radius: 22px;
  box-shadow: 0 1px 12px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 28px var(--color-shadow);
  transform: translateY(-5px) scale(1.02);
}

.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;
  padding: 20px;
  background: var(--color-testimonial-bg);
  border-left: 4px solid var(--color-secondary);
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 24px;
  width: 100%;
  color: var(--color-text-dark);
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 16px var(--color-shadow);
}
.testimonial-card p {
  color: var(--color-text-dark);
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card span {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

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

/* HEADER & NAVIGATION */
header {
  background: linear-gradient(90deg, #bdd6f6 0%, #cde7da 100%);
  box-shadow: 0 1px 12px var(--color-shadow);
  padding: 0;
  position: relative;
  z-index: 202;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  min-height: 70px;
}
header img {
  height: 45px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  padding: 4px 7px;
  border-radius: 9px;
  transition: background 0.2s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: var(--color-pastel-blue);
  color: var(--color-secondary);
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  padding: 3px 14px;
  cursor: pointer;
  margin-left: 24px;
  transition: background 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px var(--color-shadow);
  z-index: 990;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #f5eafe 40%, #cde7da 100%);
  z-index: 1002;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.7,.05,.25,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-left: auto;
  margin-right: 24px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2.1rem;
  line-height: 1;
  padding: 2px 17px 2px 10px;
  cursor: pointer;
  margin-bottom: 18px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
  padding: 0 0 0 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 12px 0 12px 5px;
  border-radius: 7px;
  width: 100%;
  transition: background 0.13s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--color-pastel-blue);
  color: var(--color-secondary);
}

/* MAIN */
main {
  margin-top: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FOOTER */
footer {
  width: 100%;
  background: linear-gradient(90deg, #f5eafe 0%, #cde7da 100%);
  box-shadow: 0 -2px 12px var(--color-shadow);
  padding: 38px 0 24px 0;
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
footer nav a {
  color: var(--color-secondary);
  font-weight: 500;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-primary);
  text-decoration: underline;
}
footer span {
  font-size: 0.98rem;
  color: #747474;
}

/* CONTACT INFO ICONS */
.content-wrapper img[alt^="Adresa"],
.content-wrapper img[alt^="Telefon"],
.content-wrapper img[alt^="E-mail"],
.content-wrapper img[alt^="Otevírací doba"] {
  vertical-align: middle;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  opacity: 0.8;
}

/* COOKIES BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #fde1ea 25%, #cde7da 100%);
  box-shadow: 0 -4px 24px var(--color-shadow);
  z-index: 2222;
  padding: 26px 18px 20px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: center;
  font-size: 1rem;
  animation: fadein-banner 0.7s;
}
@keyframes fadein-banner {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  flex: 1;
  color: var(--color-text-dark);
  margin-bottom: 7px;
}
.cookie-banner .button, .cookie-banner .button-alt {
  margin: 0 6px;
  min-width: 130px;
  padding: 10px 22px;
  font-size: 1em;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(160, 184, 210, 0.27);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein-banner 0.3s;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 60px var(--color-shadow);
  min-width: 320px;
  max-width: 98vw;
  width: 390px;
  padding: 36px 28px 22px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modal-in 0.28s cubic-bezier(0.51, 0, 0.18, 1.06);
}
@keyframes modal-in {
  from { opacity:0; transform: translateY(40px); }
  to {   opacity:1; transform: translateY(0); }
}
.cookie-modal h2 {
  color: var(--color-primary);
  font-size: 1.45rem;
  margin-bottom: 14px;
}
.cookie-modal ul {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  padding: 6px 4px;
  border-radius: 7px;
  background: #f4f7fa;
}
.cookie-modal input[type="checkbox"] {
  width: 23px; height: 23px;
  accent-color: var(--color-secondary);
}
.cookie-modal input[disabled] {
  opacity: 0.7;
  pointer-events: none;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 34px; height: 34px;
  font-size: 1.45rem;
  cursor: pointer;
  transition: background 0.14s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: var(--color-secondary);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 14px;
}

/* UTILITIES */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 15px;
}

/* RESPONSIVE */
@media (max-width: 1050px) {
  .container {
    max-width: 98vw;
    padding: 0 9px;
  }
}
@media (max-width: 900px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .content-wrapper {
    padding: 24px 10px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 10px 8px;
    gap: 10px;
    min-height: 54px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .card-container, .content-grid { flex-direction: column; gap: 20px; }
  .section, section { padding: 22px 5px; margin-bottom: 36px; }
  .content-wrapper { padding: 16px 6px; }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0 8px;
  }
  .cookie-modal { min-width: unset; width: 97vw; padding: 18px 9px 9px 15px; }
}
@media (max-width: 530px) {
  h1 { font-size: 1.34rem; }
  h2 { font-size: 1.1rem; }
  .card, .content-wrapper { padding: 12px 2px; }
  .cta, .button { padding: 11px 13px; font-size: .99rem; }
  .cookie-modal { font-size: 0.95rem; }
}

/* SPACING & FLEXBOX MANDATES */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* MICRO-INTERACTIONS, ANIMATIONS */
.card, .testimonial-card, .cta, .button {
  transition: box-shadow 0.21s, transform 0.13s, background 0.18s;
}
.card:active, .testimonial-card:active {
  transform: scale(0.98);
}
.cta:active, .button:active {
  transform: scale(0.97);
}

/* HIGHLIGHTED UL/LI FOR CHECKED FEATURE LISTS */
ul li::marker, ol li::marker {
  color: var(--color-secondary);
  font-size: 1.2em;
}

/* Z-INDEX LAYERING */
.mobile-menu { z-index: 1002; }
.mobile-menu-toggle { z-index: 1030; }
.cookie-banner { z-index: 2222; }
.cookie-modal-backdrop { z-index: 3000; }

/* ACCESSIBILITY FOCUS STYLES */
a:focus, button:focus, .cta:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  background: var(--color-pastel-yellow) !important;
}

/* Hide scrollbar for mobile nav (if overflow) */
.mobile-menu {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Hide elements visually (utility) */
.visually-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px; width: 1px;
  margin: 0; padding: 0; border: 0;
}
