/* --- CSS RESET & BASE --- */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #F5F5F1;
  color: #17375E;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #17375E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #5EAF8B;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
}

/* -- TYPOGRAPHY -- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #17375E;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; font-weight: 600; }

p, blockquote, ul, ol {
  margin-bottom: 16px;
  color: #17375E;
  font-size: 1rem;
}
blockquote {
  font-style: italic;
  background: rgba(23, 55, 94, 0.04);
  border-left: 4px solid #5EAF8B;
  margin: 0 0 12px 0;
  padding: 14px 24px 14px 20px;
  color: #17375E;
}

/* --- CONTAINER, SECTIONS --- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- HEADER --- */
header {
  padding: 16px 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(23, 55, 94, 0.04);
  position: sticky;
  top: 0;
  z-index: 1020;
  width: 100%;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 20px;
  height: 48px;
}

header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}
.main-menu {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  flex: 1;
}
.main-menu a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
  color: #17375E;
}
.main-menu a:hover, .main-menu a:active, .main-menu a:focus {
  background: #F5F5F1;
  color: #5EAF8B;
}
.cta-btn {
  background: #17375E;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 32px;
  box-shadow: 0 2px 8px rgba(23, 55, 94, 0.07);
  border: none;
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.18s, color 0.18s;
  margin-left: 12px;
  display: inline-block;
  outline: none;
  text-align: center;
  min-width: 130px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #5EAF8B;
  color: #17375E;
  box-shadow: 0 4px 14px rgba(94,175,139,0.12);
}

/* --- HERO SECTION --- */
.hero {
  background: #F5F5F1;
  padding: 60px 0 44px 0;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 20px;
}
.hero h1 {
  font-size: 2.25rem;
  color: #17375E;
}

/* --- FLEXBOX PATTERNS & CARDS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(23, 55, 94, 0.06);
  padding: 28px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  min-width: 240px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px rgba(23, 55, 94, 0.12);
  transform: translateY(-4px) scale(1.01);
}
.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-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(23, 55, 94, 0.05);
  gap: 15px;
  flex: 1 1 250px;
  min-width: 225px;
  margin: 8px 0;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
  opacity: 0.92;
}

.service-list, .course-list, .webinar-list, .article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.service-item, .course-item, .webinar-item, .article-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(23, 55, 94, 0.045);
  padding: 22px 20px 18px 20px;
  flex: 1 1 260px;
  min-width: 210px;
  max-width: 350px;
  transition: box-shadow 0.2s, transform 0.14s;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-item strong, .service-item span {
  color: #5EAF8B;
  font-size: 1.05rem;
  font-weight: 500;
  margin-top: 8px;
}
.service-item:hover, .article-item:hover, .course-item:hover, .webinar-item:hover {
  box-shadow: 0 6px 20px rgba(94, 175, 139, 0.11);
  transform: translateY(-3px) scale(1.008);
}

.myth-fact-pairs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pair {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(23, 55, 94, 0.04);
  padding: 18px 22px;
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-list {
  gap: 20px;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: #F5F5F1;
  padding: 44px 0 16px 0;
  margin-bottom: 60px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  margin-bottom: 22px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(23, 55, 94, 0.08);
  transition: box-shadow 0.17s, transform 0.12s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 30px rgba(94, 175, 139, 0.13);
  transform: translateY(-2px) scale(1.014);
}
.testimonial-card blockquote {
  color: #17375E;
  font-size: 1.05rem;
  background: transparent;
  border-left: 3px solid #5EAF8B;
  margin: 0 0 8px 0;
  padding: 0 0 0 16px;
}
.testimonial-footer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #5EAF8B;
  font-size: 1rem;
}

/* --- NEWSLETTER SIGNUP, CTA --- */
.newsletter-signup {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(23, 55, 94, 0.05);
  padding: 22px 24px 14px 24px;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.cta {
  background: #F5F5F1;
  padding: 40px 0 36px 0;
  margin-bottom: 60px;
}

/* --- TABLES --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 28px 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(23, 55, 94, 0.03);
}
th, td {
  padding: 14px 12px;
  text-align: left;
  font-family: 'Roboto', Arial, sans-serif;
}
th {
  background: #17375E;
  color: #fff;
  font-weight: 600;
}
td {
  color: #17375E;
  border-bottom: 1px solid #F5F5F1;
}
tr:last-child td {
  border-bottom: none;
}

.categories {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.categories a {
  background: #E4EFE8;
  color: #17375E;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.95rem;
  transition: background 0.18s;
}
.categories a:hover {
  background: #5EAF8B;
  color: #fff;
}

.key-benefits ul {
  margin-bottom: 0;
}
.key-benefits li {
  list-style: disc inside;
  margin-bottom: 8px;
}

/* --- OTHER COMMON LAYOUTS --- */
.text-section, .faq {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(23, 55, 94, 0.045);
  padding: 24px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin: 10px 0 20px 0;
}
.contact-info > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #17375E;
  margin-bottom: 0;
}
.contact-info img {
  width: 22px;
  height: 22px;
  opacity: 0.85;
}
.map-embed {
  background: #F5F5F1;
  border-radius: 8px;
  padding: 16px;
  margin-top: 10px;
}

