/*---------------------------------------
  CSS RESET & BASELINE NORMALIZATION
---------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  background: #f3f7fa;
  color: #224060;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #224060;
  text-decoration: none;
  transition: color 0.22s cubic-bezier(.5,1,.89,1);
}
a:hover, a:focus {
  color: #35a37a;
}
ul, ol {
  list-style: none;
}
button, input, textarea, select {
  font: inherit;
  outline: none;
  background: none;
  border: none;
}
:focus-visible {
  outline: 2px solid #35a37a;
  outline-offset: 2px;
}

/*---------------------------------------
  BRAND FONTS & DISPLAY
---------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #224060;
  font-weight: 700;
  letter-spacing: 0.025em;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.13;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.13rem;
  margin-bottom: 12px;
}
p {
  margin-bottom: 12px;
  color: #2e4969;
}

strong {
  font-weight: 700;
}

/* Display brand colors for backgrounds and accents */
.bg-primary { background-color: #224060; color: #fff; }
.bg-secondary { background-color: #35a37a; color: #fff; }
.bg-accent { background-color: #f3f7fa; }

/*---------------------------------------
  CONTAINER & CONTENT LAYOUTS
---------------------------------------*/
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 5px 22px rgba(34,64,96,0.10), 0 2px 6px 0 rgba(35,163,122,0.08);
  background: #fff;
  padding: 30px 24px;
  min-width: 240px;
  max-width: 340px;
  flex: 1 1 260px;
  transition: box-shadow 0.3s;
}
.card:hover {
  box-shadow: 0 10px 38px rgba(35,163,122,0.16), 0 2px 8px 0 rgba(34,64,96,0.09);
}

.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: #ededf7;
  border-radius: 17px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(34,64,96,0.04);
  transition: box-shadow 0.25s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px rgba(35,163,122,0.10), 0 2px 6px 0 rgba(34,64,96,0.08);
}
.testimonial-card p {
  color: #224060;
  font-size: 1.1em;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: #35a37a;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 26px 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 8px rgba(35,163,122,0.08);
}

/* Additional Artistic Touch for Feature Grid */
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .feature-grid > li, .service-list > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 14px rgba(53,163,122,0.10);
  padding: 26px 22px;
  min-width: 210px;
  max-width: 330px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
  transition: background 0.22s, box-shadow 0.34s;
  border: 2px solid transparent;
}
.feature-grid > div:hover, .service-list > div:hover {
  background: #fafffc;
  border: 2px solid #35a37a;
  box-shadow: 0 5px 21px rgba(35,163,122,0.10);
}
.feature-grid img, .service-list img {
  width: 46px;
  height: 46px;
  margin-bottom: 6px;
}

/* Artistic separation for cards */
.card:not(:last-child), .feature-grid > div:not(:last-child), .service-list > div:not(:last-child) {
  margin-right: 0;
  margin-bottom: 20px;
}

