/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F5F5;
  color: #263238;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color .2s;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  background: none;
  color: inherit;
  outline: none;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

html {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F5F5F5;
}

body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #263238;
  background: #F5F5F5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #263238;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

h1 {
  font-size: 2.3rem;
  line-height: 1.15;
}
h2 {
  font-size: 1.7rem;
  line-height: 1.2;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 1.12rem;
}
p, ul, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1120px;
}

.content-wrapper {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
}

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

/* HEADER */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(38,50,56,0.07);
  position: sticky;
  top: 0;
  z-index: 1002;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo img {
  width: 138px;
  height: auto;
  display: block;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav.main-nav a {
  color: #263238;
  font-weight: 500;
  padding: 6px 3px;
  border-radius: 3px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1em;
  transition: color 0.2s, background 0.18s;
}
nav.main-nav a:hover,
nav.main-nav a:focus {
  color: #8CBF3D;
  background: #F2F6F9;
}

.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 12px 24px;
  background: #8CBF3D;
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 3px 12px rgba(140,191,61,0.08);
  transition: background 0.2s, box-shadow 0.18s, transform 0.1s;
  cursor: pointer;
  margin-left: 16px;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #78a630;
  box-shadow: 0 4px 16px rgba(140,191,61,0.18);
  transform: translateY(-2px) scale(1.03);
}

button.mobile-menu-toggle {
  display: none;
  background: #263238;
  color: #fff;
  font-size: 2rem;
  padding: 5px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
  border: none;
  outline: none;
  margin-left: 16px;
}
button.mobile-menu-toggle:hover {
  background: #37474f;
}

