/* ====================================================
   ÚČETNÍ KOMPAS - PROFESSIONAL CORPORATE STYLE CSS
   Modern, blue/gray, professional, business typography
   Flexbox layouts only – NO grid or columns
   Brand colors: #1B4E3A (primary), #EECEA0 (secondary), #FFFFFF (accent)
   Brand fonts: Montserrat (display), Roboto (body)
   ==================================================== */

/* 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,
main, 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: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F5F7FA;
  color: #22313F;
  line-height: 1.6;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: border-box;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1B4E3A;
  text-decoration: none;
  transition: color 0.18s;
}
a:focus, a:hover {
  color: #143926;
  outline: none;
}
hr {
  border: none;
  border-top: 1px solid #CCD6E0;
  margin: 32px 0;
}

/* TYPOGRAPHY SCALES */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #1B4E3A;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #1B4E3A;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #22313F;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 10px;
}
p, ul, ol {
  font-size: 1rem;
  color: #22313F;
  margin-bottom: 18px;
}
p:last-child, ul:last-child, ol:last-child {
  margin-bottom: 0;
}

ul, ol {
  padding-left: 20px;
  margin-bottom: 18px;
}
li {
  margin-bottom: 8px;
}
strong, b {
  font-weight: 600;
}

/* BUTTONS */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  padding: 13px 26px;
  min-width: 120px;
  margin: 0 6px 12px 0;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 3px 14px 0 rgba(60,70,110,0.04);
  text-align: center;
}
.btn-primary {
  background: #1B4E3A;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #22313F;
  color: #EECEA0;
  box-shadow: 0 4px 18px 0 rgba(26,40,60,0.10);
}

.btn-secondary {
  background: #EECEA0;
  color: #1B4E3A;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #dfbf8f;
  color: #1B4E3A;
  box-shadow: 0 4px 14px 0 rgba(135,120,100,0.10);
}

button {
  font-family: inherit;
  background: none;
  border: none;
  padding: 0;
  outline: none;
  cursor: pointer;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEXBOX UTILITIES */
.card-container, .feature-grid, .service-list, .feature-list, .footer-socials, .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container {
  margin-bottom: 24px;
}
.card, .service-item, .feature-item {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 1.5px 6px 0 rgba(55,60,82,0.06);
  padding: 26px 22px;
  min-width: 245px;
  flex: 1 1 290px;
  transition: box-shadow 0.18s;
}
.card:hover, .service-item:hover, .feature-item:hover {
  box-shadow: 0 5px 22px -5px rgba(30,78,58,0.13);
  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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 26px;
  margin-bottom: 20px;
  border-radius: 9px;
  background: #F2F7FC;
  color: #22313F;
  box-shadow: 0 2px 8px 0 rgba(40,50,68,0.06);
  min-width: 260px;
  max-width: 580px;
}
.testimonial-name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #1B4E3A;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 1px 7px 0 rgba(50,60,94,0.07);
  padding: 22px 18px 18px 18px;
  min-width: 220px;
  flex: 1 1 260px;
}

/* HERO STYLES */
.hero-subheadline {
  font-size: 1.25rem;
  color: #556681;
  font-weight: 400;
  margin-bottom: 26px;
  max-width: 520px;
}
.section > .container > .content-wrapper > h1,
.section > .container > .content-wrapper > h2 {
  margin-top: 0;
}

/* SERVICE PRICES */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 7px 0 rgba(77,100,120,0.06);
  padding: 22px 18px 18px 18px;
  min-width: 225px;
  flex: 1 1 260px;
  position: relative;
  transition: box-shadow 0.18s;
}
.service-price {
  margin-top: 13px;
  color: #1B4E3A;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  background: #EECEA0;
  border-radius: 5px;
  padding: 4px 12px;
}

/* PRICING TABLE */
.pricing-table {
  width: 100%;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 1.5px 6px 0 rgba(55,60,82,0.06);
  margin-bottom: 32px;
  border-collapse: collapse;
  font-size: 1rem;
  overflow: auto;
}
.pricing-table th,
.pricing-table td {
  padding: 18px 16px;
  text-align: left;
}
.pricing-table th {
  background: #EEF4F8;
  color: #1B4E3A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 600;
}
.pricing-table tbody tr:nth-child(odd) {
  background: #FAFBFC;
}
.pricing-table tbody tr:nth-child(even) {
  background: #F3F6F8;
}
.pricing-table td {
  border-bottom: 1px solid #E1E6EC;
}