/* CTA Section */
.cta {
  background: linear-gradient(90deg,#35a37a 0%, #224060 100%);
  color: #fff;
  text-align: center;
  border-radius: 26px;
  margin-bottom: 44px;
  box-shadow: 0 3px 16px rgba(35,163,122,0.09);
}
.cta .cta-btn {
  background: #fff;
  color: #35a37a;
  margin-bottom: 12px;
  border: none;
}
.cta h2 {
  color: #fff;
}

/*--------------------
  HERO SECTIONS
---------------------*/
.hero {
  background: repeating-linear-gradient(-45deg, #f3f7fa, #f3f7fa 30px, #e4e8ef 120px);
  padding: 54px 0 52px 0;
}
.hero h1 {
  font-size: 2.45rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #224060;
  margin-bottom: 18px;
  letter-spacing: 0.045em;
}
.hero p {
  font-size: 1.15rem;
  margin-bottom: 26px;
  color: #224060;
}

/*---------------------------------------
  BUTTONS & CTA
---------------------------------------*/
.cta-btn, .cta-btn:visited {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.12rem;
  color: #fff;
  background-color: #35a37a;
  padding: 12px 28px;
  border-radius: 28px;
  box-shadow: 0 2px 12px rgba(53,163,122,0.10);
  border: 2px solid transparent;
  transition: background 0.21s, box-shadow 0.22s, color 0.19s;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 12px;
  letter-spacing: 0.025em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #224060;
  color: #fff;
  border: 2px solid #35a37a;
  box-shadow: 0 5px 16px rgba(34,64,96,0.08);
}

/*--------------------
  MAIN NAVIGATION
---------------------*/
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 12px 22px;
  box-shadow: 0 1px 11px rgba(34,64,96,.065);
  position: relative;
  z-index: 34;
}
.main-nav a img {
  height: 40px;
  width: auto;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.main-nav li {
  list-style: none;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  padding: 7px 0;
  color: #224060;
  font-size: 1rem;
  position: relative;
  transition: color 0.17s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  color: #35a37a;
}
.main-nav .cta-btn {
  margin-left: 32px;
}

/* Hide mobile toggle for desktop by default */
.mobile-menu-toggle {
  display: none;
}

/* MOBILE NAVIGATION (Burger Menu) */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  background: #224060;
  color: #fff;
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.40s cubic-bezier(.7,.2,.17,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 36px 0 0 0;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  padding: 10px 22px;
  cursor: pointer;
  margin-bottom: 18px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 28px 30px 0 30px;
}
.mobile-nav a {
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 13px 10px;
  color: #fff;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #35a37a;
  color: #fff;
}

/* Hamburger Toggle Button */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 18px;
  background: #35a37a;
  border-radius: 23px;
  width: 48px;
  height: 48px;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  z-index: 102;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(53,163,122,0.12);
  transition: background 0.16s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #224060;
  color: #fff;
}

/*---------------------------------------
  FOOTER
---------------------------------------*/
footer {
  background: #f9fafb;
  border-top: 1.5px solid #dde2e7;
  padding: 34px 0 18px 0;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-content > div,
.footer-content > nav {
  margin-bottom: 16px;
}
.footer-content nav {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #224060;
  font-size: 1rem;
  margin-bottom: 10px;
}
.footer-content nav a {
  color: #2b547f;
  padding: 0 4px;
  transition: color 0.16s;
}
.footer-content nav a:hover, .footer-content nav a:focus {
  color: #35a37a;
}
.footer-content img {
  width: 40px;
  height: auto;
  margin-bottom: 5px;
}
.contact-info {
  font-size: 0.98rem;
  color: #224060;
}

/*---------------------------------------
  TABLE STYLES (CENÍK)
---------------------------------------*/
table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0 32px 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 13px rgba(35,163,122,0.07);
  overflow: hidden;
}
thead tr {
  background: #224060;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}
td, th {
  padding: 18px 14px;
  text-align: left;
  border-bottom: 1px solid #e6e8ec;
}
tr:last-child td, tr:last-child th {
  border-bottom: none;
}
tr:nth-child(even) td {
  background: #f8fafc;
}
tr:hover td {
  background: #e9f7f3;
}

/*---------------------------------------
  MAP BLOCK (Kontakt)
---------------------------------------*/
.map {
  min-height: 160px;
  background: #f3f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin: 16px 0 18px 0;
  color: #b0bac5;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07em;
}

/*---------------------------------------
  COOKIE CONSENT BANNER
---------------------------------------*/
.cookie-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #224060;
  color: #fff;
  z-index: 150;
  padding: 24px 12px 14px 12px;
  box-shadow: 0 -3px 19px rgba(34,64,96,.10);
  animation: cookieBannerAppear 0.55s cubic-bezier(0.1,0.7,0.62,1.1);
}
@keyframes cookieBannerAppear {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 0;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  text-align: center;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 15px;
}
.cookie-btn {
  border-radius: 20px;
  background: #fff;
  padding: 8px 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #224060;
  margin-top: 0;
  border: none;
  box-shadow: 0 2px 10px rgba(35,163,122,0.09);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border 0.15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #35a37a;
  color: #fff;
}
.cookie-btn.secondary {
  background: #35a37a;
  color: #fff;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #fff;
  color: #224060;
  border: 1.5px solid #35a37a;
}

/* Cookie Modal (Settings Popup) */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,64,96,0.56);
  z-index: 180;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalAppear 0.35s cubic-bezier(.71,1.34,.41,1);
}
@keyframes cookieModalAppear {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #224060;
  border-radius: 22px;
  box-shadow: 0 6px 34px rgba(35,163,122,0.17), 0 2px 6px rgba(34,64,96,0.11);
  padding: 40px 28px 26px 28px;
  min-width: 290px;
  max-width: 96vw;
  max-height: 78vh;
  overflow-y: auto;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.33rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 17px;
}
.cookie-modal ul {
  margin-bottom: 24px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  gap: 8px;
}
.cookie-modal .cookietoggle {
  width: 36px;
  height: 18px;
  border-radius: 20px;
  background: #e5e9f2;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal .cookietoggle[data-enabled="true"] {
  background: #35a37a;
}
.cookie-modal .cookietoggle::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.20s;
  position: absolute;
  left: 0;
  top: 0;
}
.cookie-modal .cookietoggle[data-enabled="true"]::before {
  transform: translateX(18px);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  color: #35a37a;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #224060;
}

