/* 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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #fff;
  color: #111;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #364156;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus { color: #000; text-decoration: underline; }
ul, ol { list-style: none; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; }

.subtitle {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 28px;
  font-weight: 400;
  font-family: 'Open Sans', Arial, sans-serif;
}
p, ul, ol, blockquote, table {
  font-size: 1rem;
  color: #232323;
  margin-bottom: 16px;
}
strong { font-weight: 700; }
em { font-style: italic; }
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
  background: #f7f7f7;
  border-left: 4px solid #8cc0b3;
  color: #212121;
  padding: 20px 26px;
  margin: 0 0 10px 0;
  border-radius: 10px 2px 2px 10px;
}

/* Layout containers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section { max-width: 690px; margin: 0 auto 0 auto; }

.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.section-hero {
  background: #fff;
  margin-bottom: 60px;
  padding-top: 60px;
  padding-bottom: 72px;
  box-shadow: 0 6px 32px rgba(54,65,86,0.06);
}

/* Card & Flex Wrappers */
.card-container,
.card-grid,
.service-cards,
.usp-cards,
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 20px;
}
.card,
.service-card,
.usp-card,
.feature-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 26px rgba(0,0,0,0.08);
  border: 1px solid #e4e4e4;
  padding: 28px 24px;
  margin-bottom: 20px;
  min-width: 240px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.22s cubic-bezier(.4,0,.2,1), transform 0.22s cubic-bezier(.4,0,.2,1);
}
.card:hover,
.service-card:hover,
.usp-card:hover,
.feature-box:hover {
  box-shadow: 0 6px 30px rgba(54,65,86,0.18);
  transform: translateY(-3px) scale(1.012);
  z-index: 2;
}

/* Testimonial Card */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fafbfc;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(54,65,86,0.04);
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid #e6e6e6;
}
.testimonial-meta {
  font-size: .97rem;
  color: #364156;
  font-weight: 500;
  margin-left: 8px;
}

/* Hero section specific content alignment */
.section-hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  max-width: 710px;
}
.section-hero h1 {
  font-size: 2.9rem;
  color: #111;
}
.section-hero .cta-primary {
  margin-top: 28px;
}

/* USP Cards */
.usp-cards {
  gap: 20px;
  margin-top: 18px;
  margin-bottom: 0;
}
.usp-card {
  align-items: center;
  text-align: center;
  border-radius: 12px;
  min-width: 160px;
  max-width: 260px;
  padding: 20px 10px 16px 10px;
  background: #f7f7f7;
  box-shadow: 0 1px 6px rgba(54,65,86,0.06);
}
.usp-card img {height:40px;margin-bottom:8px;}

div.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.feature-box {
  min-width: 240px;
  flex: 1 1 290px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(54,65,86,.08);
  padding: 22px 20px 18px 20px;
}
.feature-box img {
  height: 34px;
  margin-bottom: 10px;
}

/* List with icons */
ul li, ol li {
  margin-bottom: 14px;
  padding-left: 0;
  font-size: 1rem;
  position: relative;
  display:flex;
  align-items:center;
  gap:8px;
}
ul li img{
  margin-right: 8px;
  height: 20px;
}

table.pricing-table {
  width: 100%;
  background: #fff;
  border-collapse: collapse;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(54,65,86,0.04);
  border-radius: 14px;
  overflow: hidden;
}
table.pricing-table th,
table.pricing-table td {
  padding: 16px 12px;
  text-align: left;
  border-bottom: 1px solid #eaeaea;
}
table.pricing-table th {
  background: #f5f5f5;
  font-family: 'Montserrat', sans-serif;
  color: #364156;
  font-size: 1.05em;
}
table.pricing-table tr:last-child td {
  border-bottom: 0;
}

/* CTA Buttons */
.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 13px 36px;
  min-width: 150px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background 0.19s cubic-bezier(.4,0,.2,1), color 0.19s cubic-bezier(.4,0,.2,1),
    box-shadow 0.20s cubic-bezier(.4,0,.2,1);
}
.cta-primary {
  background: #364156;
  color: #fff;
  box-shadow: 0 2px 18px rgba(54,65,86,0.10);
  border: 1px solid #364156;
}
.cta-primary:hover, .cta-primary:focus {
  background: #232933;
  color: #fff;
  box-shadow: 0 4px 22px rgba(54,65,86,0.12);
  text-decoration: none;
}
.cta-secondary {
  background: #fff;
  color: #364156;
  border: 1px solid #364156;
  box-shadow: 0 2px 8px rgba(54,65,86,0.04);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #364156;
  color: #fff;
  text-decoration: none;
}