/* MOBILE NAVIGATION */
.mobile-menu {
  position: fixed;
  right: 0;
  top: 0;
  width: 310px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  box-shadow: -3px 0 18px 0 rgba(38,50,56,0.17);
  z-index: 2500;
  padding: 32px 20px 24px 32px;
  transform: translateX(105%);
  transition: transform .34s cubic-bezier(.65,0,.35,1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #263238;
  font-size: 2.5rem;
  border: none;
  position: absolute;
  top: 18px;
  right: 26px;
  cursor: pointer;
  z-index: 2;
  transition: color 0.18s;
}
.mobile-menu-close:hover {
  color: #8CBF3D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}
.mobile-nav a {
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #263238;
  padding: 10px 8px;
  border-radius: 4px;
  transition: color 0.22s, background 0.18s;
}
.mobile-nav a:hover {
  color: #8CBF3D;
  background: #F2F6F9;
}

@media (max-width: 1024px) {
  .header-inner nav.main-nav {
    display: none;
  }
  button.mobile-menu-toggle {
    display: inline-block;
  }
  .cta-btn {
    margin-left: 4px;
  }
}

/* HERO SECTION */
.hero {
  background: #fff;
  box-shadow: 0 4px 36px rgba(38,50,56,0.06);
  border-radius: 14px;
  margin-top: 24px;
  margin-bottom: 48px;
  padding: 48px 15px 48px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.hero h1 {
  font-size: 2.4rem;
  color: #263238;
  margin-bottom: 12px;
}
.hero p {
  color: #37474f;
  font-size: 1.13rem;
  margin-bottom: 30px;
}

/* FEATURES SECTION (list) */
.features {
  background: #F5F5F5;
  border-radius: 12px;
  margin-bottom: 60px;
}
.features .content-wrapper {
  padding: 0;
}
.features h2 {
  margin-bottom: 20px;
  color: #263238;
}
.features ul {
  margin: 0 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.features li {
  background: #fff;
  padding: 20px 22px;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(38,50,56,0.08);
  color: #263238;
  font-size: 1.05em;
}

/* SERVICES OVERVIEW */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(38,50,56,0.07);
  padding: 28px 24px 22px 24px;
  flex: 1 1 265px;
  min-width: 250px;
  max-width: 325px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.service-card h3, .service-card h2 {
  font-size: 1.18rem;
  margin-bottom: 8px;
  color: #263238;
}
.service-card .price {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #8CBF3D;
  font-weight: bold;
  font-size: 1.12em;
  margin-top: 8px;
}
.service-card:hover {
  box-shadow: 0 8px 36px 0 rgba(38,50,56,0.18);
  transform: translateY(-2px) scale(1.017);
}

/* TESTIMONIALS */
.testimonials {
  background: #F5F5F5;
  padding: 32px 0 22px 0;
}
.testimonials h2 {
  text-align: left;
  margin-bottom: 30px;
  color: #263238;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: #263238;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 12px rgba(38,50,56,0.06);
  transition: box-shadow .19s, transform .16s;
}
.testimonial-card p {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.05em;
  margin: 0 0 3px 0;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #8CBF3D;
  font-weight: 700;
  font-size: 1em;
  margin-left: 8px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px rgba(38,50,56,0.11);
  transform: translateY(-2px) scale(1.018);
}

/* CTA SECTION */
.cta {
  background: #263238;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(38,50,56,0.07);
  color: #fff;
  margin-bottom: 60px;
  padding: 40px 0;
  text-align: center;
}
.cta .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.cta h2 {
  color: #fff;
}
.cta p {
  color: #C9CED6;
  margin-bottom: 16px;
}
.cta .cta-btn {
  background: #8CBF3D;
  color: #fff;
}
.cta .cta-btn:hover {
  background: #739b30;
}

/* FOOTER */
footer {
  background: #263238;
  color: #fff;
  padding: 48px 0 22px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px 56px;
  justify-content: space-between;
}
.footer-inner a img {
  width: 52px;
  height: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #BFC5CA;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1em;
  margin: 0 0 5px 0;
  transition: color .22s;
}
.footer-nav a:hover {
  color: #8CBF3D;
}
.contact-info p {
  color: #BFC5CA;
  margin-bottom: 4px;
  font-size: .95em;
}

/* TEXT SECTIONS */
.text-section {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(38,50,56,0.06);
}
.text-section ul {
  margin-top: 10px;
  list-style: disc inside;
}
.text-section li {
  margin-bottom: 12px;
  padding-left: 0;
  color: #263238;
}

/* FLEXBOX RESPONSIVE UTILITIES */
.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 { /* already defined above */ }
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* MOBILE FIRST MEDIA QUERIES */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container, .content-wrapper {
    padding: 0 10px;
  }
  .header-inner {
    gap: 10px;
    height: 64px;
  }
  nav.main-nav {
    display: none !important;
  }
  button.mobile-menu-toggle {
    display: inline-block;
  }
  .hero {
    padding: 36px 4px;
    margin-bottom: 32px;
  }
  .service-cards,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .features ul {
    gap: 9px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .testimonials {
    padding: 18px 0 6px 0;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 16px 14px;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  .hero h1 {
    font-size: 1.3rem;
  }
  .cta {
    padding: 22px 0;
  }
  .footer-inner {
    gap: 8px;
  }
  .service-card {
    padding: 16px 8px 14px 8px;
  }
}

/* BUTTONS AND LINKS */
button, .cta-btn, .cookie-btn {
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.15s, color 0.15s;
}

/* TABLES (if needed in ceník section) */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(38,50,56,0.08);
  margin-bottom: 22px;
}
th, td {
  font-size: 1em;
  padding: 12px 6px;
  border-bottom: 1px solid #E0E6ED;
}
th {
  background: #F2F6F9;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* FORMS (if any in kontakt.html) */
input, textarea {
  padding: 10px;
  border-radius: 7px;
  border: 1px solid #B0BEC5;
  background: #F5F5F5;
  color: #263238;
  width: 100%;
  font-size: 1em;
  margin-bottom: 14px;
  resize: vertical;
  transition: border-color 0.15s;
}
input:focus, textarea:focus {
  border: 1.5px solid #8CBF3D;
  background: #fff;
}
label {
  display: block;
  margin-bottom: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}

/* MICRO-INTERACTIONS */
a, button, .cta-btn {
  transition: background 0.2s, color 0.13s, box-shadow 0.15s, transform 0.12s;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid #8CBF3D;
  outline-offset: 3px;
  border-radius: 4px;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #263238;
  color: #fff;
  z-index: 3500;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  box-shadow: 0 -2px 18px rgba(38,50,56,0.18);
  padding: 22px 8vw 22px 7vw;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  animation: cookieSlideIn 0.43s cubic-bezier(.63,0,.45,1);
}
@keyframes cookieSlideIn {
  0% {transform: translateY(105%);}
  100% {transform: translateY(0);}
}
.cookie-banner p {
  margin: 0;
  color: #fff;
  font-size: 1.06rem;
  flex: 1 1 160px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1em;
  background: #8CBF3D;
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(140,191,61,0.07);
  transition: background 0.18s, box-shadow 0.13s;
}
.cookie-btn.secondary {
  background: #e0e0e0;
  color: #263238;
}
.cookie-btn.settings {
  background: #fff;
  color: #263238;
  border: 1.5px solid #8CBF3D;
}
.cookie-btn:hover {
  background: #78a630;
  color: #fff;
}
.cookie-btn.secondary:hover {
  background: #BFC5CA;
  color: #263238;
}
.cookie-btn.settings:hover {
  background: #8CBF3D;
  color: #fff;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 5vw 18px 6vw;
    gap: 14px;
  }
  .cookie-btn {
    font-size: 0.97em;
    padding: 10px 13px;
  }
  .cookie-banner .cookie-buttons {
    gap: 7px;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,50,56,0.35);
  z-index: 3800;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBg .22s cubic-bezier(.42,0,.42,1);
}
@keyframes fadeInBg {
  0% {opacity: 0;}
  100% {opacity: 1;}
}
.cookie-modal-box {
  background: #fff;
  padding: 40px 30px 28px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 48px 0 rgba(38,50,56,0.22);
  min-width: 310px;
  max-width: 96vw;
  max-height: 95vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalIn 0.31s cubic-bezier(.55,0,.4,1);
}
@keyframes modalIn {
  0% {transform: scale(.92) translateY(38px);opacity:0;}
  100% {transform: scale(1) translateY(0);opacity:1;}
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.31rem;
  color: #263238;
  margin-bottom: 14px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #F5F5F5;
  border-radius: 8px;
  padding: 13px 18px;
  font-size: 1em;
  color: #263238;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
.cookie-category input[type='checkbox'] {
  width: 20px;
  height: 20px;
  accent-color: #8CBF3D;
  margin-right: 2px;
}
.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #263238;
  font-size: 2rem;
  position: absolute;
  top: 16px;
  right: 24px;
  cursor: pointer;
  z-index: 2;
  transition: color 0.18s;
}
.cookie-modal-close:hover {
  color: #8CBF3D;
}
@media (max-width: 520px) {
  .cookie-modal-box {
    padding: 25px 11px 20px 13px;
    min-width: unset;
  }
  .cookie-modal-title {
    font-size: 1.02rem;
  }
}

/* UTIL CLASSES */
.mt-16 {margin-top: 16px;}
.mt-24 {margin-top: 24px;}
.mb-20 {margin-bottom: 20px;}
.mb-32 {margin-bottom: 32px;}
.sm-hide {display: none;}

/* GENERAL ACCESSIBILITY */
@media (hover: hover) {
  a:hover, button:hover, .cta-btn:hover, .cookie-btn:hover {
    filter: brightness(.975);
  }
}

/* ENSURE NO OVERLAPS */
main > section, .section, .card, .testimonial-card, .service-card, .footer-inner, .features ul, .service-cards, .content-grid {
  margin-bottom: 20px;
}

/* SHADOWS AND RADIUS */
.card, .service-card, .testimonial-card, .text-section, .footer-inner, .cookie-modal-box {
  border-radius: 10px;
}

/* FLEXBOX ONLY FOR LAYOUTS */
/* NO display: grid or column properties used anywhere */