/* --- FOOTER --- */
footer {
  background: #fff;
  padding: 34px 0 24px 0;
  box-shadow: 0 -2px 14px rgba(23, 55, 94, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.footer-logo img {
  width: 48px;
  height: 48px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #17375E;
  font-size: 1rem;
  padding: 5px 8px;
  border-radius: 4px;
  transition: color 0.16s, background 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F5F5F1;
  color: #5EAF8B;
}
.footer-contact {
  color: #5EAF8B;
  font-size: 1rem;
  margin-top: 4px;
}
.footer-brand {
  font-size: 0.95rem;
  color: #AAB8C4;
}

/* --- MOBILE NAVIGATION (BURGER MENU) --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #17375E;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1301;
  margin-left: auto;
  margin-right: 10px;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F5F5F1;
  color: #5EAF8B;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(23, 55, 94, 0.85);
  z-index: 1500;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.5,.1,.13,1.06);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.25rem;
  cursor: pointer;
  margin: 20px 24px 8px 0;
  z-index: 1501;
  align-self: flex-end;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
  width: 100%;
  align-items: flex-end;
  padding-right: 40px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.26rem;
  font-weight: 500;
  background: transparent;
  padding: 10px 14px;
  border-radius: 6px;
  transition: background 0.17s, color 0.16s;
  width: fit-content;
  outline: none;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #5EAF8B;
  color: #17375E;
}

@media (max-width: 991px) {
  .container {
    padding: 0 14px;
  }
  header {
    gap: 12px;
    padding: 10px 0;
  }
  .main-menu a {
    font-size: 0.98rem;
    padding: 6px 7px;
  }
}

@media (max-width: 800px) {
  .main-menu, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header {
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .content-grid, .feature-grid, .service-list, .card-container, .newsletter-signup, .course-list, .webinar-list, .article-list, .contact-info {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: stretch !important;
  }
  .feature-item, .service-item, .card {
    min-width: 0;
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: stretch !important;
    text-align: left !important;
  }
  .section {
    margin-bottom: 34px;
    padding: 24px 7px;
  }
  .hero {
    padding: 35px 0 20px 0;
    margin-bottom: 34px;
  }
  .testimonials {
    padding: 24px 0 10px 0;
    margin-bottom: 38px;
  }
  .testimonial-card {
    padding: 14px 8px;
    gap: 14px;
  }
  .footer-logo img {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 500px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.15rem; }
  .content-wrapper { gap: 14px; }
  .container { padding: 0 4px; }
  .cta-btn  { padding: 9px 13px; font-size: 1rem; min-width: 88px; }
}

/* --- MICRO INTERACTIONS -- */
button, .cta-btn, .main-menu a, .footer-nav a, .mobile-nav a {
  transition: all 0.18s cubic-bezier(.4,0,.2,1);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1800;
  background: #17375E;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 32px 20px 32px;
  box-shadow: 0 -7px 38px rgba(23, 55, 94, 0.23);
  width: 100%;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  transition: transform 0.33s cubic-bezier(.44,.13,.35,1.13), opacity 0.19s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner-text {
  color: #fff;
  flex: 1;
  font-size: 1.02rem;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  border: none;
  appearance: none;
  background: #5EAF8B;
  color: #17375E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  margin: 0;
  transition: background 0.18s, color 0.14s, box-shadow 0.14s;
  outline: none;
}
.cookie-btn.accept {
  background: #5EAF8B;
  color: #17375E;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #45a37e;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #17375E;
  border: 1px solid #5EAF8B;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e5f7ee;
  color: #5EAF8B;
}
.cookie-btn.settings {
  background: none;
  color: #fff;
  border: 1px solid #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #17375E;
  color: #5EAF8B;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 17px 13px 13px 13px;
    font-size: 0.98rem;
  }
  .cookie-banner-buttons {
    gap: 8px;
    flex-direction: row;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  z-index: 1850;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(23, 55, 94, 0.77);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.28s cubic-bezier(.65,.16,.37,1.1);
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  color: #17375E;
  border-radius: 18px;
  box-shadow: 0 18px 52px rgba(23, 55, 94, 0.18);
  padding: 40px 34px 30px 34px;
  min-width: 310px;
  max-width: 98vw;
  max-height: 96vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  overflow-y: auto;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #17375E;
  cursor: pointer;
  z-index: 1;
}
.cookie-modal h2 {
  font-size: 1.32rem;
  color: #17375E;
  margin-top: 0;
}
.cookie-cats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.cookie-cat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  background: #F5F5F1;
  border-radius: 8px;
  padding: 13px 14px;
}
.cookie-cat-label {
  flex: 1;
  font-size: 1rem;
}
.cookie-cat-switch {
  display: flex;
  align-items: center;
}
/* Switch toggle */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #D9E2EF;
  border-radius: 22px;
  transition: background 0.2s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #5EAF8B;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(23,55,94,.10);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
  background: #fff;
}
.cookie-cat[disabled] {
  opacity: 0.65;
  pointer-events: none;
}
.cookie-cat.always .cookie-cat-label:after {
  content: '(nutné)';
  color: #AAB8C4;
  font-size: 0.98em;
  margin-left: 6px;
}

.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 10px;
}

/* --- SCROLLBAR --- */
body, .cookie-modal-content {
  scrollbar-width: thin;
  scrollbar-color: #C9EADB #F5F5F1;
}
body::-webkit-scrollbar, .cookie-modal-content::-webkit-scrollbar {
  width: 7px;
}
body::-webkit-scrollbar-thumb, .cookie-modal-content::-webkit-scrollbar-thumb {
  background: #C9EADB;
  border-radius: 6px;
}
body::-webkit-scrollbar-track, .cookie-modal-content::-webkit-scrollbar-track {
  background: #F5F5F1;
  border-radius: 6px;
}

/* --- UTILITY CLASSES --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-24 { margin-bottom: 24px !important; }
.no-shadow { box-shadow: none !important; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-left   { text-align: left; }

/* --- END --- */
