/* ------------------------------------
  CSS RESET & BASE 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, 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;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #FFF8F4;
  color: #473A2F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}
a {
  color: #7D5631;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #7D5631;
  outline-offset: 2px;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 10px;
}
ul, ol {
  padding-left: 24px;
}
strong {
  font-weight: 700;
}
section, main {
  background: transparent;
}

/* ------------------------------------
  TYPOGRAPHY
-------------------------------------*/
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', 'Serif', serif;
  color: #643c18;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-top: 0;
  letter-spacing: 0.03em;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
}
h3 {
  font-size: 1.3rem;
  font-weight: 500;
}
h4 {
  font-size: 1.1rem;
  font-weight: 500;
}
p, ul, ol {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
}

/* ------------------------------------
  CONTAINERS & LAYOUT
-------------------------------------*/
.container {
  width: 100%;
  max-width: 1100px;
  padding: 0 18px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(249,245,235,0.65);
  border-radius: 28px;
  box-shadow: 0 2px 24px 0 rgba(167,139,109,0.06);
}

@media (max-width: 768px) {
  .section {
    padding: 26px 7px;
    margin-bottom: 34px;
    border-radius: 18px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* ------------------------------------
  FLEXBOX LAYOUTS
-------------------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(130,132,139,.09);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 4px 32px 0 rgba(90,90,120,.11);
}
.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: stretch;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/**** PRODUCT CARDS ****/
.product-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.product-card {
  flex: 1 1 250px;
  min-width: 230px;
  max-width: 310px;
  background: #ffffffdd;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(123,155,170,0.07);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.product-card:hover {
  box-shadow: 0 5px 28px 0 rgba(90,90,100,0.09);
  transform: translateY(-5px) scale(1.015);
}
.product-card h3 {
  margin-bottom: 8px;
  color: #23406D;
}
.product-card span {
  color: #7D5631;
  font-weight: 600;
}
.product-card a.cta-button {
  margin-top: 10px;
}

/**** CATEGORY GRID ****/
.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.category-grid li {
  flex: 1 1 170px;
  min-width: 170px;
  background: #F9F4EB;
  border-radius: 16px;
  padding: 20px 14px 18px 18px;
  margin-bottom: 18px;
  color: #473A2F;
  box-shadow: 0 2px 12px 0 rgba(100, 100, 110, 0.04);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
@media (max-width: 920px) {
  .category-grid {
    flex-direction: column;
    gap: 14px;
  }
}

/**** FEATURES LIST ****/
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.features-list li {
  flex: 1 1 210px;
  background: #F5EFE4;
  border-radius: 18px;
  padding: 22px 16px 18px 20px;
  box-shadow: 0 2px 18px 0 rgba(150,180,150,.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  font-size: 1.05rem;
  margin-bottom: 0;
}
.features-list img {
  width: 38px;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .features-list {
    flex-direction: column;
    gap: 16px;
  }
}

/**** SERVICES PREVIEW LIST ****/
.services-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.services-preview-list li {
  flex: 1 1 200px;
  background: #F8F5F8;
  border-radius: 12px;
  padding: 18px 16px 15px 18px;
  font-size: 1rem;
  color: #5D463C;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .services-preview-list {
    flex-direction: column;
    gap: 16px;
  }
}

/**** ARTICLES & INSPIRACE ****/
.articles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.article-teaser {
  flex: 1 1 200px;
  background: #FFFAF7;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(210,175,150,.07);
  padding: 22px 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-teaser a {
  color: #43607D;
  font-weight: 600;
  margin-top: 6px;
  transition: color 0.18s;
}
.article-teaser a:hover {
  color: #7D5631;
  text-decoration: underline;
}
@media (max-width: 768px) {
  .articles-list {
    flex-direction: column;
    gap: 12px;
  }
}

/**** TESTIMONIALS ****/
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F8F3F0;
  border-radius: 20px;
  box-shadow: 0 2px 18px 0 rgba(140, 120, 105, 0.08);
  min-width: 240px;
  max-width: 340px;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #34302C;
  font-size: 1.04rem;
}
.testimonial-card span {
  color: #23406D;
  font-size: 1rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  .testimonial-list {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card { min-width: 0; max-width: 100%; }
}

/**** SERVICES DETAIL GRID (sluzby) ****/
.services-detail-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-card {
  flex: 1 1 230px;
  min-width: 200px;
  max-width: 350px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(80,80,110,0.06);
  padding: 26px 20px 22px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.service-card:hover {
  box-shadow: 0 4px 32px 0 rgba(80,80,120,.10);
  transform: scale(1.018);
}
.service-card h3 {
  color: #43607D;
}
.service-card span {
  color: #7D5631;
  font-weight: 700;
}
@media (max-width: 800px) {
  .services-detail-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/**** CTA BOX & SECTIONS ****/
.cta {
  background: #EBF7F7;
  border-radius: 22px;
  box-shadow: 0 1.5px 12px 0 rgba(120,160,170,0.06);
  margin-bottom: 45px;
  padding: 32px 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cta .content-wrapper {
  align-items: center;
  gap: 15px;
  text-align: center;
}
.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, #F6E8DD 0%, #E9F2EB 100%);
  color: #7D5631;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  border: none;
  border-radius: 24px;
  margin: 7px 0 3px 0;
  padding: 12px 32px;
  box-shadow: 0 2px 12px 0 rgba(230,199,180,0.09);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s, transform 0.14s;
  letter-spacing: 0.02em;
}
.cta-button:hover,
.cta-button:focus {
  background: #ffe9d8;
  color: #23406D;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 22px 0 rgba(120,160,170,0.14);
  text-decoration: none;
}

/**** HEADER ****/
header {
  background: #FFFFFFEE;
  border-bottom: 1.5px solid #f3e5da;
  box-shadow: 0 1.5px 14px 0 rgba(170,143,110,.05);
  width: 100%;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  color: #7D5631;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 20px;
  padding: 5px 14px;
  transition: background 0.14s, color 0.16s;
}
header nav a:hover,
header nav a:focus {
  background: #FFECE2;
  color: #43607D;
}
header img {
  height: 46px;
  margin-right: 12px;
}
@media (max-width: 980px) {
  header .container {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  header .cta-button {
    display: none;
  }
}

/**** HERO ****/
.hero {
  background: linear-gradient(120deg, #F6E8DD 0%, #F2E1C2 100%);
  min-height: 225px;
  border-radius: 22px;
  box-shadow: 0 2px 20px 0 rgba(226,212,198,0.18);
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 225px;
  flex-wrap: wrap;
}
.hero .content-wrapper {
  align-items: center;
}
.hero h1 {
  color: #23406D;
}

/**** FOOTER ****/
footer {
  background: #f2e1c2;
  color: #473A2F;
  font-size: 1rem;
  width: 100%;
  margin-top: 45px;
  border-top: 1.5px solid #e8d0a9;
  box-shadow: 0 -1.5px 10px 0 rgba(210,180,140,0.07);
}
footer .container {
  padding: 30px 18px 24px 18px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
footer img {
  height: 38px;
  margin-bottom: 10px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
}
.footer-menu a {
  color: #82613f;
  text-decoration: underline;
  font-weight: 480;
  transition: color .16s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: #23406D;
}
.short-about {
  flex: 1 1 180px;
  color: #644527;
}
.contact-info {
  font-size: 1rem;
}
.contact-info a {
  color: #23406D;
  text-decoration: underline;
}
footer .short-about p {
  font-size: 0.98rem;
  margin-bottom: 4px;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/**** COOKIE BANNER ****/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffef6;
  border-top: 2px solid #ffe1ba;
  color: #473A2F;
  font-size: 1rem;
  padding: 19px 12px 19px 12px;
  z-index: 2500;
  box-shadow: 0 -1.5px 12px 0 rgba(220,180,140,0.085);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform .38s cubic-bezier(.4,.91,.13,1.04);
}
.cookie-banner.closed {
  transform: translateY(120%);
}
.cookie-banner__buttons {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: linear-gradient(90deg,#EFE0C8 0%, #F8EDED 100%);
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #7D5631;
  cursor: pointer;
  transition: background 0.15s, color .14s, box-shadow .12s;
  box-shadow: 0 1.5px 10px 0 rgba(230, 190, 170, 0.03);
  margin-bottom: 2px;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #eedecc;
  color: #23406D;
}
.cookie-btn.settings {
  background: linear-gradient(90deg,#A9D6D8 0%, #F9F8F6 100%);
  color: #23406D;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #E6F2F8;
  color: #7D5631;
}

/**** COOKIE SETTINGS MODAL ****/
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(90, 60, 40, 0.19);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .3s;
}
.cookie-modal {
  background: #fffefa;
  border-radius: 22px;
  box-shadow: 0 2px 50px 0 rgba(80, 80, 100, 0.18);
  padding: 37px 26px 28px 26px;
  min-width: 290px;
  max-width: 98vw;
  border: 2px solid #F2E1C2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: cookieModalSlideIn .44s cubic-bezier(.46,.99,.18,1.13);
}
@keyframes cookieModalSlideIn {
  0% { transform: scale(0.92) translateY(50px); opacity: 0; }
  80% { transform: scale(1.03) translateY(-7px); }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal__close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #7D5631;
  cursor: pointer;
  align-self: flex-end;
}
.cookie-categories {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  background: #F8F3F0;
  border-radius: 12px;
  padding: 16px;
  font-size: 1rem;
  color: #644527;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
.cookie-category label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: #7D5631;
  width: 18px;
  height: 18px;
}
.cookie-category input[type='checkbox'][disabled] {
  opacity: 0.6;
}
.cookie-modal__actions {
  width: 100%;
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 10px;
}

/**** MOBILE NAVIGATION ****/
.mobile-menu-toggle {
  display: none;
  background: #fde4cc;
  border: none;
  color: #7D5631;
  font-size: 2.1rem;
  padding: 8px 17px 8px 14px;
  border-radius: 16px;
  position: fixed;
  top: 17px;
  right: 15px;
  z-index: 2200;
  box-shadow: 0 1.5px 10px 0 rgba(180,145,110,.09);
  cursor: pointer;
  transition: box-shadow 0.14s, background 0.17s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #ffe2cc;
  box-shadow: 0 4px 22px 0 rgba(150,120,80,.11);
}
@media (max-width: 768px) {
  .mobile-menu-toggle { display: block; }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fffdf9;
  z-index: 2999;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.3,1.15,.25,1.01);
  box-shadow: 4px 0 24px 0 rgba(220, 190, 162, .13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #7D5631;
  font-size: 2.0rem;
  position: absolute;
  top: 24px;
  right: 27px;
  z-index: 3020;
  cursor: pointer;
  padding: 6px 15px;
  border-radius: 13px;
  transition: background .14s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #ffeadd;
}
.mobile-nav {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 25px 27px;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: #7D5631;
  background: #fff8ef;
  border-radius: 14px;
  padding: 12px 14px;
  width: 95vw;
  transition: background 0.12s, color 0.13s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 2px 12px 0 rgba(230,199,180,0.03);
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #f2e1c2;
  color: #23406D;
}

/**** OTHERS: UTILITY CLASSES, ETC. ****/
.map-placeholder {
  background: #E9F1ED;
  color: #43607D;
  border-radius: 12px;
  padding: 25px 22px;
  text-align: center;
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 18px;
}

/* CTA box for kontakt.html */
.cta-box {
  background: #fff9f3;
  border-radius: 20px;
  padding: 20px 17px;
  box-shadow: 0 2px 15px 0 rgba(220,188,156,0.08);
  text-align: center;
  margin-bottom: 18px;
}

.confirmation {
  background: #EEF5F4;
  border-radius: 20px;
  margin-bottom: 50px;
  padding: 38px 18px 36px 18px;
  text-align: center;
}
.confirmation h1 {
  color: #23406D;
}

/**** RESPONSIVE FONTS ****/
@media (max-width: 500px) {
  html { font-size: 15px; }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.08rem; }
  .cta-button, .cookie-btn { font-size: 0.92rem; padding: 10px 18px; }
}

/**** SCROLLBAR STYLING ****/
::-webkit-scrollbar {
  width: 10px;
  background: #f8f2e9;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: #e5cfb2;
  border-radius: 8px;
}

/* ------------------------------------
  FORMS, LISTS, DETAILS
-------------------------------------*/
input, textarea, select, button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  outline: none;
  border: 1.3px solid #e2d4c3;
  padding: 8px 12px;
}
input:focus, textarea:focus, select:focus {
  border-color: #7D5631;
  box-shadow: 0 0 8px 0 #ffe1ba5e;
}

/**** HIGHLIGHT & MICRO-ANIMATION ****/
.cta-button,
.cookie-btn,
.mobile-menu-toggle,
.mobile-menu-close {
  position: relative;
  overflow: hidden;
}
.cta-button::after,
.cookie-btn::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 200%; height: 400%;
  background: rgba(180,187,233,.08);
  border-radius: 50%;
  transform: translate(-50%,-50%) scale(0.1);
  transition: transform 0.32s cubic-bezier(0.4,0.91,0.13,1.0), opacity 0.16s;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
.cta-button:active::after,
.cookie-btn:active::after {
  transform: translate(-50%,-50%) scale(1.1);
  opacity: 0.24;
}

/**** PRINT STYLES ****/
@media print {
  header, footer, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }
}

/**** FOCUS RING ENHANCE ****/
.cta-button:focus,
.cookie-btn:focus,
.mobile-menu-toggle:focus,
.mobile-menu-close:focus {
  outline: 2.5px solid #23406D;
  outline-offset: 2.5px;
}

/**** DARK MODE SUPPORT (optional future extension) ****/
@media (prefers-color-scheme: dark) {
  body {
    background: #272326;
    color: #ECECEC;
  }
  .section, .service-card, .product-card, .testimonial-card, .cookie-banner, .cookie-modal {
    background: #39333b !important;
    color: #E5CDB4;
  }
  header, footer {
    background: #282526 !important;
    color: #D7B29E;
  }
  .cta-button, .cookie-btn {
    background: linear-gradient(90deg,#7c765e 0%, #3c4654 100%) !important;
    color: #FCEED7 !important;
  }
  .cta-button:hover, .cookie-btn:hover {
    background: #506a72 !important;
    color: #ffe8cb !important;
  }
  a { color: #F2E1C2; }
  a:hover { color: #EBB786; }
}
