/* 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;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  height: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F6F4EF;
  color: #1A3C6D;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #1A3C6D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #F4B942;
  outline: none;
}

ul, ol {
  margin-left: 24px;
}
li {
  margin-bottom: 8px;
}

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

/* TYPOGRAPHY */
h1, h2, h3, .logo {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1A3C6D;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #254880;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  font-weight: 500;
  color: #46689C;
  margin-bottom: 12px;
}
p, li {
  font-size: 1rem;
  color: #314067;
  margin-bottom: 12px;
}
.subheadline {
  font-size: 1.25rem;
  color: #6E7FB2;
  font-weight: 400;
  margin-bottom: 24px;
}
strong {
  font-weight: 600;
}

/* LAYOUT SPACING */
main {
  width: 100%;
  flex: 1 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 20px;
}

/* FLEX PATTERNS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  margin-bottom: 26px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(112, 98, 191, 0.08);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(112,98,191,0.13);
}
.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: #FFFDFC;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(60,65,130,0.09);
  min-width: 220px;
  margin-bottom: 20px;
  flex: 1 1 320px;
}
.testimonial-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.testimonial-meta {
  font-size: 0.98rem;
  color: #919FB2;
  font-style: italic;
  margin-bottom: 6px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, #F6EEF3 0%, #E6F6FC 100%);
  border-radius: 0 0 36px 36px;
  box-shadow: 0 6px 24px rgba(220, 208, 248, 0.08);
  padding: 60px 0 40px 0;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0;
}
.hero h1 {
  color: #294C88;
}
.hero .cta-btn {
  margin-top: 18px;
}

/* BUTTONS */
.cta-btn,
.cta-link {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 28px;
  border-radius: 28px;
  background: #F4B942;
  color: #1A3C6D;
  border: none;
  box-shadow: 0 2px 12px rgba(244,185,66,0.06);
  transition: 
    background 0.23s,
    color 0.23s,
    box-shadow 0.23s;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FFD17F;
  color: #193C66;
  box-shadow: 0 6px 20px rgba(244,185,66,0.16);
}
.cta-link {
  background: none;
  color: #116CA3;
  padding: 7px 12px;
  box-shadow: none;
  border-radius: 10px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.cta-link:hover, .cta-link:focus {
  background: #E0F1FE;
  color: #1A3C6D;
}
/* Secondary buttons for cookie banner */
.btn-secondary {
  background: #E6EAFE;
  color: #45619B;
  border: none;
  border-radius: 28px;
  padding: 12px 24px;
  font-weight: 500;
  font-size: 1rem;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.2s,color 0.2s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #F6EEF3;
  color: #294C88;
}

/* LISTS */
.tip-list, .contact-snippet, .contact-info {
  list-style: none;
  padding-left: 0;
}
.tip-list li, .contact-snippet li, .contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F5F7FA;
  border-radius: 9px;
  margin-bottom: 12px;
  padding: 10px 16px;
  color: #425273;
  font-size: 1rem;
}
.contact-info li img, .contact-snippet li img {
  width: 20px;
  height: 20px;
}

/* SPECIALS */
.trust-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 20px 0 12px 0;
}

/* FOOTER */
footer {
  background: #F9F8FF;
  border-top: 1px solid #E8EAF6;
  margin-top: 60px;
  padding: 38px 0 18px 0;
  font-size: 1rem;
  color: #657199;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1rem;
}
.footer-menu a {
  color: #4B567A;
  padding: 6px 10px;
  border-radius: 24px;
  transition: background 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #EDE7FA;
}
.footer-contact {
  margin-bottom: 10px;
  text-align: center;
  color: #657199;
  font-size: 0.99rem;
}
.footer-credits {
  text-align: center;
  color: #B3B6CB;
  font-size: 0.95rem;
}

/* NAVIGATION */
header {
  width: 100%;
  background: #FFF;
  box-shadow: 0 2px 16px rgba(90,123,174,0.04);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  position: relative;
  z-index: 60;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 0;
}
.logo img {
  height: 42px;
  display: block;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-left: 30px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  color: #1A3C6D;
  padding: 8px 14px;
  border-radius: 18px;
  transition: background 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F6EEF3;
}
/* Hide nav for mobile, show burger */
.mobile-menu-toggle {
  display: none;
  background: #FFD17F;
  color: #1A3C6D;
  border: none;
  font-size: 2rem;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F6F4EF;
  color: #F4B942;
  outline: none;
}
/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(246, 244, 239, 0.97);
  z-index: 110;
  transform: translateX(100vw);
  transition: transform 0.4s cubic-bezier(0.71,0.03,0.58,1.0);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 40px 34px 16px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 34px;
  background: #FFF;
  border: none;
  font-size: 2rem;
  color: #4B567A;
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 111;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F4B942;
  color: #FFF;
}
.mobile-nav {
  margin-top: 60px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  padding: 14px 12px;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1A3C6D;
  border-radius: 12px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #EDE7FA;
  color: #294C88;
}