/* Service Card price */
.service-price {
  display: inline-block;
  margin-top: 12px;
  color: #8cc0b3;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
  letter-spacing: 0.01em;
}

/* Footer */
footer {
  background: #111117;
  color: #fff;
  padding: 40px 0 0 0;
  font-size: 1rem;
  border-top: 1px solid #222222;
  margin-top: 60px;
}
footer .container {
  padding-bottom: 18px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items:center;
  gap:38px;
  justify-content: space-between;
  margin-bottom: 0;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
}
.footer-brand img {
  height: 44px;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #ccc;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: color .18s cubic-bezier(.4,0,.2,1);
  padding: 2px 4px;
}
.footer-nav a:hover {
  color: #fff;
}
.footer-contact {
  font-size: .97rem;
  color: #dadada;
  line-height: 1.45;
}
.footer-contact a { color: #8cc0b3; }


/* --- NAVIGATION --- */
header {
  width: 100%;
  box-shadow: 0 1px 18px 0 rgba(54,65,86,0.02);
  background: #fff;
  position: relative;
  z-index: 999;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
}
.main-nav > a img {
  height: 44px;
  width: auto;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav ul li a {
  color: #364156;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background 0.16s, color 0.2s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #f0f0f0;
  color: #000;
}
.main-nav .cta-primary {
  margin-left: 18px;
}

/* ------------------- MOBILE MENU ------------------ */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #364156;
  margin-left: auto;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus { outline: 2px solid #8cc0b3; }
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(16,17,22,0.78);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.23,1.23,.32,1), opacity 0.23s cubic-bezier(.4,0,.2,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  margin: 24px 24px 0 0;
  align-self: flex-end;
  cursor: pointer;
  z-index: 1210;
  transition: color 0.16s;
}
.mobile-menu-close:focus { outline: 2px solid #8cc0b3; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 92vw;
  max-width: 340px;
  background: #fff;
  height: calc(100vh - 72px);
  box-shadow: -6px 0 40px rgba(0,0,0,0.12);
  border-radius: 18px 0 0 18px;
  padding: 28px 18px 18px 28px;
  gap: 16px;
  margin: 0 0 32px 0;
  overflow-y: auto;
}
.mobile-nav a {
  padding: 13px 6px 13px 6px;
  color: #232933;
  font-size: 1.14rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 7px;
  font-weight: 600;
  transition: background 0.13s, color 0.13s;
  min-width: 170px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #f7f8f9;
  color: #364156;
  outline: none;
}

@media (max-width: 1000px) {
  .main-nav ul{
    gap: 15px;
  }
  .footer-brand img {
    height: 36px;
  }
}

@media (max-width: 900px) {
  .container {
    max-width: 97vw;
    padding-left: 0; padding-right: 0;
  }
  .footer-contact { font-size: .96rem; }
  .section, section {
    padding: 32px 8px;
  }
}

@media (max-width: 840px) {
  .main-nav > a img {
    height: 34px;
  }
  .footer-brand img {height:30px;}
  .service-card, .feature-box, .usp-card {
    padding: 18px 10px 13px 10px;
  }
}

@media (max-width: 768px) {
  /* Layout stacks */
  .content-wrapper, .footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .footer-nav {
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 10px;
  }
  .card-container, .card-grid, .service-cards, .usp-cards, .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .section-hero .content-wrapper{
    align-items: flex-start;
  }
  .testimonial-card { padding: 14px 8px; }
  .service-card, .feature-box, .usp-card { min-width: 0; width: 100%; }
  .container { padding-left: 0; padding-right: 0; }
}

@media (max-width: 770px) {
  .main-nav ul,
  .main-nav .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Additional responsive adjustments for small screens */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .section-hero {
    padding-top: 24px;
    padding-bottom: 32px;
  }
}

/* Content grid pattern */
.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;
    gap: 20px;
    align-items: flex-start;
  }
}


