/* =====================
   CSS RESET & 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: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  background: #F3FAFF;
  color: #19262F;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}
img {max-width: 100%; display: block;}
a {
  color: #205273;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus { color: #E6A100; outline: none;}
ul, ol { list-style: none; }
strong { font-weight: 600; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #205273;
  line-height: 1.1;
  font-weight: 700;
}
h1 {font-size: 2.5rem; margin-bottom: 24px;}
h2 {font-size: 2rem; margin-bottom: 20px;}
h3 {font-size: 1.25rem; margin-bottom: 12px;}
@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.05rem; }
}
.subheadline {
  color: #205273;
  font-size: 1.2rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 24px;
  font-weight: 400;
}

/* ===============
    CONTAINER
================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

/* ===============
   HEADER & NAV
================= */
header {
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(32, 82, 115, 0.06);
  position: sticky; top: 0; z-index: 1002;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 20px;
}
.logo img {
  height: 38px;
  width: auto;
  transition: filter 0.2s;
}
.main-nav {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.main-nav a {
  color: #205273;
  padding: 7px 6px;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  background: #F3FAFF;
  color: #E6A100;
}
.cta.primary {
  margin-left: 16px;
}
/* Hide main-nav and CTA on mobile */
@media (max-width: 992px) {
  .main-nav, .cta.primary {
    display: none;
  }
}

/* ===============
    CTA BUTTONS
================== */
.cta {
  background: #205273;
  color: #fff;
  padding: 12px 32px;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  display: inline-block;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.13s;
  box-shadow: 0 3px 13px rgba(32,82,115,0.05);
  cursor: pointer;
}
.cta.primary { background: #205273; }
.cta.secondary { background: #E6A100; color: #fff; }
.cta.secondary:hover, .cta.secondary:focus {
  background: #ab7000;
}
.cta:hover, .cta:focus {
  background: #173A55;
  color: #fff;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 18px rgba(32,82,115,0.09);
  outline: none;
}

/* ===========
  HERO
=========== */
.hero {
  background: #F3FAFF;
  padding: 60px 0 40px;
  margin-bottom: 60px;
}
.hero .container {
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
  max-width: 620px;
}
@media (max-width: 768px) {
  .hero { padding: 32px 0 20px; }
  .hero .content-wrapper { align-items: flex-start; }
}

/* ===========
 GENERIC SECTIONS
 =========== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(32,82,115,.05);
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 24px 8px;
    border-radius: 11px;
  }
}

/* Card-like containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(32,82,115, 0.05);
  transition: box-shadow 0.2s, transform 0.15s;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 36px rgba(32,82,115,0.16);
  transform: translateY(-2px) scale(1.012);
  z-index: 2;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ============
  SERVICE CARDS/TARIFFS
============ */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 20px;
}
.service-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(32,82,115,0.07);
  padding: 32px 28px 26px 28px;
  margin-bottom: 20px;
  flex: 1 1 220px;
  min-width: 230px;
  max-width: 290px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 2px solid #F3FAFF;
  transition: border-color 0.2s, box-shadow 0.18s, transform 0.13s;
  position: relative;
}
.service-card .price {
  color: #205273;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 8px 0 0 0;
  letter-spacing: 0.01em;
}
.service-card a {
  margin-top: 10px;
  color: #E6A100;
  font-weight: 500;
  transition: color 0.18s;
}
.service-card a:hover, .service-card a:focus { color: #205273; }
.service-card:hover, .service-card:focus {
  border-color: #20527322;
  box-shadow: 0 8px 34px rgba(32,82,115,0.10);
  transform: translateY(-2px) scale(1.015);
  z-index: 3;
}
@media (max-width: 900px) {
  .service-cards { flex-direction: column; gap: 18px; }
  .service-card { max-width: 100%; min-width: 0; }
}

/* Features */
.features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F3FAFF;
  padding: 15px 20px;
  border-radius: 11px;
  min-width: 215px;
  font-size: 1rem;
  color: #205273;
  box-shadow: 0 2px 6px rgba(32,82,115,0.05);
  font-family: 'Roboto', Arial, sans-serif;
}
.feature-list img {
  width: 32px; height: 32px; flex-shrink: 0;
}
@media (max-width: 768px) {
  .feature-list {flex-direction: column; gap: 10px;}
}

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

/* ===========
  TESTIMONIALS
=========== */
.testimonials {
  background: #eaf1f8;
  border-radius: 16px;
  padding: 40px 20px 30px;
  margin-bottom: 60px;
}
.testimonials .content-wrapper { gap: 30px; }
.testimonial-card {
  background: #fff;
  color: #205273;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 28px;
  box-shadow: 0 2px 15px rgba(32,82,115,0.09);
  border-left: 5px solid #205273;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  transition: box-shadow 0.17s, transform 0.14s;
  position: relative;
}
.testimonial-card strong {
  color: #173a55; font-weight: 600; margin-left: auto;
  font-size: 1rem;
  min-width: 170px;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 40px rgba(32,82,115,0.13);
  transform: scale(1.01);
}
@media (max-width: 600px) {
  .testimonials { padding: 22px 6px 10px; }
  .testimonial-card { flex-direction: column; gap: 10px; padding: 15px; }
}

/* ========== CONTACT & FORM =========== */
.contact, .contact-section {
  padding: 40px 20px;
  margin-bottom: 60px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(32,82,115,0.06);
}
.contact .content-wrapper,
.contact-section .content-wrapper {
  align-items: flex-start;
  gap: 26px;
}
.contact-info-simple, .contact-details {
  margin-top: 18px;
  font-size: 1rem;
  color: #205273;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F3FAFF;
  padding: 15px 22px;
  border-radius: 10px;
  box-shadow: 0 1px 7px rgba(32,82,115,.03);
}
@media (max-width: 768px) {
  .contact, .contact-section {
    padding: 18px 8px;
    margin-bottom: 32px;
  }
}

/* ============
   FOOTER
============ */
footer {
  background: #205273;
  color: #fff;
  padding: 36px 0 16px;
  font-family: 'Roboto', Arial, sans-serif;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-nav {
  display: flex; flex-wrap: wrap; gap: 18px;
}
.footer-nav a {
  color: #E6A100;
  font-weight: 500;
  font-size: 0.97rem;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-logo img {
  height: 36px;
  filter: brightness(0) invert(1);
}
.footer-contact p {
  margin: 0; color: #cce0f5;
  font-size: 0.95rem;
}
@media (max-width: 900px) {
  footer .container {flex-direction: column; gap: 14px; align-items: flex-start;}
  .footer-nav {gap: 10px;}
}


/* ================
  POLICY/TEXT PAGES
================== */
.policy-section, .about-section, .faq-section, .thankyou-section, .map-section {
  background: #fff;
  padding: 40px 20px;
  border-radius: 13px;
  margin-bottom: 60px;
  box-shadow: 0 2px 12px rgba(32,82,115,0.07);
}
.text-section {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  color: #205273;
  margin-bottom: 16px;
  line-height: 1.7;
}
.text-section ul, .text-section ol {
  margin-left: 22px; margin-top: 9px;
  list-style: disc;
  color: #205273;
}
.text-section ul li, .text-section ol li {margin-bottom: 8px;}
.text-section strong {color: #205273; font-weight: bold;}
.faq-section dl {
  margin-top: 19px;
}
.faq-section dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #205273;
  margin-top: 19px;
}
.faq-section dd {
  margin-left: 0;
  margin-bottom: 11px;
  color: #173A55;
}
.contact-prompt {
  margin-top: 36px;
  font-size: 1rem;
  color: #205273;
}
.contact-prompt a {
  color: #E6A100;
  text-decoration: underline;
  font-weight: 500;
}
@media (max-width: 768px) {
  .policy-section, .about-section, .faq-section, .thankyou-section, .map-section {
    padding: 17px 5px;
    margin-bottom: 26px;
  }
}

/* ============
  Mobile MENU
============ */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #205273;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  margin-left: 14px;
  z-index: 1003;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.13s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F3FAFF;
  outline: none;
}
@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,82,115,0.97);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.59,.07,.29,1.01);
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 28px 30px 10px 0;
  cursor: pointer;
  transition: color 0.15s, background 0.12s;
  padding: 6px 12px;
  border-radius: 7px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E6A100;
  background: #1a3b53;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 80vw;
  max-width: 310px;
  background: #fff;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  margin-top: 10px;
  min-height: 100vh;
  box-shadow: -4px 0 24px rgba(32,82,115,0.13);
  align-items: flex-start;
  padding: 40px 32px 22px 32px;
}
.mobile-nav a {
  color: #205273;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid #F3FAFF;
  width: 100%;
  transition: color 0.15s;
  outline: none;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E6A100;
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ============== COOKIE CONSENT BANNER ============== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #205273;
  color: #fff;
  z-index: 3000;
  box-shadow: 0 -2px 18px rgba(32,82,115,0.12);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  padding: 16px 20px 12px 20px;
  gap: 28px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  opacity: 1;
  transition: transform 0.35s cubic-bezier(.6,.09,.31,1.08), opacity 0.26s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  flex: 1 1 60%;
  max-width: 600px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
}
.cookie-btn {
  border: none;
  border-radius: 30px;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-right: 7px;
  margin-bottom: 4px;
  transition: background 0.13s, color 0.14s, box-shadow 0.13s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: #E6A100;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #205273;
  border: 1.4px solid #E6A100; 
}
.cookie-btn.settings {
  background: #205273;
  color: #fff;
  border: 1.4px solid #E6A100;
}
.cookie-btn:hover, .cookie-btn:focus {
  box-shadow: 0 2px 10px rgba(32,82,115,0.09);
  outline: none;
  filter: brightness(0.96);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    font-size: 0.97rem;
    padding: 13px 12px 9px 12px;
  }
  .cookie-banner__actions {
    align-items: flex-end;
    gap: 10px;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 3100;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(32,82,115,0.37);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #205273;
  border-radius: 14px;
  box-shadow: 0 12px 44px rgba(32,82,115,0.18);
  max-width: 410px;
  width: 96vw;
  padding: 30px 28px 23px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: cookieModalShow 0.41s cubic-bezier(.53,.11,.68,1.01);
}
@keyframes cookieModalShow {
  from {transform: scale(0.95) translateY(32px); opacity: 0;}
  to   {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal__header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 13px;
  color: #205273;
}
.cookie-modal__close {
  background: none; border: none;
  color: #205273; font-size: 1.45rem;
  position: absolute;
  top: 18px; right: 18px;
  cursor: pointer;
  z-index: 3110;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex; flex-direction: row; align-items: center; gap: 17px;
}
.cookie-category label {
  color: #205273;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category input[type=checkbox] {
  width: 20px; height: 20px;
  accent-color: #205273;
  border-radius: 4px;
  margin-right: 7px;
}
.cookie-category.essential label::after {
  content: ' (vždy povinné)';
  color: #aaa;
  font-size: 0.95em;
}
.cookie-modal__actions {
  display: flex;
  gap: 9px;
  margin-top: 15px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .cookie-modal {
    padding: 18px 10px 15px;
    min-width: unset;
    max-width: 97vw;
  }
}

/* ============
   MISC
=========== */
hr {
  border: none;
  border-top: 1px solid #F3FAFF;
  margin: 25px 0;
}
::-webkit-input-placeholder { color: #a6aab2; }
::-moz-placeholder { color: #a6aab2; }
:-ms-input-placeholder { color: #a6aab2; }
::placeholder { color: #a6aab2; }

/* Card margins fix: ensures no overlapping */
.section > *:not(:last-child),
.content-wrapper > *:not(:last-child),
.card-container > *:not(:last-child),
.service-cards > *:not(:last-child),
.feature-list > *:not(:last-child),
.policy-section > *:not(:last-child),
.about-section > *:not(:last-child),
.faq-section > *:not(:last-child) {
  margin-bottom: 20px;
}

/* =============
  RESPONSIVENESS
============== */
@media (max-width: 600px) {
  .container {
    padding: 0 6px;
  }
  .service-card { padding: 18px 8px 12px 12px; }
  .footer-nav { flex-direction: column; gap: 6px; align-items: flex-start; }
}

/* Font Loading */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Roboto:wght@400;500;700&display=swap');