/* TESTIMONIALS */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.testimonial-card {
  /* see above in FLEX PATTERNS */
  min-width: 260px;
  max-width: 460px;
  background: #FFF7F3;
  border-left: 6px solid #F4B942;
}
.testimonial-card p {
  color: #2B385F;
  font-size: 1.08rem;
  line-height: 1.6;
  margin-bottom: 8px;
}
.testimonial-card .testimonial-meta {
  color: #7B91B1;
}
.testimonial-card img[alt^='Hodnocení'],
.testimonial-card img[src*='icon-star'] {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 0;
  vertical-align: text-bottom;
}


/* MODALS & COOKIE CONSENT */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 -4px 24px rgba(100,113,180,0.12);
  padding: 24px 10px 18px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 210;
  gap: 16px;
  animation: bannerFadeIn 0.7s cubic-bezier(0.4,0.6,0.68,1.0);
}
@keyframes bannerFadeIn {
  from { transform: translateY(60px); opacity: 0;}
  to { transform: translateY(0); opacity: 1;}
}
.cookie-banner .banner-buttons {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}
.cookie-banner p, .cookie-banner span {
  color: #394F76;
  font-size: 1rem;
}
/* Cookie settings modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 70%) scale(0.9);
  background: #FFF;
  border-radius: 24px;
  padding: 38px 24px 24px 24px;
  z-index: 211;
  min-width: 330px;
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 6px 36px rgba(90,123,174, 0.14);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.33s, transform 0.33s;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.28rem;
  margin-bottom: 8px;
  color: #1A3C6D;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 11px;
}
.cookie-category label {
  font-size: 1rem;
  color: #4066A0;
  font-weight: 500;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #E0E0EF;
  border-radius: 24px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.24s;
}
.cookie-toggle:checked {
  background: #F4B942;
}
.cookie-toggle:disabled {
  background: #E0E2E7;
  opacity: 0.68;
  cursor: default;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  top: 3px;
  left: 4px;
  width: 14px;
  height: 14px;
  background: #FFF;
  border-radius: 50%;
  transition: left 0.22s;
}
.cookie-toggle:checked:before {
  left: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #7B91B1;
  cursor: pointer;
  z-index: 2;
  transition: color 0.16s;
}
.cookie-modal-close:hover {
  color: #F4B942;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  justify-content: flex-end;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1160px) {
  .container {
    max-width: 94vw;
  }
}
@media (max-width: 950px) {
  .feature-grid,
  .testimonial-slider,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .main-nav { gap: 13px; }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  header .container {
    flex-direction: row;
    gap: 0;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .logo img {
    height: 36px;
  }
  .hero {
    padding: 38px 0 25px 0;
    border-radius: 0 0 20px 20px;
    margin-bottom: 28px;
  }
  .hero h1 { font-size: 2rem; }
  .feature-grid, .testimonial-slider, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 38px;
  }
  .footer-menu {
    gap: 10px;
    font-size: 1rem;
  }
}
@media (max-width: 540px) {
  html { font-size: 14px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  .footer-contact, .footer-credits { font-size: 0.9rem; }
  .cta-btn, .cta-link {font-size: 0.98rem; padding: 9px 17px;}
  .section { padding: 16px 2px; }
  .testimonial-card { min-width: 0; font-size: 0.98rem; }
}

/* ANIMATIONS / MICROINTERACTIONS */
.cta-btn, .btn-secondary {
  transition: box-shadow 0.22s, background 0.17s, color 0.17s;
  box-shadow: 0 2px 10px rgba(244,185,66,0.06);
}
.cta-btn:active {
  transform: scale(0.96);
}
.mobile-menu,
.cookie-modal {
  will-change: transform, opacity;
}

/* SOFT PASTEL DECORATIVE TOUCHES */
.hero, .card, .testimonial-card, .cookie-modal, .cookie-banner {
  box-shadow: 0 6px 32px rgba(250,200,255, 0.09);
}
.card, .testimonial-card {
  border-radius: 16px;
  background: linear-gradient(104deg, #F6F4EF 65%, #F5EFFF 100%);
  border: 1px solid #F1F0FB;
}

/* Accessibility */
:focus-visible {
  outline: 2px solid #F4B942;
  outline-offset: 3px;
}

::-webkit-scrollbar {
  width: 8px;
  background: #F8F7FC;
}
::-webkit-scrollbar-thumb {
  background: #E8DFFB;
  border-radius: 4px;
}

/* Hide visually-hidden elements (for a11y if needed in future) */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}