.pricing-notes ul {
  margin-bottom: 0;
  color: #556681;
  font-size: 0.97rem;
}

.price-guarantee {
  margin-top: 24px;
  padding: 20px 18px;
  border-radius: 7px;
  background: #F2F7FC;
  color: #22313F;
  font-size: 1rem;
  box-shadow: 0 2px 6px 0 rgba(30,78,58,0.05);
}

/* FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 1px 7px 0 rgba(44,66,114,0.04);
  padding: 19px 23px;
  transition: box-shadow 0.2s;
}
.faq-item h2 {
  font-size: 1.14rem;
  margin-bottom: 8px;
  color: #1B4E3A;
  font-weight: 600;
}
.faq-item p {
  margin-bottom: 0;
}
.faq-contact-prompt {
  margin-top: 8px;
}
.faq-contact-prompt a {
  font-weight: 600;
  color: #1B4E3A;
  border-bottom: 1.5px solid #EECEA0;
  padding-bottom: 1px;
  transition: color 0.17s, border-bottom-color 0.17s;
}
.faq-contact-prompt a:hover {
  color: #143926;
  border-bottom-color: #1B4E3A;
}

/* THANK YOU PAGE */
.thank-you-message {
  font-size: 1.1rem;
  color: #1B4E3A;
  margin-bottom: 22px;
}

/* FOOTER */
footer {
  background: #1B4E3A;
  color: #fff;
  padding: 38px 0 18px 0;
  font-size: 1rem;
  margin-top: 54px;
  border-top: 3px solid #EECEA0;
  box-shadow: 0 -2px 38px 0 rgba(50, 70, 90, 0.05);
}
.footer-logo {
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #EECEA0;
  font-weight: 500;
  margin-right: 8px;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-contact {
  color: #EDEDED;
  margin-bottom: 17px;
  font-size: 0.98rem;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #EECEA0;
  font-size: 0.97rem;
}
.footer-socials img {
  height: 26px;
  width: 26px;
  margin-left: 3px;
  opacity: 0.76;
  transition: opacity 0.19s;
}
.footer-socials img:hover, .footer-socials img:focus {
  opacity: 1;
}

/* =============== NAVIGATION HEADER ============== */
header {
  background: #fff;
  border-bottom: 1.5px solid #E1E6EC;
  box-shadow: 0 1px 15px 0 rgba(34, 49, 63, 0.03);
  position: relative;
  z-index: 99;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 76px;
}
.logo img {
  height: 44px;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  color: #22313F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.08rem;
  padding: 8px 6px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a.active {
  background: #F2F7FC;
  color: #1B4E3A;
}

header .btn-primary {
  margin: 0 0 0 20px;
  font-size: 1rem;
  min-width: 100px;
  padding: 10px 20px;
}

/* BURGER MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  padding: 10px 18px;
  font-size: 2rem;
  color: #1B4E3A;
  background: #F2F7FC;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  margin-left: 14px;
  transition: background 0.18s;
  position: relative;
  z-index: 301;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #EECEA0;
  color: #143926;
  outline: none !important;
}

/* ================= MOBILE MENU STYLES =============== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #1B4E3A;
  box-shadow: 0 5px 24px 0 rgba(25,40,60,0.13);
  z-index: 9999;
  overflow-y: auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.67,0,0.22,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  padding: 18px 14px 8px 18px;
  margin-bottom: 6px;
  align-self: flex-end;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #EECEA0;
  color: #1B4E3A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 36px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.19rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 13px 0;
  border-bottom: 1px solid rgba(238,206,160,0.21);
  transition: background 0.13s, color 0.13s;
  border-radius: 2px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:active, .mobile-nav a:hover {
  color: #EECEA0;
  background: #143926;
  padding-left: 8px;
}

/* ==================== COOKIE CONSENT BANNER ================== */
.cookie-consent-banner {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(110%);
  background: #fff;
  color: #22313F;
  box-shadow: 0 -2px 22px 0 rgba(40, 60, 110, 0.19);
  border-radius: 13px 13px 0 0;
  width: 98vw;
  max-width: 560px;
  padding: 26px 32px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  font-size: 1rem;
  z-index: 20000;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.33s cubic-bezier(0.67,0,0.22,1), opacity 0.22s;
}
.cookie-consent-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-consent-actions {
  display: flex;
  gap: 18px;
  margin-top: 6px;
}
.cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  border: none;
}
.cookie-btn-accept {
  background: #1B4E3A;
  color: #fff;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #22313F;
  color: #EECEA0;
}
.cookie-btn-reject {
  background: #f2f2f2;
  color: #888;
  border: 1px solid #DDDDDD;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #EECEA0;
  color: #1B4E3A;
  border-color: #EECEA0;
}
.cookie-btn-settings {
  background: #EECEA0;
  color: #1B4E3A;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #1B4E3A;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 20100;
  top: 0; left:0; width:100vw; height:100vh;
  background: rgba(34,49,63,0.44);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #22313F;
  border-radius: 9px;
  max-width: 430px;
  width: 96vw;
  padding: 30px 26px 22px 26px;
  box-shadow: 0 2px 48px 0 rgba(34,49,63,0.19);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  font-size: 1rem;
  animation: cookieModalFadeIn 0.33s cubic-bezier(.67,0,.22,1);
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; transform: scale(0.98);}
  to { opacity: 1; transform: scale(1);}
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 1.5rem;
  color: #888;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  border-radius: 3px;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #1B4E3A;
  background: #f2f2f2;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.cookie-category input[type="checkbox"] {
  width: 21px;
  height: 21px;
  accent-color: #1B4E3A;
}
.cookie-category label {
  font-size: 1rem;
  color: #22313F;
  font-weight: 500;
}
.cookie-category .cookie-required {
  font-size: 0.99em;
  color: #888;
  margin-left: 7px;
}
/* Disable pointer for required cookies */
.cookie-category input:disabled + label {
  color: #AAA;
  cursor: not-allowed;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  justify-content: flex-end;
}