/* ----------- Cookie Consent Banner ------------ */
.cookie-banner {
  position: fixed;
  left: 0; right:0;
  bottom: 0;
  z-index: 1999;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background: #232933;
  color: #fff;
  box-shadow: 0 -2px 18px rgba(0,0,0,.10);
  padding: 22px 14px;
  gap: 18px;
  transition: transform .38s cubic-bezier(.17, .67, .83, .67), opacity .23s;
  font-size: 1.01rem;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  margin-right: 16px;
  margin-bottom: 0;
  color: #fff;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: #fff;
  color: #232933;
  transition: background 0.14s, color 0.14s;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}
.cookie-btn:focus { outline:2px solid #8cc0b3; }
.cookie-btn.accept {
  background: #8cc0b3;
  color: #232933;
}
.cookie-btn.accept:hover {
  background: #364156;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #232933;
  border: 1px solid #c7c7c7;
}
.cookie-btn.reject:hover { background: #ececec; }
.cookie-btn.settings {
  background: #F1E6DE;
  color: #364156;
}
.cookie-btn.settings:hover {
  background: #fff;
  color: #364156;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(17,17,23,0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2001;
  opacity: 0; pointer-events: none;
  transition: opacity 0.21s cubic-bezier(.4,0,.2,1);
}
.cookie-modal-overlay.open {
  opacity: 1; pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #1a1a1a;
  border-radius: 16px;
  padding: 32px 24px 24px 24px;
  min-width: 310px;
  max-width: 95vw;
  box-shadow: 0 8px 48px rgba(54,65,86,0.30);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: popCookies .32s cubic-bezier(.48,1.9,.61,1.04);
}
@keyframes popCookies {
  from {transform: scale(.8) translateY(60px); opacity:0;}
  to {transform: scale(1) translateY(0);opacity:1;}
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: #364156;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 2030; 
}
.cookie-modal h2 { font-size: 1.17rem; margin-bottom: 6px; color: #232933; }
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f7f7f7;
  margin-bottom: 10px;
  padding: 10px 10px 10px 16px;
  border-radius: 7px;
  font-size: 1.01rem;
}
.cookie-toggle {
  margin-left: auto;
  width: 34px;
  height: 18px;
  border-radius: 14px;
  background: #ccc;
  position: relative;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: background 0.15s;
  border: 1px solid #bbb;
}
.cookie-toggle:checked {
  background: #8cc0b3;
  border-color: #8cc0b3;
}
.cookie-toggle:after {
  content: "";
  display: block;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 0;
  left: 0;
  /* transition with cubic-bezier for smoothness */
  transition: left 0.17s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  border: 1px solid #ccc;
}
.cookie-toggle:checked:after {
  left: calc(100% - 18px);
  border-color: #8cc0b3;
}
.cookie-category.disabled{
  opacity:.45;
}

/* -------- Visual highlights and details --------- */
::-webkit-input-placeholder { color: #bbb; }
::-moz-placeholder { color: #bbb; }
:-ms-input-placeholder { color: #bbb; }
::placeholder { color: #bbb; }

/* For monochrome_divider lines */
hr {
  border: none;
  border-top: 1.5px solid #e4e4e4;
  margin: 30px 0;
}

/* Small details and utility classes */
.small, small { font-size: 0.88rem; color: #888; }
[aria-label="hvězdy"] {color: #ffc700;font-size:1.09em;letter-spacing:2px;}

/* Prevent overlapping and assure spacing */
.card, .service-card, .testimonial-card, .feature-box, .usp-card, section, .section {
  margin-bottom: 20px;
}

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

/* High contrast for testimonials/reviews */
.testimonial-card, .testimonial-card blockquote {
  background: #fafbfc;
  color: #232933;
}

/* Input styles for consistency if any forms (future proof) */
input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 7px;
  border: 1px solid #b2b2b2;
  background: #fafbfc;
  padding: 10px 11px;
  color: #242424;
  outline: none;
  transition: border .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  border-color: #8cc0b3;
  box-shadow: 0 0 0 1.5px #8cc0b3;
}

/* Spacing patterns (required by spec) */
.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;
}

/* --- SCROLLBAR styling --- */
::-webkit-scrollbar { width:8px; background:#f3f3f3; }
::-webkit-scrollbar-thumb { background: #ececec; border-radius:4px; }

/* END OF STYLE SHEET */