/*---------------------------------------
  RESPONSIVE DESIGN
---------------------------------------*/
@media (max-width: 1050px) {
  .container {
    max-width: 93vw;
  }
  .content-wrapper {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .main-nav ul {
    display: none;
  }
  .main-nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .main-nav {
    padding: 12px 10px;
  }
  .content-grid, .feature-grid, .card-container, .service-list {
    flex-direction: column;
    gap: 20px;
  }
  .footer-content {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .hero {
    padding: 36px 0 28px 0;
  }
  .cta {
    border-radius: 18px;
    padding: 30px 6px;
  }
  .card, .feature-grid > div, .service-list > div {
    min-width: 170px;
    max-width: 100vw;
    padding: 18px 10px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }
  th, td {
    padding: 11px 8px;
    border-bottom: none;
  }
  thead { display: none; }
  tr {
    margin-bottom: 22px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(35,163,122,0.06);
    padding: 7px 0;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.23rem;
  }
  .hero h1 {
    font-size: 1.3rem;
  }
  h2 {
    font-size: 1.06rem;
  }
  .container {
    padding: 0 6px;
  }
  .section {
    padding: 24px 6px;
    margin-bottom: 36px;
  }
  .cta-btn {
    padding: 10px 13px;
    font-size: 1rem;
  }
  .cookie-modal {
    padding: 24px 6px 16px 8px;
  }
}

/*---------------------------------------
  ARTISTIC STYLE: COLORS & FONTS
---------------------------------------*/
body, .section {
  background: #f3f7fa;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.045em;
}

/* Artistic details with accent underline */
h2 {
  position: relative;
}
h2:after {
  content: '';
  display: block;
  width: 42px;
  height: 4px;
  background: #35a37a;
  border-radius: 2px;
  margin-top: 7px;
}

hr {
  border: none;
  height: 2px;
  background: #ededf7;
  margin: 34px 0;
  border-radius: 2px;
}

/* Artistic micro animated hover on cards and sections */
.card, .feature-grid > div, .service-list > div {
  transition: transform 0.22s cubic-bezier(.54,1.39,.68,1.34), box-shadow 0.22s, background 0.2s;
}
.card:hover, .feature-grid > div:hover, .service-list > div:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 36px rgba(35,163,122,0.19), 0 2px 12px rgba(34,64,96,0.05);
  background: #fafdff;
}

/* Unique rounded corner effect for hero and cta */
.hero, .cta {
  border-bottom-left-radius: 56px 22px;
  border-bottom-right-radius: 56px 22px;
}

/* Decorative paint brush accent for artistic feel (example for backgrounds) */
.section {
  background-repeat: repeat-x;
  background-size: auto 32px;
}

/*------------------------------
  MICRO-ANIMATIONS & INTERACTIONS
------------------------------*/
a, .cta-btn, .cookie-btn {
  transition: color 0.18s, background 0.2s, border 0.18s, box-shadow 0.18s, transform 0.15s;
}
.card:active,
.cta-btn:active,
.cookie-btn:active,
.service-list > div:active {
  transform: scale(0.98);
}

/*------------------------------
  ARTISTIC FONTS
------------------------------*/
/* Import Montserrat and Lato from Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Lato:400,700&display=swap');

/* fallback in case font import fails */
body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
}
h1, h2, h3, h4, .cta-btn, .main-nav ul li a, .mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/*------------------------------
  ENSURE ADEQUATE SPACING
------------------------------*/
section, .section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.card,
.feature-grid > div, .service-list > div, .testimonial-card {
  margin-bottom: 20px;
}
.card-container, .content-grid, .feature-grid, .service-list {
  gap: 24px;
}

/* Prevent overlap */
footer, header, main, .container, .content-wrapper {
  z-index: 0;
}

/*---------------------------------------
  PRINT STYLES (OPTIONAL for docs)
---------------------------------------*/
@media print {
  body { background: #fff; color: #222; }
  .main-nav, .mobile-menu, .cta-btn, footer, .cookie-banner { display: none !important; }
  .container, .section, table { width: 100% !important; max-width: 100% !important; background: #fff !important; }
}