/* ======================== RESPONSIVE & MOBILE ======================== */
@media (max-width: 1160px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 14px;
  }
  .card, .service-item, .feature-item {
    min-width: 165px;
    flex-basis: 45%;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2.11rem; }
  h2, .h2 { font-size: 1.43rem; }
  .container {
    padding: 0 7px;
  }
  .content-wrapper, .feature-grid, .service-list {
    gap: 16px;
  }
  .feature-grid, .card-container, .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .service-item, .card {
    flex: 1 1 100%;
    min-width: 100%;
    width: 100%;
  }
  .main-nav {
    display: none;
  }
  .btn-primary, .btn-secondary {
    min-width: 100px;
    font-size: 0.98rem;
    padding: 10px 0.5rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 8px;
    height: 60px;
  }
  .footer-nav, .footer-socials {
    flex-direction: column;
    gap: 11px;
  }
}
@media (max-width: 540px) {
  .container {
    padding: 0 4px;
  }
  .section {
    padding: 20px 3px;
  }
  .footer-logo img {
    height: 38px;
  }
  .pricing-table th,
  .pricing-table td {
    padding: 12px 7px;
    font-size: 0.97rem;
  }
  .cookie-consent-banner {
    padding: 14px 7px 13px 7px;
  }
  .cookie-modal {
    padding: 15px 7px;
  }
}

/* ===================== SLIDER FOR TESTIMONIALS (STATIC/FLEX ONLY) ===================== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
}
.testimonial-slider .testimonial-card {
  flex: 1 1 320px;
  min-width: 220px;
  max-width: 428px;
}
.client-industries {
  margin-top: 32px;
}
.client-industries ul {
  padding-left: 24px;
}

/* ===================== PAGE-SPECIFIC ===================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.address-map {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  margin-bottom: 16px;
}
.business-hours {
  font-size: 1.02rem;
  color: #1B4E3A;
  font-weight: 500;
  margin-bottom: 8px;
}
.contact-support {
  margin-top: 12px;
  font-size: 0.98rem;
  color: #888;
}

/* ===================== SHADOWS AND INTERACTIONS ====================== */
.card, .feature-item, .service-item, .testimonial-card, .faq-item {
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:focus-within,
.card:hover,
.service-item:hover,
.feature-item:hover,
.testimonial-card:hover,
.faq-item:hover {
  box-shadow: 0 7px 28px -5px rgba(27,78,58,0.14);
  transform: translateY(-2px) scale(1.01);
}

.btn-primary:active, .btn-secondary:active {
  transform: scale(0.98);
}

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

/* =========== PRINT STYLES ============ */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay { display: none !important; }
  body, .container main { background: #fff !important; color: #222 !important; }
}
